
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Lora', serif;
  text-align: center;
  color: #ffde59;
}


.imagem-fundo {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -1;
}


.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.letreiro {
  position: absolute;
  top: 40%; left: 50%;
  transform: translate(-50%, -50%);
  color: #f5e663;
  font-size: 3rem;
  font-weight: 900;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
  white-space: nowrap;
}


#menu-toggle {
  font-size: 30px;
  cursor: pointer;
  padding: 10px 15px;
  position: fixed;
  top: 10px; left: 10px;
  z-index: 1001;
  color: #fff;
}

#top-menu {
  display: none;
  position: fixed;
  top: 50px;
  left: 0;
  width: 100%;
  background-color: #401675;
  padding: 10px 0;
  z-index: 1000;
}

#top-menu a {
  margin: 0 20px;
  color: white;
  text-decoration: none;
  font-weight: bold;
}

#top-menu a:hover {
  text-decoration: underline;
}


.conteudo {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 150px;
  padding: 20px;
  text-align: center;
}

h1 {
  font-size: 3em;
  margin: 0.2em 0;
}

p {
  font-size: 1.2em;
  max-width: 800px;
}


.introducao {
  position: relative;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: justify;
  color: #FFD700;
}

.introducao::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: #4b348d;
  background-size: cover;
  background-position: center;
  z-index: -1;
}


.bloco {
  display: flex;
  align-items: center;
  max-width: 1000px;
  margin-bottom: 60px;
  gap: 40px;
  flex-wrap: wrap;
}

.bloco img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s;
}

.bloco img:hover {
  transform: scale(1.05);
}

.texto {
  font-size: 1.2em;
  flex: 1;
  min-width: 300px;
}

.invertido {
  flex-direction: row-reverse;
}

.clique-texto {
  color: white;
  margin-top: 10px;
  font-size: 0.9em;
}


.exemplos {
  background-color: #4b348d;
  color: #ffde59;
  padding: 60px 30px;
  margin: 0;
}

.container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}


.botao {
  width: 200px;
  height: 320px;
  border: none;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10px;
  position: relative;
  box-shadow: 0 0 10px #000, 0 0 20px rgb(68, 3, 99);
  transition: transform 0.3s, box-shadow 0.3s;
}

.botao:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px #000, 0 0 30px rgb(68, 3, 99);
}


.nome {
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  padding: 10px;
  color: #d6b4ff;
  font-weight: bold;
  font-size: 1em;
  z-index: 1;
}


#graceHopper { background-image: url('graceexemplo.jpg'); }
#hedyLamarr { background-image: url('hedyexemplo.jpg'); }
#katherineJohnson { background-image: url('katherineexemplo.jpg'); }


.personalidades {
  position: relative;
  padding: 80px 20px;
  color: #000;
  z-index: 1;
}

.personalidades::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: #4b348d;
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.personalidades .titulo {
  font-size: 36px;
  margin-bottom: 40px;
  font-weight: bold;
  color: #ffde59;
  text-shadow: 2px 2px 6px #000;
}


.card-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background-color: #f5d553;
  border-radius: 20px;
  width: 260px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 20px #ffd700;
  overflow: hidden;
}

.card:hover,
.card.expanded {
  transform: scale(1.05);
  box-shadow: 0 0 15px #ffd966;
}

.card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.card-header img {
  width: 120px;
  height: 120px;
  border-radius: 15px;
  object-fit: cover;
  margin-bottom: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
}

.card-header p {
  font-weight: bold;
  font-size: 1.1em;
  color: #3e2f80;
  text-align: center;
}

.card-content {
  display: none;
  padding: 15px;
  text-align: justify;
  color: #3e2f80;
  font-size: 0.95em;
}

.card.expanded .card-content {
  display: block;
  
}


.titulo {
  font-size: 36px;
  margin-bottom: 40px;
  font-weight: bold;
  color: #ffde59;
  text-shadow: 2px 2px 6px #000;
}

.titulo-inicio {
  font-size: 50px;
  margin-bottom: 40px;
  font-weight: bold;
  color: #ffde59;
  text-shadow: 2px 2px 6px #000; 
}
.sub-titulo-inicio {
  font-size: 30px;
  margin-bottom: 40px;
  font-weight: bold;
  color: #ffde59;
  text-shadow: 2px 2px 6px #000; 
}
.legenda {
  text-align: center;
  color: #ffde59;
  font-size: 0.95em;
  margin-top: 8px;
  font-style: Lora;
}

.secao-equipe {
  background-color: #4b348d;
  color: #ffde59;
  padding: 60px 30px;
}

.container-equipe {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.texto-equipe {
  flex: 1 1 500px;
  text-align: left;
}

.texto-equipe h2 {
  font-size: 36px;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffde59;
  text-shadow: 2px 2px 6px #000;
}

.texto-equipe p {
  font-size: 1.1em;
  margin-bottom: 15px;
  max-width: 100%;
  color: #d6b4ff;
}

.imagem-equipe {
  flex: 1 1 400px;
  text-align: center;
}

.imagem-equipe img {
  width: 100%;
  max-width: 400px;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}
  .menu {
  position: fixed;
  top: 20px;
  left: 20px;
  font-size: 30px;
  cursor: pointer;
  color: #ffde59;
  z-index: 1100;
}

#side-menu {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100%;
  background-color: #37248a;
  color: #ffde59;
  display: flex;
  flex-direction: column;
  padding-top: 80px;
  transition: left 0.3s ease;
  z-index: 1000;
}

#side-menu.open {
  left: 0;
}

#side-menu a {
  padding: 15px 30px;
  color: #ffde59;
  text-decoration: none;
  font-size: 1.2em;
  border-bottom: 1px solid #fff3;
}

#side-menu a:hover {
  background-color: #3a2770;
  color: white;
}
.card-grid {
  display: flex;
  flex-wrap: nowrap; 
  justify-content: center;
  gap: 20px;
  max-width: 1080px; 
  margin: 0 auto;
  overflow-x: visible;
}

.card {
  background-color: #f5d553;
  border-radius: 20px;
  width: 320px;      
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 20px #ffd700;
  overflow: visible;
}

.card.active {
  max-height: 600px;
  box-shadow: 0 0 25px #ffd966;
  transform: scale(1.05);
}

.card-content {
  display: none;
  padding: 15px;
  text-align: justify;
  color: #3e2f80;
  font-size: 0.95em;
  overflow: visible; 
}

.card.active .card-content {
  display: block;
}
.ler-mais-container {
  margin-top: 8px;  
  text-align: center;
  width: 100%;
}

.ler-mais-link {
  color: #ffde59;
  font-weight: normal;
  font-size: 0.85em;   
  text-decoration: underline;
  cursor: pointer;
}

.ler-mais-link:hover {
  color: #d6b4ff;
}
.ler-mais-container {
  width: 100%;
  text-align: center;
  margin-top: 10px;
  clear: both; 
}

.ler-mais-link {
  font-size: 0.85em;
  color: #ffde59;
  text-decoration: underline;
  cursor: pointer;
}

.ler-mais-link:hover {
  color: #d6b4ff;
}



