/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #030800;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100vw;
  min-height: 100vh;
  overflow: visible;
  padding: 10px;
  color: beige;
  border-radius: 2px;
}

instapro {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  margin-top: 150px;
  align-items: center;
  justify-content: center;
}


/* Logo */
#logo {
  display: flex;
  left: 0.4%;
  top: 0.4%;
  position: absolute;
  width: 70px;
  height: 90px;
  animation: pulse 5s infinite ease-in-out;
  cursor: pointer;
}

#configuracao {
  display: flex;
  right: 0.4%;
  top: 0.4%;
  position: absolute;
  font-size: 70px;
  animation: pulse 5s infinite ease-in-out;
  cursor: pointer;
  animation: girar 2s infinite linear;
}

@keyframes girar {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#menu {
  display: flex;
  flex-direction: row;
  margin: 0 auto;
  justify-content: center;
  gap: 0px;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  z-index: 9999;

 
}

.menu-button {
  display: flex;
  position: relative;
  margin: 0 auto;
  width: 400px;
  max-width: 10%;
  animation: shake 9s infinite ease-in-out;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
  transform: scale(1);
}

.menu-button:hover {
  animation: none;
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

@keyframes shake {
  0% {
    transform: translateX(0);
  }
  10% {
    transform: translateX(-5px);
  }
  20% {
    transform: translateX(5px);
  }
  30% {
    transform: translateX(-5px);
  }
  40% {
    transform: translateX(5px);
  }
  50% {
    transform: translateX(0);
  }
  60% {
    transform: translateX(-5px);
  }
  70% {
    transform: translateX(5px);
  }
  80% {
    transform: translateX(-5px);
  }
  90% {
    transform: translateX(5px);
  }
  100% {
    transform: translateX(0);
  }
}

h1 {
  text-align: center;
  gap: 20px;
  padding: 20px;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  color: hsl(17, 94%, 49%);
  font-size: 5vh;
  width: 88vw;
  overflow: visible;
  font-weight: bolder;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: tremida 2s infinite ease-in-out;
}

h2 {
  text-align: center;
  gap: 20px;
  padding: 20px;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  color: hsl(17, 94%, 49%);
  font-size: 3vh;
  width: 88vw;
  overflow: auto;
  font-weight: bolder;
}

.item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 86vw;
  overflow: visible;
  border: hsl(17, 94%, 49%) 5px solid;
  border-radius: 30px;
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 10px;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  margin-bottom: 10px;
  border-radius: 30px;
  width: 90vw;
  overflow: visible;
  padding: 0px;
  color: rgb(119, 238, 8);
  gap: 0;
}

.textarea {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  border-radius: 10px;
  background-color: #c5f8a7;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  border: none;
  color: rgb(4, 0, 255);
  font-size: 16px;
  font-weight: bold;
  width: 80vw;
  overflow: auto;
}

.textarea:focus {
  outline: none;
  box-shadow: none;
  border: none;
  padding: 10px;
  font-size: 16px;
  font-family: Arial, sans-serif;
}

.action-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  border-radius: 30px;
  cursor: pointer;
  text-align: center;
  width: 60vw;
  font-size: 3vh;
  font-weight: 900;
  background-color: rgb(97, 42, 3);
  color: aliceblue;
  animation: tremida 2s infinite ease-in-out;
}

@keyframes tremida {
  0% {
    transform: translateX(0);
  }
  10% {
    transform: translateX(-5px);
  }
  20% {
    transform: translateX(5px);
  }
  30% {
    transform: translateX(-5px);
  }
  40% {
    transform: translateX(5px);
  }
  50% {
    transform: translateX(0);
  }
  60% {
    transform: translateX(-5px);
  }
  70% {
    transform: translateX(5px);
  }
  80% {
    transform: translateX(-5px);
  }
  90% {
    transform: translateX(5px);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes tremida2 {
  0% {
    transform: translatey(0);
  }
  10% {
    transform: translatey(-5px);
  }
  20% {
    transform: translatey(5px);
  }
  30% {
    transform: translatey(-5px);
  }
  40% {
    transform: translatey(5px);
  }
  50% {
    transform: translatey(0);
  }
  60% {
    transform: translatey(-5px);
  }
  70% {
    transform: translatey(5px);
  }
  80% {
    transform: translatey(-5px);
  }
  90% {
    transform: translateX(5px);
  }
  100% {
    transform: translatey(0);
  }
}

.microfone {
  animation: tremida2 5s infinite ease-in-out;
}

.input-api {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  border-radius: 30px;
  background-color: #c5f8a7;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  border: none;
  color: rgb(4, 0, 255);
  font-size: 22px;
  font-weight: bold;
  width: 60vw;
  height: 6vh;
  overflow: auto;
}

.input-api:focus {
  outline: none;
  box-shadow: none;
  border: none;
  padding: 10px;
  font-size: 16px;
  font-family: Arial, sans-serif;
}

.inline {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  max-width: 80vw;
}

/* Media Queries para smartphones */
@media screen and (max-width: 768px) {
  #logo {
    width: 6vh;
    height: 6vh;
  }
  #configuracao {
    font-size: 35px;
  }
  h1 {
    font-size: 4.2vh;
  }
  .menu-button {
    top: 15%;
    display: flex;
    position: relative;
    margin: 0 auto;
    width: 500px;
    height: 60px;
    animation: shake 9s infinite ease-in-out;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    transform: scale(1);
  }
}
#YOUTUBE {
  display: flex;
  flex-direction: column;
  text-align: center;
  
}
linha {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
;
}
#select{
  display: block; /* ou inline-block */
  width: 60vw; /* Mantém a largura definida */
  margin: 0 auto; /* Centraliza horizontalmente */
  text-align: center; /* Centraliza o texto dentro do select */
  background-color: #e9fae0;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  border: hsl(17, 94%, 49%) 5px solid;
  border-radius: 30px;
  color: rgb(0, 0, 0);
  font-size: 22px;
  font-weight: bold;
  height: 6vh;
  overflow: auto;
}

/* Estiliza o select original (caso ele apareça antes de ser transformado pelo Select2) */
#nome2 {
  display: block;
  width: 60vw;
  margin: 0 auto;
  text-align: center;
  background-color: #e9fae0;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  border: hsl(17, 94%, 49%) 5px solid;
  border-radius: 30px;
  color: rgb(0, 0, 0);
  font-size: 22px;
  font-weight: bold;
  height: 6vh;
  overflow: auto;
}

/* Centraliza o container do Select2 na tela */
.select2-container {
  display: block;
  width: 60vw !important; /* Força largura igual ao select original */
  margin: 0 auto;
}

/* Estilo da caixa de seleção do Select2 */
.select2-container--default .select2-selection--single {
  background-color: #e9fae0; /* Cor de fundo igual ao original */
  border: 5px solid hsl(17, 94%, 49%); /* Borda laranja */
  border-radius: 30px; /* Borda arredondada */
  height: 6vh; /* Altura igual ao select original */
  font-size: 22px; /* Tamanho da fonte */
  font-weight: bold; /* Fonte em negrito */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* Sombra */
  display: flex;
  align-items: center; /* Alinha o texto verticalmente */
  padding-left: 15px; /* Espaçamento à esquerda do texto */
}

/* Estilo do texto que aparece dentro do select2 */
.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: black; /* Cor do texto */
  line-height: normal;
  text-align: center;
  width: 100%;
}

/* Estilo da setinha à direita (ícone de dropdown) */
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100%;
  right: 10px;
}

/* Estilo da lista de opções (dropdown) */
.select2-container--default .select2-results>.select2-results__options {
  background-color: #e9fae0; /* Cor de fundo das opções */
  color: black; /* Cor do texto das opções */
  font-size: 18px;
  font-weight: bold;
  border-radius: 10px;
}

/* Estilo das opções individuais */
.select2-container--default .select2-results__option {
  padding: 10px; /* Espaço interno */
  margin: 2px; /* Espaço entre as opções */
  border-radius: 10px; /* Bordas arredondadas nas opções */
}

/* Estilo quando o mouse passa por cima de uma opção */
.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: hsl(17, 94%, 49%); /* Fundo laranja ao passar o mouse */
  color: white; /* Texto branco para contraste */
}
