/*--- para importar mi normalize y los demás css ---*/

@import '../base/my-normalize.css';
@import '../base/typography.css';

@import '../layout/header.css';
@import '../layout/footer.css';

@import '../components/buttons.css';
@import '../components/contact-form.css';

@import '../utils/variables.css';
@import '../utils/utilities.css';
@import '../utils/effects.css';

/*  
    - la clase .phone sólo se visualiza en pantallas menores a 768px (ver utilities.css)
    - la clase .tablet sólo se visualiza en pantallas mayores a 768px y menores de 1280px (ver utilities.css)
    - la clase .pc sólo se visualiza en pantallas mayores a 1280px (ver utilities.css) 

    - la clase .show-on-scroll es para que los elementos que la tengan vayan apareciendo al hacer scroll,
      funciona junto con el show-on-scroll.js. (ver effects.css)
*/

/*------------------------------ INICIO DEL MAIN (HEADER (ver layout.css) + .HERO-CONTAINER) ------------------------------*/

main {
    height: 70vh;
    width: 100%;
    margin: 0;
    
    background: linear-gradient(transparent, transparent),
    center center no-repeat, url(/img/aviso-legal/aviso-legal--phone.webp);
    background-size: cover ;
    background-attachment: fixed;
}

.hero-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
}

.hero-container h1 {
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;

    /*--- inicio animación show-from-bottom ---*/

    transform: translateY(3rem);
    opacity: 0;
    animation: show-from-bottom .7s forwards;
}

    @keyframes show-from-bottom {
        100% {
            transform: translateY(0);
            opacity: 1;
        }
    }

    /*-- final animación show-from-bottom  --*/

@media only screen and (min-width: 1280px) {

    main {
        height: 70vh;
        background: linear-gradient(transparent, transparent),
        url(/img/aviso-legal/aviso-legal--pc.webp);
        background-size: cover;
        background-attachment: fixed;
    }

    .hero-container {
        justify-content: flex-start;
    }

    .hero-container h1 {
        margin-top: 4.5rem;
    }

    .hero-container {
        height: 80%;
    }

}

/*------------------------------ FINAL DEL MAIN (HEADER (ver layout.css) + .HERO-CONTAINER) ------------------------------*/

/*------------------------------ INICIO DEL SECTION-1 (HEADER (H2 + P) ------------------------------*/

.section-1 {
    width: 90%;
    margin: 0 auto;
}

.section-1 h2 {
    text-align: center;
}

/*------------------------------ FINAL DEL SECTION-1 (HEADER (H2 + P) ------------------------------*/