/* Upload Fonts */
    @font-face {
    font-family: 'Gulfs Display';
    src: url('../font/gulfs-display-normal.woff2') format('woff2'),
         url('../font/gulfs-display-normal.woff') format('woff'),
         url('../font/gulfs-display-normal.eot') format('embedded-opentype');
    font-weight: normal;
    font-style: normal;
    }    
   
    @font-face {
    font-family: 'Sugo Pro Display';
    src: url('../font/Sugo-Pro-Display-Bold-trial.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    }

    @font-face {
    font-family: 'Sugo Pro Classic';
    src: url('../font/Sugo-Pro-Classic-Light-trial.ttf') format('truetype');
    font-weight: 300; /* Light */
    font-style: normal;
    }    

/* Overlay Menu */
    .overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: rgb(0,0,0);
    background-color: #02316ed9;
    overflow-x: hidden;
    transition: 0.5s;
    }

    .overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
    }

    .overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #ffffff;
    display: block;
    transition: 0.3s;
    font-family: 'Sugo Pro Display';
    }

    .overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
    }

    @media screen and (max-height: 450px) {
    .overlay a {font-size: 20px}
    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
    }

    /* Show overlay when targeted */
    #overlay-menu:target {
    width: 100%;
    }

    .burger-link{
    cursor: pointer;
    }

/* STYLING */
    html {
    box-sizing: border-box;
    }
    *,
    *:before,
    *:after {
    box-sizing: inherit;
    }
  
    body {
    margin: 0;
    padding: 0;
    font-family: "Sugo Pro Display";
    font-weight: 100;
    line-height: 1.7rem;
    display: flex; /* Make body a flex container */
    flex-direction: column; /* Stack children vertically */
    min-height: 100vh; /* Ensure body takes up at least the full viewport height */
    }

    main {
    flex-grow: 1; /* Allow main to expand and fill available space */
    }

    .quiz-container, .result {
    flex-grow: 0; /* Prevent quiz-container and result from expanding */
    flex-shrink: 0;
    }

/* footer */
    .footer {
    background-color: #ffde59;
    color: #02306e;
    text-align: left;
    padding: 10px 0;
    width: 100%;
    font-size: 1rem;
    font-family: 'Sugo Pro Classic', sans-serif;
    flex-shrink: 0;
    }

    .footer p {
    margin-left: 20px;
    font-style: italic;
    }

/* Video background */
    .video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    }

   .video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    }

/* MOBILE DISPLAY */ 
@media  (max-width: 800px) {

    /* Navbar */
    .navbar {
        background-color: #ffde59; 
        display: flex;
        align-items: center; /* Center content vertically */
        height: 10%; /* Nav Bar takes up % of the screen */
        width: 100%;
        justify-content: space-between; /* adds space between logo and burger */
    }

    .logo {
        max-height: 110px; /* Adjust to fit within the navbar */
        width: auto;
        padding-left: 10px;
    }

    .burger {
        max-height: 40px; /* Adjust to fit within the navbar */
        width: auto;
        padding-right: 15px;
    }

    .menu-items {
        display: none;
    }

/*QUIZ CONTAINER*/
    .quiz-container {
    padding: 3rem;
    width: 90%;
    margin: auto;
    display: flex;
    flex-direction: column;
    background: #ffffffba;
    margin-top: 10px;
    margin-bottom: 10px;
    }

    .title {
    margin: auto; 
    color: #02306e;
    font-size: 1.5rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 20px;
    }

    .question {
    margin: 1rem 0;
    font-size: 1rem;
    font-family: Arial, Helvetica, sans-serif;
    color: #02306e;
    }

    .result h1 {
    color: white; /* Ensure heading text is white */
    margin-bottom: 20px; /* Add space below the heading */
    }

    .option {
    padding: 1rem;
    color: #02306e;
    display: block; /* Ensure each option is on a new line */
    background: rgba(255, 255, 255, 0.1);
    width: 80%;
    border-radius: 10px;
    transition: all 0.3s;
    font-family: Arial, Helvetica, sans-serif;
    }

    .option input:checked .option {
    background: #08038c;
    color: #000;
    }

    .controls > * {
    margin: 1rem;
    }
  
    button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    font-weight: 300;
    color: white;
    outline: none;
    }
  
    button.previous {
    background: #3c91e6;
    }
  
    button.next {
    background: #3c91e6;
    }
  
    button.restart {
    color: #02306e;
    font-size: 2rem;
    margin-bottom: 1rem;
    }

    .result {
    position: absolute; /* Allows precise positioning */
    top: calc(95px + 40px); /* 95px is the navbar height, plus 40px */
    left: 50%; /* Start at the horizontal center */
    transform: translateX(-50%); /* Shift the element back by half its width to center it */
    text-align: center;
    font-size: 1.2rem;
    line-height: normal;
    text-shadow: 2px 2px 2px #565e6185;
    letter-spacing: 2px;
    width: 80%; /* Adjust width as needed */
    max-width: 600px; /* Optional: Limit maximum width */
    box-sizing: border-box; /* Include padding/border in width */
    }

    .result h1 {
    margin-bottom: 20px;
    }

    .result button {
    margin-top: 20px;
    }

}

/* TABLET DISPLAY */ 
@media  (min-width: 801px) and (max-width: 1080px) {

/* Navbar */
    .navbar {
    background-color: #ffde59; 
    display: flex;
    align-items: center; /* Center content vertically */
    height: 10%; /* Nav Bar takes up % of the screen */
    width: 100%;
    justify-content: space-between; /* adds space between logo and burger */
    }

    .logo {
    max-height: 125px; /* Adjust to fit within the navbar */
    width: auto;
    padding-left: 20px;
    }

    .burger {
    max-height: 40px; /* Adjust to fit within the navbar */
    width: auto;
    padding-right: 25px;
    }

    .menu-items {
     display: none;
    }

}

/* DESKTOP DISPLAY */
@media  (min-width: 1081px) { 

/* Navbar Styling */
    .navbar {
    background-color: #ffde59; /* Bold yellow */
    display: flex;
    justify-content: space-between;
    align-items: center; /* Center content vertically */
    height: 95px; /* Adjust the height as needed */
    width: 100%;
    }

    .logo {
    max-height: 120px; /* Adjust to fit within the navbar */
    width: auto;   
    padding-left: 10%;
    }

    .burger{
    display: none;
    }

    .menu-items{
    color: #02306e;
    display: flex;
    justify-content: space-between;
    padding-right: 5%;
    gap: 60px;
    font-size: xx-large;
    letter-spacing: 1px;
    font-family: 'Sugo Pro Display';
    }

    .menu-items a:hover {
    transform: scale(1.1); /* Slightly enlarges the text on hover */
    transition: transform 0.3s ease; /* Adds smooth transition for the scale effect */
    }

    .home, .listen, .find-your-song{
    text-decoration: none;
    color: #02306e;
    }
}


/* Desktop/tablet quiz container */
@media (min-width:801px) {
    
/*QUIZ CONTAINER*/
    .quiz-container {
    padding: 3rem;
    border-radius: 10%;
    width: 60%;
    margin: 5rem auto;
    display: flex;
    flex-direction: column;
    background: #ffffffba;
    min-height: 100vh;
    }

    .title {
    margin-top: 0;
    margin-bottom: 2rem;
    color: #02306e;
    font-size: 3.5rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 60px;
    }

    .question {
    margin: 2rem 0;
    font-size: 1.5rem;
    font-family: Arial, Helvetica, sans-serif;
    color: #02306e;
    }

    .result h1 {
    color: white; /* Ensure heading text is white */
    margin-bottom: 20px; /* Add space below the heading */
    }

    .option {
    padding: 1rem;
    color: #02306e;
    display: block; /* Ensure each option is on a new line */
    background: rgba(255, 255, 255, 0.1);
    width: 80%;
    border-radius: 10px;
    transition: all 0.3s;
    font-family: Arial, Helvetica, sans-serif;
    }

    .option:hover {
    background: rgb(255, 255, 255);
    }

    .option input:checked .option {
    background: #08038c;
    color: #000;
    }

    .controls > * {
    margin: 1rem;
    }
  
    button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    font-weight: 300;
    color: white;
    outline: none;
    transform: scale(.88);
    transition: all 0.2s;
    }
  
    button.previous {
    background: #3c91e6;
    }
  
    button.next {
    background: #3c91e6;
    }
  
    button.restart {
    color: #02306e;
    font-size: 2rem;
    margin-bottom: 1rem;
    transition: all 0.4s;
    }
  
    button.restart:hover {
    color: #3c91e6;
    }   
  
    button:hover, button:focus {
    transform: scale(1);
    font-weight: 500;
    box-shadow: 1px 1px 1px rgba(255, 255, 255, 0.5);
    }

    .result {
    position: absolute; /* Allows precise positioning */
    top: calc(95px + 40px); /* 95px is the navbar height, plus 40px */
    left: 50%; /* Start at the horizontal center */
    transform: translateX(-50%); /* Shift the element back by half its width to center it */
    text-align: center;
    font-size: 1.2rem;
    line-height: normal;
    text-shadow: 2px 2px 2px #565e6185;
    letter-spacing: 2px;
    width: 80%; /* Adjust width as needed */
    max-width: 600px; /* Optional: Limit maximum width */
    box-sizing: border-box; /* Include padding/border in width */
    }

    .result h1 {
    margin-bottom: 20px;
    }

    .result button {
    margin-top: 20px;
    }

}

