html{
    scroll-behavior: smooth;
}
.header{
    background-color: rgb(133, 23, 23);
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    z-index: 2;
}


.header__figure{
    width: 30%;
    margin: 0;
    display:inline-block;
}

.header__img{
    max-width: 70%;
}

.header__nav{
    top: 0;
    position: absolute;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    background-color: rgba(165, 49, 49, 0.808);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

.header__nav-d{
    transform: translateX(0%);
}

.header__nav a{
    text-decoration: none;
    color: rgb(255, 255, 255);
    letter-spacing: 1.1px;
    text-align: center;
}

.header__nav a:hover{
    text-decoration:underline;
}


.main__fondo{
    max-width: 100%;
    min-height: 100vh;
    background-image:url('../assets/fondo.jpg');
    background-size: cover;
    background-attachment: fixed;
}

.iori{
    position:absolute;
    transform: translate(400px,150px);
    z-index: 0;
}

.header{
    justify-content: center;
}

.header__figure{
    width: 100%;
    margin: 0;
    display:inline-block;
    display: flex;
    justify-content: center;
}

.header__img{
    max-width: 70%;
}

.iori{
    position:absolute;
    transform: translate(30px,200px);
    z-index: 0;
    max-width: 80%;
}

.btn{
    position: fixed;
    outline: none;
    width: 50px;
    height: 50px;
    background-color: red;
    color: #fff;
    font-size: 1.4rem;
    border-radius: 50%;
    bottom: 15px;
    right: 15px;
    border: none;
    box-shadow:0px 0px 10px rgba(255, 255, 255, 0.561);
    transition: transform 0.1s ease;
    z-index: 999;
}

.btn:active{
    transform: scale(0.9);
}


.encuesta{
    margin: 20px;
    margin-bottom: 100px;
    transform: translateY(90px);

}

.encuesta__span{
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 50%;
    left:15%;
    width: 70%;
    height: 100px;
    background-color: rgb(43, 211, 43);
    color: white;
    font-size: 1.3rem;
    text-align: center;
    z-index: 998;
    border-radius: 10px;
    outline: none;
}

.encuesta__title{
    font-size:2rem ;
    text-align: center;
    margin-bottom: 50px;
    color: rgb(185, 60, 60);
}

.encuesta__preguntas{
    color: rgb(255, 81, 81);
    line-height:30px;
    font-size: 1.2rem;
}

span{
    font-size: 1rem;
    color: rgb(78, 77, 77);
}

.span{
    padding: 50px;
}


input{
    margin: 10px;
}

.submit{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 200px;
    height: 40px;
    background-color: rgb(224, 68, 68);
    color: white;
    border: none;
}

/*PERSONAJES*/

.peleadores{
    background: linear-gradient(90deg, rgb(64, 126, 189), rgb(209, 69, 69));
    padding-bottom: 10px;
    margin-bottom: 0;
}

.subtitle{
    padding-top: 50px;
    font-size:2rem ;
    text-align: center;
    color: rgb(255, 255, 255);
}

.peleadores__imgs{
    display: flex;
    gap: 30px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.peleadores__figure{
    width: 70%;
    height: 400px;
    background-color: white;
    border-bottom: 3px solid rgb(255, 4, 4);
}

.peleadores__img{
    margin-bottom: 10px;
    width: 100%;
    height: 60%;
    object-fit: cover;
}

figcaption{
    color: rgb(58, 57, 57);
    text-align: center;
    padding: 5px;
    margin: 10px;
}

.footer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 80vh;
    margin: 0;
    padding: 30px;
    background: linear-gradient(90deg, rgb(64, 126, 189), rgb(209, 69, 69));
}

.footer__subtitle{
    margin-top: 50px;
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: rgb(255, 255, 255);
}

.redes__link{
    padding-right: 10px;
    font-size: 1.3rem;
    color: white;
    text-decoration: none;
}

.info{
    font-size: 0.9rem;
    color: rgb(255, 255, 255);
}

h2{
    margin: 0;
}



@media screen and (min-width:401px) {

    .iori{
        position:absolute;
        transform: translate(50px,200px);
        z-index: 0;
        max-width: 70%;
    }

    .header__figure{
        width: 100%;
        margin: 0;
        display:inline-block;
        display: flex;
        justify-content: center;
    }
    
    .header__img{
        max-width: 50%;
    }

    .peleadores__figure{
        width: 70%;
        height: 500px;
    }
    
    .peleadores__img{
        margin-bottom: 10px;
        width: 100%;
        height: 70%;
        object-fit: cover;
    }
}

@media screen and (min-width:581px) {

    .iori{
        position:absolute;
        transform: translate(120px,200px);
        z-index: 0;
        max-width: 50%;
    }

    .peleadores__imgs{
        flex-direction: row;
        justify-content: space-evenly;
    }

    .peleadores__figure{
        width: 45%;
        border-radius: 5px;
        background-color: white;
    }


}

@media screen and (min-width:851px) {

    .iori{
        position:absolute;
        transform: translate(220px,200px);
        z-index: 0;
        max-width: 40%;
    }

    .header__figure{
        width: 100%;
        margin: 0;
        display:inline-block;
        display: flex;
        justify-content: center;
    }
    
    .header__img{
        max-width: 30%;
    }

    .peleadores__imgs{
        flex-direction: row;
        justify-content: space-evenly;
    }

    .peleadores__figure{
        width: 30%;
        border-radius: 5px;
        background-color: white;
    }

    figcaption{
        color: rgb(58, 57, 57);
        text-align: center;
        padding: 5px;
        margin: 15px;
    }

    .footer{
        height: 100vh;
        justify-content: space-evenly;
    }

    .footer__content{
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
    }

    .footer__subtitle{
        margin-top: 50px;
        margin-bottom: 20px;
        font-size: 1.5rem;
        color: rgb(255, 255, 255);
    }
    
    .redes__link{
        padding-right: 10px;
        font-size: 1.5rem;
        color: white;
        text-decoration: none;
    }

    
    .info{
        font-size: 1.2rem;
        color: rgb(255, 255, 255);
    }




}

@media screen and (min-width:1024px) {
    

    .header{
        width: 100%;
        height: 12%;
        background-color: rgb(133, 23, 23);
        position: fixed;
        display: flex;
        justify-content: space-between;
        align-items: center;
        /* padding: 10px; */
        z-index: 2;
    }

    .header__figure{
        width: 20%;
        margin: 0;
        display:inline-block;
    }
    
    .header__img{
        max-width: 70%;
    }
    
    .header__nav{
        margin-right: 20px;
        position: relative;
        width: 35%;
        height: 100%;
        flex-direction: row;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: inherit;
        transform: translateX(0);
    }
    
    .header__nav a{

        text-decoration: none;
        color: #fff;
        letter-spacing: 1.1px;
    }
    
    
    .main__fondo{
        max-width: 100%;
        min-height: 100vh;
        background-image:url('../assets/fondo.jpg');
        background-size: cover;
        background-attachment: fixed;
    }
    
    .iori{
        position:absolute;
        transform: translate(350px,150px);
        z-index: 0;
    }

    .form{
        padding: 30px;
    }

    .btn{
        width: 10%;
        display: none;
    }

    .encuesta{
        transform: translateY(100px);
        margin-bottom: 200px;
    }

    span{
        font-size: 1.1rem;
    }

    .submit{
        width: 200px;
        height: 40px;
    }

    .submit:active{
        transform: scale(0.9);
    }

    .encuesta__span{
        width: 30%;
        left: 35%;
    }

    /*peleadores*/

    .peleadores__imgs{
        flex-direction: row;
        justify-content: space-evenly;
    }

    .peleadores__figure{
        width: 20%;
        height: 420px;
        background-color: white;
        transition: transform 0.2s ease-out;
    }

    .peleadores__figure:hover{
        transform: scale(1.1);
    }

    .peleadores__img{
        margin-bottom: 10px;
        width: 100%;
        height: 60%;
    }

    .redes__link:hover{
        color: rgb(221, 217, 217);

    }


    .info{
       
        font-size: 1rem;
    }

    
}

