@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700');
* {
    font-family:"Roboto", sans-serif;
    box-sizing: border-box;
    list-style: none;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    background:#3c3a4d;
}

a {
    text-decoration: none;
    width: 100%;
}

h1 {
    color: white;
    margin: 60px 0;
    padding-bottom: 2px;
    text-align: center;
    font-size: 70px;
    font-weight: 700;
}

h2{
    color: white;
    margin-bottom: 1em;
    padding-top: 5px;
    padding-bottom: 5px;
    text-align: left;
    font-size: 30px;
    font-weight: 700;
}

h3{
    color: black;
    margin-bottom: 1em;
    padding-top: 5px;
    padding-bottom: 5px;
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    width: 100%;
}

p{
    font-family:"Roboto", sans-serif;
    font-size: 20px;
    padding-bottom: 0.5em;
    max-width: 35em;
    margin-bottom: 1em;
    text-align: left;
}

img {
    max-width: 100%;
    height: auto;
}

article {
    padding: 5px;
    width: 100%;
    display: inline;
    float: left;
}

article>*:not(h2) {
    text-align: center;
}

#contenedorimagenes {
    text-align: center;
    width: 100%;
    margin-bottom: 1em;
}

#imagendescarga {
    width: 180px;
    display: inline-block;
    margin-left: 15px;
    margin-right: 15px;
}


#contenedor {
    margin: auto;
    min-height: 100vh;
}

header {
    background-color: #0097d1;
    padding: 1em;
    text-align: center;
    border-bottom: 3px solid #FFFFFF;
}

footer {
    background-color: #0097d1;
    text-align: center;
    padding-top: 20px;
}

#redes{
    height: 40px;
    float: left;
    padding-right: 15px;
    cursor: pointer;
}

#logo {    
    width: 208px;
    height: 90px;
    display: inline-block;
    padding: 0.3em;
    margin: 10px;
}

nav {
    margin-top: 1em;
}

nav ul {
    margin: 0;
}

nav ul li {
    margin: 5px;
}

nav ul li a {
    background-color: #0097d1;
    color: white;
    text-align: center;
    font-size: 25px;
    padding: 10px 0;
}

nav ul li a:hover {
    color: #f1931d;
}

main{
    padding: 0 3em;
    padding-bottom: 2em;
}

article {
    margin: 1em 1em;
    padding: 30px;
    background-color: #d9187c;
    border: 3px solid ;
    border-radius: 25px;
}


footer p {
    color: white;
    padding-left: 3em;
    padding-right: 3em;
    text-align: center;
    font-size: 14px;
    float: left;
    width: 90%
}

#video {
    text-align: center;
    margin: auto;
    margin-bottom: 1em;
}

#video iframe{
    width: 100%;
    height: 100%;
}

#contenedor {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

header,
footer {
    -webkit-box-flex: 0;
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
}

.contenidos {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

@media screen and (min-width:65em) {
    nav ul {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
    }
    nav ul li {
        -webkit-box-flex: 1;
        -webkit-flex: 1;
        -ms-flex: 1;
        flex: 1;
    }
    article {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-align: start;
        -webkit-align-items: flex-start;
        -ms-flex-align: start;
        align-items: flex-start;
    }
    article>h2 {
        width: 100%;
    }
    article>*:not(h2) {
        text-align: left;
    }
    article>video {
        max-width: 25%;
        margin: 0 1em 0.5em 0;
    }
    article>p {
        max-width: 100%;
    }
    footer>p {
        max-width: 100%;
    }
   
}


@media screen and (min-width:80em) {
    header {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
    }
    nav {
        margin: 0;
        -webkit-flex-basis: calc( 100% - 8em);
        -ms-flex-preferred-size: calc( 100% - 8em);
        flex-basis: calc( 100% - 8em);
    }
    article {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-align: start;
        -webkit-align-items: flex-start;
        -ms-flex-align: start;
        align-items: flex-start;
    }
    article>h2 {
        width: 100%;
    }
    article>*:not(h2) {
        text-align: left;
    }
    article>figure {
        max-width: 25%;
        margin: 0 1em 0.5em 0;
    }
    article>p {
        max-width: 100%;
    }
    footer>p {
        max-width: 100%;
    }
}


@media screen and (min-width:70em) {
    main {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -webkit-flex-direction: row;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-align: baseline;
        -webkit-align-items: baseline;
        -ms-flex-align: baseline;
        align-items: baseline;
        -webkit-box-flex: 1;
        -webkit-flex: 1;
        -ms-flex: 1;
        flex: 1;
    }
article {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-align: start;
        -webkit-align-items: flex-start;
        -ms-flex-align: start;
        align-items: flex-start;
    }
    article>h2 {
        width: 100%;
    }
    article>*:not(h2) {
        text-align: left;
    }
    article>figure {
        max-width: 25%;
        margin: 0 1em 0.5em 0;
    }
    article>p {
        max-width: 100%;
    }
     footer>p {
        max-width: 100%;
    }
}


@media screen and (min-width:70em) {
    .contenidos {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -webkit-flex-direction: row;
        -ms-flex-direction: row;
        flex-direction: row;
    }
}