/* Reset / base */
body {
  margin: 0;
  height: 100%;
  background: #121212;
  color: #e2e8f0;
  font-family: Arial, sans-serif;
  position: relative;
}


/* Menu and Navbar desighn */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: rgba(26, 32, 44, 0.5); /* 50% opacity */
    backdrop-filter: blur(10px); /* Optional: Adds a cool blur effect */
    z-index: 1000; /* Ensure the navbar is on top of everything else */
    transition: background-color 0.3s ease-in-out;
}

.navbar .logo img {
    height: 40px; /* Adjust as needed */
    width: auto;
}

.nav-links ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease-in-out;
}

.nav-links a:hover {
    color: var(--primary-green); /* Highlight color on hover */
}

/* Mobile menu toggle button */
.menu-toggle {
    display: none; /* Hide by default on desktop */
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 102; /* Give it a very high z-index to ensure it's on top */
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #e2e8f0;
    transition: all 0.3s ease-in-out;
}

/* Mobile navigation container */
.mobile-nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100%;
    background-color: rgba(26, 32, 44, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    padding-top: 6rem;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 101; /* Set z-index higher than navbar but lower than the toggle button */
    display: flex; /* Always display but use transform to hide it */
}

.mobile-nav-links.active {
    transform: translateX(0); /* Slide into view */
}

/* Media query to hide desktop nav and show mobile nav toggle */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex; /* Make the toggle button visible on mobile */
    }
}

.navbar .logo img {
    height: 40px; /* Adjust as needed */
    width: auto;
}

.nav-links ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease-in-out;
}

.nav-links a:hover {
    color: var(--primary-green); /* Highlight color on hover */
}

/* Mobile menu toggle button */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 102;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #e2e8f0;
    transition: all 0.3s ease-in-out;
}

/* Mobile navigation container */
/* Update the mobile-nav-links to start below the header and fill the remaining height */
.mobile-nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Keep it at 100% to take the full viewport height */
    background-color: rgba(26, 32, 44, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 99; /* Ensure it's below the header */
    display: none;
    padding-top: 0; /* Remove top padding to align with header height */
}

/* Use a wrapper inside the mobile menu to manage spacing */
.mobile-nav-links ul {
    list-style: none;
    padding: 0;
    width: 100%;
    text-align: center;
    /* Use calc() to start the list after the header height */
    margin-top: calc(40px + 2rem); /* 40px for logo height + 2rem for header padding */
}

.mobile-nav-links.active {
    transform: translateX(0);
    display: flex;
}


.navbar .logo {
    display: block; /* Make sure the logo is always visible */
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }
    /* You may need to add a specific rule to ensure the logo is on top of the mobile menu */
    .navbar .logo {
        z-index: 101; /* Higher z-index to stay above the menu */
    }
}

.mobile-nav-links .logo {
    margin-bottom: 2rem; /* Add some space below the logo */
}

.mobile-nav-links ul {
    list-style: none;
    padding: 0;
    width: 100%;
    text-align: center;
    background-color: #000;
}

.mobile-nav-links li {
    margin-bottom: 2rem;
}

.mobile-nav-links a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide desktop nav links on mobile */
    }

    .menu-toggle {
        display: flex; /* Show mobile toggle button */
    }
}
/* End of menu and navbar desighn */









#quiz_main {
  display: flex;
  width:100%;
  gap: 50px;
}
/* Left & Right containers */
#left_container{
  max-width: 350px;
  width: 100%;
}
#left_container{  
  max-width: 350px;
  width: 100%;
}
#howToPlayBtn {
  width: 95%;
}

.sidebar-cta-pitch {
  background: #000;
  border-radius: 15px;
  margin: 15px;
  width: 100%;
  padding: 15px;
}
#how_to_play {
  background: #000;
  border-radius: 15px;
  margin: 15px;
  width: 100%;
  padding: 15px;
}


#right_container {
  padding: 15px;
  max-width: 350px;
  width: 100%;
  background: #000;
  border-radius: 15px;
  margin: 15px;
}
/* #sidebar-cta-pitch {
  flex: none;
  width:100%;
  min-width: auto;
} */

/* Main container */
#main_container {
  padding: 24px;
  text-align: center;
  width: 100%;
}


h1 { margin-bottom: 16px; }

img {
  max-width: 500px;
  width: 100%;
  height: auto;
  object-fit: cover;
  /* filter: blur(12px); */
  border-radius: 12px;
  margin-bottom: 10px;
  transition: filter 0.5s ease;
}

#characterInfo {
  margin-top: 10px;
  font-size: 14px;
}

.input-wrapper { position: relative; display: inline-block; }

input, button {
  padding: 10px;
  border-radius: 8px;
  border: none;
  outline: none;
}
#datePicker {
  width: 40%;
  max-width: 200px;
  height: 20px;
}
input { width: 260px; }

button {
  margin-left: 10px;
  cursor: pointer;
  color: white;
  font-size: 18px;
  background: #ffffff00;
  border: 1px solid #ffffff;
}
button:hover {
  background: #fff;
  color: #000;
}
#closeRulesBtn {
  color: #000;
  border: 1px solid #000;
}
#closeRulesBtn:hover {
  color: #fff;
  border: 1px solid #000;
  background: #000;
}

.sidebar-cta-pitch-button {
  color: #fff;
  background: rgb(147 51 234 / var(--tw-bg-opacity, 1));
  border: 1px solid #000;
}
.sidebar-cta-pitch-button:hover {
  color: #fff;
  background: #000;
  border: 1px solid #ffffff;
}

/* How to play button */
.how-to-play-btn {
  margin-bottom: 10px;
  padding: 6px 12px;
  font-size: 18px;
  cursor: pointer;
  color: white;
}

button:disabled {
  background-color: #dc2626; /* red */
  cursor: not-allowed;
  opacity: 0.7;
}

#suggestions {
  position: absolute;
  top: 42px;
  left: 0;
  width: 100%;
  background: #020617;
  border: 1px solid #334155;
  border-radius: 8px;
  z-index: 10;
  display: none;
  max-height: 200px;
  overflow-y: auto;
}

.suggestion-item { padding: 8px; cursor: pointer; }
.suggestion-item:hover { background: #1e293b; }

table {
  margin: 24px auto;
  border-collapse: collapse;
  width: 95%;
  max-width: 900px;
}

th, td { border: 1px solid #334155; padding: 10px; }
th { background: #020617; }
.correct { background: #16a34a; }
.wrong { background: #dc2626; }


#dateContainer { margin-bottom: 16px; }



/* Modal overlay */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

/* Hide modal */
.hidden {
  display: none;
}

/* Modal content */
.modal-content {
  background: white;
  padding: 20px;
  max-width: 500px;
  width: 90%;
  border-radius: 10px;
  text-align: center;
}

.modal-content h2 {
  margin-bottom: 10px;
  color: #000;
}

.modal-content ul {
  text-align: left;
  padding-left: 20px;
  margin-bottom: 15px;
  color: #000;
}

.modal-content button {
  padding: 8px 16px;
  cursor: pointer;
}

.guessInput {
  font-size: 16px;
}

.post-item-title a{
  color: #000;
  font-size: 24px;
  padding: 5px;
  text-decoration: none;
}
.post-item-title {
  margin: auto;
}

.random-blog-post-item {
  height: auto;
  border-radius: 15px;
}



@media (max-width: 900px) {
  #quiz_main {
    display: inline;
  }
  
  #left_container {
    display: none;
  }
  #main_container,
  #right_container {
    padding: 16px;
    width: auto;
  }
  th, td { font-size: 12px }

  #right_container {
    max-width: 100%;
  }
  
  #how_to_play {
    width:auto;
  }
  
  .sidebar-cta-pitch {
    width:auto;
  }
}

@media (min-width: 901px) {
  #left_container_mobile {
    display: none;
  }
}

















.site-footer {
  background-color: #000;
  padding: 40px 20px;
  position: relative; /* To position the "go back up" element */
}

.footer-top-divider {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto 40px auto;
  border-top: 1px solid #fff;
}

.footer-main-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-left-section,
.footer-middle-section,
.footer-right-section {
  padding: 10px;
  display: flex;
  align-items: center;
}

.footer-logo {
  font-size: 2.5em;
  font-weight: bold;
  color: #00A859;
}

.footer-middle-section {
  gap: 15px;
}

.footer-middle-section a:hover {
  text-decoration: none;
}
.social-icon-link {
  display: inline-block;
  color: inherit;
  text-decoration: none;
}

.social-icon-circle {
  width: 40px;
  height: 40px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s ease-in-out;
  color: #000;
  font-size: 24px;
}

.social-icon-circle:hover {
  background-color: #00A859;
}

.social-icon-svg {
  width: 24px;
  height: 24px;
  color: #000;
}

.footer-right-section a {
  color: #fff;
  text-decoration: none;
  font-size: 1em;
  margin-left: 20px;
}

.footer-right-section a:hover {
  color: #00A859;
}

.footer-bottom-content {
  text-align: center;
  margin-top: 50px;
}

.footer-bottom-content p {
  font-size: 0.9em;
  color: #fff;
}

.footer-bottom-content a {
  color: #00A859;
  text-decoration: none;
}

.back-to-top-container {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
}

.back-to-top-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #00A859;
  font-size: 0.8em;
  letter-spacing: 1px;
  text-transform: uppercase;
  transform: rotate(90deg);
  transform-origin: 50% 50%;
}

.back-to-top-icon {
  width: 15px;
  height: 15px;
  transform: rotate(-90deg);
  margin-bottom: 5px;
}

/* Responsive styles for smaller screens */
@media (max-width: 768px) {
  .footer-main-content {
    flex-direction: column;
    align-items: center;
  }

  .footer-left-section,
  .footer-middle-section,
  .footer-right-section {
    width: 100%;
    justify-content: center;
    margin-bottom: 20px;
  }

  .back-to-top-container {
    right: 10px;
  }
}





.post-social-share {
   margin-top: 30px;
   border-top: 1px solid;
   padding-top: 10px;
   margin-bottom: 50px;
}
.social-icon {
  padding:10px;
  border:1px solid;
  border-radius:30px;
  margin: 5px;
}
.manual-social-buttons a {
  text-decoration: inherit;
  color: #fff;
}
.manual-social-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10%, 1fr)); 
}
@media (max-width: 1180px) {  /* Common breakpoint for smartphones */
  .manual-social-buttons {
    grid-template-columns: repeat(auto-fit, minmax(30%, 1fr)); 
   }
}
.manual-social-buttons a:hover {
  background: #00A859;
  color: #fff;
  border: none;
}

.social-threads {
    display: none;
  }

  @media (max-width: 767px) {  /* Common breakpoint for smartphones */
    .social-threads {
      display: inline;
    }
  }