@import url('https://fonts.googleapis.com/css2?family=Nosifer&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: black;
  color: aliceblue;
  font-family: Arial, sans-serif;
}

.header {
  background-color: rgb(104, 22, 22);
  padding: 15px;
  text-align: center;
}

h1 {
  font-family: 'Nosifer', cursive;
  color: red;
  font-size: 36px;
}

.menu {
  margin-top: 10px;
}

.menu a {
  color: aliceblue;
  text-decoration: none;
  margin: 0 10px;
  font-weight: bold;
  transition: color 0.3s;
}

.menu a:hover {
  color: red;
}


.introducao {
  padding: 40px 20px;
  max-width: 800px;
  margin: auto;
  text-align: left;
}

.introducao h2 {
  color: red;
  font-family: 'Nosifer', cursive;
  margin-bottom: 15px;
}


.galeria {
  padding: 40px 20px;
  text-align: center;
}

.galeria h2 {
  color: red;
  font-family: 'Nosifer', cursive;
  margin-bottom: 20px;
  text-align: center;
}

.imagens-galeria {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px; }

.footer {
background-color: rgb(56, 54, 54);
text-align: center;
font-size: 15px;
padding: 50px;
margin-top: 150px;
color: aliceblue;

}

.strong {
  color: red;
}

.personagens-lista {
  max-width: 800px;
  margin: 20px auto 0;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.personagem {
  display: flex;
  align-items: center;
  border: 2px solid red;
  padding: 15px;
  border-radius: 8px;
  background-color: #111;
  color: red;
  font-weight: bold;
  font-size: 1.1rem;
}


.personagem:nth-child(odd) {
  flex-direction: row;
  text-align: left;
}


.personagem:nth-child(even) {
  flex-direction: row-reverse;
  text-align: right;
}

.nome {
  flex: 1;
  padding: 0 20px;
  border: 2px solid red;
  border-radius: 6px;
}


.imagem-personagem {
  width: 100px;
  height: 100px;
  border: 2px solid red;
  border-radius: 8px;
  object-fit: cover;
  background-color: black;
}



#btnTopo {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: none;
  font-size: 24px;
  background-color: red;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 999;
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-conteudo {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80%;
}

.fechar {
  position: absolute;
  top: 50px;
  right: 60px;
  color: red;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}


.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.fade-in.aparecer {
  opacity: 1;
  transform: translateY(0);
}
