* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box
}

header {
    padding: 2em;
    text-align: center;
    background-size: cover;
    background-position: fixed;
    color: white;
    padding-bottom: 80px;
    margin-top: 80px;
}

header section {
    margin: 0 auto;
    max-width: 640px;
}

header img {
    border-radius: 50%;
    max-width: 150px;
}

article {
    padding: 0 1em;
}

section {
    margin: 1em;
    padding: 1;
}

h1 {
    text-transform: uppercase;
    margin: 1em 0;
}

h3 {
    text-transform: uppercase;
}

h3,
h4 {
    text-align: justify
}

header,
main,
footer {
    margin: 0 auto;
    margin-top: 80px;
}

main {
    max-width: 1140px;
}

main section:not(:last-child) {
    border-bottom: 1px solid #ccc;
}

footer {
    padding: 1em 1.5em;
    background-color: #FA6924;
    text-align: right;
    color: white
}

@media only screen and (max-width: 576px) {

    footer {
        text-align: center;
    }
}

body {
    font-family: "Concert One";
}

.titulo {
    font-size: 70;
    text-align: center;
    color: ghostwhite;
}

.subtitulo {
    text-align: center;
    font-size: 30;
    color: ghostwhite
}

a {
    text-decoration: none;
    color: black;
    font-size: 16px
}

html,
body {
    height: 100%
}

.cajaindex {
    display: flex;
    flex-direction: column;
    background-color: whitesmoke;
    background-image: url(imagenes/granja.jpeg);
    background-size: cover;
    background-repeat: no-repeat;
}


.cajaequipo {
    display: flex;
    flex-direction: column;
    background-color: whitesmoke;
    background-image: url(imagenes/equipo.jpeg);
    background-size: cover;
    background-repeat: no-repeat;
}

.ubicacion {
    width: 100%;
    height: 70%
}

.imagenes {
    display: flex;
    flex-direction: row;
}

.imagenes img {
    width: 40%;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 2%;
    margin-bottom: 2%;
}

.titulosecciones {
    font-size: 40;
    text-align: center;
    padding: 1vh;
}

.cuerposecciones {
    font-size: 20;
    text-align: justify;
    padding: 5
}

.horario {
    text-align: center;
    font-size: 20;
    padding: 2;
    margin-bottom: 5px
}


.cuenta {
    display: flex;
    flex-direction: column;
    background-color: whitesmoke;
    background-image: url(imagenes/bg.jpeg);
    background-size: cover;
    background-repeat: no-repeat;
}



main,
footer {
    margin: 0 auto;
}


.mensaje {
    background-color: #4c7658;
    margin-left: 20%;
    margin-right: 20%
}

.granjero1 {
    text-align: center;
    margin-bottom: 2%;
    margin-top: 1%;
    width: 30%;
    border-radius: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.instagram {
    margin-top: 2%;
    width: 7%;
}

.facebook {
    margin-top: 2%;
    width: 7%;
}

.pad {
    padding: 2%;
    text-align: center
}

.cajaanimales {
    display: flex;
    flex-direction: column;
    background-color: whitesmoke;
    background-image: url(imagenes/animales.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

.centrado {
    text-align: center;
    font-size: 20;
}

.left {
    text-align: left
}

.formulario {
    width: 400px;
    background: #546434;
    padding: 30px;
    margin: auto;
    margin-top: 5%;
    margin-bottom: 5%;
    border-radius: 4px;
    color: white;
    box-shadow: 7px 13px 37px #000;
    box-sizing: border-box
}

.formulario h4 {
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center
}

.cajitas {
    width: 100%;
    background: #24303c;
    padding: 10px;
    border-radius: 2%;
    margin-bottom: 16px;
    border: 1px solid #FA6924;
    font-size: 18px;
    color: white;
}

.formulario p {
    height: 40px;
    text-align: center;
    font-size: 18px;
    line-height: 40px;
}

.formmulario a {
    color: white;
    text-decoration: none;
}

.formmulario a:hover {
    color: white;
    text-decoration: underline;
}

.formulario .botones {
    width: 100%;
    background: #FA6924;
    border: none;
    padding: 12px;
    color: white;
    margin: 16px 0;
    font-size: 16px;
}

.sexo {
    text-align: center
}

.redesociales {
    text-align: center
}

nav {
    background-color:#FA6924;
    height: 80px;
    width: 100%;
    position: fixed;
    z-index: 1;
    margin-top: -80px;
}

.enlace {
    position: absolute;
    padding: 10px 20px;
}

.logo {
    height: 60px
}

nav ul {
    float: right;
    margin-right: 20px
}

nav ul li {
    display: inline-block;
    line-height: 80px;
    margin: 0 5px
}

nav ul li a {
    color: ghostwhite;
    font-size: 20px;
    padding: 7px 10px;
    border-radius: 3px;
    text-transform: uppercase;
}

li a.activa,
li a:hover {
    background-color: darkgreen;
    transition: .6s
}

.checkbox {
    font-size: 28px;
    color: ghostwhite;
    float: right;
    margin-right: 40px;
    margin-top: 25px;
    margin-bottom: 25;
    cursor: pointer;
    display: none
}

#check {
    display: none
}

@media (max-width: 950px) {
    .enlace {
        padding-left: 3px
    }
}

@media (max-width: 850px) {
    .checkbox {
        display: block
    }

    ul {
        position: fixed;
        width: 100%;
        height: 100vh;
        background-color: #FA6924;
        top: 80px;
        left: -110%;
        text-align: center;
        transition: all 1s
    }

    nav ul li {
        display: block;
        margin: 50px 0;
        margin: 10px
    }

    nav ul li a {
        font-size: 20px
    }

    li a:hover,
    li a.active {
        background: none;
        color: darkgreen
    }

    #check:checked ~ ul {
        left: 0
    }
}

.cajainstalaciones {
    display: flex;
    flex-direction: column;
    background-color: whitesmoke;
    background-image: url(imagenes/instalaciones.jpeg);
    background-size: cover;
    background-repeat: no-repeat;
}

.videos {
    margin-bottom: 2%;
    margin-top: 2%;
    margin-left: 10%;
    margin-right: 10%;
    width: 80%;
}

.contenedor-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-auto-rows: 350px;
    padding: 20px;
    grid-gap: 20px
}

.animalesimagen {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.galeriatitulo {
    position: absolute;
    bottom: 0;
    color: white;
    font-size: 25px;
    background: linear-gradient(rgba(255, 255, 255, 0), rgba(0, 0, 0, 1));
    width: 100%;
    padding: 5px
}

.recuadro {
    position: relative
}

@media (min-width:850px) {
    .contenedor-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}
