@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;  
}

/*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;
    
}

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


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


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


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


h2 {
    color: black;
    font-family: sans-serif;
    padding-left: 1.5em;
    font-size: 1.2em;
}




.calendar {
    
   	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
	padding: 0.9em 0.9em 0.9em 0.9em;
    align-items: center;
    margin-left: 1em;
   
   
   }


.horarios{
    padding: 1em;
    line-height: 1.6;
    
}

.material-icons{ font-size: 36px; }

.calendar a{
    background-color: #F9B55A;
    padding: 0.4em;
    color: white;
    max-width: 6em;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    
}

.calendar a:hover {
    background-color: #669051;
    color: white;
}




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;
    }
    
  
  
    
    
    
    footer p { 
        max-width: 70em;
        margin: auto;
    
    }

