
@charset "utf-8";
/* CSS Document */
body, html {
    height: 100%;
    width: 100%;
    margin: 0px;
    padding: 0px;
}

section {
    display:grid;
    margin-bottom:0.1em;
}

article {
    font-family: 'Lato', sans-serif;
}

/* MAIN */
#main {
    display:grid;
    grid-gap: 1rem;
    padding:1rem;
}
.bloque {
    font-family: 'Merriweather', serif;
    box-shadow: 3px 5px 28px 0px rgba(0,0,0,0.75);
}

.bloque video {
    width:100%;
    height:auto;
}

.bloque iframe {
    width:100%;
    height:85%;
}
.bloque .textos {
    margin-left: 0rem;
    margin-right: 0rem;
    padding-bottom: 0.5rem;
    border-width: 1px;
    border-style: solid;
    border-color: #FFF;
}
.textos h2 {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    margin-top: 0;
    text-align: center;
    border-bottom-width: 1px;
    border-bottom-style: dashed;
    border-bottom-color: #19191B;
}
.textos a {
    font-family: 'Open Sans', sans-serif;
    font-size: 2rem;
    font-weight: 300;
    margin-top: 0;
    border-bottom-width: 1px;
    border-bottom-style: dashed;
    border-bottom-color: #19191B;
}
.textos li {
    font-family: 'Open Sans', sans-serif;
    font-size: 2rem;
    font-weight: 300;
    margin-top: 0;
    border-bottom-width: 1px;
    border-bottom-style: dashed;
    border-bottom-color: #19191B;
}



/* NAV */
nav {
    margin-bottom:0.1em;
    font-family: 'Lato', sans-serif;

}
nav ul {
    list-style-type:none;
    margin:0;
    padding:0;
    display:flex;
}
nav li { flex-grow: 1; }
nav a {
    display: block;
    padding: 1em;
    text-align: center;
    text-decoration: none;
    color: #000000;
    border: solid 1px #424242;
    transition: all 0.5s;
    text-transform: uppercase;
}
nav a:hover {
    background-color:#4fc3f7; }

footer {
    font-family: 'Lato', sans-serif;
    font-size: 0.8em;
    color: #FFFFFF;
    background-color: #666;
    padding: 0.3rem 0.3rem 0.3rem 2.2em;
}



@media (orientation: landscape) {
    section {
        grid-template-columns: 3fr;
        grid-template-rows: auto;
    }
    #main {
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: auto;
    }

    nav ul {
        flex-direction: row;
    }
    a {
        margin-right:0.2em;
    }
}
@media (orientation: portrait) {
    section {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }
    #main {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr 1fr;
    }

    nav ul {
        flex-direction: column;
    }
    nav a {
        margin-bottom:0.2em;
    }
}