body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100vh;
    font-size: 50pt;
    background-color: #ffee7d6c;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 810 184.32" width="810" height="184.32" style="opacity: 0.05; filter: grayscale(0.1);"><text x="0em" y="1em" font-size="48" transform="rotate(20 30 28.799999999999997)">🌳</text><text x="1.875em" y="2.6em" font-size="48" transform="rotate(20 120 105.60000000000001)">😀</text><text x="3.75em" y="1em" font-size="48" transform="rotate(20 210 28.799999999999997)">🐶</text><text x="5.625em" y="2.6em" font-size="48" transform="rotate(20 300 105.60000000000001)">🚗</text><text x="7.5em" y="1em" font-size="48" transform="rotate(20 390 28.799999999999997)">🌅</text><text x="9.375em" y="2.6em" font-size="48" transform="rotate(20 480 105.60000000000001)">🌵</text><text x="11.25em" y="1em" font-size="48" transform="rotate(20 570 28.799999999999997)">😁</text><text x="13.125em" y="2.6em" font-size="48" transform="rotate(20 660 105.60000000000001)">🦁</text><text x="15em" y="1em" font-size="48" transform="rotate(20 750 28.799999999999997)">🛴</text></svg>');
 
    color: #333;
    padding: 0px;
    margin: 0px;
    font-family:Arial, Helvetica, sans-serif;
    overflow: hidden;
}

.div {
    background-size: 810px 184.32px;
    }
   
#emoji-container {
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 72pt;
    position: absolute;
    top: 50%;
    transform: translate(0, calc(-50% - 50px));
}

#timer {
    font-size: 30pt;
    position: absolute;
    top: 20px;
    color: #070707;
    font-weight: bold;
}

#category {
    display: flex;
    justify-content: center;
    gap: 10px;
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#category input[type="radio"] {
    display: none;
}

#category input[type="radio"]:checked + .emoji-button {
    border: 2px solid black;
    border-radius: 5px;
}

.emoji-button {
    font-size: 27pt;
    cursor: pointer;
    padding: 5px;
}

button {
    width: calc(50% );
    margin: 0px;
    padding: 10px 20px;
    font-size: 20px;
    position: absolute;
    bottom: 0px;
}
/* Add these styles to your existing CSS */

#overlay {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 2;
}


#start-stop, #reroll {
    background: none;
    border: none;
    font-size: 34pt;
}

#start-stop {
    right: 0px;
    border-radius: 0px;
    
}

#reroll {
    left: 0px;
    border-radius: 0px;
}

#info-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 14pt;
}

#info-popup {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    padding: 20px;
    background-color: white;
    border: 1px solid black;
    z-index: 3;
    font-size: 14pt;
}

@media only screen and (max-width: 700px) {
    body {
        font-size: 20pt;
    }

    #timer {
        font-size: 20pt;
    }

    button {
        font-size: 20pt;
    }
    #info-icon {
      
        font-size: 14pt;
    }
    
    #info-popup {
      
        font-size: 14pt;
    }
}