@import url("https://fonts.cdnfonts.com/css/poppins");
@import url("https://fonts.cdnfonts.com/css/bimbo");
@import url("https://fonts.cdnfonts.com/css/pp-neue-montreal");

@font-face {
  font-family: "Supply";
  src: url(assets/fonts/PPSupplySans-Regular.otf);
  font-weight: 200;
  font-stretch: normal;
  font-style: normal;
}
@font-face {
  font-family: "Supply";
  src: url(assets/fonts/PPSupplyMono-Ultralight.otf);
  font-weight: 100;
  font-stretch: normal;
  font-style: normal;
}
.credits {
  font-size: 1.5em;
  color: white;
}
.hamburger-icon {
  display: none; /* Hide by default */
  font-size: 30px;
  color: white;
  cursor: pointer;
  margin-left: 20px; /* Space between the logo and the hamburger icon */
}
/* Close button */
.close-btn {
  display: none;
}

.nav-overlay ul {
  display: block !important;
  font-weight: 600;
  font-size: 1.1em;
  bottom: 20px !important;
  position: fixed;
  line-height: 2.5vh;
  color: white;
  filter: blur(0.5px);
}

.nav-overlay a {
  color: white;
  text-decoration: none;
}

.nav-overlay a {
  color: black;
  text-decoration: none;
}

.nav-overlay ul li a {
  font-weight: 600;
  font-size: 1.3em;
  text-decoration: none;
  line-height: 1.3em;
  color: white;
  text-decoration: none;
}
.nav-overlayPT ul {
  display: block !important;
  font-weight: 600;
  font-size: 1.1em;
  bottom: 20px !important;
  position: fixed;
  line-height: 2.5vh;
  color: white;
  filter: blur(0.5px);
}

#navOverlayPT ul li a {
  font-weight: 600;
  font-size: 1.3em;
  text-decoration: none;
  line-height: 1.3em;
  color: white;
  text-decoration: none;
}

#nextButton {
  display: none;
}
.overlay-content {
  padding: 30px 100px 30px 30px;
  width: 100%;
  margin-left: 0px;
  width: 50%;
}
.overlay-tools-content {
  width: 100%;
  margin-left: 0px;
  width: 50%;
  text-align: left;
}
.publications-container {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
  z-index: 1000; /* Above everything else */
  overflow-y: auto; /* Allow scrolling if content is long */
  justify-content: center;
  align-items: center;
}

.publications-content {
  background-color: #fff; /* White background for content */
  padding: 20px;
  max-width: 800px;
  margin: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.overlay-close-btn {
  position: absolute;
  top: 70px;
  right: 20px;
  background: none;
  border: none;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

.floating-logo-quiz {
  margin-bottom: 0;
  width: 4vw;
  bottom: 0;
  left: 0;
  margin-top: 3vh;
}

.hide {
  display: none;
}
.paragraph {
  opacity: 0;
  transition: opacity 3s;
}
.paragraph:nth-of-type(1) {
  animation: popUpDown 20s ease-in-out infinite;
}
.paragraph:nth-of-type(2) {
  animation: popUpDown 22s ease-in-out infinite;
}
.paragraph:nth-of-type(3) {
  animation: popUpDown 24s ease-in-out infinite;
}
.paragraph:nth-of-type(4) {
  animation: popUpDown 26s ease-in-out infinite;
}
.paragraph:nth-of-type(5) {
  animation: popUpDown 30s ease-in-out infinite;
}
.des > p {
  color: white;
  font-size: 1.3em;
  font-weight: 400;
}
.des > .title {
  color: white;
  filter: blur(1px);
}

.number.fact-or-foe {
  color: white;
  filter: blur(1px);
  font-size: 1.3em !important;
}
.section-resources {
  display: flex;
  justify-content: flex-end;
  align-items: center; /* Center vertically */
  width: 100%;
  min-height: 100vh;
  padding: 0px 20px 20px 20px; /* Add some spacing */
}

.content-fit-resources {
  display: flex;
  flex-direction: column; /* Stack the elements */
  max-width: 50%; /* Limit content width */
}

#light-mask {
  position: fixed;
  pointer-events: none;
  width: 300px;
  height: 300px;
  border-radius: 25%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 30%
  );
  mix-blend-mode: overlay;
  transition: width 0.1s, height 0.1s;
}
nav {
  display: flex;
  position: fixed;
  bottom: 0;
  padding-bottom: 2vh;
  text-transform: uppercase;
  animation: popUpDown 20s ease-in-out infinite;
}
#nextButton {
  background-color: black !important;
  padding: 5px;
  z-index: 100 !important;
  background-color: transparent;
  border: none;
  display: flex;
  position: fixed;
  bottom: 0;
  right: 20px;
  padding-bottom: 2vh;
  padding-top: 2vh;
  text-transform: uppercase;
  animation: popUpDown 20s ease-in-out infinite;
  font-size: 1.1em !important ;
  color: white !important;
  border: none !important;
  font-family: "PP Neue Montreal", sans-serif;
  font-weight: bold;
  margin-right: 0;
  cursor: pointer;
  opacity: 0;
  display: none;
}
#nextButton:hover {
  filter: brightness(1.2) drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

#toolsButtonPT {
  z-index: 100 !important;
  background-color: transparent;
  border: none;
  display: flex;
  position: fixed;

  right: 20px;
  bottom: 0;

  padding-bottom: 2vh;
  padding-top: 2vh;
  text-transform: uppercase;
  animation: popUpDown 20s ease-in-out infinite;
  font-size: 1.1em !important ;
  color: black;
  background-color: transparent !important;
  border: none !important;
  font-family: "PP Neue Montreal", sans-serif;
  font-weight: bold;
  margin-right: 0;
  cursor: pointer;
}
#toolsButton {
  z-index: 100 !important;
  background-color: transparent;
  border: none;
  display: flex;
  position: fixed;

  right: 20px;
  bottom: 0;

  padding-bottom: 2vh;
  padding-top: 2vh;
  text-transform: uppercase;
  animation: popUpDown 20s ease-in-out infinite;
  font-size: 1.1em !important ;
  color: black;
  background-color: transparent !important;
  border: none !important;
  font-family: "PP Neue Montreal", sans-serif;
  font-weight: bold;
  margin-right: 0;
  cursor: pointer;
}
ul {
  display: block !important ;
  font-weight: 600;
  font-size: 1.1em;
  bottom: 0;
  display: absolute;
  line-height: 2.5vh;
  color: white;
  filter: blur(0.5px);
}
ul li {
  transition: transform 0.3s ease, filter 0.3s ease;
}
#banner #startButton:hover {
  filter: blur(1px) brightness(1.2)
    drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}
#banner #startButton {
  transition: transform 0.3s ease, filter 0.3s ease;
  font-size: 2em !important ;
  color: white !important;
  background-color: transparent !important;
  border: none !important;
  font-family: "PP Neue Montreal", sans-serif;
  font-weight: bold;
  margin-right: 0;
  margin-left: auto;
  display: block;
  animation: moveRight 10s ease-in-out infinite;
  filter: blur(1px);
  padding-right: 1em;
}
#banner #startButtonPt {
  transition: transform 0.3s ease, filter 0.3s ease;
  font-size: 2em !important ;
  color: white !important;
  background-color: transparent !important;
  border: none !important;
  font-family: "PP Neue Montreal", sans-serif;
  font-weight: bold;
  margin-right: 0;
  margin-left: auto;
  display: block;
  animation: moveRight 10s ease-in-out infinite;
  filter: blur(1px);
  padding-right: 1em;
  position: absolute;
  right: 0;
}
#banner #gameStartButton:hover {
  filter: blur(0px) brightness(1.2)
    drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}
#banner #gameStartButton {
  transition: transform 0.3s ease, filter 0.3s ease;
  font-size: 2em !important ;
  color: black !important;
  background-color: white !important;
  padding: 5px 0px 5px 30px;
  border: none !important;
  font-family: "PP Neue Montreal", sans-serif;
  font-weight: bold;
  margin-right: 0;
  margin-left: auto;
  display: block;
  animation: moveRight 10s ease-in-out infinite;
  opacity: 0;
  transition: opacity 3s;
  padding-right: 1em;
}
#banner #gameStartButtonPT {
  transition: transform 0.3s ease, filter 0.3s ease;
  font-size: 2em !important ;
  color: black !important;
  background-color: white !important;
  border: none !important;
  font-family: "PP Neue Montreal", sans-serif;
  font-weight: bold;
  margin-right: 0;
  margin-left: auto;
  display: block;
  animation: moveRight 10s ease-in-out infinite;
  opacity: 0;
  transition: opacity 3s;
  padding-right: 0px !important;
}
#banner #gameStartButtonPT:hover {
  filter: blur(0px) brightness(1.2)
    drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}
/* Scroll Indicator Container */
.scroll-indicator {
  position: fixed;
  left: 0px; /* Distance from the left */
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  align-items: center;
}

/* The Vertical Scrolling Line */
.scroll-line {
  width: 3px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white */
  position: relative;
  overflow: hidden;
}

/* Animated Scrolling Dot */
.scroll-line::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollAnimation 1.8s infinite ease-in-out;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}
.scroll-text {
  position: absolute;
  left: -1.5vw;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  font-family: "PP Neue Montreal", sans-serif;
}

/* Animation for the Dot */
@keyframes scrollAnimation {
  0% {
    top: 0;
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

/* Fade Effect When Scrolling */
.hidden {
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

ul li:hover {
  filter: blur(1px) brightness(1.2)
    drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}
.floating-logo {
  animation: popUpDown 20s ease-in-out infinite;
  margin-top: 2vh;
  width: 4vw;
  bottom: 0;
  left: 0;
}
.floating-logo-resources {
  margin-top: 2vh;
  width: 4vw;
  bottom: 0;
  left: 0;
}

@keyframes popUpDown {
  0% {
    transform: translateY(0) translateX(0) scale(1);
  }
  25% {
    transform: translateY(-3px) translateX(3px) scale(1.02);
  }
  50% {
    transform: translateY(5px) translateX(-3px) scale(1);
  }
  75% {
    transform: translateY(-3px) translateX(2px) scale(1.02);
  }
  100% {
    transform: translateY(0) translateX(0) scale(1);
  }
}
@keyframes moveRight {
  0% {
    transform: translateY(0) translateX(0) scale(1);
  }

  50% {
    transform: translateX(3px) scale(1);
  }

  100% {
    transform: translateX(0) scale(1);
  }
}
.vanta-canvas {
  opacity: 80%;
}

body {
  background-image: url(assets/images/noise-video.webp);
  background-blend-mode: difference;
  margin: 0;
  color: black;
  opacity: 90%;
  font-family: "PP Neue Montreal", sans-serif;
  font-size: 14px;
}
*::-webkit-scrollbar {
  width: 0;
}

* {
  padding: 0;
  margin: 0;
  list-style: none;
  box-sizing: border-box;
}
.section {
  width: 100%;
  min-height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.content-fit {
  width: min(1200px, 90vw);
  margin: auto;
  min-height: 100vh;
  position: relative;
}
.content-fit-quizz {
  width: min(1200px, 90vw);
  margin: auto;
  position: relative;
}
.rules-content-fit {
  width: min(1200px, 90vw);
  margin: auto;
}
header {
  padding-top: 1em;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10px;
  z-index: 100;
}

header .content-fit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: unset !important;
}
header .content-fit nav ul {
  display: flex;
}
nav > ul {
  font-size: 1.1em;
}
nav a {
  color: white;
  text-decoration: none;
}
.link {
  color: white;
  text-decoration: none;
}
nav.nav-resources a {
  color: black;
  text-decoration: none;
}
#banner .title {
  margin-top: 5vh;
  color: white;
  font-size: 12em;
  font-family: "PP Neue Montreal", sans-serif;
  font-weight: bold;
  text-align: right;
}
#banner .game-title {
  margin-top: 5vh;
  color: white;
  font-size: 2em;
  font-family: "PP Neue Montreal", sans-serif;
  font-weight: bold;
  text-align: left;
}

button.disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
#question {
  filter: drop-shadow(1px 1px 40px black);
  margin-top: 5vh;
  color: white;
  font-size: 2.5em;
  font-family: "PP Neue Montreal", sans-serif;
  font-weight: bold;
  text-align: left;

  opacity: 0;
  transition: opacity 3s;
}
#questionPT {
  filter: drop-shadow(1px 1px 40px black);
  margin-top: 5vh;
  color: white;
  font-size: 2.5em;
  font-family: "PP Neue Montreal", sans-serif;
  font-weight: bold;
  text-align: left;

  opacity: 0;
  transition: opacity 3s;
}

#answers {
  opacity: 0;
  transition: opacity 3s;
  position: relative;
  width: 100%;
  margin-top: 5vh;
  height: 100%;
  min-height: 50vh;
  background-color: transparent !important;
}
#answersPT {
  opacity: 0;
  transition: opacity 3s;
  position: relative;
  width: 100%;
  margin-top: 5vh;
  height: 100%;
  min-height: 50vh;
  background-color: transparent !important;
}
/* Dark Overlay Styles */

.dark-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.96);
  z-index: 101 !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease, transform 1s ease;
  transform: scale(0.9);

  display: flex !important;
  justify-content: center;
  align-items: center;
  flex-direction: row; /* Keeps the image on the left and the container for message/button on the right */
}

.overlay-image {
  width: 36%;
  height: auto;
  object-fit: cover;
  margin-right: 20px;
}

.overlay-message {
  color: white;
  font-size: 1.5em;
  line-height: 1.4em;
  font-family: "PP Neue Montreal", sans-serif;
  font-weight: 500;
  text-align: left;
  opacity: 0;
  margin: 0;
  transition: opacity 3s ease;
}

.overlay-button {
  width: 100%; /* Ensure the button takes full width of its container */
  max-width: 600px;
  color: black !important;
  font-size: 1.5em;
  font-family: "PP Neue Montreal", sans-serif;
  font-weight: bold;
  text-align: center;
  opacity: 0;
  margin-top: 20px; /* Add margin to separate button from the text */
  transition: opacity 3s ease;
  background-color: white !important;
  border: none;
  padding: 0px;
  cursor: pointer;
}

/* When the overlay is visible */
.dark-overlay.show {
  opacity: 1;
  pointer-events: all;
  transform: scale(1);
}
.dark-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none; /* Initially hidden */
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 98; /* Ensure it is above the overlay */
}

/* Modal Content */
.modal-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 400px;
  text-align: center;
}

.close-modal-btn {
  background-color: #f44336;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.close-modal-btn:hover {
  background-color: #d32f2f;
}
#darkOverlay {
  display: none;
}

#darkOverlay.show {
  display: block;
  transition: all 0.5s ease;
}
.publications-container {
  bottom: 20px;
  position: fixed;
  animation: popUpDown 14s ease-in-out infinite;
  display: none;
  right: 20px;
}
.toggle-icon {
  display: block !important;
  font-weight: 600;
  font-size: 1.1em;
  bottom: 0;
  line-height: 2.5vh;
  color: white;
}
.toggle-icon:hover {
  cursor: help;
}
.overlay-title {
  font-size: 2em;
  font-weight: bold;
  color: white;
  margin-bottom: 20px;
  text-align: left;
}
.publication-item {
  border: 1px solid white;
  padding: 0px 0px 15px 10px;
}
.overlay-text {
  font-size: 1.5em;
  color: white;
  margin-bottom: 20px;
  text-align: left;
  margin-bottom: 30px;
}
.publication-link {
  font-weight: 600;
  font-size: 1.5em;
  bottom: 0;
  display: absolute;
  line-height: 3vh;
  color: white;
  filter: blur(0.5px);
  font-weight: bold;
  text-decoration: none;
  font-family: "PP Neue Montreal", sans-serif;
  background-color: black;
}

.publication-link:hover {
  color: white;
}

.answer {
  position: absolute;

  background-color: black;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s ease;
  color: white;
  font-size: 1.3em;
  font-family: "PP Neue Montreal", sans-serif;
  font-weight: bold;
}
.answer:nth-of-type(1) {
  animation: popUpDown 14s ease-in-out infinite;
}
.answer:nth-of-type(2) {
  animation: popUpDown 18s ease-in-out infinite;
}
.answer:nth-of-type(3) {
  animation: popUpDown 17s ease-in-out infinite;
}
.answer:nth-of-type(4) {
  animation: popUpDown 15s ease-in-out infinite;
}
.answer:hover {
  filter: brightness(1.2) drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

.circle1 {
  top: -10%;
  left: 20%;
  animation-delay: 4s;
}
.circle2 {
  top: 40%;
  left: 40%;
  animation-delay: 7s;
}
.circle3 {
  top: 60%;
  left: 60%;
  animation-delay: 2s;
}
.circle4 {
  top: 80%;
  left: 80%;
  animation-delay: 3s;
}
.circle5 {
  top: 10%;
  left: 70%;
  animation-delay: 4s;
}
.gooey-wave {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 0;
  z-index: 98;
  background-color: transparent;
  filter: url(#gooeyEffect);
  opacity: 0;
  visibility: hidden;
  transition: width 4s ease-in-out, opacity 0.5s ease;
}

.goo-circle {
  filter: blur(50px) !important;
  position: absolute;
  filter: blur(10px);
  background-color: black;
  border-radius: 50%;
  width: 20rem;
  height: 20rem;
  opacity: 0;
  visibility: hidden;
}

@keyframes gooPulse {
  0% {
    transform: scale(1) translateY(0);
  }
  25% {
    transform: scale(1.05) translateY(-5%);
  }
  50% {
    transform: scale(1.1) translateY(0);
  }
  75% {
    transform: scale(1.05) translateY(5%);
  }
  100% {
    transform: scale(1) translateY(0);
  }
}

.show-goo {
  opacity: 1;
  width: 100vw;
  height: 100vh;
  animation: gooAnimation 3s forwards, gooShape 5s infinite;
}

#banner > div > div > span {
  filter: blur(8px);
}
#banner > div > div > span:hover {
  filter: blur(0.5px);
  transition: filter 1.5s ease;
}
.section .decorate {
  position: absolute;
}
#intro .content-fit {
  display: flex;
  gap: 50%;
  justify-content: space-between;
  align-items: center;
  color: white;
}
#intro .number {
  color: black;
}
.section .number {
  font-family: "PP Neue Montreal", sans-serif;
  font-size: 15em;
  font-weight: bold;
}
.section .content-fit .title {
  font-family: "PP Neue Montreal", sans-serif;
  font-size: 5em;
  font-weight: bold;
}
.title-resources {
  font-family: "PP Neue Montreal", sans-serif;
  font-size: 5em;
  font-weight: bold;
  color: black;
  margin-top: 2vh;
  margin-bottom: 1vh;
}
.pt-translation.pt {
}
.subtitle-resources {
  color: black;
  font-family: "Supply";
  filter: blur(0.5px);
  font-size: 2em !important;
  font-weight: 200;
  margin-bottom: 2vh;
}
.text-resources {
  color: black !important;
  font-size: 1.3em;
  font-weight: 500;
  line-height: 1.3em;
  width: 70%;
}
.text-resources a {
  color: black !important;
  font-weight: 500;
  text-decoration: none;
  font-family: "Supply";
}
.text-resources-points {
  color: black !important;
  font-family: "Supply";
  font-size: 1.3em;
  font-weight: 500;
  line-height: 1.3em;
  width: 70%;
}
#description .content-fit {
  padding-right: 30%;
}
#description .number {
  font-size: 5em;
}
#description .title {
  font-size: 5em;
  font-weight: bold;
}
#contact .content-fit {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}
#contact table {
  width: min(800px, 90vw);
  padding-top: 2em;
  padding-bottom: 1em;
  font-size: 2em;
  margin: auto;
  color: white;
}
#contact table td {
  border-bottom: 1px dashed white;
}
#contact table td:nth-child(1) {
  text-align: left;
  font-weight: 500;
}
#contact table td:nth-child(2) {
  text-align: right;
  font-weight: 200;
}
#contact .sign {
  font-family: "PP Neue Montreal", sans-serif;
  font-size: 5em;
  width: 100vw;
  margin-top: 15vh;
  mix-blend-mode: overlay;
}
.sign a {
  font-family: "PP Neue Montreal", sans-serif;
  font-size: 1em;
  color: black;
  text-decoration: none;
}

@media screen and (max-width: 1023px) {
  .des > p {
    font-size: 2em;
    margin-top: 2vh;
  }
  .overlay-tools-content {
    width: 70%;
  }
  .floating-logo-quiz {
    width: 7vw;
  }
  .floating-logo-resources {
    width: 7vw;
  }
  .floating-logo {
    width: 7vw;
  }
  .content-fit-resources {
    max-width: 100%;
  }
  .resources-section {
    margin-bottom: 15vh;
  }
  .title-resources {
    font-family: "PP Neue Montreal", sans-serif;
    font-size: 3em;
    font-weight: bold;
    color: black;
    margin-bottom: 1vh;
    margin-top: 13vh;
  }
  .section-resources {
    width: 100%;
    min-height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .content-fit-resources {
    width: min(1200px, 90vw);
    margin: auto;
    min-height: 100vh;
    position: relative;
  }
  #banner .title {
    font-size: 10em;
    margin-top: 13vh;
  }
  #intro .content-fit {
    flex-direction: column;
    padding-bottom: 25vh;
    gap: 10px;
    justify-content: center;
  }

  .hamburger-icon {
    display: block;
    margin-left: 0px;
  }
  .menu-open {
    width: 7vw;
  }
  /* Initially hide the overlay */
  .nav-overlay {
    visibility: hidden; /* Hidden by default */
    opacity: 0; /* Fully transparent */
    position: fixed;
    top: 0;
    left: 0;
    filter: contrast(0.5);
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 1); /* Dark transparent background */
    z-index: 1000; /* Ensure overlay is above all other content */
    color: white;
    padding: 20px;
    overflow: auto; /* Prevent clipping of content */
    transition: opacity 0.3s ease, visibility 0s 0.3s;
  }
  #description .title {
    font-size: 5em;
    font-weight: bold;
  }
  /* When the overlay is shown */
  .nav-overlay.show {
    visibility: visible; /* Make overlay visible */
    opacity: 1; /* Make it opaque */
    transition: opacity 0.3s ease, visibility 0s 0s;
  }
  .nav-overlay ul {
    position: absolute;
    bottom: 20px !important;
  }
  .nav-overlay ul li a {
    color: white !important;
    text-decoration: none;
    font-size: 1.5em;
    line-height: 1.3em;
  }
  #navOverlayPT ul {
    position: absolute;
    bottom: 60px !important;
  }
  #banner #startButtonPt {
    font-size: 3em !important;
    padding-right: 0px;
  }
  #navOverlayPT ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.5em;
    line-height: 1.5em;
  }
  #closeOverlayPT {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 3em;
    cursor: pointer;
    color: white;
  }
  /* Close button */
  .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3em;
    cursor: pointer;
    color: white;
    display: flex;
  }
}
@media screen and (max-width: 768px) {
  nav {
    padding-bottom: 8vh;
  }
  .hamburger-icon {
    display: block; /* Show the hamburger icon on mobile */
  }

  /* Initially hide the overlay */
  .nav-overlay {
    visibility: hidden; /* Hidden by default */
    opacity: 0; /* Fully transparent */
    position: fixed;
    top: 0;
    left: 0;
    filter: contrast(0.5);
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 1); /* Dark transparent background */
    z-index: 1000; /* Ensure overlay is above all other content */
    color: white;
    padding: 20px;
    overflow: auto; /* Prevent clipping of content */
    transition: opacity 0.3s ease, visibility 0s 0.3s;
  }

  /* When the overlay is shown */
  .nav-overlay.show {
    visibility: visible; /* Make overlay visible */
    opacity: 1; /* Make it opaque */
    transition: opacity 0.3s ease, visibility 0s 0s;
  }
  .nav-overlay ul {
    position: absolute;
    bottom: 20px !important;
  }
  .nav-overlay ul li a {
    color: white !important;
    text-decoration: none;
    font-size: 1.5em;
    line-height: 1.3em;
  }
  #navOverlayPT ul {
    position: absolute;
    bottom: 60px !important;
  }
  #banner #startButtonPt {
    font-size: 3em !important;
    padding-right: 0px;
  }
  #navOverlayPT ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.5em;
    line-height: 1.5em;
  }
  #closeOverlayPT {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 3em;
    cursor: pointer;
    color: white;
  }
  /* Close button */
  .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3em;
    cursor: pointer;
    color: white;
    display: flex;
  }

  .content-pt {
    font-size: 0.6em !important;
    margin-top: 17vh;
  }

  #toolsButton {
    display: flex;
    position: absolute;
    left: 30px;
    bottom: 10vh;
    padding-bottom: 4vh;
    padding-top: 1vh;
  }
  #toolsButtonPT {
    display: flex;
    position: absolute;
    left: 30px;
    bottom: 10vh;
    padding-bottom: 4vh;
    padding-top: 1vh;
  }
  #nextButton {
    font-size: 1em !important;
    margin-top: 1vh;
  }
  .dark-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.96);
    z-index: 101 !important;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease, transform 1s ease;
    transform: scale(0.9);
    display: block !important;
    justify-content: center;
    align-items: center;
    flex-direction: row; /* Keeps the image on the left and the container for message/button on the right */
  }
  .overlay-content {
    padding: 30px 30px 20px 30px;
    width: 100%;
    margin-left: 0px;
  }
  .overlay-tools-content {
    padding: 70px 30px 20px 30px;
    width: 100%;
    margin-left: 0px;
  }
  .overlay-message > b {
    font-size: 1.5em;
  }
  .overlay-image {
    width: 100% !important;
    height: auto;
    margin-top: 20px;
    margin-right: 0 !important;
  }

  .overlay-message {
    width: 100% !important;
    text-align: center !important;
    margin-top: 10px !important;
    font-size: 1.3em;
  }

  .overlay-button {
    width: 100% !important; /* Full width button */
    text-align: center !important; /* Center align button */
    margin-top: 30px !important; /* Space between message and button */
    font-size: 1.5em;
  }
  .content-fit-quizz {
    padding: 0px 20px 0px 10px;
  }
  #banner #gameStartButton {
    margin-top: 5vh;
    margin-left: 0;
    font-size: 1.5em !important;
  }
  .paragraph {
    padding-bottom: 2vh;
  }
  #banner .game-title {
    margin-top: 14vh;
    font-size: 1.5em;
    padding-bottom: 4vh;
  }
  #contact .content-fit {
    justify-content: start;
  }
  #description > div > div.des > p {
    padding: 0px 20px 0px 0px;
  }
  .des > p {
    margin-top: 10px;
    font-size: 1.5em;
  }
  #description .title {
    font-size: 2em;
    font-weight: bold;
  }

  #banner #startButton {
    padding-right: 0px;
    margin-top: 5vh;
    margin-right: 0;
    font-size: 2em !important;
    padding-right: 15px;
  }
  .content-fit {
    width: 100%;

    min-height: inherit;
  }

  #intro .content-fit {
    gap: 0%;
    justify-content: center;
  }
  .publication-link {
    font-weight: 600;
    font-size: 1.1em;
    line-height: 1em;
    bottom: 0;
    display: absolute;
    line-height: 3vh;
    color: white;
    filter: blur(0.5px);
    font-weight: bold;
    text-decoration: none;
    font-family: "PP Neue Montreal", sans-serif;
    background-color: black;
    padding: 0px 0px 0px 0px;
  }
  .publications-container {
    bottom: 100px;
    position: fixed;
    animation: popUpDown 14s ease-in-out infinite;
    display: none;
    left: 27px;
  }
  .answer {
    position: absolute;
    background-color: black;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
    color: white;
    width: 95% !important;
    font-size: 1.1em;
    font-family: "PP Neue Montreal", sans-serif;
    font-weight: bold;
    margin: 10px 0px 10px 0px;
  }
  #question {
    filter: drop-shadow(1px 1px 40px black);
    margin-top: 6vh;
    color: white;
    font-size: 1.5em;
    font-family: "PP Neue Montreal", sans-serif;
    font-weight: bold;
    text-align: left;
    opacity: 0;
    transition: opacity 3s;
  }
  #questionPT {
    filter: drop-shadow(1px 1px 40px black);
    margin-top: 6vh;
    color: white;
    font-size: 1.5em;
    font-family: "PP Neue Montreal", sans-serif;
    font-weight: bold;
    text-align: left;
    opacity: 0;
    transition: opacity 3s;
  }
  .text-resources {
    width: 100%;
  }
  #answers {
    opacity: 0;
    transition: opacity 3s;
    position: relative;
    width: 100%;
    margin-top: 4vh;
    height: 100%;
    min-height: 40vh;
    background-color: transparent !important;
  }
  #answersPT {
    opacity: 0;
    transition: opacity 3s;
    position: relative;
    width: 100%;
    margin-top: 4vh;
    height: 100%;
    min-height: 40vh;
    background-color: transparent !important;
  }
  .title-resources {
    margin-top: 9vh;
    font-family: "PP Neue Montreal", sans-serif;
    font-size: 2em;
    font-weight: bold;
    color: black;
    margin-bottom: 1vh;
    line-height: 1em;
  }
  .subtitle-resources {
    font-size: 1.5em !important;
  }

  .index-nav {
    position: fixed;
    opacity: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: black;
    animation: none;
    display: flex;
    justify-content: space-between;
    padding: 10px 30px;
    z-index: 1000;
    transition: opacity 0.2s ease-in-out, transform 0.3s ease;
  }
  .nav-resources {
    position: fixed; /* Fix it to the bottom of the screen */
    opacity: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    animation: none;

    background-color: black;
    display: flex;
    justify-content: space-between; /* Distribute items across the nav */
    padding: 10px 30px;
    z-index: 1000; /* Keep it above other content */
    transition: opacity 0.2s ease-in-out, transform 0.3s ease;
  }

  nav.nav-resources a {
    color: white;
  }
  /* Style links inside the nav */
  .index-nav a {
    color: white; /* White text */
    text-decoration: none; /* Remove underline */
    margin-right: 20px;
  }

  .index-nav a:hover {
    text-decoration: underline;
  }

  nav > ul {
    line-height: 1.5em;
  }

  .content-fit-resources {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    padding-left: 10px;
    padding-top: 8vh !important;
    padding-bottom: 20vh;
    padding-right: 10px;
  }
  .section-resources {
    width: 100%;
    min-height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .content-fit-resources {
    width: min(1200px, 90vw);
    margin: auto;
    min-height: 100vh;
    position: relative;
  }
  .floating-logo {
    margin-bottom: 0;
    width: 22vw;
    bottom: 0;
    left: 0;
    margin-top: 3vh;
    padding-left: 30px;
    background-color: black;
    animation: none;
    filter: contrast(0.9);
  }

  .floating-logo-resources {
    margin-bottom: 0;
    width: 22vw;
    bottom: 0;
    left: 0;
    margin-top: 3vh;
    padding-left: 30px;
    background-color: white;
    animation: none;
    filter: contrast(0.5);
  }
  .section .content-fit .title {
    font-size: 2em;
  }
  .floating-logo-quiz {
    margin-bottom: 0;
    width: 14vw;
    bottom: 0;
    left: 0;
    margin-top: 3vh;
  }
  .menu-open {
    width: 22vw;
    position: absolute;
    padding-left: 30px;
    filter: contrast(0.5);
  }

  #banner .title {
    margin-top: 7vh;
    font-size: 7em;
    color: white;
    font-family: "PP Neue Montreal", sans-serif;
    font-weight: bold;
    text-align: right;
  }
  #intro .content-fit {
    flex-direction: column;
  }
  .section {
    padding: 0px 30px 0px 30px;
  }
  #contact .content-fit:last-of-type {
    justify-content: center;
  }
}
.section .number {
  font-size: 2em !important;
  font-weight: bold;
}

.section .content-fit .game-title {
  font-size: 1em;
  color: white;
}
#description .content-fit {
  padding-right: 0;
}
#contact table {
  font-size: 1.5em;
}
#contact .sign {
  font-size: 2em;
}
#container3D {
  position: absolute;
}
