/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Inter', sans-serif;
    background-color: #003cff;
    color: white;
    text-align: left;
    min-height: 100vh;
  }
  
  /* Navbar */
  nav {
    display: flex;
    font-family: 'Inter', sans-serif;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #003cff;
    position: relative;
    z-index: 1000;
  }
  
  .logo {
    font-weight: 700;
    font-size: 1.5rem;
  }
  
  .hamburger {
    font-size: 2rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    display: block;
  }
  
  /* Full screen menu */
  .nav-overlay {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #003cff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
  .nav-overlay.open {
    display: flex;
    margin-top: 20px;
  }
  
  .nav-overlay li {
    margin: 0 0;
    list-style: none; 
        
  }
  
  .nav-overlay a {
    color: white;
    text-decoration: none;
    font-size: rem;
    font-weight: 600;
           
    /* prevent nav text to wrap around */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    
  }
  
  /* Desktop navbar */
  @media (min-width: 1024px) {
    .hamburger {
      display: none;
    }
  
    .nav-overlay {
      display: flex !important;
      font-family: 'Inter', sans-serif;
      font-weight: 300;
      flex-direction: row;
      position: static;
      background: none;
      height: auto;
      width: auto;
      
    }
  
    .nav-overlay li {
      margin: 0 1rem;
    }
  
    .nav-overlay a {
      font-size: 1rem;
    }
  
    .homepage-link {
      display: none;
    }
  }
  
  /* Main container */
  .container {
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* Headline */
  .headline {
    margin-top: 1vh;
    font-size: 2rem;
    line-height: 1;
    text-align: left;
    padding: 1rem;
    max-width: 860px;
  }
  
  .headline span {
    color: #3cff00;
  }
  
  /* Candidates grid */
  .candidates {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 2rem;
    width: 100%;
  }
  
  .candidate-card {
    background: white;
  }
  
  .candidate-card h3 {
    margin-top: 0.5rem;
    
  }
  
  .visit-link {
    color: #3cff00;
    text-decoration: underline;
    font-weight: 600;
    display: block;
    margin-top: 0.5rem;
  }
  
  /* About page sections */
  .about-section {
    background: white;
    color: black;
    margin: 0rem 0;
    width: 100%;
  }
  
  .about-section h2 {
    color: #003cff;
    margin-bottom: 1rem;
  }
  
  /* Quiz note */
  .note {
    margin-top: 2rem;
    font-size: 1rem;
  }
  
  .note a {
    color: #3cff00;
    text-decoration: none;
  }
  
  /* Grid Desktop layout */
  @media (min-width: 1024px) {
    .candidates {
      grid-template-columns: repeat(3, 1fr);
    }
    .headline {
      font-size: 2rem;
    }
  }

  .candidates {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns even on mobile */
    row-gap: 1rem;
    column-gap: 1.2rem;
    margin-top: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
    width: 100%;
  }

  .explore-title{
    padding-left: 1rem;
    border-top: white 0.5rem;
    border-bottom: white 0.5rem;
    font-weight: 400;
  }
  
  .candidate-card {
    background: #003cff;
    border-radius: 8px;
    text-align: left;
  }
  
  .candidate-card img {
    width: 100%;
    border-radius: 0px;
  }
  
  .candidate-card h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 400;
    margin-top: 0.5rem;
    text-align: left;
    line-height: 1.3rem;
  }
  
  .visit-link {
    color: #3cff00;
    text-decoration: underline;
    font-weight: 400;
    font-size: 1.1rem;
    display: block;
    margin-top: 0.25rem;
    text-align: left;
  }
  
  .note {
    font-size: 1.1rem;
    margin-top: 1rem;
    text-align: left;
    padding-left: 1rem;
    padding-right: 1rem;
    font-weight: 400;
  }
  
  .note a {
    color: #3cff00;
    text-decoration: none;
    font-weight: 400;
  }

 /* Nav Bar */
nav {
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #003cff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 90px;
    z-index: 1000;
  }
  
  /* Logo */
  .logo {
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.1;
    color: white;
    margin: 1rem 1rem 1rem 0.1rem;
  }
  
  /* Hamburger */
  .hamburger {
    font-size: 2rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 1001;
  }
  
  /* Fullscreen Menu Overlay */
  .nav-overlay {
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-color: #003cff;
    position: fixed;
    top: 70px; 
    left: 0;
    width: 100%;
    height: calc(100vh - 60px); /* take full screen minus navbar */
    z-index: 999;
  }
  
  .nav-overlay.open {
    display: flex;
  }
  
  /* Each menu item full width */
  .nav-overlay li {
    width: 100%;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
      }
  
  .nav-overlay li:nth-child(2) {
    border-top: none;
    border-bottom: none;
  }
  
  /* Menu link style */
  /* Menu text */
  .nav-overlay a {
    display: block;
    width: 100%;
    padding: 2rem 0;
    color: white;
    text-align: center;
    font-size: 2rem;
    font-weight: 400;
    text-decoration: none;
  }
  
  /* Push page content down below fixed navbar */
  .container {
    margin-top: 80px;
    padding: 2rem 1rem;
  }
  
  /* Desktop View */
  @media (min-width: 1024px) {
    .hamburger {
      display: none;
    }
  
    .nav-overlay {
      display: flex !important;
      flex-direction: row;
      position: static;
      height: auto;
      background: none;
      width: auto;
    }
  
    .nav-overlay li {
      border: none;
      margin: 0 1rem;
    }
  
    .nav-overlay a {
      font-size: 1rem;
      padding: 0;
    }
  
    .homepage-link {
      display: none;
    }
  }
  
  
  /* Desktop */
  @media (min-width: 1024px) {
    .hamburger {
      display: none;
    }
    .nav-overlay {
      display: flex !important;
      flex-direction: row;
      position: static;
      height: auto;
      background: none;
      width: auto;
    
    }
    .nav-overlay li {
      margin: 0 1rem;
    }
    .nav-overlay a {
      font-size: 1rem;
    }
    .homepage-link {
      display: none;
    }
  }
  
.can-home {
    width: 100%;
    height: auto;
    max-height: 60vh;
    margin-top: 2vh;
    object-fit: cover
}

.start-button {
  margin-top: 10vh;
  background-color: #3cff00;
  color: black;
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  padding: 1rem 5rem;
  max-width: 830px;
  width: 100%;
  border: none;
  border-radius: 1px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  width: 94vw;
  text-align: center;
  margin-top: 4vh;
  /* Add these properties to center the button */
  display: block;
  margin-left: auto;
  margin-right: auto;
} 

.start-button1 {
  margin-top: 10vh;
  background-color: #3cff00;
  color: black;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  padding: 1rem 0; /* Remove horizontal padding */
  width: 100%; /* Full width */
  max-width: 830px; /* Maximum width */
  border: none;
  border-radius: 1px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  margin-top: 9vh;
  /* Add these properties to center the button */
  display: block;
  margin-left: auto;
  margin-right: auto;
  /* Prevent text wrapping */
  white-space: nowrap;
  overflow: hidden; /* Prevent text overflow */
  text-overflow: ellipsis; /* Show ellipsis if text overflows */
}


.start-button1 h3{
  font-weight: 600;
}


  .about-page {
    width: 100%;
    max-width: 700px;
    margin: 2rem auto;
    background: white;
    padding: 2rem 1rem;
    border-radius: 8px;
  }
  
  .about-title {
    font-family: inter;
    font-weight: 500;
    text-align: left;
    color: black;
    padding-top: 3.5rem;
  }
  
  .about-section {
    padding: 1.5rem 2rem 1rem 2rem;
    border-top: 1px solid #ccc;
    text-align: left;
    line-height: 0.1rem;
  }
  
  .about-section:first-of-type {
    border-top: none;
    padding-top: 2.6rem;
  }
  
  .about-section h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #003cff;
    margin-bottom: 1rem;
    line-height: 1.5rem;
  }
  
  .about-section p {
    font-size: 1.2rem;
    color: black;
    line-height: 1.2;
    font-weight: 350;
  }

.container-index {
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 60px;
    padding: 32px 0 32px 0;
}

.container-explore{
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: left;
    padding: 2rem 1rem;
    max-width: 830px;
    margin: 0 auto;
    margin-top: 60px;
    padding: 32px 0 32px 0;
}

.container-explore:first-child{
    border: 2px solid #000; /* adjust color and thickness as needed */
    padding: 10px; /* optional for better appearance */
  }

.container-about-page{
    margin-top: 40px;
}


.about-body {
    font-family: 'Inter', sans-serif;
    background-color: white;
    text-align: left;
    min-height: 100vh;
    /* padding-left: 2rem;
    padding-right: 2rem; */
  }

.content{
    margin-top: 100px;
}

.quiz-body{
    background-color: white;
    color: black;
    font-weight: 200;
    overflow: hidden;
    /* padding: 1rem; */
}

h2.intro-title{
    color:#003cff;
    font-weight: 800;
}

/* .container-quiz-page{
    margin-top: 7vh;
} */

.about-title-div{
  padding: 2rem 2rem 2rem 2rem;
  border-bottom: 1.5px solid #003cff;
}

.explore-title-div{ 
  border-bottom: 1.5px solid white;
  border-top: 1.5px solid white;
  padding-bottom: 1rem;
  padding-top: 1rem;
}