.hero {
    background-image: url(../img/fondo-hero.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 40px 0 120px 0;
}

.hero-contenido{
    display: grid;
    gap: 20px;
    align-items: center;
     margin-top: 20px;
        margin-bottom: 80px ;
}
.hero-texto h1{
    color: var(--color-blanco);
    margin: 0;
    text-align: center;
    font-size: 3.2rem;
}
.hero-texto h1 span{
    color: var(--color-azul);
    background-color: var(--color-amarillo);
   border-radius: 1.5rem;
   padding: 2px 18px;
}
.hero-imagen {
    text-align: center;
}
.hero-imagen img{
    margin: 0;
    max-width: 100%;
    display: block;
}
@media (min-width: 868px) {

    .hero-texto h1{
        font-size: 3.5rem;
    }

}
@media (min-width: 968px) {
    .hero {
     
        background-position: bottom center;
          padding: 70px 0 100px 0;
    }
    .hero-contenido{
        grid-template-columns: 6fr 4fr;
        gap: 20px;
        align-items: center;
       
    }
    .hero-imagen{
        order: 0;
        margin: 30px auto 0 0;
    }
    .hero-texto{
        order: 1;
    }
    .hero-texto h1{
        font-size: 3.5rem;
    }
    .hero-imagen img{
        margin: 0;
        max-width: 100%;
    }
}
@media (min-width: 1224px) {

    .hero-texto h1{
        font-size: 4.5rem;
    }

}