*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    /*colores generales*/
    --background-color:#231212;
    --color:#ffffff;
    --hover-color:#2117af;
/*barra navegacion*/
    /*--nav-background-gradient1:#04021a;
    --nav-background-gradient2:#1f15d9;
    --nav-background-gradient3:#050320;*/
    --nav-background-gradient1:#212124;
    --nav-background-gradient2:#0e0a5d;
    --nav-background-gradient3:#212124;
    --nav-color:#f3efb2;
    --nav-shadow:#595e8c;
/* boton colores */
    --boton-background-gradient1:#212124;
    --boton-background-gradient2:#1910ba;
    --boton-background-gradient3:#212124;
    --boton-border-color:#fff;
    --boton-color:#f5eaea;
    --boton-sombra:#efeaea;
    --boton-hover:#595e8c;
/**/
    background-color: var(--background-color);
    color: var(--color); 
/*TIPO DE LETRA*/
    font-family: "Overlock SC", sans-serif;
    font-weight:800;
    font-style: normal;

}

.fondo{
    background-image: url(/imagenes/fondo-principal_1.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    mask:linear-gradient(to top, rgba(254, 254, 254, 0), #000 25%, #000 75%, rgba(254, 254, 254, 0));
}

.main__container{
    background-image: url(/imagenes/fondo-principal_1.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    mask:linear-gradient(to top, rgba(254, 254, 254, 0), #000 25%, #000 75%, rgba(254, 254, 254, 0));
    position: relative;
}

.negro{
    content: '';
    position: absolute;
    inset: 0;
    background-image: url(/imagenes/siluetas.png);
    background-size: 100%;
    background-position: bottom, 80%;
    background-repeat: no-repeat;
}



/*----------------------------------------------------*//*----------------------------------------------------*//*----------------------------------------------------*/

/*header*/
/*Barra navegCION*/
/*https://www.youtube.com/watch?v=DUTAq24fbWk    <--- barra navegacion responsive*/

.nav__container{
    position: fixed;
    width: 100%;
    height: auto;
    padding: 10px 0 10px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    background: linear-gradient(0.25turn,var(--nav-background-gradient1),var(--nav-background-gradient2),var(--nav-background-gradient3));
    box-shadow: 0 0 15px var(--nav-shadow);
    z-index: 10;
}

.menu-icono{
    width: 35px;
}

.logo{
    width: 80px;
    height: 50px;
    
}

.ul__nav{
    list-style: none;   
}

.nav__container .nav .ul__nav .item__nav{    
    position: relative;
    float: left;
}

.nav__container .nav .ul__nav .item__nav a{
    text-decoration: none;
    padding: 10px;
    color: var(--color);
    display: block;
    font-weight: bolder;
    font-size: 1.1em;
}

.item__nav{
    padding: 5px;
    border-radius: 15px;
    transition: background-color 0.3s;
    margin: 0 3px 0 3px;
}

.item__nav:hover{
    background-color: var(--hover-color);
}

#menu{
    display: none;
}

.nav__container label{
    cursor: pointer;
    display: none;
}


/*
Esconder barra navegacion al hacerclick
https://www.youtube.com/watch?v=iP63fDXk-W8*/
/*----------------------------------------------------*/
/*MAIN*/

.main__container{
    display: flex;
    flex-wrap: wrap;
    font-size: 1.5em; 
    min-height: 100dvh;
    min-width: 100%;
    /*border: 5px solid #2214e5;*/
    color: var(--color);
    justify-content: center;
    /*align-items: center;*/
    align-items:center;
}

h1{
    padding: 30px;
    text-align: center;
    text-wrap: balance;
    border-radius: 5px;
    max-width: 800px;
    box-shadow: 0 0 15px #000;
}

.title__main{
    margin-top: 100px;
}

.slogan{
    text-align: center;
    text-wrap: balance;
    max-width: 800px;
    padding-bottom: 100px;
}
/*----------------------------------------------------*/

/*SECCIONES QUIENES SOMOS, OFERTA EDUCATIVA E INSTRUCTORES */

.container{
    display: flex;
    justify-content: center;
}

.section__container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.5em; 
    height: 100dvh;
    padding: 0 1em;
    /*border: 5px solid #9bd51c;*/
    max-width: 900px;
}

.quienes-somos__container, .instructores__container{
    text-align: center;
    text-align: justify;
    
}

h2{
    margin-bottom: 0.8em;
    font-size: 1.5em;
}

.boton-info{
    text-align: center;
    align-content: center;
    padding:15px 10px;
    margin-top: 1.5em;
    border: 3px solid var(--boton-border-color);
    border-radius: 15px;
    box-shadow: 0 0 10px var(--boton-sombra);
    background: linear-gradient(0.25turn,var(--boton-background-gradient1),var(--boton-background-gradient2),var(--boton-background-gradient3));

        animation: aparecer both;
        animation-timeline: view();
        animation-range: cover 5% cover 19%;
    
}

.boton-info a{
    text-decoration: none;
    color: var(--boton-color);
    padding: 3px;
}

.boton-info:hover{
    background: var(--hover-color);
}

/*-------------OFERTA EDUCATIVA------------------------*/

.oferta-educativa__container{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
}

.img-constancia{
    min-width: 150px;
    max-height: 150px;
    margin-bottom: 10px;
    border-radius: 50%;
}

/*----------------------------------------------------*/

/*----------------footer*/

/*https://www.youtube.com/watch?v=sgDabqmtLUg*/
.footer{
    background-color: #24262b;
    padding: 60px 0;
    mask:linear-gradient(to top, rgba(254, 254, 254, 0), #000 10%, #000 90%, rgba(254, 254, 254, 0));
}

.container__footer{  
    min-width: 100%;
    margin: 0 auto;
}  

.ul__list{
    list-style: none;
}

.footer-row{
    display: flex;
    flex-wrap: wrap;
    margin: 0 30px;
    justify-content: center;
}

.footer-links{
    padding: 30px 10px;
    margin: 0 10px;
    width: 20%;
}

.footer-links h4{
    font-size: 20px;
    color: #fff;
    margin-bottom: 25px;
    font-weight: bold;
    border-bottom: 2px solid #00c3ff;
    padding-bottom: 10px;
    /*display: inline-block;*/
}

.footer-links ul li a{
    font-size: 18px;
    text-decoration: none;
    color:#8389bf;
    display: block;
    margin-bottom: 10px;
    transition: all .3s ease;
    
}

.footer-links ul li a:hover{
    color: #fff;
    padding-left: 8px;
}

.social-links img{
    display: inline-block;
    min-height: 40px;
    width: 40px;
    background-color: rgba(255,255,255,0.2);
    margin: 0 10px 10px 0;
    padding: 5px;
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.5 ease;
    box-shadow: 0 0 10px #ffffff;
}

.social-links img:hover{
    background-color: #00c3ff;
}

/*         media queries*/

/*BARRA de navegación*/

@media (max-width:650px){
    .nav__container{
        min-height: 80px;
        top:0;
        padding: 15px;
    }
    .nav__container label{
        display: initial;
    }
    .nav__container .nav{
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        background-color: #292b41;
    }
    .nav__container .nav .ul__nav .item__nav{
        width: 100%;
    }
    
    #barra_nav.active{
    display: initial;  
    }

    /*#menu:checked ~ .nav{
        display: initial;
    }*/


    /*cambio del tamaño de la letra del main y sections*/
    .main__container{
        font-size: 1em;
    }
    .title__main{
        padding: 20px 20px;
        max-width: 350px;
        font-size: 1.2em;
    }
    .container__title{
        max-width: 80%;
    }

    .slogan{
        padding:0 15px 150px 15px;
    }
/* FOOTER FOOTER*/
    .footer-row{
        text-align: center;
    }

    .footer-links{
        width: 100%;
        margin-bottom: 30px;
    }

    .negro{
        background-position: center 90%;
        background-size: 100% 55%;
    }
}

/*         ANIMACIONES*/
/*         ANIMACIONES*/
/*         ANIMACIONES*/

@keyframes aparecer {
    from {
        opacity: 0;
        scale: 0.5;
    }
    to{
        opacity: 1;
        scale: 1;
    }
}

/*-------------QUIENES SOMOS------------------------*/
.span{
    color: hsla(0, 0%, 100%, 0.295);
    background-clip: text;
    background-repeat: no-repeat;
    background-size: 0% 100%;
    background-image: linear-gradient(#ffffff,rgb(255, 255, 255));
    animation: scroll-reveal both;
    animation-timeline: view();
}

.span-titulo{
    animation-range: cover 10% 25%; 
}

.span-texto{
    animation-range: cover 12% 50%;
}

@keyframes scroll-reveal{
    to{
        
        background-size: 100% 100%;
    }
}
/*------------------------------------------------------*/



