/* Reset */
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Nunito', sans-serif;
  background-color: #fff5fe;
}

header {
  position: fixed;
  width: 100%;
  height: 150px;
  overflow: hidden;
  top: 0;
  left: 0;
}

.imagem-header {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#headerLogo {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  height: 130px;
  z-index: 2;
}

.entrar-btn {
  text-decoration: none;
  position: absolute;
  top: 45px;
  right: 25px;
  background-color: #072c5d;
  color: #fff5fe;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 25px;
  cursor: pointer;
  z-index: 2;
  transition: background-color 0.3s;
  margin-right: 20px;
}

.entrar-btn:hover {
  background-color: #041b3a;
}

/* Ícone do menu */
.menu-icon {
  position: absolute;
  top: 54px;
  right: 180px;
  width: 35px;
  height: 35px;
  cursor: pointer;
  z-index: 3;
}

/* Sidebar lateral esquerda */
.sidebar {
  height: 100%;
  width: 0;
  position: fixed;
  top: 0px;
  left: 0;
  background-color: #072c5d;
  overflow-x: hidden;
  transition: 0.3s;
  padding-top: 120px;
  z-index: 100;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar ul li {
  padding: 10px 30px;
}

.sidebar ul li a {
  color: white;
  text-decoration: none;
  font-size: 20px;
  display: block;
  transition: 0.3s;
  background-color: #ffffff21;
  padding: 15px 10px;
  border-radius: 20px;
}

/* Botão fechar */
.close-btn {
  position: absolute;
  top: 90px;
  right: 25px;
  font-size: 36px;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
}

/* Painel Estudante - agora responsivo e com qualidade */
.painel-estudante {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 220px;
  padding: 0 20px;
}

.painel-estudante img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  image-rendering: auto; /* mantém a melhor renderização */
}

/* Polaroid */
.polaroid {
  display: flex;
  margin-top: 100px;
  margin-left: 200px; /* leve ajuste para mais à direita */
}

.polaroid img {
  height: 450px;
  image-rendering: auto;
}

h2 {
  font-size: 49px;
  letter-spacing: -2px;
}

.texto-polaroid {
  max-width: 800px;
  font-size: 22px;
  line-height: 1.4;
  color: #072c5d;
  text-align: justify;
  margin-left: 70px;
}

.polaroiddois {
  display: flex;
  flex-direction: row-reverse; /* inverte a ordem: imagem à direita, texto à esquerda */
  align-items: center;
  padding: 0 40px;
  gap: -15px; /* espaço entre a imagem e o texto */
  margin-right: 50px;
}

.polaroiddois img {
  height: 330px;
  image-rendering: auto;
}

.texto-polaroiddois {
  max-width: 750px;
  font-size: 22px;
  line-height: 1.4;
  color: #072c5d;
  text-align: justify;
  margin-right: 80px;
}

.botaoe {
  display: inline-block;
  background-color: #072c5d;
  color: #fff5fe;
  padding: 12px 25px;
  font-size: 28px;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-align: center; /* Adiciona alinhamento de texto para centralização */
  margin: 0 auto; /* Garante que o botão seja centralizado */
}

.botaoe:hover {
  background-color: #041b3a;
}

.centralizar-botao {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px; /* Ajuste o valor de acordo com o espaço que deseja em cima */
  width: 100%; /* Garante que ocupe toda a largura disponível */
  position: relative;
}

.fundo2 {
  position: relative; /* Necessário para que os elementos filhos com position absolute funcionem */
  background-size: cover;
  background-position: center;
  text-align: center;
}

/* Imagem de fundo principal */
.imagem-conteudo {
  width: 100%;
  height: auto;
  z-index: 1;
}

.fotos-sobrepostas {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
  z-index: 2;
}

.texto-galeria {
  max-width: 750px;
  font-size: 22px;
  line-height: 1.4;
  color: #072c5d;
  text-align: justify;
  margin-left: 560px;
  margin-top: -600px;
}

.fundo3 {
  position: relative; /* Necessário para que os elementos filhos com position absolute funcionem */
  background-size: cover;
  background-position: center;
  text-align: center;
}

.textomeio {
  max-width: 450px;
  font-size: 22px;
  line-height: 1.4;
  color: #072c5d;
  text-align: justify;
  margin-left: 730px;
  margin-top: -620px;
}

.fotos3 {
  position: absolute;
  top: 550px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: auto;
  max-height: 110vh;
  object-fit: contain;
  z-index: 2;
  pointer-events: none;
}

.botaop {
  display: inline-block;
  background-color: #072c5d;
  color: #fff5fe;
  padding: 12px 25px;
  font-size: 33px;
  border: none;
  border-radius: 36px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-align: center;
  margin: 0 auto;

  position: relative; /* necessário para z-index funcionar */
  z-index: 5; /* maior que o da imagem */
}