@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=Rowdies:wght@300;400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Figtree", sans-serif;
}

body {
    min-height: 100vh;
    background: url(../../assets/image/ffundo.jpg);
    background-size:auto;
    background-repeat: repeat;

}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem; 
    padding: 1rem;
    width: 100%;
    margin-bottom: 8rem;
    position: relative; 
    padding: 1rem;
  flex-wrap: wrap;
}


main {
    margin-top: 20px; 
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center; 
    gap: 40px; 
    padding: 20px;
}

.carrossel {
    position: relative;
    width: 200px;
    height: 300px;
    transform-style: preserve-3d;
    animation: animate 30s linear infinite;
    margin-bottom: 10rem;
}

@keyframes animate {
    0% {
        transform: perspective(1000px) rotateY(0deg);
    }
     100% {
        transform: perspective(1000px) rotateY(360deg);
    }
}

.carrossel__card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-origin: center;
    transform-style: preserve-3d;
    transform: rotateY(calc(var(--i) * 45deg)) translateZ(400px);
    -webkit-box-reflect: below 0px linear-gradient(transparent, transparent, #0004);
}

.carrossel__card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*------------- história -------------*/
.historia {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 84vh;
    width: 98vw;
    max-width: 1200px;
    background-color: #400406;
    border-radius: 1rem;
    padding: 2rem 1rem;
}

.historia h2,
.historia h3 {
    font-family: "Rowdies", sans-serif;
}

.historia p {
    font-size: 1rem;
}

.historia h2,
.historia h2 i {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: #dda15e;
}

.historia__container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;

}

#origem,
#quadrinhos,
#evolucao {
    height: 26.9rem;
    width: 23rem;
    background-color: #bb9457;
}

.historia h3 i {
    color: #400406;
    margin-right: 1rem;
}

article h3{
 margin-bottom: 1rem;
}

@media (max-width: 768px) {

    .historia {
        width: 105vw;
        height: 220vh;
    }
    .historia__container {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        
    }

    #origem,
    #quadrinhos,
    #evolucao {
        width: 90vw;
        height: 62vh; 
    }
}

/*------------- filmes e series -------------*/

.filmes-series,
#series  {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin: 10px 0 0 0;
    background: #780000;
    border-radius: 10px;
    
}

.title {
   margin: 1.5rem;
    text-align: center;
    font-size: 2.5rem;
}

.subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    gap: 0.5rem;
    color: #ffcc80;
    font-family: "Rowdies", sans-serif;
    
}

.subtitle i {
    color: #ffcc80;
    font-size: 1.6rem;   
}

#filmes,
#series {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 96vw;
    background-color: #023047;
    
}
.filmes-series__conteudo {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 1rem;
    height: 31rem;
    width: 16rem;
    background-color: #8ecae6;
    margin-right: 1rem;
}

.filmes-series__conteudo img {
    height: 15rem;
    width: 12rem;
}

.filmes-series i,
.subtitle h2,
#series i,
.filmes-series h2 i{
     display: flex;
    align-items: center;
    justify-content: center;
    color: #400406;
    margin-right: 2rem;
}

.filmes-series h2 {
    text-align: center;
}

/*------------- Poderes & Habilidades -------------*/
.poderes-habilidades {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top: 50px;
    padding: 20px;
    background-color: #400406;
    border-radius: 10px;
    width: 96vw;
}

#poderes-habilidades__conteudo {
    display: flex;
    align-items:flex-start;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    background-color: #400406;
}

.poderes-habilidades h2 i {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
    color: #dda15e;
}

.poderes-habilidades h2 {
    text-align: center;
    margin-bottom: 30px;
    margin-right: 1rem;
    color: #dda15e;
    font-family: "Rowdies", sans-serif;
}

.poderes-habilidades article {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 25px;
    padding: 15px;
    background: #bb9457;
    border-radius: 8px;
    height: 32rem;
    width: 15rem;
}

.poderes-habilidades img {
    height: 20rem;
    width: 13rem;
    border-radius: 0.5rem;
}

.poderes-habilidades h3 i {
    margin-right: 15px;
    color: #400406; 
}

.poderes-habilidades p {
    margin-top: 8px;
    line-height: 1.5;
}

/* ------------- Seções Gerais ------------- */

section {
    margin: 60px auto;
    padding: 20px;
    width: 96vw;
    max-width: 90vw;
    border-radius: 12px;
    box-shadow: 0 14px 15px #000000;
}

section h2 {
    font-size: 1.8rem;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

article {
    margin-bottom: 30px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid #fdf0d5;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

article:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

article h3 {
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

article p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Espaçamento final entre seções */
section:last-of-type {
    margin-bottom: 60px;
}

/* Responsividade */
@media (max-width: 768px) {
    section {
        padding: 15px;
    }

    section h2 {
        font-size: 1.5rem;
    }

    article h3 {
        font-size: 1.1rem;
    }

.citacoes,
.galeria {
    margin-top: 50px;
    padding: 20px;
    background-color: #400406;
    border-radius: 10px;

}

#forca h3 i,
#justica h3 i {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #dda15e;
}
}

/* ------------- citacoes ------------- */
.citacoes {
  position: relative;
  width: 96vw;
  height: 87vh;
  max-width: 1200px;
  margin: 2rem auto;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #8ecae6;
  padding: 1rem;
}

.citacoes h2 {
    font-family: "Rowdies", sans-serif;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  pointer-events: none; 
  object-fit: cover;
}

.citacoes .content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
  width: 90vw;
  max-width: 900px;

}

#forca p{
    font-size: 1.5rem;
    font-weight: 800;
    background-color: rgba(206, 20, 20, 0.24);
  margin-bottom: 1rem;
  padding: 0.5rem;
  border-radius: 5px;
}

/* Media queries para telas menores */
@media (max-width: 768px) {
  .citacoes {
    height: auto; /* ajusta altura automaticamente */
    padding: 1rem;
  }

  .citacoes h2 {
    font-size: 1.5rem;
  }

  #forca p {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .citacoes .content {
    width: 95%;
    padding: 1rem;
  }

  #forca p {
    font-size: 1rem;
  }
}

/* ------------- galeria ------------- */
.galeria  {
    background-color: #400406;
}

.galeria h2 i {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
    color: #8ecae6;
    height: 10px;
    width: 10px;
    font-size: 2rem;
}
.galeria h2,
.galeria h3{
    color: #8ecae6;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Rowdies", sans-serif;
    font-weight: 600;
}

.container__galeria {
  width: 100%;
  overflow: hidden;
  padding: 20px;
}

.ring {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.ring__track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scroll 30s linear infinite;
}

.img {
  flex: 0 0 auto;
  width: 250px;
  height: 350px;
  object-fit: cover;
  border-radius: 12px;
}

/* Animação para deslizar automaticamente */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}




