body {
  font-family: 'Roboto', sans-serif;
  color: #f0f0f0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Adiciona gradiente de preto a branco */
  background: linear-gradient(to bottom, #000000, #1A1A1A);
}

#audio-container {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 9999;
}

#audio-button {
  font-size: 20px;
  width: 30px;
  height: 30px;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

/* New Title Hover */
.text {
  font-family: "Roboto";
  color: #f0f0f0;
  font-size: 36px;
  margin-top: 10px;
  margin-bottom: 10px;
  display: flex;
  position: relative;
  bottom: 10px;
  text-align: center;
  user-select: none;
  transform: scale(1.1);
  z-index: 1;

  .wrapper {
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 30px;

    .letter {
      transition: ease-out 0.3s;
      /* Distância entre os títulos */
      transform: translateY(40%);
    }

    .shadow {
      transform: scale(1.1, -1.1);
      color: #414141cc;
      transition: ease-in 0.1s, ease-out 0.1s;
    }

    &:hover {
      .letter {
        transform: translateY(-30%);
      }

      .shadow {
        opacity: 0;
        transform: translateY(30%);
      }
    }
  }
}


/* Botão pausa */
.pause-button {
  font-family: Roboto, sans-serif;
  font-weight: bold;
  position: absolute;
  opacity: 0.9;
  top: 380px;
  /* Ajuste conforme necessário */
  left: 70px;
  /* Ajuste conforme necessário */
  padding: 8px 26px;
  background-color: #4CAF50;
  /* Cor de fundo do botão */
  color: white;
  /* Cor do texto do botão */
  border: none;
  /* Remove a borda */
  border-radius: 5px;
  /* Borda arredondada */
  cursor: pointer;
  /* Mostra o cursor como ponteiro ao passar sobre o botão */
  font-size: 14px;
  /* Tamanho da fonte */
  width: 95px;
  /* Largura fixa do botão */
  text-align: center;
  /* Centralizar o texto */
  user-select: none;
  /* Impede a seleção do texto */
}

/* Botão reinicia */
.restart-button {
  font-family: Roboto, sans-serif;
  font-weight: bold;
  position: absolute;
  opacity: 0.9;
  top: 440px;
  /* Ajuste conforme necessário */
  left: 62px;
  /* Ajuste conforme necessário */
  padding: 8px 26px;
  background-color: #4CAF50;
  /* Cor de fundo do botão */
  color: white;
  /* Cor do texto do botão */
  border: none;
  /* Remove a borda */
  border-radius: 5px;
  /* Borda arredondada */
  cursor: pointer;
  /* Mostra o cursor como ponteiro ao passar sobre o botão */
  font-size: 14px;
  /* Tamanho da fonte */
  user-select: none;
  /* Impede a seleção do texto */
}

.pause-button:hover,
.restart-button:hover {
  background-color: #45a049;
  /* Altera a cor de fundo quando o botão é passado com o mouse */
}

/* Estilo quando pressionado */
.pause-button:active,
.restart-button:active {
  background-color: #50bb56;
  /* Cor de fundo mais escura */
}


/* Estilo do botão dropdown */
.dropdown {
  position: absolute;
  top: 15px;
  /* Distância do topo */
  left: 15px;
  /* Distância da esquerda */
}

.dropdown-btn {
  background-color: transparent;
  /* Fundo transparente */
  border: none;
  cursor: pointer;
}

/* Estilo do dropdown conteúdo */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f0f0f0;
  min-width: 260px;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
  z-index: 9999;
  border-radius: 5px;
}

.dropdown-content p {
  padding: 10px;
  margin: 0;
  z-index: 9999;
}

/* Mostrar o dropdown conteúdo quando o botão é clicado */
.dropdown-btn:focus+.dropdown-content {
  display: block;
}

/* Estilo do ícone de joystick */
.icon {
  width: 25px;
  height: 25px;
}


#instructionText {
  font-size: 12px;
  text-align: left;
  margin-bottom: 0px;
  color: #252525;
  user-select: none;
  /* Impede a seleção de texto dentro do elemento */
}


a:visited {
  color: #eeeeee;
}


/* styles.css */
.accordion-title {
  padding: 100px;
  background-color: transparent;
  /* Remove a cor de fundo */
  border: none;
  /* Remove a borda */
  margin: 0;
  cursor: pointer;
}

.title-pointer {
  cursor: pointer;
}

.accordion-content {
  text-align: left;
  margin-left: 80px;
  margin-right: 80px;
  max-width: 1000px;
  background-color: rgba(255, 255, 255, 0);
  /* Fundo transparente */
  font-size: 20px;
  padding: 10px;
  display: none;
  /* Esconde o conteúdo inicialmente */
  border: none;
  /* Remove a borda */
  margin-top: -30px;
}

.content {
  text-align: center;
}

.toggle-icon {
  font-weight: bold;
  cursor: pointer;
  font-size: 20px;
  /* Tamanho menor para o ícone */
}

footer {
  margin-top: 10px;
  margin-bottom: -10px;
  padding-left: 32px;
  padding-right: 32px;
  color: #f0f0f0;
  user-select: none;
  /* Impede a seleção de texto dentro do elemento */
}


/* Adicione estilos específicos para a landing page aqui */
.overlay {
  background-image: url('https://raw.githubusercontent.com/cometsinthesky/pulsar-3D/main/images/landingbackground.jpg');
  background-size: cover;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(20px);
}

.landing-content {
  color: #f0f0f0;
  max-width: 100%;
  max-height: 100%;
  text-align: center;
}

.enter-button {
  background-color: #45a049;
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 18px;
  margin-top: 10px;
  display: inline-block;
  position: relative;
  transition: background-color 1s ease, transform 0.5s ease;
  /* Transições aplicadas a ambos os estados */
}

.enter-button:hover {
  background-color: #4CAF50;
  transform: scale(1.03);
}

.enter-button:active::after {
  content: "";
  display: block;
  position: absolute;
  border-radius: 1%;
  /* Adiciona uma borda circular ao efeito de clique */
  background-color: rgba(255, 255, 255, 0.5);
  /* Adiciona um efeito de clique semi-transparente */
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  transition: all 0.1s;
  /* Adiciona uma transição suave para o efeito de clique */
}

.enter-button:active::after {
  transform: scale(1);
  /* Aumenta o tamanho do efeito de clique ao clicar */
  opacity: 1;
  /* Torna o efeito de clique visível */
}


.fade-out {
  opacity: 0;
  transition: opacity 2s ease;
}


.hidden {
  display: none;
}

#threejs-container {
  position: relative;
  cursor: pointer;
  /* Muda o cursor para uma mão quando o mouse estiver sobre o elemento com o ID 'threejs-container' */
  pointer-events: auto;
  /* Permite que este elemento responda aos eventos do mouse */
}

/* Adiciona menu, sliders e selectors */
.menu {
  position: absolute;
  top: 270px;
  right: 20px;
  width: 170px;
  height: 320px;
  background-color: rgba(32, 32, 32, 0.6);
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
  /* Adiciona barra de rolagem se o conteúdo for maior que a altura */
  opacity: 0.9;
  user-select: none;
  /* Impede a seleção do texto */
}

.slider {
  margin-bottom: 20px;
  opacity: 0.9;
}

.slider label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  opacity: 0.9;
  font-size: 14px;
}

.slider input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: #f0f0f0;
  outline: none;
  opacity: 0.9;
  -webkit-transition: .2s;
  transition: opacity .2s;
  border-radius: 5px;
}

.slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  background: #4CAF50;
  cursor: pointer;
  border-radius: 50%;
  opacity: 1;
}

.slider input[type="range"]::-moz-range-thumb {
  width: 15px;
  height: 15px;
  background: #4CAF50;
  cursor: pointer;
  border-radius: 50%;
  opacity: 1;
}

/* CSS para a legenda dos valores */
.legend {
  display: flex;
  justify-content: space-between;
  margin-top: 0px;
  pointer-events: none;
  /* Impede que a legenda seja clicável ou selecionável */
}

.legend span {
  font-size: 10px;
  /* Tamanho da fonte */
  padding: 5.7px;
  /* Espaçamento interno */
}


.checkboxes label {
  display: block;
  margin-bottom: 10px;
  opacity: 0.8;
}

.checkboxes input[type="checkbox"] {
  display: ();
  cursor: pointer;
}

.checkboxes input[type="checkbox"]+label {
  position: relative;
  padding-left: 25px;
  cursor: pointer;
}

.checkboxes input[type="checkbox"]+label:before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 15px;
  height: 15px;
  border: 2px solid #ccc;
  background-color: #f0f0f0;
  opacity: 0.7;
}

.checkboxes input[type="checkbox"]:checked+label:before {
  background-color: #4CAF50;
  cursor: pointer;
}

.checkboxes input[type="checkbox"]+label:after {
  content: '';
  position: absolute;
  left: 5px;
  top: 3px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  display: none;
  cursor: pointer;
}

.checkboxes input[type="checkbox"]:checked+label:after {
  display: block;
}

.menu.hidden,
.slider.hidden,
.checkboxes.hidden {
  display: none;
}


.button {
  background-color: #4CAF50;
  /* Green */
  border: none;
  color: #f0f0f0;
  opacity: 0.9;
  padding: 16px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 2px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
  margin-top: 25px;
}

.button1 {
  background-color: #f44336;
  color: #f0f0f0;
  border-radius: 20px;
  margin-bottom: 5px;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  margin-top: 60px;
}

.button1:hover {
  background-color: #da2b1f;
  color: #f0f0f0;
}

.button1:active {
  transition-duration: 0.1s;
  transform: translateY(2px);
  /* Mover o botão 2px para baixo quando clicado */
  box-shadow: none;
  /* Remover sombra quando clicado */
}

.counterStat {
  color: #f0f0f0;
  font-size: 16px;
}

.colorgenerator {
  color: #a8e4ff;
}



/* MEDIA QUERY 2560px */
@media (min-width: 2560px) {

  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .menu {
    scale: 170%;
    top: 44em;
    align-items: center;
    width: 7%;
    height: 19.5em;
    margin-right: 3em;
    overflow: hidden;
    white-space: nowrap;
  }

  .pause-button {
    scale: 170%;
    top: 107.7em;
    bottom: 10px;
    align-items: center;
    width: 112px;
    max-height: 35px;
    margin-left: 11.6em;
  }

  .restart-button {
    scale: 170%;
    top: 107.7em;
    bottom: 10px;
    align-items: center;
    width: 112px;
    max-height: 35px;
    margin-left: -1.6em;
  }

  .text {
    top: 1px;
    font-size: 3em;
    margin-bottom: 0.7em;


    .wrapper {
      padding-left: 40px;
      padding-right: 10px;
      padding-top: 0px;
    }
  }

  .landing-content {
    scale: 180%;
    max-width: max-content;
    max-height: max-content;
    align-items: center;
  }

  .pulsarTitle {
    margin-top: 200px;
  }

  .audio-button {
    right: -1vw;
    z-index: 9999;
  }

  .dropdown-btn {
    scale: 170%;
    margin-left: 1.5em;
    margin-top: 1em;
    z-index: 9999;
  }

  .dropdown-content {
    scale: 180%;
    margin-left: 7.2em;
    margin-top: 7em;
  }

  #audio-button {
    font-size: 2.5em;
    width: 1.8em;
    height: 0em;
    background-color: transparent;
    border: none;
    cursor: pointer;
  }

  .enter-button {
    align-items: center;
    font-size: 1em;
  }

  .images {
    max-width: 1000px;
    height: auto;
    /* Maintain aspect ratio */
    display: block;
    /* Ensure the image is treated as a block element */
    margin-left: auto;
    /* Center the image horizontally */
    margin-right: auto;
    /* Center the image horizontally */
  }

  .textimagescontent {
    margin-top: 2em;
  }

  .title-pointer {
    font-size: 2.7em;
    margin-left: auto;
    margin-right: auto;
  }

  .accordion-content {
    max-width: 1800px;
    font-size: 2.5em;
    margin-left: 1em;
    margin-right: 1em;
  }

  .accordion-content-desktop {
    margin-left: 2em;
    margin-right: 2em;
  }

  .content {
    margin-left: 2em;
    margin-right: 2em;
  }

  .footer-desktop {
    scale: 1.5;
    margin-bottom: 2em;
  }

  .button1 {
    scale: 1.4;
    margin-top: 5em;
    margin-bottom: 2.5em;
  }
}



/* MEDIA QUERY 1440px */
@media (max-width: 1440px) {

  html, body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .menu {
    top: 15.8em;
    align-items: center;
    width: 13%;
    height: 19.5em;
    margin-right: -1.1em;
    overflow: hidden;
    white-space: nowrap;
  }

  .pause-button {
    top: 48em;
    bottom: 10px;
    align-items: center;
    width: 112px;
    max-height: 35px;
    margin-left: 3.15em;
  }

  .restart-button {
    top: 48em;
    bottom: 10px;
    align-items: center;
    width: 112px;
    max-height: 35px;
    margin-left: -4.4em;
  }

  .textimagescontent {
    margin-top: 1em;
  }

  .text {
    top: 1px;
    font-size: 2em;
    margin-bottom: 0.7em;


    .wrapper {
      padding-left: 30px;
      padding-right: 10px;
      padding-top: 0px;
    }
  }

}



/* MEDIA QUERY 1024px */
@media (max-width: 1024px) {

  html, body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .menu {
    top: 15.8em;
    align-items: center;
    width: 17%;
    height: 19.5em;
    margin-right: -1.1em;
    overflow: hidden;
    white-space: nowrap;
  }

  .pause-button {
    top: 48em;
    bottom: 10px;
    align-items: center;
    width: 112px;
    max-height: 35px;
    margin-left: 3.1em;
  }

  .restart-button {
    top: 48em;
    bottom: 10px;
    align-items: center;
    width: 112px;
    max-height: 35px;
    margin-left: -4.4em;
  }

  .textimagescontent {
    margin-top: 1em;
  }

  .text {
    top: 1px;
    font-size: 2em;
    margin-bottom: 0.7em;


    .wrapper {
      padding-left: 30px;
      padding-right: 10px;
      padding-top: 0px;
    }
  }

  .landing-content {
    scale: 120%;
    max-width: max-content;
    max-height: max-content;
    align-items: center;
  }
}



/* MEDIA QUERY 768px */
@media (max-width: 768px) {

  html, body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .pause-button {
    top: 5.6em;
    bottom: 10px;
    align-items: center;
    width: 112px;
    max-height: 35px;
    margin-left: 22.5em;
  }

  .restart-button {
    top: 5.6em;
    bottom: 10px;
    align-items: center;
    width: 112px;
    max-height: 35px;
    margin-left: 14.9em;
  }

  .menu {
    top: 45em;
    align-items: center;
    width: 30%;
    height: 19.5em;
    margin-right: 14.8em;
    overflow: hidden;
    white-space: nowrap;
  }

  .landing-content {
    scale: 90%;
    max-width: max-content;
    max-height: max-content;
    align-items: center;
  }

  .text {
    top: 1px;
    font-size: 1.3em;
    margin-bottom: 2.8em;

    .wrapper {
      padding-left: 20px;
      padding-right: 5px;
      padding-top: 0px;
    }
  }

  .title-pointer {
    margin-left: auto;
    margin-right: auto;

  }

  .pulsarTitle {
    margin-top: 200px;
  }

  .audio-button {
    right: -1vw;
    z-index: 9999;
  }

  .dropdown-btn {
    left: 1vw;
    z-index: 9999;
  }

  .enter-button {
    align-items: center;
    font-size: 1em;
  }

  .accordion-content {
    margin-left: 1em;
    margin-right: 1em;
  }

  .images {
    max-width: 650px;
    height: auto;
    /* Maintain aspect ratio */
    display: block;
    /* Ensure the image is treated as a block element */
    margin-left: auto;
    /* Center the image horizontally */
    margin-right: auto;
    /* Center the image horizontally */
  }

  .textimagescontent {
    margin-top: 21em;
  }
}

.accordion-content-desktop {
  margin-left: 2em;
  margin-right: 2em;
}



/* MEDIA QUERY 480px */
@media (max-width: 480px) {

  .hidden-mobile {
    display: none;
  }

  html, body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .pause-button {
    top: 4.8em;
    bottom: 10px;
    align-items: center;
    width: 112px;
    max-height: 35px;
    margin-left: 9.8em;
  }

  .restart-button {
    top: 4.8em;
    bottom: 10px;
    align-items: center;
    width: 112px;
    max-height: 35px;
    margin-left: 2.2em;
  }

  .menu {
    top: 44.4em;
    align-items: center;
    width: 51%;
    height: 20em;
    margin-right: 4.5em;
    overflow: hidden;
    white-space: nowrap;
  }

  .landing-content {
    scale:90%;
    max-width: max-content;
    max-height: max-content;
    align-items: center;
  }

  .text {
    top: 2px;
    font-size: 1.1em;
    margin-bottom: 3em;

    .wrapper {
      padding-left: 12px;
      padding-right: 5px;
      padding-top: 0px;
    }
  }

  .title-pointer {
    margin-left: auto;
    margin-right: auto;
  }

  .audio-button {
    right: -1vw;
    z-index: 9999;
  }

  .dropdown-btn {
    left: 1vw;
    z-index: 9999;
  }

  .enter-button {
    align-items: center;
    font-size: 1em;
  }

  .accordion-content {
    margin-left: 1.5em;
    margin-right: 1em;
  }

  .images {
    max-width: 100%;
    height: auto;
    /* Maintain aspect ratio */
    display: block;
    /* Ensure the image is treated as a block element */
    margin-left: auto;
    /* Center the image horizontally */
    margin-right: auto;
    /* Center the image horizontally */
  }

  .textimagescontent {
    margin-top: 22em;
  }
}

@media (min-width: 480px) {
  .hidden-desktop {
    display: none;
  }
}