/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: url("https://images.pexels.com/photos/902757/pexels-photo-902757.jpeg") no-repeat center center fixed;
  background-size: cover;
  font-family: Arial, sans-serif;
  text-align: center;
  position: relative;
}

/* Adicionar camada de esbatimento sobre a imagem de fundo */
/*body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Camada semi-transparente para esbater o fundo 
  z-index: -1;
}*/

/* Cabeçalho que contém título e menu */
.cabecalho {
  width: 100%;
  background: rgba(20, 20, 20, 0.8); /* Fundo mais escuro */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px 0;
  position: relative;
  z-index: 1000;
}

/* Título dentro do cabeçalho */
.titulo {
  text-align: center;
  margin-bottom: 10px;
}

.titulo h1 {
  font-size: 2.5em; /* Aumentei o tamanho da fonte */
  color: white;
  text-transform: uppercase; /* Transformei para maiúsculas */
}

.titulo h2 {
  font-size: 1.2em;
  color: white;
}

/* Menu dentro do cabeçalho e abaixo do título */
.menu {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 5px;
}

.menu ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 10px;
  padding: 0;
}

.menu li {
  padding: 5px 10px;
  background: #ffffff; /* Fundo sólido branco */
  border-radius: 5px;
}

.menu a {
  text-decoration: none;
  color: black;
  font-weight: bold;
  display: block;
  padding: 5px 10px;
  transition: text-decoration 0.3s ease, background 0.3s ease;
}

/* Efeito de hover para melhorar visual */
.menu a:hover {
  text-decoration: underline;
  background: #e0e0e0;
}

/* Efeito de sublinhado na página ativa */
.menu a.active {
  text-decoration: underline;
}

/* Conteúdo responsivo */
.content {
  width: 90%;
  max-width: 800px;
  margin: 160px auto 80px auto; /* Aumentei a margem inferior para o footer */
  padding: 15px;
  color: white;
  border-radius: 10px;
  flex-grow: 1;
  text-align: left;
}

.content p {
  margin-bottom: 15px;
  line-height: 1.6;
}

/* Rodapé fixo no fundo */
.footer {
  width: 100%;
  background: rgba(20, 20, 20, 0.8); /* Fundo mais escuro */
  color: white;
  padding: 15px 0;
  text-align: center;
}

/* Fixar cabeçalho e footer em telas grandes */
@media (min-width: 1024px) {
  .cabecalho, .footer {
    position: fixed;
    left: 0;
    width: 100%;
    z-index: 1000;
  }
  .cabecalho {
    top: 0;
  }
  .content {
    margin-top: 180px;
    margin-bottom: 100px; /* Aumentei a margem inferior */
  }
  .footer {
    bottom: 0;
  }
}

/* Media queries para telas menores */
@media (max-width: 768px) {
  .titulo h1 {
    font-size: 2em;
  }

  .titulo h2 {
    font-size: 1em;
  }

  .menu ul {
    flex-direction: column;
    align-items: center;
  }

  .content {
    width: 95%;
    margin: 20px auto 80px auto; /* Ajustei margem inferior */
  }
}

@media (max-width: 480px) {
  .titulo h1 {
    font-size: 1.5em;
  }

  .titulo h2 {
    font-size: 0.9em;
  }
}

/* Estilos para os membros */
.members {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 40px;
}

.member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.profile-pic {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: grayscale(100%);
}

.profile-pic:hover {
  transform: scale(1.1);
  filter: grayscale(0%);
}

@media (max-width: 768px) {
  .profile-pic {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 480px) {
  .profile-pic {
    width: 80px;
    height: 80px;
  }
}
