
@import url('https://fonts.googleapis.com/css?family=Roboto:300');
*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

/* Especificaciones pagina general */

body, a, a:hover{
    font-family: 'Roboto', 'Montserrat', sans-serif;
}
.sinscroll{
    overflow: hidden;
}

/* Especificaciones generales del body */

#loader {
    background-color: #9adad2;
    backdrop-filter: blur(30px);
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 100;
    position: absolute;
}
#loader>div>p{
    color: #fff;
    font-size: 20vh;
}
#loader>div{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
    .a-fade-out {
        animation: fade-out 1500ms cubic-bezier(0.390, 0.575, 0.565, 1.000) 2s both;
    }
    @keyframes fade-out {
        0% {
            opacity: 1;
        }
        100% {
            opacity: 0;
        }
    }
    .bounce-top {
        animation: bounce-top 0.9s infinite;
    }
    @keyframes bounce-top {
        0% {
        transform: translateY(-45px);
        animation-timing-function: ease-in;
        opacity: 1;
        }
        24% {
        opacity: 1;
        }
        40% {
        transform: translateY(-24px);
        animation-timing-function: ease-in;
        }
        65% {
        transform: translateY(-12px);
        animation-timing-function: ease-in;
        }
        82% {
        transform: translateY(-6px);
        animation-timing-function: ease-in;
        }
        93% {
        transform: translateY(-4px);
        animation-timing-function: ease-in;
        }
        25%,
        55%,
        75%,
        87% {
        transform: translateY(0px);
        animation-timing-function: ease-out;
        }
        100% {
        transform: translateY(0px);
        animation-timing-function: ease-out;
        opacity: 1;
        }
    }

/* Estilos/animación pre loader de carga */

.padre{
    display: flex;
    flex-flow: column nowrap;
}

/* Especificaciones contenedor principal */

    .header{
        background:url(img/1.jpg);
        background-position: center;
        background-attachment: contain;
        background-size: cover;
        display: flex;
        flex-flow: column nowrap;
    }

/* Estilos contenedor de menu */

        .menu{
            background: #ffffffa1;
            backdrop-filter: blur(30px) brightness(150%) saturate(500%);
            display: flex;
            flex-flow: row nowrap;
            height: 70px;
            position: fixed;
            z-index: 1;
            width: 100vw;
            justify-content: space-between;
        }

/* Estilos logo */

    .menu .logo {
        margin: 10px;
    }
    .menu .nav{
        margin: 20px;
    }
    .logo a{
        font-size: 45px;
        text-decoration: none;
    }
    .logo b:hover{
        font-weight: 100;
    }

/* Estilos sub menú */
    .active{
        font-weight: bolder;
    }
    .nav a{
        color: #000000;
        font-size: 20px;
        text-transform: uppercase;
        padding: 0 10px;
        letter-spacing: 2px;
    }
    .nav a:hover{
        color: #336387;
        font-weight: bolder;
    }
    .nav a {
        display: inline-block;
        position: relative;
        color: #333;
        text-decoration: none;
    }
    .nav a:after {
        content: "";
        display: block;
        margin: auto;
        height: 4px;
        width: 0px;
        border-radius: 5px;
        transition: all .8s;
    }
    .nav a:hover:after {
        width: 100%;
        background: #333;
    }

/* Estilos/animación logo y barras de navegación */
/* HEADER */

#banner_image{
    background-color: #F8F8F8;
    position: relative;
    height: 100vh;
    margin-top: 70px;
}

/* Estilos generales banner */

#g-home-header>div{
    position: absolute;
    height: 85vh;
    top: 0px;
    border-radius: 0px 100px 250px 0px;
}
#g-home-header>div:first-child{
    width: 98vw;
    background-color:#336387;
}
#g-home-header>div:nth-child(2){
    width: 96vw;
    background-color:#9AD9D2;
}
#g-home-header>div:last-child{
    width: 94vw;
    background-size: cover;
}

/* Estilos contenedor slider */

    .slider {
	    width: 95%;
	    margin: 0;
	    overflow: hidden;
    }
    .slider ul {
        margin: 0;
	    display: flex;
	    padding: 0;
	    width: 400%;
	    animation: cambio 22s infinite alternate linear;
    }
    .slider li {
	    width: 100%;
	    list-style: none;
    }
    .slider img {
        width: 100%;
        object-fit: cover;
        -webkit-filter: drop-shadow(16px 16px 10px rgba(0,0,0,0.9));
        filter: drop-shadow(16px 16px 10px rgba(0,0,0,0.9));

    }
@keyframes cambio {
	0% {margin-left: 0;}
	20% {margin-left: 0;}

	25% {margin-left: -100%;}
	45% {margin-left: -100%;}

	50% {margin-left: -200%;}
	70% {margin-left: -200%;}

	75% {margin-left: -300%;}
	100% {margin-left: -300%;}
}

/* Estilos/efectos slider imagenes contenedor */

#g-slogan{
    position: relative;
    top: 50vh;
    left: 50%;
    margin: 0;
    max-width: 1080px;
    transform: translate(-50%, -50%);
}
.d-none{
    display: none;
}

/* Estilos generales slogan */

#g-slogan>div {
    margin: 0;
    color: #fff;
	font-size: 3.5em;
    display:inline-block;
    overflow:hidden;
    white-space:nowrap;
}
#g-slogan>div{
    animation: showup 10s infinite;
}
#g-slogan>div:last-of-type>span{
    margin-left:-355px;
    animation: slidein 10s infinite;
}
@keyframes showup {
    0% {opacity:0;}
    20% {opacity:1;}
    80% {opacity:1;}
    100% {opacity:0;}
}
@keyframes slidein {
    0% { margin-left:-800px; }
    20% { margin-left:-800px; }
    35% { margin-left:0px; }
    100% { margin-left:0px; }
}

/* Slogan estilos/efecto letras */
/* BANNER SLOGAN */

.ir-arriba{
    display: none;
    padding: 20px;
    border-radius: 30px;
    background: #60bfae;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
    position: fixed;
    bottom: 20px;
    right: 20px;
}
.ir-arriba:hover {
    background-color: #333;
}
.ir-arriba:active {
    background-color: #555;
}

/* Estilos/animación botón ir arriba */
/* BOTON IR ARRIBA */

    .section{
        display: flex;
    }

    .recortado{
        display: flex;
        justify-content: center;
        background: #F8F8F8;
    }
    .recortado>div{
        max-width: 1900px;
    }

    /* Especificaciones section/div contenedor articulos */

        .articulos{
            background: #F8F8F8;
            flex: 2 1 auto;
            display: flex;
            flex-flow: row wrap;
        }
        .article{
            background: #F8F8F8;
            flex: 1 1 40%;
            font-size: 20px;
            letter-spacing: 1px;
            margin: 50px 0 0 0;
            flex: 1 1 45%;
        }
        .article img{
            width: 950px;
            height: 600px;
            margin: 10px 0 0 0;
            border-radius: 20px 0px 0px 300px;
        }
        #p1{
            width: 100%;
            margin: 10px 0 0 0;
            border-radius: 0px 20px 300px 0px;
        }
        .grow {
            transition: all .2s ease-in-out;
        }
            .grow:hover {
            transform: scale(1.1);
            }

/* .grow efecto al pasar el cursor por la imagen */

            h2{
                color: #336387;
                font-size: 30px;
                padding: 10px 30px;
                margin-top: 20px;
                text-align: center;
            }
            p{
                color: black;
                font-size: 25px;
                padding: 10px 40px;
                margin-top: 20px;
                text-align: justify;
            }

/* Estilos articulos/contenido */
/* SECTION-ARTICULOS */

    .footer{
        background: #000;
        display: flex;
        justify-content: center;
        margin-top: 100px;
        height: 100px;
    }
        .pie{
            background: #000;
            text-align: center;
            margin-top: 20px;
        }
        .pie a{
            color: #fff;
            font-size: 35px;
            text-transform: uppercase;
            padding: 0 10px;
            letter-spacing: 2px;
            text-decoration: none;
        }

/* Estilos footer contenedor */
/* FOOTER */


/* MEDIAS QUERY PARA RESPONSIVE */

/* Resolución tablets */
@media all and (max-width: 780px){
/* Estilos logo */

.menu .logo {
    margin: 20px;
}
.menu .nav{
    margin: 20px;
}
.logo a{
    font-size: 25px;
    text-decoration: none;
}
.logo b:hover{
    font-weight: 100;
}

/* Estilos sub menú */
.active{
    font-weight: bolder;
}
.nav a{
    color: #000000;
    font-size: 15px;
    text-transform: uppercase;
    padding: 0 10px;
    letter-spacing: 1px;
}
.nav a:hover{
    color: #336387;
    font-weight: bolder;
}
.nav a {
    display: inline-block;
    position: relative;
    color: #333;
    text-decoration: none;
}
.nav a:after {
    content: "";
    display: block;
    margin: auto;
    height: 4px;
    width: 0px;
    border-radius: 5px;
    transition: all .8s;
}
.nav a:hover:after {
    width: 100%;
    background: #333;
}

    #banner_image{
        height: 400px;
    }
    #g-home-header>div{
        height: 400px;
        border-radius: 0px 100px 150px 0px;
    }
    .slider img {
        height: 400px;
        object-fit: cover;
    }
    #g-slogan{
        height: 600px;
        font-size: 10px;
    }
    #banner_image{
    margin-top: 70px;
    }

    .section{
        display: flex;
    }

    /* Especificaciones section/div contenedor articulos */

        .articulos{
            background: #f8f8f8;
            flex: 2 1 auto;
            display: flex;
            flex-flow: row wrap;
        }
        .article{
            background: #f8f8f8;
            flex: 1 1 40%;
            font-size: 10px;
            letter-spacing: 1px;
            margin: 50px 0 0 0;
            flex: 1 1 45%;
        }
        .article img{
            width: 100%;
            height: 90%;
            margin: 10px 0 0 0;
            border-radius: 20px 0px 0px 20px;
        }
        #p1{
            width: 100%;
            margin: 10px 0 0 0;
            border-radius: 0px 20px 20px 0px;
        }
        h2{
            color: #336387;
            font-size: 20px;
            padding: 10px 30px;
            margin-top: 20px;
            text-align: center;
        }
        p{
            color: black;
            font-size: 15px;
            padding: 10px 40px;
            margin-top: 20px;
            text-align: justify;
        }
        .footer{
            background: #000;
            display: flex;
            justify-content: center;
            margin-top: 100px;
            height: 100px;
        }
            .pie{
                background: #000;
                text-align: center;
                margin-top: 20px;
            }
            .pie a{
                color: #fff;
                font-size: 15px;
                text-transform: uppercase;
                padding: 0 10px;
                letter-spacing: 2px;
                text-decoration: none;
            }
}
@media all and (max-width: 600px){
    .articulos{
        flex-direction: column;
    }
    .logo {
        text-align: center;
    }
    .nav a{
        font-size: 15px;
        text-align: center;
    }
}
@media all and (max-width: 500px){
    #g-slogan{
        font-size: 8px;
    }
    .logo {
        text-align: center;
    }
    .nav{
        text-align: center;
    }
}

