@import url("normalize.css");
@import 'https://fonts.googleapis.com/css?family=Ubuntu:400,500,700';

* {
    margin: 0;
    padding: 0;
    font-family: 'ubuntu', arial, helvetica, sans-serif;
    list-style: none;
    box-sizing: border-box;
}

body {
    width: 100%;
    height: 100vh;

}

header,
footer {
    padding: .8em;
    background-color: black;
}

header nav ul {
    display: flex;
    flex-direction: column;
    width: 100%;
}

header nav ul li {
    display: flex;
    justify-content: center;
    width: 100%;
    flex:1;
    background-color: rgb(0, 221, 172);
    border-radius: .8em;
    margin: .2em;
    height: 3em;
}

header a {
    text-decoration: none;
    color: white;
}

p {
    margin-top: 1em;
    text-align: left;
    font-weight: 400;
    color: white;
}

footer p {
    color: rgb(0, 221, 172);
    font-size: .75em;
    text-align: justify;
}

.contenedorheader {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .5em;
}

.media {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    }

.cajatexto {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .5em;
}

h1 {
    margin-top: 1em;
    text-align: center;
    font-weight: 400;
    color: rgb(0, 221, 172);
}

iframe {
    margin-top: .5em;
    margin-bottom: 1em;
    width: 90%;
    height: auto;
}

.facebook {
    display: flex;
    align-content: center;
    justify-content: space-between;
    margin-bottom: 1em;
}

figure {
    margin: 0;
    padding: 0;
    width: 100%
}

#portada {
    display: block;
    margin: auto;
    width: 100%;
    max-width: 60em;
}

#descarga {
    margin: auto;
    margin-top: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5em;
    width: 10em;
    height: 10em;
    background-color: rgb(0, 221, 172);
}

/*
----------------------Responsive---------------------------*/


#contenedor {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: rgb(50, 50, 50);
}

header, 
footer {
    flex: 1 0 auto;
}

.contenidos {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1em;
}

@media screen and (min-width:30em) {
    header nav ul {
        flex-direction: row;
    }
}

@media screen and (min-width:40em) {

    .contenedorheader {
        flex-direction: row;
    }
    
    iframe {
        margin-top: 1em;
        width: 50%;
        height: 55vh;
    }
}