*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --pcolor: 38, 160, 247; /* Primær-farve (blå) #26A0F7 */ 

    --primary-bg: 242, 246, 247; /* Platinum / Lys grå */
    --white-bg: 255, 255, 255; /* Komplet hvid */

    --btext: 25, 25, 25; /* Sort / Carbon */
    --wtext: 245, 245, 245; /* Hvid tekstfarve */
}

html{
  scroll-behavior: smooth;
}

body{
    font-family: 'Tahoma', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 100vh;
    background-color: rgb(var(--primary-bg));
}

h1{
    font-size: 2.5rem;
    display: flex;
    justify-content: center;
    color: rgb(var(--pcolor));
    margin-bottom: 24px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

h2{
    font-size: 1.5rem;
    color: rgb(var(--btext));
}


main{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    max-width: 1000px;
    margin: 0 auto;
}

section{
    width: clamp(50vw, 600px, 90vw);
    max-width: 700px;
}

.option{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    width: 100%;
    margin-bottom: 12px;
    cursor: pointer;
    border-radius: 15px;
    border: 1px solid rgb(var(--pcolor));
    background-color: rgb(var(--white-bg));
    text-decoration: none;
    color: rgb(var(--btext));
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.1);
}

.option h2 {
    position: absolute;
    transition: transform 0.2s ease;
}

.option:hover h2 {
    color: rgb(var(--pcolor));
    transform: scale(1.05);
}

.unclickable{
    pointer-events: none;
    opacity: 0.6;
}

/* --- BRØDKRUMMER --- */

.path{
    font-size: 0.9rem;
    margin-bottom: 16px;
    opacity: 0.65;
}

.path a{
    color: rgb(var(--btext));
    text-decoration: none;
}

.path a:hover{
    text-decoration: underline;
}

/* --- MODULER --- */

.modultitel{
    margin-top: 35px;
}

.iframe{
    width: 100%;
  	aspect-ratio: 16 / 9;
}

.questionscontainer{
    border: 1px solid rgb(var(--pcolor));
    border-radius: 15px;
    background-color: rgb(var(--white-bg));
    margin-top: 24px;
    margin-bottom: 24px;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.1);
}

fieldset{
    border: none;
    padding: 24px;
}

.questionscontainer h3{
    color: rgb(var(--btext));
    margin-bottom: 5px;
}

.question h3::after{
    content: "";
    display: block;
    width: 100%;
    height: 0.5px;
    background-color: rgb(var(--pcolor));
    margin-top: 5px;
}

.questionscontainer p{
    color: rgb(var(--btext));
    margin-bottom: 5px;
}

.answeroption{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: rgb(var(--btext));
    cursor: pointer;
}

.buttoncontainer{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

[hidden]{
    display: none !important;
}

/* --- Quiz knap --- */

.checkanswer{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    width: 25%;
    margin-bottom: 12px;
    cursor: pointer;
    border-radius: 15px;
    border: 1px solid rgb(var(--pcolor));
    background-color: rgb(var(--white-bg));
}

.checkanswer:hover{
    background-color: rgb(var(--pcolor));
}

.checkanswer h3 {
    transition: transform 0.2s ease;
}

.checkanswer:hover h3 {
    transform: scale(1.05);
    color: rgb(var(--wtext));
}

p.hint{
    color: rgb(247, 47, 47);
    font-style: italic;
    margin-top: 10px;
}

p.correct{
    color: rgb(38, 160, 47);
    font-weight: bold;
}

.continuebtn{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    width: 25%;
    margin-bottom: 12px;
    cursor: pointer;
    border-radius: 15px;
    border: 1px solid rgb(38, 160, 47);
    background-color: rgb(38, 160, 47);
    text-decoration: none;
}

.continuebtn h3 {
    transition: transform 0.2s ease;
    color: white;
}

.continuebtn:hover h3 {
    transform: scale(1.1);
}

/* --- LOCALSTORAGE --- */

.imgHasPassed{
    width: 60px;
    height: 60px;
    margin-left: auto;
    margin-right: 15px;
}

/* --- OM MUSIKLÆRE.DK --- */

.om-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 24px 24px;
    max-width: 800px;
    height: auto;
    padding: 24px;
    border-radius: 15px;
    border: 1px solid rgb(var(--pcolor));
    background-color: rgb(var(--white-bg));
    color: rgb(var(--btext));
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.1);
}

.om-container h1{
    color: rgb(var(--pcolor));
    margin-bottom: 16px;
}

.om-container p{
    margin: 16px;
    line-height: 1.6;
}

.contact{
    display: flex;
    align-items: center;
    background-color: rgb(var(--white-bg));
}

.om-img{
    width: 90%;
    height: 90%;
    border-radius: 50%;
    object-fit: cover;
}

  .img-baggrund {
    aspect-ratio: 1 / 1;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(var(--pcolor));
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.15);
    margin-right: 32px;
  }

.contact span{
    color: rgb(var(--pcolor));
    font-weight: bold;
}

.option-om{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    width: clamp(50vw, 600px, 90vw);
    max-width: 700px;
    margin-bottom: 12px;
    cursor: pointer;
    border-radius: 15px;
    border: 1px solid rgb(var(--pcolor));
    background-color: rgb(var(--white-bg));
    text-decoration: none;
    color: rgb(var(--btext));
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.1);
}

.option-om h2 {
    position: absolute;
    transition: transform 0.2s ease;
}

.option-om:hover h2 {
    color: rgb(var(--pcolor));
    transform: scale(1.05);
}