/*--- 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/blog-grid-layout.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%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    center center no-repeat, url(../../img/canal-de-denuncias/canal-de-denuncias--small.webp);
    background-size: cover;
    background-attachment: fixed;
}

.hero-container {
    height: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;                                       
    margin-top: 5rem;
}

.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/canal-de-denuncias/canal-de-denuncias--large.webp);
        background-size: cover;
        background-attachment: fixed;
    }

    .hero-container {
        justify-content: flex-start;
    }

    .hero-container h1 {
        margin-top: 4.5rem;
        font-size: 5.2rem;
    }
}

/*------------------------------ FINAL DEL MAIN (HEADER (ver layout.css) + .HERO-CONTAINER) ------------------------------*/

/*------------------------------ INICIO DEL .content ------------------------------*/

.content__text {
    margin-top: 2.4rem;
    padding-inline: 1.2rem;
}

.content__list--ordened {
    margin-top: 2.4rem;
    padding-inline: 1.2rem;
}

.content__list--ordened li {
    margin-left: 1.8rem;
    margin-top: 1.2rem;
    list-style-type: decimal;
}

.content__list--unordened {
    margin-top: 2.4rem;
    padding-inline: 1.2rem;
}

.content__list--unordened li {
    margin-left: 1.8rem;
    margin-top: 1.2rem;
    list-style-type: disc;
}

.content__link {
    padding-inline: 1.2rem;
    display: flex;
    align-items: center;
}

.content__link--cta {
    display: block;
    width: 100%;
    margin-top: 2.4rem;
    padding: 1rem 1.2rem;
    background-color: var(--third-color);
    color: var(--fourth-color);
    transition: .3s;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    letter-spacing: .1rem;
    cursor: pointer;

    /*--- inicio efecto hover ---*/

    outline: none;
    overflow: hidden;
    position: relative;
}

.content__link--cta:after {
    content:"";
    display: block;
    position: absolute;
    top: -36px;
    left: -100px;
    background: #fff;
    width: 50px;
    height: 125px;
    opacity: 0.6;
    transform: rotate(-45deg);
}

.content__link--cta:hover:after {
    left: 120%;
    transition: all 1.2s cubic-bezier(0.3, 1, 0.2, 1);
    /*--- final efecto hover ---*/
}

.content__span {
    display: block;
    width: calc(100% - 2.4rem);
    margin-top: 1.2rem;
    padding-inline: 1.2rem;
}

.content h2 {
    margin-top: 2.4rem;
    padding-inline: 1.2rem;
    text-align: center;
}

.content__list--unordened li a {
    text-decoration: underline;
}

/*------------------------------ FINAL DEL .content ---------------------_---------*/