*{
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body{
    font-family: Arial;
    overflow-x: hidden;
}

div, ul, nav, li, header, footer, label, a, body, h1, h2, h3{
    margin: 0;
    padding: 0;
    list-style: none;
}


/* ------- Inicio header__evento ---------- */

.header__evento{
    container-type: inline-size;
    container-name: header;
    position: relative;
    z-index: 2;
}

.header__container{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    gap: 20px;
    box-shadow: 0 0 10px #0003;
    width: 100%;
    transition: border .3s ease;
    color: #fff;
}


.header__nav-container{
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    position: absolute;
    text-align: center;
    width: 100%;
    top: 20px;
    max-width: 1300px;
}

.header__container .header__checkbox{
    display: none;
}

.header__open-nav{
    position: relative;
    font-size: 2.5rem;
    color: #07134e;
    cursor: pointer;
    transition: color .3s linear, position .3s ease, top .3s ease;
    z-index: 3;
    animation: aparicion 1s ease 1 forwards;
    width: auto;
    margin-left: 30px;
}

@keyframes aparicion{
    from{
        transform: translateY(-100%);
        opacity: 0;
    }

    to{
        transform: translateY(0);
        opacity: 1;
    }
}

.header__nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: visibility .3s ease, top .3s ease, right .3s ease, opacity .3s ease, background-color .3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 100;
}

.header__checkbox:checked ~ .header__nav {
    opacity: 1;
    visibility: visible;
}

.header__checkbox:checked ~ .header__open-nav{
    color: #fff;
    z-index: 101;
}

body:has(.header__checkbox:checked) {
    height: 100vh;
    overflow: hidden;
}


.header__nav-list{
    display: flex;
    flex-direction: column;
    gap: 30px;
    height: 100vh;
    justify-content:center;
    padding-top: 0px;
    background-color: #029b;
}

.header__nav-item{
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.header__nav-item a{
    text-decoration: none;
    color: #fff;
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
    padding: 5px 8px;
    transition: color .3s ease;
}


/* -------- header__evento queries ---------- */
@container header (min-width:400px){
    .header__nav-container{
        top: 15px;
    }

    .header__open-nav{
        font-size: 3rem;
    }

}


@container header (min-width:600px){
    .header__nav-container{
        top: 20px;
    }

    .header__open-nav{
        font-size: 3rem;
    }
}



@container header (min-width:56.25rem){

    .header__open-nav{
        font-size: 3rem;
    }

    .header__nav-list{
        display: flex;
        flex-direction: column;
        gap: 40px;
        height: 100vh;
        justify-content:center;
    }

    .header__nav-item a{
        font-size: 1.5rem;
        padding: 5px 8px;
    }
}


/* ------ fin header__evento ----------- */



/* -------- inicio footer__evento ---------- */

.evento__footer{
    background-color: #fff;
    padding: 30px 0 0 0;
    display: flex;
    margin: 0 auto;
    position: relative;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-shadow: 0 0 10px #0003;
    container-type: inline-size;
    container-name: footer;
}

.footer__container{
    max-width: 1300px;
    display: grid;
    grid-template-columns:repeat(1, minmax(120px, 1fr));
    gap: 50px 0px;
    padding: 0 30px 70px 30px;
    justify-items: center;
}

.footer__evento{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
}

.footer__logo{
    width: 256px;
    mix-blend-mode: multiply;
}


.footer__evento::before{
    content: '';
    position: absolute;
    bottom: -30px;
    right: 0;
    width: 100%;
    border-bottom: 5px solid #5881be;
}


.footer__services{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    width: 100%;
    position: relative;
}

.footer__services h3{
    font-size: 2.3rem;
    color: #fff;
    background-color: #ff904d;
    padding: 5px;
    text-shadow: 3px 4px 2px #FF904d3f;
    text-align: center;
}

.footer__services-list{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px 0;
}

.footer__services-item{
    transition: transform .3s ease;
}

.footer__services-item a{
    text-decoration: none;
    color: #07134e;
    font-weight: 500;
    position: relative;
    font-size: 1rem;
    transition: color .3s ease;
}

.footer__services-item a:hover{
    color: #06d;
}


.footer__services-item:hover{
    transform: scale(1.1);
}


.footer__services::before{
    content: '';
    position: absolute;
    bottom: -30px;
    right: 0;
    width: 100%;
    border-bottom: 5px solid #ff904d;

}   

.footer__contact{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px 0;
    width: 100%;
    position: relative;
}


.footer__contact::before{
    content: '';
    position: absolute;
    bottom: -30px;
    right: 0;
    width: 100%;
    border-bottom: 5px solid #5881be;
}   

.footer__contact h3{
    font-size: 2.3rem;
    color: #fff;
    padding: 5px;
    background-color: #5881be;
    text-shadow: 3px 4px 2px #06d2;
    text-align: center;
}

.footer__contact-list{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-content: center;
    gap: 30px 0;
}

.footer__contact-item {
    display: flex;
    align-items: center;
    color: #07134e;
    font-weight: 500;
}

.footer__contact-item i{
    margin-right: 10px;
    color: #07134e;
}

.footer__contact-item.follow{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__follow{
    font-size: 1.9rem;
    color: #06d;
}

.footer__follow-container{
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.followIco{
    font-size: 2rem;
}

.followIco i{
    color: #07134e;
    transition: color .3s ease;
    margin: 0;
}

.followIco i:hover{
    color: #06d;
}

.footer__contact-item a{
    text-decoration: none;
    color: #07134e;
    text-align: center;
    transition: color .3s ease, transform .3s ease;
}

.footer__contact-item a:hover{
    transform: scale(1.1);
    color: #06d;
}


.footer__copyright{
    background-color: #07134e;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-wrap: balance;
    width: 100%;
    height: 100%;
    bottom: 0;
    color: #fff;
    font-weight: 500;
    padding: 0 10px;
    box-shadow: 0 -10px 10px #0002;
}

.infodoc__signature{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 10px 0;
    font-size: .9rem;
    font-weight: 200;
    gap: 5px;
}

.infodoc__signature span{
    font-weight: bold;
    color: #fff;
}

.infodoc__signature a{
    color: #fff;
    text-decoration: none;
}


/* ----------- footer__evento queries ------------ */

@container footer (min-width:600px){
    .footer__container{
        display: grid;
        grid-template-columns:repeat(2, minmax(200px, 1fr));
        gap: 60px 20px;
        align-items: start;
    }

    .footer__contact{
        grid-column: span 2;
        width: 500px;
    }

    .footer__contact{
        align-content: center;
    }
}

@container footer (min-width:56.25rem){
    .footer__container{
        display: grid;
        grid-template-columns:repeat(3, minmax(200px, 1fr));
        gap: 0px 30px;
        align-items: start;
    }

    .footer__contact{
        grid-column: 3;
        width: auto;
    }

    .footer__us p{
        font-size: 1.1rem;
    }

    .footer__services-item{
        font-size: 1.1rem;
    }

    .footer__contact-item{
        font-size: 1.1rem;
    }
    
    .infodoc__signature{
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        font-size: .9rem;
        font-weight: 200;
        position: absolute;
        left: 10px;
        bottom: 5px;
    }
}

/* ------------ fin footer__evento -------------*/