*{
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body{
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    background-image: url('imagenes/PosibleFondo6.webp');
    backdrop-filter: brightness(.7);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

div, ul, nav, li, header, footer, label, a, body, h1, h2, h3{
    margin: 0;
    padding: 0;
    list-style: none;
}

/* --------- Inicio header__kinderDTA ---------- */

.header__kinderDTA{
    container-type: inline-size;
    container-name: header;
    position: relative;
    z-index: 2;
}

.header__container{
    background-color: #0013;
    display: flex;
    justify-content: space-between;
    justify-items: center;
    align-items: center;
    flex-direction: row;
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    transition: border .3s ease;
    padding: 10px;
    margin: 0 auto;
    overflow-x: hidden;
}

.header__kinderDTA a{
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header__logo{
    width: 160px;
}

.header__kinderDTA .header__checkbox{
    display: none;
}

.header__open-nav{
    font-size: 3.5rem;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: color .3s ease;
    animation: buttonSpawn 1s ease both;
}

.header__open-nav i{
    transition: transform .3s ease;
}

@keyframes buttonSpawn{
    from{
        transform: translateY(-100%);
        opacity: 0;
    }

    to{
        transform: translateY(0);
        opacity: 1;
    }
}

.header .header__checkbox{
    display: none;
}


.header__checkbox:checked ~ .header__nav {
    opacity: 1;
    visibility: visible;
    background-color: #001d;
}


.header__checkbox:checked ~ .header__open-nav {
    z-index: 101;
    color: #22f;
}

.header__checkbox:checked ~ .header__open-nav i{
    transform: translateX(-10px);
}

body:has(.header__checkbox:checked) {
    overflow: hidden;
    height: 100vh;
}


.header__nav{
    opacity: 0;
    visibility: hidden;
    background-color: transparent;
    position: fixed;
    height: 100vh;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    transition: opacity .2s linear, background-color .2s linear, visibility .2s linear;
}


.header__nav-list{
    display: flex;
    flex-direction: column;
    gap: 50px;
    height: 100vh;
    justify-content:center;
    padding-top: 0px;
}

.header__nav-item{
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.header__nav-item a {
    color: #fff;
    font-weight: 500;
    overflow: hidden;
    text-decoration: none;
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
    letter-spacing: 1.5px;
    display:flex;
    border: 1px solid transparent;
    border-radius: 24px;
    padding: 10px;
    transition: color .3s ease;
    gap: 10px;
}



.header__nav-item a:focus {
    outline: none;
    border: 1px solid #22f;
}

.header__nav-item a::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 100%;
    width: 150%;
    height: 150%;
    background-color: #22f;
    transition: left 0.4s ease, top 0.7s ease;
    z-index: -1;
    border-radius: 16px;
}

.header__nav-item a:hover::before {
    left: 0;
    top: 0;
} 


/* --------- header__kinderDTA queries ------ */

@container header (min-width:56.25rem){

    .header__kinderDTA a{
        flex: 1;
        justify-content: center;
    }

    .header__logo{
        filter: brightness(1.5);
        width: 180px;
    }

    .header__container{
        background-color: #0018;
        justify-content: space-between;
    }

    .header__open-nav{
        display: none;
    }

    .header__nav{
        flex: 4;
        opacity: 1;
        visibility: visible;
        display: block;
        position:static;
        height: auto;
        margin: 30px 0 20px 0;
    }

    .header__checkbox:checked ~ .header__nav {
        background-color: transparent;
    }
    
    .header__nav-list{
        flex-direction: row;
        width: 100%;
        height: auto;
        justify-content: space-evenly;
        margin: 0;
        gap: 0 10px;
    }

    .header__nav-item{
        min-width: 150px;
    }

    .header__nav-item i{
        display: none;
    }

    .header__nav-item a {
        text-decoration: none;
        font-size: 1.2rem;
        letter-spacing: 1px;
        font-weight: 500;
        color: #fff;
    }

    .header__nav-item a::before{
        content: '';
        position: absolute;
        top: 100%;
        left: 100%;
        width: 150%;
        height: 150%;
        background-color: #fff;
        color: #22f;
        transition: left 0.3s ease, top 0.5s ease;
        z-index: -1;
        border-radius: 16px;
    }

    .header__nav-item a:hover{
        color: #22f;
    }

    .header__nav-item a:hover::before {
        left: 0;
        top: 0;
    } 
}

@container header (min-width:56.25rem){
    .header__nav-item a {
        font-size: 1.3rem;
    }
}

/* --------- Fin header__KinderDTA ------ */

/* --------- inicio Main KinderDTA  /   kinderDTA__contact --------- */

.kinderDTA{
    display: flex;
    flex-direction: column;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    container-type: inline-size;
    container-name: kinderDTA;
}

.kinderDTA__contact{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    padding: 30px 10px;
    gap: 25px;
    overflow: hidden;
}

.kinderDTA__contact-title{
    color: #fff;
    text-align: center;
    background-color: #0003;
    box-shadow: 0 0 5px #0007;
    padding: 2px 10px;
    font-size: 1.9rem;
}

.kinderDTA__contact-list{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    gap: 20px;
}

.kinderDTA__contact-item{
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 7px 15px;
    background-color: #22c9;
    border-radius: 16px;
    flex: 1;
    width: 100%;
    max-width: 175px;
    transition: transform .3s ease, background-color .3s ease;
}

.kinderDTA__contact-item:hover{
    transform: scale(1.1);
    background-color: #22cc;
}

.kinderDTA__contact-item a{
    display: flex;
    gap: 15px;
    align-items: center;
    text-decoration: none;
    font-size: 1.2rem;
    color: #fff;
    text-align: center;
}

.kinderDTA__contact-item i{
    font-size: 1.5rem;
}


/* ---------- kinderDTA__contact queries ----------- */

@container kinderDTA (min-width:500px){

    .kinderDTA__contact{
        gap: 40px;
    }

    .kinderDTA__contact-list{
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        align-items: center;
        gap: 20px;
        width: 100%;
        max-width: 600px;
    }

}

@container kinderDTA (min-width:56.25rem){
    .kinderDTA__contact-item a {
        font-size: 1.5rem;
    }
}

/* --------- fin kinderDTA__contact ---------------- */


/* --------- inicio kinderDTA__registration --------- */

.kinderDTA__registration{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    padding: 30px 10px;
    gap: 30px;
    overflow: hidden;
}

.kinderDTA__registration-title{
    color: #fff;
    text-align: center;
    background-color: #0003;
    box-shadow: 0 0 5px #0007;
    padding: 5px;
    font-size: 1.7rem;
    text-align: center;
}

.kinderDTA__registration-subtitle{
    text-align: center;
    text-wrap: pretty;
    padding: 7px 15px;
    border-radius: 16px;
    color: #fff;
    font-size: 1.3rem;
}

.kinderDTA__registration-view{
    font-size: 1.3rem;
    color: #fff;
    background-color: #22c9;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 0 5px #0004;
    padding: 7px 15px;
    border-radius: 16px;
    animation: llamada 1s infinite linear alternate-reverse;
}

@keyframes llamada{
    from{
        transform: scale(1);
    }

    to{
        transform: scale(1.1);
    }
}
/* ---------- kinderDTA__registration queries ---------- */

@container kinderDTA (min-width:56.25rem){
    
    .kinderDTA__registration-title{
        font-size: 1.9rem;
    }
    
    .kinderDTA__registration-subtitle{
        font-size: 1.5rem;
    }

    .kinderDTA__registration-view{
        font-size: 1.5rem;
    }
}

/* --------- fin kinderDTA__registration -------------- */

/* -------- inicio kinderDTA__interview -------------- */

.kinderDTA__interview{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    padding: 30px 10px;
    gap: 30px;
    overflow: hidden;
}

.kinderDTA__interview-title{
    color: #fff;
    text-align: center;
    background-color: #0003;
    box-shadow: 0 0 5px #0007;
    padding: 5px;
    font-size: 1.7rem;
    text-align: center;
}

.kinderDTA__interview-subtitle{
    text-align: center;
    text-wrap: pretty;
    padding: 7px 15px;
    border-radius: 16px;
    color: #fff;
    font-size: 1.3rem;
}

.kinderDTA__interview-view{
    font-size: 1.3rem;
    color: #fff;
    background-color: #22c9;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 0 5px #0004;
    padding: 7px 15px;
    border-radius: 16px;
    position: relative;
    transition:color .6s ease;
    overflow: hidden;
    z-index: 1;
}

.kinderDTA__interview-view::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    background-color: #fff;
    top: -50%;
    left: -150%;
    transition: top .6s ease, left .8s ease;
    z-index: -1;
}

.kinderDTA__interview-view:hover{
    color: #22f;
}

.kinderDTA__interview-view:hover::before{
    top: 0;
    left: 0;
}

/* ---------- kinderDTA__interview queries ----------- */

@container kinderDTA (min-width:56.25rem){
    
    .kinderDTA__interview-title{
        font-size: 1.9rem;
    }
    
    .kinderDTA__interview-subtitle{
        font-size: 1.5rem;
    }

    .kinderDTA__interview-view{
        font-size: 1.5rem;
    }
}

/* ---------- fin kinderDTA__interview -------------- */

/* ------- inicio kinderDTA__location -------- */



.kinderDTA__location{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    padding: 30px 10px;
    gap: 20px;
    overflow-x: hidden;
}

.kinderDTA__location-title{
    color: #fff;
    text-align: center;
    background-color: #0003;
    box-shadow: 0 0 5px #0007;
    padding: 5px;
    text-align: center;
    font-size: 1.7rem;
}

.kinderDTA__map{
    width: 100%;
    max-width: 500px;
    min-height: 250px;
    border: none;
    border-radius: 16px;
    box-shadow: 0 0 10px #0006;
}

.kinderDTA__location-subtitle{
    color: #fff;
}

/* ------- kinderDTA__location queries --------- */

@container kinderDTA (min-width:700px){

    .kinderDTA__map{
        max-width: 600px;
        min-height: 400px;
    }

    .kinderDTA__location-subtitle{
        font-size: 1.5rem;
    }
}

@container kinderDTA (min-width:56.25rem){

    .kinderDTA__map{
        max-width: 800px;
        min-height: 500px;
    }

}

/* --------- fin kinderDTA__location ------------ */

/* --------- Inicio kinderDTA__footer --------- */

.kinderDTA__footer{
    background-color: #0006;
    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: 40px 0px;
    padding: 0 30px 70px 30px;
    justify-items: center;
    overflow-x: hidden;
}

.footer__kinderDTA{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
}

.footer__logo{
    width: 250px;
    filter: brightness(1.5);
}

.footer__kinderDTA::before{
    content: '';
    position: absolute;
    bottom: -20px;
    width: 100%;
    border-bottom: 5px solid #fff;
}

.footer__us{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    position: relative;
}

.footer__us h3{
    font-size: 2.3rem;
    color: #f92;
    text-shadow: 3px 4px 2px #0001;
}

.footer__us span{
    color: #f92;
    text-decoration: underline;
    font-weight: bold;
}

.footer__us p{
    text-align: justify;
    text-wrap: pretty;
    hyphens: auto;
    color: #fff;
    font-weight: 500;
    margin: 0;
}


.footer__us::before{
    content: '';
    position: absolute;
    bottom: -30px;
    width: 100%;
    border-bottom: 5px solid #fff;
}

.footer__aim{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    width: 100%;
    position: relative;
}

.footer__aim h3{
    font-size: 2.3rem;
    color: #f92;
    text-shadow: 3px 4px 2px #0001;
    text-align: center;
}

.footer__aim p{
    text-align: justify;
    text-wrap: pretty;
    hyphens: auto;
    color: #fff;
    font-weight: 500;
    margin: 0;
}


.footer__aim::before{
    content: '';
    position: absolute;
    bottom: -30px;
    width: 100%;
    border-bottom: 5px solid #fff;
}   

.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;
    width: 100%;
    border-bottom: 5px solid #fff;
}   

.footer__contact h3{
    font-size: 2.3rem;
    color: #f92;
    text-shadow: 3px 4px 2px #0001;
    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: #fff;
    font-weight: 500;
}

.footer__contact-item:first-child i {
    display: flex;
    align-items: center;
    color: #eee;
    font-weight: 500;
}

.footer__contact-item i{
    margin-right: 10px;
    color: #fff;
    transition: color .3s ease;
}

.footer__contact-item a{
    text-decoration: none;
    color: #fff;
    text-align: center;
}

.footer__contact-item:nth-child(2),.footer__contact-item:nth-child(3){
    transition: transform .3s ease
}

.footer__contact-item:hover:nth-child(2),.footer__contact-item:hover:nth-child(3){
    transform: scale(1.1);
}

.footer__contact-item:nth-child(2) a,.footer__contact-item:nth-child(3) a{
    transition: color .3s ease;
}

.footer__contact-item:hover:nth-child(2) a,.footer__contact-item:hover:nth-child(3) a{
    color: #f92;
}

.footer__contact-item:nth-child(2) i,.footer__contact-item:nth-child(3) i{
    transition: color .3s ease;
}

.footer__contact-item:hover:nth-child(2) i,.footer__contact-item:hover:nth-child(3) i{
    color: #f92;
}

.footer__contact-item:last-child{
    font-size: 1.5rem;
}

.footer__contact-item:last-child i{
    padding: 5px 15px;
    margin: 0;
    color: #fff;
    transition: transform .3s ease, color .2s ease;
}

.footer__contact-item:last-child i:hover{
    transform: scale(1.4);
    color: #f92;
}

.footer__copyright{
    background-color: #0009;
    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 #0001;
    position: relative;
}

.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;
}


/* --------- kinderDTA__footer 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{
        align-content: center;
    }
}

@container footer (min-width:56.25rem){
    .footer__container{
        display: grid;
        grid-template-columns:repeat(4, minmax(100px, 1fr));
        gap: 0px 30px;
        align-items: start;
    }

    .footer__us p{
        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;
    }
}
