
  body {
    font-family: Arial, sans-serif;
    background: linear-gradient(rgba(255, 255, 255, 0.728), rgba(255, 255, 255, 0.728)), url('assets/trivia-image.png');
    background-size: cover;
    background-position: center;
    text-align: center;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
  }

#start-screen, #quiz-container, #result-screen {
    background: rgba(255, 255, 255, 0.1);
    padding: 5px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    width: 80%;
    max-width: 700px;
    margin: auto;
}

button {
    background: #e63946;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s ease;
}

button:hover {
    background: #f77f00;
}

#choices button {
    display: block;
    background: #a8dadc;
    color: #1d3557;
    margin: 10px auto;
    padding: 10px;
    width: 90%;
    font-size: 16px;
    border-radius: 5px;
    border: 2px solid transparent;
    transition: 0.3s;
}

#choices button:hover {
    border-color: #f77f00;
    background: #f1faee;
}

.hidden {
    display: none;
}

#navbar {
    display: flex;
    align-items: center;
    justify-content: space-around; /* Creates space between logo & links */
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
}


#quiz-logo {
    width: 60px;
    transition: 0.3s;
}

#navbar a {
    text-decoration: none;
}

#navbar a:hover img {
    opacity: 0.8;
}

#navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding-left: 10px; /* Moves the links inward */
}

#navbar ul li {
    display: inline;
}

#navbar ul li a {
    color: black;
    text-decoration: none;
    font-size: 18px;
    padding: 8px 12px;
    border-radius: 5px;
    transition: 0.3s;
}

#navbar ul li a:hover {
    background: #f4a261;

}

  
#quiz-logo {
    width: 60px; /* Adjust size */
    margin-right: 10px;
}

/* General Footer Styling */
footer {
    background-color: #222;
    color: white;
    padding: 10px;
    text-align: center;
    font-family: Arial, sans-serif;
  }
  
  /* Footer Container Layout */
  .footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 5px 0;
  }
  
  /* Footer Sections */
  .footer-section {
    width: 220px;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .footer-section h3 {
    font-size: 18px;
    margin-bottom: 5px;
  }
  
  /* Expandable Content */
  .footer-content {
    display: none;
    margin-top: 5px;
    transition: max-height 0.4s ease-out;
  }
  
  .footer-section:hover {
    background-color: #222
  }
  
  /* Footer Links */
  .footer-section ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-section ul li {
    margin: 5px 0;
  }
  
  .footer-section ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
  }
  
  .footer-section ul li a:hover {
    color: #f4a261;
  }
  
  /* Social Icons */
  .social-icons img {
    width: 30px;
    margin: 5px;
    transition: transform 0.3s;
  }
  
  .social-icons img:hover {
    transform: scale(1.2);
  }
  
  /* Subscription Box */
  .footer-section input {
    padding: 8px;
    width: 80%;
    border-radius: 5px;
    border: none;
  }
  
  .footer-section button {
    background: #f4a261;
    color: white;
    padding: 8px 12px;
    border: none;
    cursor: pointer;
    margin-top: 5px;
  }
  
  .footer-section button:hover {
    background: #e76f51;
  }
  
  /* Bottom Copyright */
  .footer-bottom {
    margin-top: 10px;
    font-size: 14px;
  }

  footer {
    position: fixed;
    bottom: 0;
    width: 100%;
  }
  .footer-section ul li a:hover {
    color: #f4a261;
  }

  input#search {
    width: 200px;
    padding: 8px;
    margin-bottom: 10px;

  }
  
  html {
    scroll-behavior: smooth;
  }
  
  #contact {
    max-width: 600px;
    margin: 15px auto;
    padding: 15px;
    background:  rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    align-content: center;
  }
  
  #contact h2 {
    text-align: center;
    color: black;
  }
  
  #contact p {
    text-align: center;
  }
  
  form {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  input, textarea {
    width: 100%;
    padding: 8px;
    border-radius: 5px;
    border: none;
  }
  
  button {
    background: #f4a261;
    color: #fff;
    padding: 5px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
  }
  
  button:hover {
    background: #f4a261;
  }
  
  #footer {
    background: rgba(255, 255, 255, 0.1);
    padding: 5px;
    text-align: center;
    backdrop-filter: blur(5px);
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    bottom: 0;
    width: 100%;
}

#footer {
    display: flex;
    align-items: center;
    justify-content: center; /* Distributes contact & socials evenly */
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 30px;
    backdrop-filter: blur(5px);
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3);
    width: 100%;
    position: relative;
    bottom: 0;
}

#footer ul {
    list-style: none;
    display: flex;
    gap: 30px;
    padding: 0;
}

#footer ul li a {
    color: black;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 12px;
    border-radius: 5px;
    transition: 0.3s;
}

#footer ul li a:hover {
    color: #f77f00;
}

#social-links {
    display: flex;
    align-items: center;
    gap: 15px; /* Creates spacing between icons */
}

#social-links a img {
    width: 30px;
    transition: 0.3s;
}

#social-links a img:hover {
    opacity: 0.8;
}


#copyright {
    margin-top: 5px;
    font-size: 14px;
    color: black;
}
