@font-face {
    font-family: 'WixMadefor';
    src: url("tipografia/WixMadeforText-VariableFont_wght.ttf");
    font-weight: 100 900;
    font-style: normal;
}

*{
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
    scroll-behavior: smooth;
    color: inherit;
    font-family: 'WixMadefor';
}

body{
    display: flex;
    flex-direction: column;
    background-color: #fff;
}

/* ----------- header section -------------- */

.itesa__header{
    background-color: #fff;
    width: 100%;
    container-type: inline-size;
    container-name: itesa__header;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.itesa__header::after{
    content: '';
    position: absolute;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: #0006;
    z-index: -2;
}

/* ----------- Carrusel de imagenes ------------ */

.bg-slider {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: hidden;
    z-index: -2;
}

.bg-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: transform 1s ease;
}

.bg-slide.current {
    transform: translateX(0%);
}

.bg-slide.next {
    transform: translateX(100%);
}

@keyframes cambioCarrusel{
    from{
        opacity: 0;
        transform: translateY(30%);
    }

    to{
        opacity: 1;
        transform: translateY(0%);
    }
}

.header__info-text.animateText {
    animation: cambioCarrusel 1.5s ease both;
}

/* -------- fin carrusel --------- */

.header__container{
    width: 100%;
    max-width: 1500px;
    display: flex;
    justify-content: space-between;
    z-index: 10;
    margin: 0 auto;
}

.header__logo-container{
    max-width: 256px;
}

.header__logo-container img{
    width: 100%;
    transition: filter .3s ease;
}

.header__logo-container img:hover{
    filter: brightness(.85);
}

.header__btn, .header__btnC{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background-color: transparent;
    border: none;
}

.header__btn i, .header__btnC i{
    font-size: 1.8rem;
    color: #fff;
    transition: color .4s ease, background-color .2s ease;
    cursor: pointer;
    background-color: #0003;
    padding: 7px 8px;
    border-radius: 16px;
    border: none;
}

.header__btnC{
    z-index: 2;
}

.header__btn i:hover{
    color: #ccc;
}

.header__btnC i{
    color: #fff;
    padding: 5px 10px;
}

.header__btnC i:hover{
    color: #444;
}

.header__btnC{
    position: absolute;
    right: 20px;
    top: 5px;
}

.header__nav{
    transition: transform .6s ease;
    position: absolute;
    display: flex;
    width: 100%;
    height: 100%;
    background-color: #fff;
    top: 0;
    justify-content: center;
    transform: translateX(100%);
    z-index: 1;
}

.header__nav.is-open{
    transform: translateX(0%);
    position: fixed;
}

.header__nav-list{
    display: flex;
    flex-direction: column;
    gap: 30px;
    color: #222;
    padding: 60px;
    align-items: start;
    font-weight: 500;
    width: 100%;
    max-width: 300px;
    position: relative;
}

.nav__list-item{
    border-bottom: 1px solid #ccc;
    padding: 0 15px 5px 0;
}

.nav__list-item{
    transition: transform .3s ease;
}

.nav__list-item:hover{
    transform: translateX(2%) translateY(-4%);
}

.nav__list-item a:hover{
    color: #000;
}

.header__info-container{
    width: 100%;
    max-width: 1500px;
    display: flex;
    flex-direction: column;
    align-items: start;
    margin-top: 70px;
    gap: 20px;
}

.header__info-title{
    font-size: 1.2rem;
    text-wrap: pretty;
    color: #fff;
    padding: 0 10px;
    opacity: 0;
    transform: translateY(40%);
    transition: transform 1.4s ease, opacity 1.5s ease;
}

.header__info-title.visible{
    opacity: 1;
    transform: translateY(0%);
}

.header__info-text{
    font-size: 2.8rem;
    text-wrap: pretty;
    color: #fff;
    padding: 0 10px;
    opacity: 0;
    transform: translateY(20%);
    transition: transform 1.2s ease, opacity 1.2s ease;
}

.header__info-text.visible{
    opacity: 1;
    transform: translateY(0%);
}

/* ----------- header queries ------------- */

@container itesa__header (min-width:768px){

    .header__container{
        align-items: center;
        padding: 30px 0;
    }

    .header__btn, .header__btnC{
        display: none;
    }

    .header__logo-container{
        flex: 2;
    }

    .header__nav{
        flex: 5;
        position: relative;
        transform: translateX(0);
        background-color: transparent;
    }

    .header__nav-list{
        flex-direction: row;
        max-width: none;
        align-items: center;
        width: 100%;
        padding: 10px;
        justify-content: space-evenly;
        gap: 20px;
    }

    .nav__list-item{
        padding: 0;
        color: #fff;
        border-bottom: none;
        font-weight: 600;
    }

    .nav__list-item:hover{
        transform: translateX(0%) translateY(-10%);
    }

    .nav__list-item a{
        transition: color .4s ease;
    }

    .nav__list-item a:hover{
        color: #03ca30;
    }

}

@container itesa__header (min-width:56.25rem){

    .header__info-container{
        gap: 30px;
        margin-top: 90px;
    }

    .nav__list-item{
        font-size: 1.1rem;
    }

    .header__info-title{
        font-size: 1.5rem;
        text-wrap: pretty;
        color: #fff;
        padding: 0 15px;
        opacity: 0;
        transform: translateY(40%);
        transition: transform 1.4s ease, opacity 1.5s ease;
    }

    .header__info-text{
        font-size: 4.5rem;
        text-wrap: pretty;
        color: #fff;
        padding: 0 10px;
        opacity: 0;
        transform: translateY(20%);
        transition: transform 1.2s ease, opacity 1.2s ease;
    }
}

/* -------------- fin header ------------ */

/* --------------- inicio footer ----------- */

.itesa__footer{
    background-color: #212121;
    width: 100%;
    container-type: inline-size;
    container-name: itesa__footer;
    z-index: 1;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
}

.footer__grid{
    display: grid;
    grid-template-columns: repeat(1, minmax(250px, 325px));
    justify-content: center;
    align-items: start;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 10px;
    margin-top: 30px;
    gap: 40px;
}

.footer__grid-item{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 2s ease;
}

.footer__grid-item.visible{
    opacity: 1;
}

.footer__item-img-container{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 350px;
}

.footer__item-img-container img{
    width: 100%;
    transition: filter .3s ease;
}

.footer__item-img-container img:hover{
    filter: brightness(.85);
}

.footer__item-text{
    font-size: 1.4rem;
    text-align: center;
    text-wrap: pretty;
}

.footer__item-title{
    font-size: 1.5rem;
    width: 100%;
    text-align: center;
    text-decoration: underline;
}

.footer__item-list{
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-weight: 400;
}

.networks{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 0;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 200px;
    margin-top: 10px;
}

.footer__list-item{
    font-size: 1rem;
}

.footer__list-item a{
    transition: color .3s ease;
}

.footer__list-item a:hover{
    text-decoration: underline;
    color: #03ca30;
}

.footer__list-item-networks{
    display: flex;
    justify-content: center;
    font-size: 2rem;
}

.footer__list-item-networks a{
    transition: color .3s ease;
}

.footer__list-item-networks a:hover{
    color: #03ca30;
}

.footer__item-atention{
    text-align: center;
    font-size: 1rem;
    padding: 0 10px;
    text-wrap: balance;
    color: #eee;
}

.footer__infodoc-background{
    display: flex;
    justify-content: center;
    margin-top: 30px;
    background-color: #1a1a1a;
    width: 100%;
}

.footer__infodoc{
    width: 100%;
    max-width: 1500px;
    padding: 20px 10px 10px 10px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    transition: opacity 2s ease;
}

.footer__infodoc.visible{
    opacity: 1;
}

.footer__infodoc-copyright{
    text-align: center;
}

.footer__infodoc-copyright span{
    font-weight: bold;
}

.footer__infodoc-spam{
    font-weight: 300;
    font-size: .8rem;
    text-align: center;
}

.footer__infodoc-spam a{
    font-weight: bold;
    transition: color .3s ease;
}

.footer__infodoc-spam a:hover{
    color: #03ca30;
}

/* --------------- queries footer ----------- */

@container itesa__footer (min-width:768px){
    .footer__grid{
        grid-template-columns: repeat(2, minmax(275px, 400px));
    }

    .footer__item-list.faqs{
        padding-left: 20px;
    }

    .footer__grid-item:last-child{
        grid-column: 1/-1;
    }

    .networks{
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
}

@container itesa__footer (min-width:56.25rem){
    .footer__grid{
        grid-template-columns: repeat(4, minmax(180px, 1fr));
        gap: 70px 30px;
        margin-top: 40px;
    }

    .footer__item-list.faqs{
        padding-left: 0px;
    }

    .footer__infodoc-background{
        margin-top: 40px;
    }

    .footer__infodoc{
        gap: 5px;
    }

    .footer__infodoc-spam{
        text-align: start;
    }
}

/* --------------- fin footer ------------ */