@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700;900&display=swap');

/* CSS Reset*/
* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
}

/* Navegacion y Header */
header {
    width: 100%;
    height: auto;
    background: #fff;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to left, #2c3293, #8bd6f3);
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to left, #2c3293, #8bd6f3);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

/* Estilo del banner de la parte superior de la pagina */
nav {
    height: 100px;
    max-width: 1200px;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Estilo del logo CMEF ubicado en la esquina superior izquierda */
.logo {
    width: 140px;
    margin-left: 20px;
    margin-bottom: 20px;
    margin-top: 70px;
}

/* Estilo del boton de menu hamburguesa ubicado en la esquina superior derecha */
.bar-btn {
    font-size: 25px;
    color: #fff;
    margin-right: 25px;
    cursor: pointer;
}

/* Estilo del listado del menu (una vez activado) */
.nav-menu {
    position: fixed;
    width: 100%;
    height: 0vh;
    top: 100px;
    background: rgba(98, 183, 233, 0.95);
    text-align: center;
    transition: 0.5s;
}

/* Estructura del listado menu con su transicion */
.nav-menu li {
    display: none;
    line-height: 30px;
    margin: 50px 0;
    transition: all 0.5s;
}

/* Estilo de los enlaces del menu */
.nav-menu li a {
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
}

/* Estilo del comportamiento de cada uno de los enlaces del menu */
.nav-menu li a.active,
.nav-menu li a:hover {
    color: rgb(0, 17, 255);
    transition: 0.3s;
}

/* Check-box que hace posible el comportamiento del boton hamburguesa (invisible)*/
#check {
    display: none;
}

/* Comportamiento del menu */
#check:checked~.nav-menu {
    height: 100vh;
}

/* Estructura del menu relacionado al check-box*/
#check:checked~.nav-menu li {
    display: block;
}

/* Estilo del boton de Whatsapp */
.btn-wsp {
    position: fixed;
    width: 55px;
    height: 55px;
    line-height: 55px;
    bottom: 30px;
    right: 30px;
    background: #0df053;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
    z-index: 100;
}

/* Comportamiento del boton de Whatsapp con el cursor */
.btn-wsp:hover {
    text-decoration: none;
    background: #fff;
    color: #0df053;
    transition: 0.3s;
}

/* Estilo del boton de Facebook */
.btn-fb {
    position: fixed;
    width: 55px;
    height: 55px;
    line-height: 55px;
    bottom: 90px;
    right: 30px;
    background: #0000ff;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
    z-index: 100;
}

/* Comportamiento del boton de Facebook con el cursor */
.btn-fb:hover {
    text-decoration: none;
    background: #fff;
    color: #0000ff;
    transition: 0.3s;
}

/* Estilo del boton de Instragram */
.btn-ig {
    position: fixed;
    width: 55px;
    height: 55px;
    line-height: 55px;
    /* bottom: 150px; */
    bottom: 210px;
    right: 30px;
    background: radial-gradient(circle at 33% 100%,
            #fed373 4%,
            #f15245 30%,
            #d92e7f 62%,
            #9b36b7 85%,
            #515ecf 100%);
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
    z-index: 100;
}

/* Comportamiento del boton de Instragram con el cursor */
.btn-ig:hover {
    text-decoration: none;
    background: #fff;
    color: #d92e7f;
    transition: 0.3s;
}

/* Estilo del boton de X-Twitter */
.btn-tw {
    position: fixed;
    width: 55px;
    height: 55px;
    line-height: 55px;
    /* bottom: 210px; */
    bottom: 150px;
    right: 30px;
    /* background: #1DA1F2;
    color: #fff; */
    background: black;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
    z-index: 100;
}

/* Comportamiento del boton de X-Twitter con el cursor */
.btn-tw:hover {
    text-decoration: none;
    /* background: #fff;
    color: #1DA1F2; */
    background: #fff;
    color: black;
    transition: 0.3s;
}

/* Estilo del boton de TikTok */
.btn-tk {
    position: fixed;
    width: 55px;
    height: 55px;
    line-height: 55px;
    bottom: 270px;
    right: 30px;
    background: black;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
    z-index: 100;
}

/* Comportamiento del boton de TikTok con el cursor */
.btn-tk:hover {
    text-decoration: none;
    background: #fff;
    color: black;
    transition: 0.3s;
}

/* Estructura del banner */
.container {
    max-width: none;
    margin: 30px;
}

/* Estilo del texto ubicado en el banner */
.banner-text {
    display: flex;
    flex-direction: column;
}

/* Estilo del contenido ubicado en el banner */
.text-header {
    text-align: center;
    margin-right: 0px;
    color: #fff;
}

/* Estilo del titulo de la pagina */
.text-header h1 {
    text-align: right;
    color: #fff;
    font-weight: 400;
    font-size: 45px;
    line-height: 65px;
    margin-right: 5%;
}

/* Estilo de los botones ubicados en la parte inferior del titulo en el banner */
.btn-AF {
    display: inline-block;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 25px;
    padding: 14px 25px;
    color: #2e3192;
    border: 1px solid #2e3192;
}

/* Estilo del comportamiento de los botones del banner con el cursor */
.btn-AF:hover {
    background: #2e3192;
    color: #fff;
    border: 1px solid #2e3192;
    transition: 0.3s;
}

/* Diseño reponsivo para la version de escritorio */
@media (win-width: 768px) {
    .logo {
        margin: 0;
    }

    header {
        height: 50vh;
    }

    nav {
        height: 100px;
        margin: 0 auto;
    }

    .bar-btn {
        display: none;
    }

    .nav-menu {
        position: relative;
        height: 100px;
        background: none;
        transition: none;
        text-align: right;
        margin: 50px;
    }

    .nav-menu li {
        display: inline-block;
        line-height: 100px;
        margin: 0 20px;
        transition: none;
    }

    .nav-menu li a {
        font-size: 14px;
    }

    .container {
        max-width: 1200px;
        margin: 0 auto;
    }

    .banner-text {
        flex-direction: row;
        margin-top: 40px;
        text-align: left;
    }

    .text-header {
        margin-right: auto;
    }

    .text-header h1 {
        font-size: 55px;
        line-height: 60px;
    }
}

/* -----Biblioteca----- */

/* Estructura de la seccion [Biblioteca] */
.portfolio {
    padding: 0px 0px;
}

/* Estilo de los elementos dentro de la seccion [Biblioteca] */
.container-portfolio {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Estructura del visualizador de PDF (Visible unicamente en la version de escritorio) */
.container-portfolio iframe {
    width: 0px;
    height: 0px;
}

/* Estilo del texto con enlace de descarga */
.p-txt {
    text-align: center;
    margin: 0px 0px 30px 0px;
}

/* Diseño responsivo para la version de escritorio */
@media (min-width: 768px) {
    .portfolio {
        padding: 50px 0px;
    }

    .p-txt {
        margin: 0px 200px 70px 200px;
        text-align: center;
    }

    .content-portfolio {
        display: flex;
        text-align: left;
        margin: 0px 150px 150px 150px;
    }

    .container-portfolio {
        display: flex;
        text-align: left;
        margin: 0px 150px 150px 150px;
    }

    .container-portfolio iframe {
        width: 550px;
        height: 500px;
    }

}

/* -----Ubicacion----- */

/* Estructura del footer */
.footer {
    background: #373B44;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to left, #2c3293, #87d8eb);
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to left, #2c3293, #87d8eb);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

/* Estilo del titulo del footer */
.footer h2 {
    font-size: 40px;
    color: #fff;
    margin-bottom: 20px;
    text-align: center;
}

/* Estilo del contenido del footer */
.f-txt {
    text-align: center;
    color: #fff;
    font-size: 18px;
    margin: 0px;
}

/* Estilo del contenido del footer */
.container-footer {
    display: flex;
}

/* Estilo del mapa */
.map {
    width: 100%;
    margin: auto;
}

/* Diseño repsonsivo para la version de escritorio */
@media (min-width: 768px) {
    .f-txt {
        margin: 0px 200px 30px 200px;
    }

    .footer {
        padding: 100px 0px;
    }

    .map {
        width: 100%;
        margin: auto;
    }
}

.encabezado {
    text-align: justify;
    padding: 30px 0px;
}

/* <!-- By: Nestor J Zamora --> */