@font-face {
    font-family: 'LATO';
    src: url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap') format('woff2');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: lato;
}

header {
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/*Video de fondo*/
.video-1 {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
}

.video-1 video {
    z-index: 1;
    width: 100%;
    object-fit: cover;
    position: absolute;
}

.head {
    background: rgba(228, 228, 228, 0);
    z-index: 999;
    position: relative;
}

.head-1 {
    display: flex;
    justify-content: center;
}

.nav {
    position: absolute;
    z-index: 999;

}

.nav-2 {
    position: absolute;
    display: none;
    opacity: 0;
}

.logo {
    max-width: 13rem;
}



.nav-list {
    display: flex;
    list-style-type: none;
    gap: 6rem;
    align-items: center;
    justify-content: center;
}



.nav-list-2 {
    display: flex;
    list-style-type: none;
    gap: 2rem;
    margin-top: 2rem;
    align-items: center;
    justify-content: center;
}

.nav-list li a {
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-size: 2rem;
}

.abrir-menu {
    display: none;
}


.cerrar-menu {
    display: none;
}

.abrir-menu {
    padding: 1rem;
    border-radius: 1rem;
    border: none;
    background: rgba(255, 255, 255, 0);
    color: rgb(255, 255, 255);
}

.cerrar-menu {
    padding: 1rem;
    border-radius: 1rem;
    border: none;
    background: rgba(255, 255, 255, 0);
    ;
}

.cerrar-menu img,
.cerrar-menu img {
    width: 2rem;
}

.btn-img {
    z-index: 999;
    width: 2rem;
}

/*Logo centrado*/
/*header .fav{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50vh;
    z-index: 998;
  }*/

header .fav {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50vh;
    z-index: 998;
    font-size: 2rem;
    text-align: center;
    width: 100%;
    color: white;
    font-weight: 300;
}

.logo-res {
    width: clamp(10rem, 3vw, 15rem);
    position: relative;
    display: none;
}

.equ {
    z-index: 999;
    display: flex;
    padding: 1rem;
    align-items: center;
    justify-content: space-between;
}


.whats img{
    background-color: rgb(255, 255, 255);
    border-radius: 50%;
    max-width: 4rem;
    bottom: 0;
    right: 0;
    margin: 2.5rem;
    position: fixed;
    z-index: 900;
    animation: anima 1s ease-in-out infinite forwards;    
}

@keyframes anima {
    0%{
        scale: 1;
    }

    50%{
        scale: 1.05;
    }

    100%{
        scale: 1;
    }
}
/*Card Principal*/

.tit {
    text-align: center;
    margin: 8rem 1rem 0;
}

.tit h1 {
    font-weight: 900;
    color: rgb(0, 0, 128);
    font-size: clamp(2.4rem, 4vw, 4rem);
}

.tit small {
    color: green;
    font-size: clamp(1rem, 3vw, 1.5rem);
}

.prin {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: 1fr;
    margin: 4rem 1rem 1rem;
    gap: 2rem;
}

.prin-1,
.prin-2 {
    border-radius: 1rem;
    position: relative;
    background: rgb(0, 0, 128);
}

.ima {
    height: 30vh;
    background: url(../fotos/mostrador.JPG);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 1rem;
}

.ima-2 {
    height: 30vh;
    background: url(../fotos/sistema-rie.JPG);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 1rem;
}

.prin-1 h1,
.prin-2 h1 {
    font-weight: 900;
    letter-spacing: -1px;
    text-align: center;
    padding: 1rem;
    font-size: clamp(2rem, 4vw, 3rem);
    color: white;
}

.prin-1 p,
.prin-2 p {
    text-align: center;
    padding: 1rem 1rem 3rem;
    color: white;
    font-size: clamp(1rem, 3vw, 1.5rem);
}

/*Cards Servicios*/
.general {
    position: relative;
    margin: 10rem 0rem;
}


.equip {
    padding-left: 2rem;
}

.equip h1 {
    font-size: clamp(4rem, 6vw, 6rem);
    color: rgb(0, 0, 128);
}

.equip small {
    font-size: clamp(1.5rem, 2rem, 3rem);
    color: green;
    font-weight: 600;
}


.container {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 20rem;
    grid-template-rows: 32.5rem;
    gap: 1.5rem;
    margin: 1rem 0px 1rem 0px;
    padding: 2rem 0px 1rem 5.2rem;
    overflow-x: auto;
    overscroll-behavior-x: center;
    scroll-padding: 1rem;
}

.snaps-inline {
    /*
  scroll-snap-type: inline proximity;*/
    scrollbar-width: none;
}

.snaps-inline>* {
    scroll-snap-align: center;
}

.leftArrow {
    width: 70px;
    height: 70px;
    border-radius: 40%;
    border: none;
    background: rgba(145, 143, 143, 0.308);
    position: absolute;
    top: 55%;
    z-index: 1;
    left: 30px;
    font-size: 25px;
    color: white;
    transition: .2s;
    display: none;
}

.leftArrow:hover,
.rightArrow:hover {
    scale: 1.04;
    background: rgba(145, 143, 143, 0.575);
    ;
}

.rightArrow {
    width: 70px;
    height: 70px;
    display: none;
    border-radius: 40%;
    background: rgba(145, 143, 143, 0.329);
    position: absolute;
    border: none;
    top: 55%;
    z-index: 1;
    right: 30px;
    font-size: 25px;
    color: white;
    transition: .2s;
}

.card,
.card1,
.card2,
.card3,
.card4,
.card5 {
    border-radius: 1.5rem;
    box-shadow: 0 4px 6px 0 rgb(0, 0, 128);
}


.card {
    background: url(../img/agroquimiicos-todos.JPG);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    text-decoration: none;
    position: relative;
}


.card h2 {
    font-size: clamp(3rem, 4vw, 4.5rem);
    text-decoration: none;
    position: relative;
    top: 50%;
    color: white;
    padding: 0rem 1rem 0;
}

.card p {
    font-size: clamp(1.2rem, 1.5vw, 3rem);
    position: relative;
    top: 50%;
    color: white;
    padding: 0rem 1.4rem;
}

.card1 {
    background: url(../img/RAFIA2.png);
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
    text-decoration: none;
    position: relative;
}


.card1 h2 {
    font-size: clamp(3rem, 5vw + 1rem, 4.5rem);
    padding: .5rem 1rem;
    color: rgb(0, 0, 128);
    text-align: center;
}

.card1 p {
    text-align: center;
    padding: 0 1.5rem;
    color: rgb(0, 0, 128);
    font-size: clamp(1.2rem, 1.5vw, 3rem);
}

.card2 {
    background: url(../fotos/sistema.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    text-decoration: none;
}

.card2 h3 {
    color: white;
    font-size: clamp(3rem, 5vw + 1rem, 5rem);
    position: relative;
    top: 10%;
    padding: 1rem;
}

.card2 p {
    color: white;
    font-size: clamp(1.2rem, 1.5vw, 3rem);
    position: relative;
    top: 10%;
    padding: 0rem 1rem;
}

.card3 {
    background: url(../img/dron2.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    text-decoration: none;
}

.card3 h4 {
    font-size: clamp(3rem, 5vw + 1rem, 4.5rem);
    padding: .5rem 1rem;
    color: rgb(0, 0, 128);
    text-align: center;
}

.card3 p {
    text-align: center;
    padding: 0 1.5rem;
    color: rgb(0, 0, 128);
    font-size: clamp(1.2rem, 1.5vw, 3rem);
}

.card4 {
    background: url(../img/ases.png);
    background-position: center;
    background-repeat: no-repeat;
    text-decoration: none;
    background-size: cover;
}

.card4 h5 {
    font-size: clamp(3rem, 5vw + 1rem, 4.5rem);
    color: rgb(255, 255, 255);
    position: relative;
    top: 55%;
    text-align: center;
    transform: translateY(-50%);
    padding: 1rem 1rem 0;
}

.card4 p {
    position: relative;
    top: 55%;
    transform: translateY(-50%);
    color: white;
    text-align: center;
    padding: 1rem;
    font-size: clamp(1.2rem, 1.5vw, 3rem);
}

.card5 {
    background: linear-gradient(rgba(16, 16, 16, 0), rgba(0, 0, 128, 0.39)), url(../img/maiz1.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    text-decoration: none;
    position: relative;
}


.card5 h2 {
    font-size: clamp(3rem, 4vw, 4.5rem);
    text-decoration: none;
    position: relative;
    top: 60%;
    color: white;
    padding: 0rem 1rem 0;
}

.card5 p {
    font-size: clamp(1.2rem, 1.5vw, 3rem);
    position: relative;
    top: 60%;
    color: white;
    padding: 0rem 1.4rem;
}

/*Mapa*/
.mapa {
    width: 100%;
    background: rgb(255, 255, 255);
    margin: 3rem 0px 3rem;
}

.mapa h1 {
    text-align: center;
    padding: .5rem 2rem;
    font-size: clamp(4rem, 7vw, 8rem);
    color: rgb(0, 0, 128);
    border: 2px solid rgb(255, 255, 255);
}

.mapa p {
    text-align: center;
    font-size: clamp(1.5rem, 2vw, 3rem);
    padding-bottom: 22rem;
    padding: 1rem;
    letter-spacing: 5px;
}

.mapadiv {
    width: 82%;
    position: relative;
    top: 2rem;
    left: 10%;
    transition: transform .2s;
}

.mapadiv path {
    stroke: #000000;
    stroke-width: 4px;
}

.mapadiv .ags {
    fill: rgb(0, 0, 128);
}

.mapadiv .siu {
    fill: rgba(18, 119, 14, 0);
}

.mapadiv a :hover {
    fill: rgb(6, 6, 170);
    cursor: default;
}

footer {
    background: rgb(0, 0, 128);
    height: auto;
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
    padding-top: 40px;
    color: white;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.footer-content h3 {
    font-size: 45px;
    font-weight: 400;
    text-transform: capitalize;
    line-height: 3rem;
}


.footer-content p {
    max-width: 500px;
    margin: 10px auto;
    line-height: 28px;
    font-size: 18px;
}

.socials {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0 3rem 0;
    font-size: 18px;
}

.socials li {
    margin: 0 40px;
}

.socials a {
    text-decoration: none;
    color: white;
}

.footer-bottom {
    background: rgb(2, 2, 79);
    width: 100%;
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    word-spacing: 2px;
    text-transform: capitalize;
}


.socials a {
    text-decoration: none;
}

/*Responsive dos cards*/
@media screen and (width >=650px) and (width <=1800px) {
    .prin {
        grid-template-columns: repeat(2, 1fr);
    }

}


/*Responsive 4 cards*/
@media screen and (width >=1061px) {
    .prin {
        margin: 4rem 5rem 3rem;
        grid-template-columns: repeat(2, 1fr)
    }

    .ima,
    .ima-2 {
        height: 50vh;
    }
}

/*Responsive Cards Servicios*/
@media screen and (min-width:992px) {


    .general h1 {
        color: rgb(0, 0, 128);
        padding: 0 0 0 4rem;
    }

    .general small {
        padding: 0 0 0 4rem;
        margin: 0 0 0 0;
    }

    .container {
        grid-auto-columns: 30rem;
        grid-template-rows: 40rem;
        margin: 0;
        padding-right: 2rem;
    }

    .card,
    .card1,
    .card2,
    .card3,
    .card4,
    .card5 {
        transition: .4s ease-in-out;
    }

    .card:hover,
    .card1:hover,
    .card2:hover,
    .card3:hover,
    .card4:hover,
    .card5:hover {
        transform: scale(1.01);
        box-shadow: 0px 0px 20px rgb(0, 0, 128);
    }

    .leftArrow,
    .rightArrow {
        display: block;
    }

}


/*Responsive Menu*/
@media screen and (width <=1061px) {


    .logo-res {
        display: block;
    }

    .intro-p {
        line-height: 2.3rem;
    }

    .abrir-menu,
    .cerrar-menu {
        display: block;
    }

    .abrir-menu {
        position: relative;

    }

    .nav {
        opacity: 0;
        visibility: hidden;
        display: none;
    }

    .nav-2 {
        display: none;
        opacity: 0;
        display: flex;
        flex-direction: column;
        align-items: end;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        padding: 1.6rem 2rem;
        box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .2);
        z-index: 999;
        background: rgb(255, 255, 255);
        height: 100vh;
        visibility: hidden;
    }

    .logo {
        position: relative;
        left: -3rem;
        display: none;
    }

    .nav-2.visible {
        opacity: 20;
        visibility: visible;
        background: rgb(0, 0, 128);
        height: 100vh;
        z-index: 1;
    }

    .nav-list-2 {
        flex-direction: column;
        align-items: end;
        gap: 10px;
        position: relative;
    }

    .nav-list-2 li a {
        color: white;
        text-decoration: none;
        font-size: 2rem;
    }

    .mapadiv {
        width: 100%;
        left: -10px;
    }
}





.pie-pagina {
    margin-top: 10rem;
    width: 100%;
    background: rgb(0, 0, 128);
}

.pie-pagina .grupo-1 {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 50px;
    padding: 45px 0px;
}

.pie-pagina .grupo-1 .box figure {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pie-pagina .grupo-1 .box figure img {
    width: 250px;
}

.pie-pagina .grupo-1 .box h2 {
    color: white;
    margin-bottom: 25px;
    font-size: 2.5rem;
}

.pie-pagina .grupo-1 .box p {
    color: white;
    margin-bottom: .8rem;
}


.pie-pagina .grupo-1 .red-social {
    display: flex;
    flex-direction: column;
}

.pie-pagina .grupo-1 .red-social a {
    text-decoration: none;
    color: white;
    margin-left: 0;
}

.pie-pagina .grupo-2 {
    background: rgb(1, 1, 59);
    padding: 1rem .7rem;
    text-align: center;
    color: white;
}

.pie-pagina .grupo-2 small {
    font-size: 1rem;
}

@media screen and (max-width:800px) {
    .pie-pagina .grupo-1 {
        grid-template-columns: 1fr;
    }

}
