
header{
    text-align: center;
    font-family: 'Dancing Script', cursive;
    text-decoration: underline;
    color: rgb(0, 0, 0);
}
main{
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    
}
/* Center boxed sections and make them fluid */
#letter, #rules, #quiz-container, #music-player, #album, #expl, #txtfoot {
    border: rgba(37, 29, 29, 0.185) solid 2px;
    border-radius: 20px;
    margin: 20px auto;
    padding: 12px;
    max-width: 900px;
    width: calc(100% - 40px);
    background-color: rgba(255,255,255,0.06);
}
#letter { background-color: rgba(173, 110, 14, 0.12); }
#rules { background-color: rgba(219, 199, 169, 0.18); }
#game-container { margin: 24px auto; text-align: center; }
#dino-game { background: #f7f7f7; border: 2px solid #333; display: block; margin: 0 auto; max-width:100%; height:auto; }
#restart-btn { margin-top: 10px; padding: 8px 16px; font-size: 16px; }
body {
    background-image: url('../Img/background.jpg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
}
/* quiz and music player use the boxed rules above */
#quiz-container { background-color: rgba(255, 255, 255, 0.57); text-align:center; }
#music-player { background-color: rgba(110, 8, 110, 0.08); border-radius: 8px; }

#video, video{
    border: rgba(37, 29, 29, 0.185) solid 2px;
    border-radius: 12px;
    background-color: rgba(173, 110, 14, 0.085);
    max-width: 100%;
    height: auto;
}
#click-100-btn {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* On-screen jump button for mobile devices */
#jump-btn {
    display: none; /* shown by media query on small screens */
    background: #ff7b7b;
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 8px;
}

@media (max-width: 700px) {
    /* show jump button as a fixed control on phones */
    #jump-btn {
        display: inline-block;
        position: fixed;
        right: 16px;
        bottom: 16px;
        z-index: 1000;
        font-size: 18px;
    }
    /* make canvas touch-friendly */
    #dino-game { touch-action: manipulation; }
}
/* expl uses boxed rule above */
#expl { background-color: rgba(236, 233, 227, 0.596); }
/* Make all images responsive */
img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    margin: 16px 0;
    border-radius: 12px;
    display: block;
}
  button {
    padding: 10px 20px;
    font-size: 16px;
    margin: 10px;
    cursor: pointer;
    border-radius: 5px;
    border: rgba(37, 29, 29, 0.185) solid 2px;
  }
#album {
    font-size: 16px;
    cursor: pointer;
    border-radius: 15px;
    background-color: rgba(221, 218, 207, 0.28);
}
#footer{
    text-align: center;
    background-color: rgba(255, 156, 247, 0.267);
    border-radius: 5px;
    border: rgba(128, 102, 102, 0.185) solid 2px;
    
}
#txtfoot{
    text-align: center;
    background-color: rgba(255, 255, 255, 0.78);
    border-radius: 6px;
    border: rgb(255, 255, 255) solid 1px;
    margin: 10px auto;
    padding: 10px;
    max-width: 820px;
}
*{
    font-family: 'Dancing Script', cursive;
}