:root {
    --fondo: #EDE8E1;
    --primario: #807F7D;
    --claro: #FFFCF9;
    --detalles: #4F0011;
    --secundario: #a1a09d;
    /* --resaltado: #dae396; */
    --resaltado: #e6cf86;
}

html {
    font-size: 62.5%;
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    font-size: 16px;
    font-family: 'Merriweather', serif;
    background-color: var(--fondo);
    line-height: 1.5;
}


/* UTILIDADES */

h1 {
    font-size: 3.8rem;
}

h2 {
    font-size: 2.8rem;
}

h3 {
    font-size: 1.8rem;
    color: var(--detalles);
}

h1,
h2,
h3 {
    text-align: center;
}
p{
    text-align: justify;
}
.bold {
    font-weight: bolder;
}

.borde_derecha {
    border-right: 3px dotted var(--detalles);
}

.borde_inferior {
    border-bottom: 3px dotted var(--detalles);
}

.txt_izq {
    text-align: left;
}

.padding-1rem {
    padding: 1rem 1rem;
}



.bloque {
    display: block;
}


.contenedor {
    max-width: 110rem;
    margin: 0 auto;
}
@media (min-width: 2000px) { 
    .contenedor {
        max-width: 180rem;
        margin: 0 auto;
    }
}
img {
    max-width: 100%;
}


.boton {
    text-decoration: none;
    color: var(--detalles);
    background-color: var(--resaltado);
    padding: 1rem;
    border-radius: .5rem;
    font-weight: bold;
    font-size: 2rem;
    border: none;
    transition: background-color;
}

.boton:hover {
    color: var(--resaltado);
    background-color: var(--detalles);
    transition: .8s;
}

/* ENCABEZADO */

header {
    background-color: var(--primario);
    padding: 1rem 0;
    
}

.nav__logo{
    height: 10rem;
}

.nav__bars{
    /* height: 7rem; */
    margin-top: 3rem;
    width: 9rem;
}

.nav{
    background-color: var(--primario);
    height: 14rem;
    color: #fff;
}

.nav__contenedor{
    display: flex;
    height: 100%;
    width: 90%;
    margin: 0 auto;
    justify-content: space-between;
    align-items: center;
}

.nav__label, .nav__input{
    display: none;
}

.nav__menu{
    display: grid;
    grid-auto-flow: column;
    gap:3rem;
    /* margin-top: 2rem; */
 }

 .nav__item{
    color: #fff;
    text-decoration: none;
}

 .nav__item:hover {
    /* background-color: unset; */
    color: var(--claro);
    text-shadow: 0 0 1.5rem var(--claro);
}
@media (max-width: 800px) {
    .nav{
        height: 8rem;
    }
    .nav__logo{
        height: 7rem;
    }
    .nav__label{
        display: block;
        cursor: pointer;
    }

    .nav__menu{
        position: fixed;
        top: 10rem;
        bottom: auto;
        background-color: var(--secundario);
        width: 100%;
        left: 0;
        display: flex;
        flex-direction: column;
        justify-content:center;
        align-items: center;
        padding-top: 20px;
        clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
        transition: clip-path .3s ease-in-out;
        border: none;
        z-index: 10;
    }

    .nav__input:checked + .nav__menu{
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
   
    .nav__menu_border{
        border-bottom: 1px solid rgba(255,255,255,.5);
        width: 100%;
        height: 1px;
    }
   /*  .nav__item{
        display: block;
    }
    .nav__item:hover{        
            background-color: var(--resaltado);
            color: var(--detalles);        
    } */
    
}

/* TITULO PRINCIPAL */

.titulo {
    background-image: url(../img/head_bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--claro);
    height: 35rem;
    margin-bottom: 3rem;
}


.opaco {
    /* background-color: #000; */
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5));
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.opaco p, h1, h2{
    margin: 0;
}



/* SECCION PRINCIPAL */
.titulo__banner h2{
    margin: 0;
}
.principal {
    display: flex;
    justify-content: center;
    /* align-items: center; */
    gap: 1rem;
    margin-bottom: 2rem;
}

.principal aside{
    flex-basis: calc(5% - 1rem);
    visibility: hidden;
}

.principal__texto {
    flex-basis: calc(95% - 1rem);
    padding: 0 2rem;
}
@media (min-width: 768px) { 
    .principal aside {
        visibility: visible;
        flex-basis: calc(35% - 1rem);
        text-align: center;
        padding: 1rem 2rem 1rem 1rem;
    }

    .principal__texto {
        flex-basis: calc(67% - 1rem);
        padding: 0 2rem;
    }
}




/* FOOTER */
.site-footer {
    background-color: var(--resaltado);
    color: var(--detalles);
    margin: 0;
}

.contenedor-footer {
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;

    /* text-align: center; */
}


@media (min-width: 648px) {
    .contenedor-footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .opaco p, h1, h2{
        margin: 2rem;
    }

    .footer__izq {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__izq img {
        display: block;
        margin: 0 auto;
    }
}



.site-footer p {
    margin: 0;
}

/* VALORES.HTML */
.contenedor__valores {
    padding: 1rem 3rem;
}

@media (min-width: 960px) {
    .contenedor__valores {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.4rem;
    }

}

.secciones img {
    float: left;
    padding: 1rem 1rem 1rem 0;
}

.secciones p::first-letter {
    font-size: 3.5rem;
}

.secciones:last-child>p::first-letter {
    font-size: 1.6rem;
}

.secciones span {
    font-weight: bolder;
    color: var(--detalles);
    text-decoration: underline;
}


/* NOSOTROS */

/* .hernan{
    width: 12rem;
    border: 5px solid var(--detalles);
} */
.nosotros h2,
h3 {
    color: var(--detalles);
}

.nosotros li {
    list-style: none;
}

.nosotros p {
    font-style: italic;
    color: var(--detalles);
    font-weight: bolder;
}
.nosotros__fundador{
    font-size: 1.8rem;
    margin-bottom: 2.4rem;
}
@media (min-width: 300px) { 
    .nosotros__fundador{
        font-size: 2rem;
    }
}
@media (min-width: 600px) { 
    .nosotros__fundador{
        font-size: 2.5rem;       
    }
}

@media (min-width: 768px) { 
    .nosotros__fundador{
        font-size: 3.5rem;       
    }
}

/* PREGUNTAS */

.preguntas h3 {
    text-align: left;
}


/* CONTACTO */


.contacto {
    padding: 1rem 3rem;
}

.contacto p,
h3 {
    margin: 0;
}

.contacto h3 {
    text-align: left;
}


.pic1 {
    visibility: hidden;
}
.contacto__izq{
    height: 4rem;
}
.contacto__titulo2 {
    visibility: visible;
}
.contacto_centro{
    margin-bottom: 3rem;
}

@media (min-width: 768px) { 
    
    .contacto__derecha{
        display: flex;
        justify-content: space-between;
    }
    .contacto__derecha img{
        width: 25rem;
    }
}
@media (min-width: 960px) {
    .contacto__izq{
        height: auto;
    }
    .contacto {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1.4rem;
    }

    .contacto_centro {
        grid-column: 2 / 4;
        padding-right: 1rem;
    }

    .contacto section {
        border-right: 3px dotted var(--detalles);
    }

    .contacto section:last-child {
        border: none;
    }

    .pic1 {
        visibility: visible;
    }

    .contacto__titulo2 {
        visibility: hidden;
    }
    .contacto__derecha{
        flex-direction: column;
        justify-content: unset;
    }
}


/* FORMULARIO */

.contenedor_campos {
    display: flex;
    flex-direction: column;
}

.campo {
    margin-bottom: 1rem;
}

.campo label {
    color: var(--detalles);
    font-weight: bold;
    margin-bottom: .5rem;
    display: block;
}

.campo textarea {
    height: 20rem;
    width: 100%;
    border: 1px solid var(--primario);
    border-radius: .5rem;
}

.input-text {
    width: 100%;
    border: 1px solid var(--primario);
    padding: 1.5rem;
    border-radius: .5rem;
}


.boton__contacto {
    text-decoration: none;
    color: var(--resaltado);
    background-color: var(--detalles);
    padding: 1rem;
    border-radius: .5rem;
    font-weight: bold;
    font-size: 2rem;
    border: 1px solid var(--fondo);
    transition: background-color;
}

.boton__contacto:hover {
    color: var(--detalles);
    background-color: var(--resaltado);
    border: 1px solid var(--detalles);
    transition: .8s;
}