/* FRONT COVER */
.front-cover{
    height: 100vh;
    width: 100%;
    background: url(../img/pilotos/5.jpg);
    background-size: cover;
    background-position-y:-489px;
}
.front-cover__inner{
    width: 100%;
    height: 100%;
    background:#00000096;
    display: flex;
    justify-content: center;
    align-items: center;
}
.front-cover__inner-text h1{
    font-size: 5em;
    font-family: 'Gemunu Libre', sans-serif;
    color:white;
}

/* PILOTS */
.pilot{
    box-sizing: border-box;
    width: 100%;
    height: 500px;
    background:#f4f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pilot__inner{
    box-sizing: border-box;
    max-height: 450px;
    width: 80%;
    display: flex;
    justify-content: space-between;
    background:white;
    padding: 50px;
    box-shadow: 0 0.5rem 1.5625rem rgb(0 0 0 / 10%);
}
.pilot__inner-image{
    max-width: 30%;
}
.pilot__inner-image img{
    width: 100%;
    max-height: 350px;
    border-radius: 5px;
    box-sizing: border-box;
}
.pilot__inner-description{
    width:60%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.pilot__inner-description h2{
    text-transform: uppercase;
    font-family: 'Baloo Da 2', cursive;
    font-size: 2.3em;
}
.pilot__inner-description p{
    font-size: 20px;
    line-height: 1.5;
}
.lastone{
    margin-bottom: none !important;
}

/* PILOT GALLERY */
.pilot-gallery{
    max-height: 300px;
    max-width: 100%;
    display: flex;
    align-items: stretch;
    overflow: hidden;
}
.pilot-gallery a{
    width: 25%;
}
.pilot-gallery img{
    width: 100%;
    transition: 0.7s;
}
.pilot-gallery a:hover img{
    transform: scale(1.1);
}
.juan_bulto{
    max-height: 190px;
}


@media screen and (max-device-width: 768px) {
    .pilot {
        height: unset;
        max-height: unset;
    }
    .pilot__inner{
        flex-direction: column;
        height: unset;
        max-height: unset;
        justify-content: unset;
        width: 90%;
        margin: 30px;
        padding: 30px;
    }
    .pilot__inner-image{
        max-width: unset;
    }
    .pilot__inner-description{
        width: unset;
    }
    .pilot__inner-description h2{
        margin-top: 20px;
    }
    .pilot__inner-description p{
        margin-top: 10px;
    }
    .pilot-gallery a{
        width: 50%;
    }
    .pilot-gallery a:nth-child(4), .pilot-gallery a:nth-child(3){
        display: none;
    }
}
@media screen and (max-device-width: 465px) {
    .pilot__inner{
        width: 100%;
        margin: 15px;
        padding: 15px;
    }
    .pilot-gallery a:nth-child(1){
        display: none;
    }
    .pilot-gallery a{
        width: 100%;
    }
    .pilot__inner-description p{
        text-align: justify;
    }
}