body {
  background-color: transparent;
  background-image: linear-gradient(90deg, #1E0830 0%, #420358 100%);
  font-family: "Barlow Semi Condensed", sans-serif;
  margin: 0;
}

p {
  font-weight: 400;
  margin: 0 0 1rem;
  color: #F5F5EC;
  line-height: 1.45; /* Espaçamento entre linhas */
  letter-spacing: 0.5px; /* Espaçamento entre letras */
  text-align: justify; /* Alinhamento do texto */
}

/* Estilo padrão para o contêiner do vídeo */
.video-container {
  position: relative;
  overflow: hidden;
  margin: 0 auto 21px;
}

/* Estilo padrão para o iframe */
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Estilo para Botoes Animados */
.animated-box {
  display: block;
  margin: 36px auto 36px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 1.5rem;
  font-style: italic;
  line-height:1.2;
  padding: 20px 40px;
  text-align: center;
  color: white;
  border-style: solid;
  border-width: 3px;
  border-color: white;
  border-radius: 9px;
  animation: colorTransition 6s infinite alternate ease-in-out;
  max-width: 333px;
}

/* Animação de transição de cor do botao*/
@keyframes colorTransition {
  0% {
    background-color: var(--cor-inicial); /* Cor inicial */
  }
  100% {
    background-color: var(--cor-final); /* Cor final */
  }
}


.divider-shape {
    overflow: hidden;
    position: relative;
    left: 0;
    width: 100%;
    line-height: 0;
    direction: ltr
}

.divider-shape svg {
  display: block;
  width: 100%;
  position: relative;
  transform-origin: center;
  overflow: hidden;
}

/*container flex*/
.container{
  display: flex;
  flex-wrap: wrap; /* Permite que os elementos sejam empilhados em telas pequenas */
  gap: 20px; /* Espaçamento entre os elementos */
  align-items: center; /* Alinha verticalmente os elementos */
  flex-direction:row;
}

.content-container {
  flex:1; /* Distribui o espaço restante igualmente entre os elementos */
  text-align:center;
}

.imgbox {
  max-width:839px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 192px;
  background: linear-gradient(var(--cor1), var(--cor2)), var(--imgback); /* Combina gradiente e imagem */
  background-size: cover;
  background-position: center;
  mix-blend-mode: hard-light;
}


/* Para computadores ----------------------------------------------------------------------*/
@media (min-width: 768px) {
  p {
    font-size: 1.3rem; /* 16px */
  }
  h1 {
    font-size: 2rem; /* 32px */
    font-weight: 600;
  }
  h2 {
    font-size: 1.5rem; /* 24px */
    font-weight: 600;
    letter-spacing:1.7px;
    word-spacing:4px;
  }

  .box-livro{
    margin: 0 21%;
    padding: 20px;
  }

  .video-container {
    padding-bottom: 56.25%; /* Proporção 16:9 (9 / 16 * 100 = 56.25%) */
    width: 87%;
  }

  .imgbox {
    height: 500px;
  }
}

/* Para celulares ----------------------------------------------------------------------------------*/
@media (max-width: 767px) {
  p {
    font-size: 1.11rem;
  }
  h1 {
    font-size: 1.5rem; /* 24px */
    font-weight: 600;
  }
  h2 {
    font-size: 1.3rem; 
    font-weight: 600;
    letter-spacing:1.3px;
    word-spacing:4px;
  }

  .box-livro{
    margin: 0 6%;
  }

  .video-container {
    padding-bottom: 177.78%; /* Proporção 9:16 (16 / 9 * 100 = 177.78%) */
    width: 93%;
  }

  .container{
    flex-direction: column;
    gap: 9px;
  }
  .content-container {
    flex:none;
    width:100%;
  }
  
}






/* Classe para o efeito fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(36px);
  transition: all 1.5s ease-in-out var(--delay, 0s);
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}



.section-divider {
  position: relative;
  height: 20px; /* Altura total do divisor, ajuste conforme necessário */
  width: 100%;
  background: transparent;
  border-top: 2.1px double #4a0082;
  overflow: hidden;
}



.chevron {
  position: relative;
  margin: 12px auto;
  /*top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;*/
  width: 30px; /* Largura do triângulo, ajuste para maior ou menor */
  height: 18px; /* Altura do triângulo, ajuste para maior ou menor */
  background: white;
  clip-path: polygon(0% 0%, 100% 0%, 50% 100%); /* Cria o triângulo apontando para baixo */
  /* Alternativa com bordas (se clip-path não for suportado em navegadores antigos): */
  /* border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 20px solid #4a0082; */
}

/* ------------------- Slideshow ---------------- */
/* Container do slideshow */
.slideshow-container {
    position: relative;
    overflow: hidden;
    height: auto;
    /*width: 100%;
    
    padding: 9px;
    */
    border:9px #BAE99A solid;
    background: #BAE99A;
}

/* Slides */
.slide {
    display: none;
    width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Setas de navegação */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.3s ease;
    user-select: none;
    padding: 9px;
    /*background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);*/
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover, .next:hover {
    font-size: 30px;
    /*background-color: rgba(0, 0, 0, 0.8);*/
}

/* Animação de fade */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

/* ------------------- Slideshow ---------------- */



