:root {
  --cor-1: #0c422a;
  --cor-2: #9a4d57;
  --cor-3: #ffffff;
  --cor-4: #1da367;
  --cor-5: #191919;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Saira";
  overflow-x: hidden;
  background: var(--cor-5);
}

.header {
  background-image: url(/img/capa.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  max-width: 100%;
  height: 700px;
}



.container-overlay {
  display: block;
}

.container-overlay {
  max-width: 100%;
  height: auto;
  background: var(--cor-3);
  background-image: url(/img/Pammela/WhatsApp\ Image\ 2023-08-23\ at\ 11.20.25.jpeg);
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  background-size: cover;
  color: var(--cor-3);
}

.overlay1 {
  max-width: 100%;
  height: auto;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.8);
  position: relative;

}

small {
  font-weight: bold;
  font-size: 15px;
  position: absolute;
  top: 92%;
  left: 10.5%;
  color:var(--cor-2);
  cursor: pointer;
  text-decoration: none;
  -webkit-user-select: none; /* Safari */
  user-select: none;
  transition: transform 0.4s;
}

small:hover {
  transform: scale(1.2);
}

.container-overlay h1 {
  color: var(--cor-2);
  font-size: 100px;
  font-weight: lighter;
  text-transform: uppercase;

}

.container-overlay h1:first-child{
  padding-top: 30px;
}

.container-overlay span {
  font-size: 150px;
  font-weight: bolder;
}

.container-overlay p {
  color: var(--cor-3);
  font-size: 30px;
  padding: 200px;
}

#section2,
#section3,
#section4,
#section5,
#section6,
#section7 {
  background: var(--cor-2);
  width: 100%;
  height: 100%;
}

#section2 h1,
#section3 h1,
#section4 h1,
#section5 h1,
#section6 h1,
#section7 h1 {
  text-transform: uppercase;
  font-weight: 800;
  font-size: 100px;
  color: var(--cor-3);
  text-align: center;
}

#section2 p {
  letter-spacing: 10px;
  text-transform: uppercase;
  color: var(--cor-3);
  text-align: center;
  font-size: 20px;
}

.container-galeria {
  display: flex;
  justify-content: center;
}

.container-galeria .container-fotos {
  margin-top: 50px;
  display: flex;
  width: 1200px;
  gap: 20px;
}

.container-fotos .foto img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto; /* Centraliza a imagem horizontalmente */
}

.bg1 {
  background-image: url(/img/Pammela/WhatsApp\ Image\ 2023-08-23\ at\ 11.20.25.jpeg);
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 100% 100%;
}

.bg2 {
  background-image: url(/img/Pammela/WhatsApp_Image_2023-08-23_at_11.20.26-removebg-preview.png);
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 400px;
}

.bg3 {
  background-image: url(/img/Pammela/WhatsApp_Image_2023-08-23_at_11.20.25__3_-removebg-preview.png);
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 400px;
}

.cursos {
  display: flex;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--cor-4);
  position: relative; /* Para posicionamento do risco */
  max-width: 100%;
}

.curso {
  flex: 1;
  padding: 20px;
}

.risco {
  position: absolute;
  left: 50%; /* Centraliza horizontalmente o risco */
  transform: translateX(-50%);
  width: 1px;
  height: 100%;
  background-color: var(--cor-4);
}

.curso ul,
.instructions ul {
  list-style: none;
}

#section8 {
  background: var(--cor-1);
  width: 100%;
  height: 100%;
}

#section8 h1 {
  text-transform: uppercase;
  font-weight: 800;
  font-size: 100px;
  color: var(--cor-3);
  text-align: center;
}

.overlay2 {
  color: #ffffff;
  background: rgba(0, 0, 0, 0.8);
}

.curso p {
  font-size: 20px;
}

.instructions {
  text-align: center;
  padding: 40px;
}

.instructions h2 {
  margin-bottom: 20px;
  text-align: center;
  font-size: 40px;
}

.instructions p {
  font-size: 30px;
  font-weight: lighter;
}

.buttons {
  position: fixed;
  bottom: 1%;
  right: 1%;
  z-index: 999;
  display: flex;
}

.cursos strong,
.instructions strong {
  color: red;
}

#wpp,
#back,
#btnTopo {
  color: black;
  background-color: transparent;
  border: none;
  margin-top: 10px;
  text-transform: uppercase;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  border-radius: 50%;
  padding: 10px;
}

#wpp:hover,
#back:hover,
#btnTopo:hover {
  background-color: var(--cor-5);
  transform: scale(1.2);
  transition: 0.7s;

}

#btnTopo {
  /* ... outros estilos ... */
  visibility: hidden;
  opacity: 0; /* Começa com opacidade 0 para estar invisível */
  transition: opacity 0.3s ease-in-out; /* Adiciona uma transição suave */
}

#btnTopo.show {
  opacity: 1;
  visibility: visible;
}

.footer {
  background-color: var(--cor-5);
  color: white;
  text-align: center;
  padding: 40px;
  font-size: 12px;
}

/*galeria de fotos - utilizar display: padrão (sem ser o display: flex;)*/

.container-fotos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding: 20px;
  max-width: 100%;
  /* Para que as imagens fiquem embaixo umas das outras */
}

.foto {
  border: 2px solid #ffffff;
}

.container-fotos img {
  max-width: 100%;
  max-height: 100%;
  margin-top: 10px; /* Adicionei um espaço entre as imagens */
}

.tituloC {
  color: var(--cor-4);
  font-size: 40px;
  font-weight: lighter;
  text-transform: uppercase;
}

.tituloC {
  color: var(--cor-4);
  font-size: 40px;
  font-weight: lighter;
  text-transform: uppercase;
}

.tituloC span:last-child {
  display: block;
}


@media screen and (max-width: 768px) {
  /*galeria de fotos - utilizar display: padrão (sem ser o display: flex;)*/
  /* .box::before {
    content: "max-768";
    color: white;
    background-color: blue;
    padding: 10px;
    display: block;
    text-align: center;
  } */

  .header {
    height: 100% auto;
  }

  .containerC1 {
    display: none;
  }

  .container-overlay {
    display: block;
  }

  
  .container-overlay {
    max-width: 100%;
    height: auto;
    background: var(--cor-3);
    background-image: url(/img/Pammela/WhatsApp\ Image\ 2023-08-23\ at\ 11.20.25.jpeg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    color: var(--cor-3);
  }

  .overlay1 {
    color: #ffffff;
    background: rgba(0, 0, 0, 0.8);
    max-width: 100%;
    height: auto;
  }

  .container-overlay h1 {
    color: var(--cor-2);
    font-size: 25px;
    font-weight: lighter;
    text-transform: uppercase;
  }

  .container-overlay span {
    font-size: 40px;
    font-weight: bolder;
  }

  .container-overlay p {
    font-size: 20px;
    padding: 70px;
    font-weight: lighter;
   
  }

  .dra {
    display: none;
  }

  .container-fotos {
    flex-direction: column;
  }

  .container-fotos img {
    max-width: 50%;
    margin-top: 10px; /* Adicionei um espaço entre as imagens */
  }

  #section8 h1 {
    font-size: 50px;
  }

  .instructions .title {
    margin-bottom: 20px;
  }

  #section7 {
    background-size: 200px;
  }

  .bg2 {
    background: none;
  }

  .bg3 {
    background: none;
  }

  .curso h2 {
    font-size: 30px;
    font-weight: bolder;
  }

  #section8 h1 {
    font-size: 40px;
  }

  .curso p {
    font-size: 15px;
  }

  .risco {
    display: none;
  }

  .cursos {
    flex-direction: column;
  }

  .instructions h2 {
    font-size: 20px;
  }

  .instructions p {
    font-size: 15px;
  }

  #section2 h1,
  #section3 h1,
  #section4 h1,
  #section5 h1,
  #section6 h1,
  #section7 h1 {
    font-size: 50px;
  }
}
  /*galeria de fotos - utilizar display: padrão (sem ser o display: flex;)*