* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'open sans';
}

.contenedor {
    padding: 60px 0;
    width: 90%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
}

.titulo {
    color: #1d67c9;
    font-size: 30px;
    text-align: center;
    margin-bottom: 60px;
}
.interior{
    background: #1d67c9ce;
    max-width: 100%;
    padding: 0 10px;
    margin: auto;
    width: 100%;
    height: 70px;
    position: fixed;
    z-index: 100;
}


/* Header */

header {
    width: 100%;
    height: 600px;
    background: #1d67c9;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #063ff975, hsla(219, 45%, 52%, 0.664)), url(../img/portada.jpg);
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, hsla(231, 95%, 50%, 0.459), hsla(224, 45%, 52%, 0.664)), url(../img/portada.jpg);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    text-align: center;
    
}
/*barra de navegacion*/
     

.logo{
    float: left;
    padding: 5px 20px  0;
}

.logo img {
    height: 70px;
    position: fixed;
    left: 0;
    top: 0;
}

.logo img:hover{
    transform: scale(1.1);
}

.iconnav ul li{
    z-index: 2000;
    display: inline-block;
    float: right;
    position: relative;
    cursor: pointer;  
}

.iconnav img{
    width: 2rem;
    cursor: pointer;
    padding: 0 3px;
   

    
}
.iconnav img:hover{
    transform: scale(1.05);
    
}

.navegacion{
    float: right;
    display: flex;
    align-items: center;
    min-height: 90px;
    z-index: 1000;
    position: fixed;
    right: 0;
    top: 0;
 
     
}

.navegacion ul{
    list-style: none;
    padding: 0 10px;
     
}

.navegacion ul li{
    display: inline-block;
    position: relative;
    transition: .3s linear;
    z-index: 1000;
}

.navegacion ul li:hover{
    transform: scale(1.05);
}
.navegacion ul li a {
    color: #ffffff;
    text-align: center;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 1px;
    padding: 12px 20px;
    transition: .3s linear;
    text-decoration: none;
}

.navegacion ul li a:hover{
    color: #08e5ec;
    transform: scale(1.05);
}
.navegacion ul li:hover .hijos{
    display: block;
}
.navegacion .submenu .hijos{
    display: none;
    background: #1d67c9;
    position: absolute;
    width: 100%;
}
.navegacion .submenu .hijos li{
    display: block;
    overflow: hidden;
    border-bottom: none;
}

.navegacion .submenu .hijos li a{
    display: block;

}


header .textos-header{
    display: flex;
    height: 430px;
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.textos-header h1{
    font-size: 50px;
    color:#fff;
}

.textos-header h2{
    font-size: 30px;
    font-weight: 300;
    color:#fff;
}

.wave{
    position: absolute;
    bottom: 0;
    width: 100%;
}

/* About us */

main .sobre-nosotros{
    padding: 30px 0 60px 0;
}
.contenedor-sobre-nosotros{
    display: flex;
    justify-content: space-evenly;
    position: relative;
    top: 0;
}

.imagen-about-us{
    width: 50%;
}

.sobre-nosotros .contenido-textos{
    width: 50%;
}

.contenido-textos h3{
    margin-bottom: 15px;
}

.contenido-textos h3 span{
    background: #1d67c9;
    color: #fff;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    width: 30px;
    height: 30px;
    padding: 2px;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, .5);
    margin-right: 5px;
}

.contenido-textos p{
    padding: 0px 0px 30px 15px;
    font-weight: 300;
    text-align: justify;
}
.acordeon p{
    font-weight: 300;
    text-align: justify;
    padding: 20px 20px;
}

.acordeon li{
    font-weight: 300;
    text-align: justify;
    list-style: none;
}
.acordeon ul{
    font-weight: 300;
    text-align: justify;
    list-style: none;

}
details{
    margin: 10px 10px;
    padding: 10px 10px;
    width: 200%;
    height:200%;
    background-color: #f2f2f2;
    border-radius: 6px;
    cursor: pointer;


}

/* tabla de documentos */
.contenedortabla{
    width: 90%;
    max-width: 800px;
    margin: 0px  10px;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.tabla{
    width: 30%;
    height: 300px;
    margin: 1px;
    border: 1px solid #1d67c9;
    border-radius: 4px;
    box-shadow: 0px 0px 4px 0px;
    padding: 5px;
    text-align: center;
    flex-grow: 1;
    color: #1d67c9;
}

.tabla >h4{
    font-size: 16px;
    margin-bottom: 3px;
}

.tabla > p{
    display: block;
    margin-bottom: 3px;
    font-size: 10px;
}
.botondes{
    display: inline-block;
    width: auto;
    padding: 12px;
    background: #1d67c9;
    text-decoration: none;
    color: #ffffff;
    border-radius: 100px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    margin: auto;
}


.carrera-textos {
    padding: 0px 0px 30px 15px;
    font-weight: 300;
    text-align: center;
    font-size: auto;
}
/* Galeria */


.carrera{
    background: #f2f2f2;
}

.galeria-port{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.imagen-port{
    width: 24%;
    margin-bottom: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, .5);
}

.imagen-port > img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hover-galeria{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    transform: scale(0);
    background: #1d67c9b9;
    transition: transform .5s;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.hover-galeria img{
    width: 50px;
}

.hover-galeria p{
    color: #fff;
}

.imagen-port:hover .hover-galeria{
    transform: scale(1);
}

/* COMENTARIOS ACADEMIA */

.cards{
    display: flex;
    justify-content: space-evenly;
}

.cards .card{
    background: #1d67c9;
    display: flex;
    width: 46%;
    height: 200px;
    align-items: center;
    justify-content: space-evenly;
    border-radius: 5px;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.6);
}

.cards .card img{
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 3px solid #fff;
    border-radius: 50%;
    display: block;
}

.cards .card > .contenido-texto-card{
    width: 60%;
    color: #fff;
}

.cards .card > .contenido-texto-card p{
    font-weight: 300;
    padding-top: 5px;
}

/*  PROMOS */

.about-services{
    background: #f2f2f2;
    padding-bottom: 30px;
}


.servicio-cont{
    display:flex;
    justify-content: space-between;
    align-items: center;
}

.servicio-ind{
    width: 28%;
    text-align: center;
}

.servicio-ind img{
    width: 96%;
}

/*.servicio-ind h3{
    margin: 10px 0;
}

.servicio-ind p{
    font-weight: 300;
    text-align: justify;
}*/

/* footer */

footer{
    background: #414141;
    padding: 60px 0 30px 0;
    margin: auto;
    overflow: hidden;
}

.contenedor-footer{
    display: flex;
    width: 90%;
    justify-content: space-evenly;
    margin: auto;
    padding-bottom: 50px;
    border-bottom: 1px solid #ccc;
}

.content-foo{
    text-align: center;
}

.content-foo h4{
    color: #fff;
    border-bottom: 3px solid #1d67c9;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.content-foo p{
    color: #ccc;
}
.content-foo ul li{
    color: #ccc;
}

.titulo-final{
    text-align: center;
    font-size: 24px;
    margin: 20px 0 0 0;
    color: #9e9797;
}

@media screen and (max-width:900px){
    header{
        background-position: center;
    }

    .contenedor-sobre-nosotros{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .sobre-nosotros .contenido-textos{
        width: 90%;
    }

    .imagen-about-us{
        width: 90%;
    }

    /* Galeria */

    .imagen-port{
        width: 44%;
    }

    /* academia */

    .cards{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .cards .card{
        width: 90%;
    }

    .cards .card:first-child{
        margin-bottom: 30px;
    }

    /* carrera */

    .servicio-cont{
        justify-content: center;
        flex-direction: column;
    }

    .servicio-ind{
        width: 100%;
        text-align: center;
    }

    .servicio-ind:nth-child(1), .servicio-ind:nth-child(2){
        margin-bottom: 60px;
    }

    .servicio-ind img{
        width: 90%;
    }
}

@media screen and (max-width:500px){
    .navegacion{
        text-align: center;
        padding: 30px 0 0 0;
    }

    .navegacion{
        margin-right: 5px;
    }

    .textos-header h1{
        font-size: 35px;
    }

    .textos-header h2{
        font-size: 20px;
    }

    /* ABOUT US */

    .imagen-about-us{
        margin-bottom: 60px;
        width: 99%;
    }

    .sobre-nosotros .contenido-textos{
        width: 95%;
    }

    /* Galeria */

    .imagen-port{
        width: 95%;
    }

    /* Clients */

    .cards .card{
        height: 450px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .cards .card img{
        width: 90px;
        height: 90px;
    }

    /* Footer */

    .contenedor-footer{
        flex-direction: column;
        border: none;
    }

    .content-foo{
        margin-bottom: 20px;
        text-align: center;
    }

    .content-foo h4{
        border: none;
    }

    .content-foo p{
        color: #ccc;
        border-bottom: 1px solid #f2f2f2;
        padding-bottom: 20px;
    }

    .titulo-final{
        font-size: 20px;
    }
}

