@charset "utf-8";

/*reglas generales*/

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

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

header {
    background-color: rgba(65, 114, 34, 0.79);
    align-content: flex-end;

}


/*primera parte para el celular - mobile first*/

#imagen{display: flex;
    justify-content: center; }

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

}

header {
    background-color: #669051;
    background-position: center;

}

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:flex;
  
    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;
    
}


.encabezado {
    background-image: url(../imagenes/cauceviejo.jpg);
    background-repeat: no-repeat;
    background-position: bottom;
    padding: 4em;
    max-width: 60em;
    max-height: auto;
    margin: auto;


}

.encabezado p {
    font-size: 1em;
    text-align: center;
    justify-content: center;
    color: white;


}

h1 {
    color: white;
    font-family: sans-serif;
    font-weight: 800;
    text-align: center;


}

.encabezado nav {
    text-align: center;
    background-color: #d48e1e;
    padding-bottom: 1em;
    padding-top: 1em;
    margin-left: 4em;
    margin-right: 4em;
    max-width: 15em;
    border-radius: 1em;

}

.encabezado a {
    color: white;
    font-family: sans-serif;

}

body {
    background-color: #d6ef94;
}

h2 {
    text-align: center;
    color: #134d18;
    ;
    font-size: 1.4em;
    font-family: sans-serif;

    margin-top: 2em;

}

.visita {
    font-size: 1em;
    margin-bottom: 1em;
    margin-top: 1.5em;

    margin-right: 2em;
    margin-left: 2em;
    margin-bottom: 0em;
}
p {
    color: #134d18;
    display: flex;
    font-family: sans-serif;
    font-size: 1em;
    margin-bottom: 1em;
    margin-top: 1.5em;
}

#inicio {
    margin-right: 2em;
    margin-left: 2em;
    margin-bottom: 0em;
}


.material-icons {
    color: #134d18;
    margin-left: 1.1em;
    margin-bottom: 1em;

}

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

    .encabezado nav {
        margin: auto;
        margin-top: 1em;
         }
    
    .encabezado p { margin-left: 6em;
        margin-right: 6em;
        font-size: 1.2em;
        padding-top: 0em;
        margin-top: 0em;
    
    }
    
    h1 {
        font-size: 2.3em;
        margin-bottom: 0.5em
    }

    .encabezado {
    padding: 7em;
 }
    
    main div p { max-width: 50em;
    margin: auto;
    margin-top: 2em;
    }
    
    .material-icons { margin-left: 15em;
        margin-top: 1em;
    }
    
    body { display: flex;
    flex-direction: column;
        min-height: 100vh;
        justify-content: space-between;
    }
    
    main { flex-grow: 1}
    footer p { max-width: 70em;
    margin: auto;
    
    }
        
    