*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Hænder dagbogsside */

.haender_dagbog_body {
    background-image: url('/img/haender/haandside_dagbog.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    margin: 0;
}

.haender_dagbog_overskrift {
    font-family: "Sedgwick Ave Display";
    font-weight: 100;
    margin: 0;
    padding-top: 3rem;
    font-size: 3.5rem;
    display: flex;
    justify-content: center;
    color: white;
}

/* Hænder opgavebeskrivelsesside */

.haender_opgave_body {
    background-image: url('/img/haender/haandside_opgavebeskrivelse.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center; 
    align-items: center;
    flex-direction: column;
}

.haender_opgave_tekst {
    font-family: "The Girl Next Door";
    font-size: 1.75rem;
    max-width: 45rem;
    text-align: center; 
    color: white;
    margin-top: 3rem;
    padding: 2rem;
    border-radius: 1rem;
}

.markeret {
    text-decoration: underline;
}

/* Hænder penalhussside */

.haender_penalhus_body {
    background-image: url('/img/haender/baggrund_penalhus.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    margin-top: 2rem;
}

.penalhus_elementer {
    width: 85%;
    display: block;
    margin: 0 auto;
    animation: cirkelSvaev 10s linear infinite;
    position: relative;
    will-change: transform;
    z-index: 0;
}

@keyframes cirkelSvaev {
    0%   { transform: translate(0px, -10px); }
    5%   { transform: translate(-3px, -9px); }
    10%  { transform: translate(-6px, -8px); }
    15%  { transform: translate(-8px, -6px); }
    20%  { transform: translate(-9px, -3px); }
    25%  { transform: translate(-10px, 0px); }
    30%  { transform: translate(-9px, 3px); }
    35%  { transform: translate(-8px, 6px); }
    40%  { transform: translate(-6px, 8px); }
    45%  { transform: translate(-3px, 9px); }
    50%  { transform: translate(0px, 10px); }
    55%  { transform: translate(3px, 9px); }
    60%  { transform: translate(6px, 8px); }
    65%  { transform: translate(8px, 6px); }
    70%  { transform: translate(9px, 3px); }
    75%  { transform: translate(10px, 0px); }
    80%  { transform: translate(9px, -3px); }
    85%  { transform: translate(8px, -6px); }
    90%  { transform: translate(6px, -8px); }
    95%  { transform: translate(3px, -9px); }
    100% { transform: translate(0px, -10px); }
}

#countdown {
    display: flex;
    justify-content: center;
    font-family: "The Girl Next Door";
    font-size: 8rem;
    font-weight: bold;
    color: white;
    position: relative;
    z-index: 2;
    bottom: 16rem 
  }

/* Hænder find tingene */

.haender_find_body {
    background-image: url('/img/haender/haandside_find_tingene.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    margin-top: 3rem;
}

.haender_find_overskrift_sektion {
    display: flex;
    justify-content: center;
    font-size: 1.75rem;
    text-align: center;
    padding-left: 10rem;
    padding-right: 10rem;
}

.haender_find_overskrift {
    font-family: "The Girl Next Door";
    color: white;
    line-height: 5rem;
}

.haender_sporgsmaalstegn_sektion {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}

.haender_sporgsmaalstegn_sektion img {
    height: auto;
    object-fit: contain;
}

.pink {
    margin-top: 8rem;
    width: 12%;
    animation: tilt 5s ease-in-out infinite;
    animation-delay: 0s;
}

.grå {
    width: 12%;
    margin-bottom: 10rem;
    animation: tilt 5s ease-in-out infinite;
    animation-delay: 0.7s;
}

.blå {
    margin-top: 10rem;
    margin-left: 4rem;
    animation: tilt 5s ease-in-out infinite;
    animation-delay: 1.3s;
}

@keyframes tilt {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(7deg); }
    50% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

/* Hænder resultatside */

.haender_resultat_body {
    background-image: url('/img/haender/baggrund_penalhus.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    margin-top: 2rem;
}
.haender_resultat_elementer {
    margin-top: -2rem;
}

.haender_resultat_overskrift {
    font-family: "Sedgwick Ave Display";
    font-weight: 100;
    margin: 0;
    padding-top: 2rem;
    font-size: 3.5rem;
    display: flex;
    justify-content: center;
    color: rgb(233, 233, 233);
}

.buttons_sektion {
    display: flex;
    justify-content: center;
}

.afslut_knappen {
    padding: 0.8rem 4.5rem;
    background-color: #9D433B;
    color: white;
    border: none;
    border: 0.1rem solid white;
    border-radius: 10rem;
    font-family: "Swanky and Moo Moo";
    text-decoration: none;
    font-size: 1.8rem;
    cursor: pointer;
    top: 72%;
    left: 46%;
    margin-left: 1rem;
    transition: transform 0.2s ease;
  }
   
  .afslut_knappen:hover {
    transform: scale(1.05);
    background-color: #b53e33;
}

.prøv_igen_knap {
    padding: 0.6rem 3rem;
    background-color: #576D8C;
    color: white;
    border: none;
    border: 0.1rem solid white;
    border-radius: 10rem;
    font-family: "Swanky and Moo Moo";
    text-decoration: none;
    font-size: 2rem;
    cursor: pointer;
    top: 70%;
    left:29%;
    margin-right: 1rem;
    transition: transform 0.2s ease;
  }

.prøv_igen_knap:hover {
    transform: scale(1.05);
    background-color: #286090;
}

.gå_til_spil_knap {
    position: absolute;  
    top: 65%;    
    left: 60%;          
    width: 12rem;
    transition: transform 0.2s ease;
}

.gå_til_spil_knap:hover {
    transform: scale(1.05);
}

.start_spillet_knap {
    width: 17rem;
    transition: transform 0.2s ease;
}

.start_spillet_knap:hover {
    transform: scale(1.05);
}