* {
  margin: 0px;
}

body {
  overflow: auto;
  background-color: #8798a8;
}


.titulo-principal {
  font-size: 30px;
  font-family: 'Playfair Display', serif;
  margin-right: auto;
  text-align: center;
  margin-left: 40px;
  color: rgb(227, 253, 253);
}

.segundo-titulo {
  text-align: center;
  font-size: 40px;
  font-style: italic;
}


/*deixa sem o traço */
nav a {
  text-decoration: none;
  color: white;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 20px;
  margin-left: 0px;
  /*deixa com espacinho estre os links*/
  position: relative;
  margin-right: 30px;
}

nav a::before,
nav a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background-color: rgb(97, 235, 235);
  transition: 0.3s;
}


nav a::before {
  top: 0;
  left: 0;
}


nav a::after {
  bottom: 0;
  right: 0;
}


nav a:hover::before {
  width: 100%;
}

nav a:hover::after {
  width: 100%;
}

a:hover {
  color: rgb(227, 253, 253);
}

header {
  background-color: #2e4756;
  border-radius: 35px;


  display: flex;
  justify-content: space-between;
  /*passa os link para o lado direito*/
  align-items: center;
  padding: 25px;
  margin-top: 30px;
  margin-right: 20px;
  margin-left: 20px;
}

iframe {
  width: 100%;
  max-width: 800px;
  height: 450px;
  display: block;
  margin: 0 auto;
}

.titulo-video {
  font-family: 'Playfair Display', serif;
  font-size: 35px;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 30px;
}

.slider {
  width: 800px;
  height: 450px;
  position: relative;
  margin: 50px auto;


}

.slider img {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: slide 9s infinite;
  border-radius: 10px;
  border: 2px solid #2e4756;
}

.slider img:nth-child(1) {
  animation-delay: 0s;
}

.slider img:nth-child(2) {
  animation-delay: 3s;
}

.slider img:nth-child(3) {
  animation-delay: 6s;
}

.slider img:nth-child(4) {
  animation-delay: 9s;
}

@keyframes slide {
  0% {
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  30% {
    opacity: 1;
  }

  40% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.p1 {
  text-align: justify;
  max-width: 1000px;
  margin: 0 auto;
  font-size: 20px;
  margin-top: 40px;
  line-height: 1.6;
  /* espaçamento entre linhas */
}

#rodape {
  background-color: #2e4756;
  color: rgb(227, 253, 253);
  text-align: center;
  padding: 40px;
  margin-top: 60px;
  font-family: 'Times New Roman', Times, serif;
  font-size: 23px;

}


footer p {
  margin: 0px;
}

.t1 {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  text-align: center;
  margin-top: 50px;
}



.container {
  display: flex;
  max-width: 1000px;
  margin: 40px auto;
  gap: 40px;
  align-items: flex-start;
  /* melhor que center aqui */
  /*box-shadow: 0 4px 15px rgb(175, 255, 255);*/
  border-radius: 25px;
  background-color: rgb(227, 253, 253);
}


.imagens img {
  width: 100%;
  margin-bottom: 20px;
  border-radius: 10px;
  /* borda arredondada */
}

.texto {
  width: 60%;
  width: 65%;
}

.texto p {
  line-height: 1.6;
  /* espaçamento entre linhas */
  margin-bottom: 15px;
  font-size: 18px;
  text-align: justify;
}

.texto h2 {
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
  margin-top: 10px;
}

.imagens {
  width: 25%;
  margin-left: 15px;
  margin-top: 15px;
}


/* layout geral */
body {
  font-family: Arial;
}

/* card */
.card {
  width: 100%;
  max-width: 1100px;
  margin: auto;
}

/* título */
h2 {
  text-align: center;
  margin-bottom: 15px;
  font-size: 30px;
  font-family: 'Playfair Display', serif;
  margin-top: 30px;
}

/* colocar listas lado a lado */
.listas {
  display: flex;
  gap: 20px;
}

/* caixas */
.lista1,
.lista2 {
  width: 50%;
  background: rgb(227, 253, 253);
  padding: 15px;
  border-radius: 10px;
}

/* lista 1 (bolinhas customizadas) */
.lista1 ul {
  list-style: square;
}

/* lista 2 (números destacados) */
.lista2 ol {
  list-style: decimal;
}

/* itens simples */
li {
  margin-bottom: 10px;
}

/* texto */
.descricao {
  max-width: 1000px;
  margin: 20px auto;
  text-align: justify;
  line-height: 1.8;
  font-size: 18px;

}

.c1 {
  margin-bottom: 15px;
  font-family: 'Playfair Display', serif;
}

.intro {
  max-width: 1000px;
  margin: 20px auto;
  text-align: justify;
  line-height: 1.8;
  font-size: 20px;

}