@charset "utf-8";

/*reglas generales*/

* {         margin: 0;
            padding: 0;
            box-sizing: border-box;
}

html {      min-height: -webkit-fill-available;
}

header {    background-color: #699051;
            background-position: center;  
}

body{ 
    background-color: #E2F2B1;
    font-family: sans-serif;
}

/*primera parte para el celular - mobile first*/
#imagen{display: flex;
    justify-content: center; }

.logo{
    max-width: 5em;
    height: auto;
    padding: 0.5em;
}

header nav ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    margin-right: 2em;
    margin-left: 2em;
font-size: 0.8em;
}

header nav ul li {
    display: inline-block;
    margin-top: 1.5em;

}

header nav ul li a {
    color: white;
    align-items: center;
    font-size: 1em;
    font-family: sans-serif;
    text-align: center;
    display: flex;
    justify-content: space-between;
    text-decoration-line: none;
    margin-bottom: 1em;
}

header nav ul li a:hover {
    text-decoration-line: none;
    color: white;
    
}



h1 { 
    font-family: sans-serif;
    margin-top: 1em;
    margin-bottom: 1em;
    color: black;
    height: 1.6em;
    width: 12em;
    border-bottom: 5px solid #F9B55A;
    padding: 0 0 0 0.9em;
    font-size: 1.5em;
}

.informacion {
    display: block;
	height: auto;
    margin: auto;
    padding: 0.3em 0.9em 0.9em 0.9em;
}

.informacion p{
    font-family: sans-serif;
    padding: 0.3em 0.9em 0.9em 0.9em;
	color: black;
}

h2 { color:black;
padding: 0.3em 0.9em 0.9em 0.6em;
margin-top: 1em;
font-size: 1.2em}

.video { 
    position: relative;
    margin: 0 auto;
    height: 0;
    padding-bottom: 56.25%;
    margin: 1em;
}

.video iframe{
    position: absolute;
    height: 100%;
    width: 100%;
}

footer {
    background-color: rgba(65, 114, 34, 0.79);
}

footer p {
    font-size: 0.8em;
    padding: 1em;
    color: white;
    font-family: sans-serif;
    text-align: center;
}

@media screen and (min-width:750px) {

header nav ul {
        min-height: -webkit-fill-available;
        margin: auto;
        max-width: 50em;
        font-size: 1em;
    }
    
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: space-between;
    }
    
main { 
    flex-grow: 1;
    max-width: 50em;
    margin: auto;
    }

