*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
body{
background: url('../assets/iron-fist_background.png') no-repeat center center fixed;
background-size:cover;

}

header{
    background: 
    linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)),  
    url(../assets/background-header.webp) no-repeat center center fixed;
  background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    position:relative;
    height:190px;
    z-index: 2;
}

#icon{
 display: flex;
 justify-content: center;
 align-items: center;
}

#icon img{
    width: 300px;
}

.options{
 background: rgb(45, 87, 50);
 border: 1px solid yellow;
  border-radius: 80px;      
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.header-font{
    font-size: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    list-style:none;
}

.header-font a{
    color:rgb(241, 225, 0);
    text-decoration:none;
}

section{
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gif{
    height: 60%;
    width: 90%;
    z-index:10;
    margin-top: 200px;
    border: 3px solid #1d9911;
    padding:20px;
    background: rgba(0, 0, 0, 0.6);
}

.titulo {
  position: absolute;
  display:block;
  margin: 0 auto;              
  margin-top: -1200px;           
  width: 600px; 
  z-index: 9999;
  left: 50%;              
  transform: translateX(-50%); 
  cursor: pointer;
  transition: transform 0.5s ease;
  animation: pulsarChi 3s infinite ease-in-out;
}


.personagem {
    margin-top: 300px;
    margin-left:1300px;
    border: 4px solid #1d9911; 
    border-radius: 10px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.6);    
}



.frase{
    color:white;
    font-size: 20px;
    margin-left:1320px;
    width:500px;
    margin-top:20px;
    margin-bottom: 20px;
    border: 4px solid #1d9911;
    padding: 10px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.6)
}
.conteiner{
    color:white;
    text-align: center;
    margin-bottom:10px;
}

.faq-conteiner{
    width: 800px;
    margin:30px auto;
    background: rgb(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.faq-item{
    margin-bottom:15px;
    border: 1px solid gray;
    border-radius: 8px;
    overflow: hidden;
}

.faq-pergunta{
    cursor: pointer;
    background: #09530d;
    color: #fff;
    padding: 15px 40px 15px;
    position: relative;
    font-weight: 700;
    /* display: block;
    tira a setinha  */
}

/* remove o marcador inicial e permite com que a gente coloque o nosso próprio marcador, pseudo elemento */
.faq-pergunta::marker{
    content: "";
}

/* adiciona o ícone de + inicial */
.faq-pergunta::before{
    content: "+";
    position: absolute;
    inset-inline-end: 15px;
    /* joga o elemento lá pro final do retangulo azul */
    transition: transform 0.3s ease;
    /* adiciona transição suave */
    font-size:1.2rem;
}

/* muda o icone para - quando estiver aberto */
.faq-item[open] .faq-pergunta::before {
    content: "-";
    /* realiza efeito de rotação ao abrir ou fechar */
    transform: rotate(180deg);
}



.faq-resposta{
    padding: 15px;
    background: #ccc;
    border-top: 2px solid #eee;
    color: rgb(0, 0, 0);
    
}

.primeiras-infos{
    border-radius: 10px;
    width: 65%;
    max-width: 1200px;
    background: rgb(255, 255, 255);
    margin-left: 50px;
    height:300px;
    z-index: 1;
    border: 4px solid #1d9911;

}

#histo{
    font-size: 100px;
    color: rgb(0, 0, 0);
    -webkit-text-stroke: 2px rgb(27, 165, 0);
    margin-top: -750px;
    margin-left: 400px;
    text-shadow: 10px 10px 10px black;
    
}

.text1{
    margin-top: 30px;
    color: rgb(0, 0, 0);
    font-size: 40px;
    margin-left: 40px;
    -webkit-text-stroke: 1px rgb(27, 165, 0);
    
}

.infos1{
    margin-left: 40px;
    margin-top: 20px;
    width: 1150px;
    color:rgb(0, 0, 0);
}

.segundas-infos{
    border-radius: 10px;
    width: 65%;
    background: white;
    margin-left: 50px;
    margin-top: 40px;
    border: 4px solid #1d9911;
}

.text2{
    margin-top: 30px;
    color: rgb(0, 0, 0);
    font-size: 40px;
    margin-left: 40px;
    -webkit-text-stroke: 1px rgb(27, 165, 0);
}

.infos2{
    margin-left: 40px;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 1100px;
    color:rgb(0, 0, 0);
}

.swordmaster{
    width: 50%;
    margin-left: 200px;
    margin-top: 60px;
    border: 4px solid #1d9911;
    border-radius: 10px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.6); 
}

.terceiras-infos{
    border-radius: 10px;
    margin-top: 60px;
    width: 65%;
    background: white;
    margin-left: 50px;
    border: 4px solid #1d9911;
}

.text3{
    margin-top: 30px;
    color: rgb(0, 0, 0);
    font-size: 40px;
    margin-left: 40px;
    -webkit-text-stroke: 1px rgb(27, 165, 0);
}

.infos3{
    margin-left: 40px;
    margin-top: 20px;
    width: 1200px;
    color:rgb(0, 0, 0);
    margin-bottom: 10px;
    width:1150px;
}

.img-cont{
    width: 80%;
    margin-left: 210px;
    margin-top: 60px;
    border: 4px solid #1d9911; 
    border-radius: 10px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.6);    
}

h5{
    color:white;
    font-size: 25px;
    text-align: center;
}
footer{
    background-color: rgb(27, 27, 27);
    padding:30px;
}

@keyframes pulsarChi {
  0% {
    transform: translateX(-50%) scale(1);
    filter: drop-shadow(0 0 5px rgba(29, 153, 17, 0.5));
  }
  50% {
    transform: translateX(-50%) scale(1.05);
    filter: drop-shadow(0 0 20px rgba(29, 153, 17, 0.8));
  }
  100% {
    transform: translateX(-50%) scale(1);
    filter: drop-shadow(0 0 5px rgba(29, 153, 17, 0.5));
  }
}


@media (max-width: 1400px) {

    .personagem,
    .frase {
        margin-left: 900px;
    }

    #histo {
        margin-left: 200px;
    }

    .infos1, .infos2, .infos3 {
        width: 90%;
    }

    .primeiras-infos,
    .segundas-infos,
    .terceiras-infos {
        width: 80%;
    }

    .gif, .swordmaster, .img-cont {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 1400px) {

    .personagem,
    .frase {
        margin-left: 900px;
    }

    #histo {
        margin-left: 200px;
    }

    .infos1, .infos2, .infos3 {
        width: 90%;
    }

    .primeiras-infos,
    .segundas-infos,
    .terceiras-infos {
        width: 80%;
    }

    .gif, .swordmaster, .img-cont {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {

    header {
        height: 120px;
    }

    #icon img {
        width: 150px;
    }

    .header-font {
        font-size: 22px;
        gap: 20px;
    }

    .titulo {
        width: 90%;
        margin-top: -450px;
        font-size: 30px;
    }

    .gif,
    .personagem,
    .frase,
    .primeiras-infos,
    .segundas-infos,
    .terceiras-infos,
    .swordmaster,
    .img-cont {
        width: 95%;
        margin-left: auto;
        margin-right: auto;
    }

    .frase {
        font-size: 16px;
        text-align: center;
    }

    #histo {
        font-size: 40px;
        text-align: center;
        margin-left: 0;
        margin-top: 20px;
    }

    .text1, .text2, .text3 {
        font-size: 24px;
        margin-left: 10px;
    }

    .infos1, .infos2, .infos3 {
        width: 90%;
        font-size: 18px;
        margin-left: auto;
        margin-right: auto;
    }

    .faq-conteiner {
        width: 95%;
    }
}

@media (max-width: 480px) {

    #icon img {
        width: 120px;
    }

    .header-font {
        font-size: 18px;
        gap: 10px;
    }

    .titulo {
        font-size: 24px;
        margin-top: -300px;
    }

    #histo {
        font-size: 32px;
    }

    .text1, .text2, .text3 {
        font-size: 20px;
    }

    .infos1, .infos2, .infos3 {
        font-size: 16px;
    }
}

