:root {
  --color-primario: #3A401C;
  --color-negro: black;
  --color-blanco: white;
}

@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter/Inter-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style-type: none;
    font-size: 16px;
}
html{
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;

    scroll-behavior: smooth;
    
}
body{
    font-family: 'Inter';

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    text-rendering: optimizeLegibility;

    font-weight: 400;
    font-size:16px;
    line-height:1.6;
}
h3{
    font-weight: 800;
}

/*PORTADA*/

.portada{
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;

    background-color: var(--color-primario);

    overflow: hidden;
}

.logo-portada{
    width: 100%;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
     overflow:hidden;
}

.logo-portada img{
    height: 300px;
    width: auto;
    max-width: 90%;
    
}

.slogan{
    width: 100%;
    text-align: center;

    font-size: 14px;
    font-weight: 600;

    padding: 1.5px 12px;

    background-color: black;
    color: white;

    transition: opacity .2s ease;
}

.slogan span{
    font-size: 14px;
    font-weight: 600;
    color: #5B6527;
}

/*SOBRE NOSOTROS*/

.sobre{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 200px;

    padding: 48px 12px;

    background: white;
}
.sobre-nosotros{
    width: min(100%,800px);

    padding: 12px;
}
.sobre-nosotros h3{
    text-align: center;
    font-size: 32px;

    padding-bottom: 1rem;

    color: var(--color-primario);
}
.sobre-nosotros p{
    width: 100%;

    padding-bottom: 12px;
}

/*SERVICIOS*/


.servicios{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contenedor-servicios{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap:wrap;
}
.servicios-articulos{
    position: relative;
    overflow: hidden;

    flex:1 1 500px;

    display:flex;
    flex-direction:column;
    align-items:center;

    min-height:300px;
    padding:12px;

    color:white;
}
.servicios-articulos::before{
    content:"";
    position:absolute;
    inset:0;

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    transform:scale(1);
    transition:transform .8s ease;

    z-index:0;
}
.servicios-articulos::after{
    content:"";
    position:absolute;
    inset:0;

    background:
        linear-gradient(
            rgba(0,0,0,.75),
            rgba(0,0,0,.35)
        );

    z-index:1;
}
.servicios-articulos > *{
    position:relative;
    z-index:2;
}
.servicios-articulos h3{
    width: 100%;
    font-size: 24px;
    text-align: center;

    padding: 24px 0;
}
.servicios-articulos p{
    max-width: 500px;
    font-weight: 400;
}
.servicios-articulos a{
    padding: 9px 24px;
    margin: 24px 0;

    color: white;
    border: 2px solid white;
    background-color: rgba(0, 0, 0, 0.4);
}
.servicios-articulos a{
    position:relative;
    overflow:hidden;
}
.servicios-articulos a::before{
    content:"";
    position:absolute;
    top:0;
    left:-150%;
    width:100%;
    height:100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.4),
            transparent
        );

    transition:1s;
}

.servicios-articulos a:hover::before{
    left:150%;
}
.agricultura::before{
    background-image:url(imgs/agricultura.jpg);
}

.ganaderia::before{
    background-image:url(imgs/ganaderia.jpg);
}
.servicios-articulos:hover::before{
    transform:scale(1.1);
}
.servicios-articulos:hover::before{
    transform:scale(1.1) translateY(-5px);
}


/*EQUIPO*/

.equipo{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 48px 12px;
    background: #EEF1E6;
}
.equipo h3{
    text-align: center;
    font-size: 32px;

    padding-bottom: 2rem;
}
.contenedor-integrantes{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

    flex-wrap:wrap;
    
}
.contenedor-integrantes article{
    flex:1 1 500px;

    display: flex;
    align-items: stretch;
    justify-content: start;

    min-height: 100px;

    padding: 24px 12px;
    gap: 12px;

    border-bottom: 1px solid gray;

}
.contenedor-foto-perfil{
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
}

.info{
    min-width: 0;
}
.mariano{
    background-image: url(imgs/mariano.jpg);
}
.maite{
    background-image: url(imgs/Maite.jpeg);
}
.contenedor-integrantes article h4{
    font-size: 18px;
}
.contenedor-integrantes article h5{
    font-weight: 400;
    padding-bottom: 6px;
    font-size: 14px;
    font-style: italic;
}
.contenedor-integrantes article h6{
    font-weight: 500;
    padding-bottom: 6px;

    color: rgb(30, 30, 30);
}
@media (max-width: 300px){

    .contenedor-integrantes article{
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

}
/*FOOTER*/

footer{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background-color: var(--color-primario);
    color: white;
}
.contacto{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.contacto > div{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 12px;
}
.contenedor-redes-form{
    width: min(100%, 600px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.contacto h3{
    padding: 48px 0;
    font-size: 32px;
    
    color: white;

}
.redes li{
    padding-bottom: 12px;
}
.redes li a{
    color: white;
    text-decoration: underline;
}
.ok{
    margin-top: 48px;
    background-color: rgb(0, 0, 0);
    color: var(--color-primario);
    font-weight: 600;
    padding: 6px 24px; 
}
form{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;

    padding: 48px 12px;
}
form input, textarea, button{
    width: 100%;
    padding: 6px;
    margin-bottom: 12px;
    border: none;
}
form textarea{
    min-height: 120px;
}
form label{
    color: rgb(171, 171, 171);
    font-weight: 600;
}
form button{
    background-color: #5B6527;
    color: rgb(255, 255, 255);
    cursor: pointer;
    padding: 12px;
}
.marca{

    width: min(100%, 600px);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}
.marca img{
    width: 120px;
}


.flotante{
    position: fixed;
    z-index: 100000;
    bottom: 10px;
    left: 10px;
    
}
.flotante img{
        width: 60px;
        height: 60px;
        border-radius: 50%;
}