@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Playwrite+IN:wght@100..400&display=swap');

body {
  margin: 0;
  padding: 0;
  color: black;
  background: white;
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;
}

header {
  color: black;
  background: white;
  padding: 20px 0;
}

.caixa {
  position: relative;
  width: 940px;
  margin: 0 auto;
}

nav {
  position: absolute;
  top: 0px;
  right: 0;
}

nav li {
  display: inline;
  margin: 0 0 0 15px;
}

nav a {
  color: black;
  font-weight: bold;
  font-size: 20px;
  text-decoration: none;
}

nav a:hover {
  color: rgb(138, 59, 125);
  text-decoration: underline;
}

h1 {
  opacity: 0;
  font-family: "Playwrite IN", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  /* Inicialmente invisível */
  transform: translateY(-50px);
  /* Posição inicial acima */
  animation: titleEntrance 1s forwards;
  /* Animação de entrada */
}

/* Animação de entrada */
@keyframes titleEntrance {
  to {
    opacity: 1;
    /* Torna o título visível */
    transform: translateY(0);
    /* Retorna à posição original */
  }
}

h2 {
  text-align: center;
  padding: 20px 0;
  font-size: 32px;
}

.titulo-principal {
  color: white;
  background-color: #8BC6EC;
  background-image: linear-gradient(135deg, #8BC6EC 0%, #9599E2 100%);
  padding: 200px 0;
  text-align: center;
}

.titulo-principal h1 {
  font-size: 40px;
  text-shadow: rgb(63, 121, 238) 1px 0 10px;
}

.subtitulo {
  font-size: 20px;
  padding: 5px 30px;
}

.botoes {
  text-align: center;
}

.botao {
  font-size: 20px;
  background-image: linear-gradient(to right, #8EC5FC 0%, #A7BFE8 51%, #6190E8 100%);
  margin: 10px;
  padding: 5px 5px;
  transition: 0.5s;
  background-size: 200% auto;
  color: black;
  box-shadow: 0 0 10px #eee;
  border-radius: 10px;
  border: white;
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;
}

.botao:hover {
  background-position: right center;
  /* change the direction of the change here */
  color: black;
  text-decoration: none;
}

main p {
  color: black;
  font-size: 18px;
  text-align: center;
  padding: 0px;
}

.depoimentos {
  width: 90%;
  margin: 0 auto;
  text-align: center;
  position: relative;
  font-size: 18px;
  padding: 10px;
  color: white;
  background-image: linear-gradient(to right, #4CB8C4 0%, #3CD3AD 51%, #4CB8C4 100%);
  /* Adicionado para posicionar as setas */
}

.depoimentos blockquote {
  display: none;
}

.depoimentos blockquote.active {
  display: block;
}

.carousel-controls {
  font-size: 24px;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s, font-size 0.3s;
}

.carousel-controls.left {
  left: 10px;
  font-size: 50px;
}

.carousel-controls.right {
  right: 10px;
  font-size: 50px;
}

.carousel-controls:hover {
  transform: translateY(-50%) scale(1.2);
  /* Ajuste o valor de escala conforme necessário */
  font-size: 28px;
  /* Ajuste o tamanho da fonte conforme necessário */
}

img {
  max-width: 500px;
  max-height: 450px;
  margin: auto;
  display: block;
}

figcaption {
  font: italic smaller;
  padding: 0px;
  text-align: center;
  font-size: 15px;
}

blockquote {
  padding: 5px;
  flex-wrap: wrap;
}

footer {
  padding: 0px;
}

.content {
  display: flex;
  align-items: center;
  /* Alinhar verticalmente */
  gap: 20px;
  /* Espaçamento entre texto e imagem */
}

.depoimentos_img {
  max-width: 400px;
  max-height: 350px;
  margin: auto;
  display: block;
}

.name {
  font-size: 23px;
  text-align: right;
  padding: 5px;
}

.jogo {
  text-align: center;
}

.jogo p {
  font-size: 20px;
  padding: 20px;
}

.rodape {
  padding: 40px 0;
  text-align: center;
  background: rgb(50, 48, 96);
  color: white;
}

.rodape h2 {
  font-family: "Playwrite IN", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.rodape img {
  max-height: 40px;
  /* Ajuste a altura da imagem */
}

.rodape .redes-sociais {
  display: flex;
  justify-content: center;
  /* Centralizar horizontalmente */
  margin: 0 20px;
  gap: 20px;
}

.copyright {
  color: #FFFFFF;
  font-size: 13px;
  margin: 20px 0 0;
  padding: 10px;
}

/* ESTILIZAÇÃO DO MENU-MOBILE */
.caixa-mobile {
  background-color: rgba(17, 0, 91, 0.711);
  backdrop-filter: blur(10px);
  position: absolute;
  top: 70px;
  left: 0px;
  width: 100%;
  height: 0;
  z-index: 10;
  visibility: hidden;
  transition: 0.5s;
  overflow: hidden;
}

.caixa-mobile nav a {
  color: white;
  display: block;
  padding: 20px 30px;
  width: 100%;
}

.caixa-mobile nav a:hover {
  background-color: rgb(134, 134, 0);
}

#botao-menu {
  background: transparent;
  width: 50px;
  height: 50px;
  outline: none;
  cursor: pointer;
  border: 5px solid rgba(17, 0, 91, 0.711);
  border-radius: 2px;
  transition: 0.2s;
  display: none;
}

.linha {
  position: relative;
  width: 20px;
  height: 3px;
  background-color: rgba(17, 0, 91, 0.711);
  display: block;
  margin: 5px auto;
  transform-origin: center;
  transition: 0.2s;
}

#botao-menu.ativar {
  border: 5px solid red;
}

#botao-menu.ativar .linha:nth-child(1) {
  transform: translateY(8px) rotate(-45deg);
  background-color: red;
}

#botao-menu.ativar .linha:nth-child(3) {
  transform: translateY(-8px) rotate(45deg);
  background-color: red;
}

#botao-menu.ativar .linha:nth-child(2) {
  width: 0;
}

.titulo, .direita, .esquerda, .efeito-na-imagem1{
  visibility: hidden;
}

@media screen and (max-width: 1020px) {

  /* MENU */
  .caixa {
    display: none;
  }

  .caixa-mobile.abrir {
    visibility: visible;
    height: calc(100vh - 50px);
  }

  #botao-menu {
    display: block;
  }

  .caixa-mobile nav {
    position: absolute;
    top: 20px;
    left: 0;
  }

  /* TITULO PRINCIPAL*/

  .titulo-principal {
    width: 100%;
  }

  .titulo-principal h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 25px;
  }

  /* IMAGENS E GIF */
  .gif {
    width: 70%;
  }

  .depoimentos_img {
    width: 100%;
  }

  /* BENEFÍCIOS */

  .botao {
    font-size: 16px;
  }

  main {
    padding: 5px 10px;
  }

  /* DEPOIMENTOS */

  .depoimentos {
    width: 90%;
    font-size: 15px;
  }

  blockquote .content {
    flex-direction: column;
  }

  .name {
    font-size: 18px;
  }

  /* JOGO */
  .jogo {
    width: 90%;
    padding: 20px;
  }

  .jogo p {
    font-size: 18px;
  }

    /* RODAPÉ */

    .rodape h2 {
      font-size: 22px;
    }
  
    .rodape {
      font-size: 16px;
    }

}