*{
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: AnteCfSerif;
    src: url('../fonts/AnteCfSerif-Regular.otf');
}

@font-face {
    font-family: AnteCfSerifItalic;
    src: url('../fonts/AnteCfSerif-Italic.otf');
}

@font-face {
    font-family: Vogue;
    src: url('../fonts/Vogue.ttf');
}

@font-face {
    font-family: Levenim;
    src: url('../fonts/lvnm.ttf');
}

.navbar{
    background-color: #3C583C;
    min-height: 90px;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.5);
    z-index: 10; 
    position: fixed;
    width: 100%;
    top: 0;
}

.navbar-light .navbar-nav .nav-link{
    font-family: 'AnteCfSerif';
    text-transform: uppercase;
    color: rgba(255,255,255,.8);
    font-size: .8rem;
    font-weight: lighter;
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-collapse {
        justify-content: center;
    }
}

.navbar-collapse.collapsing {
    background-color: #3C583C;
    border-radius: 10px;
  }

.navbar-collapse{
    background-color: #3C583C;
}

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-light .navbar-toggler{
    border-color: rgba(255, 255, 255, .1);
}

.navbar-brand{
    margin-right: 0;
    margin-left: 25px;
}

.active{
    color: rgba(0, 0, 0, .7);;
}



/* ----------------------------- */
.full-landing-image{
    width: 100%;
    height: 80vh;
    background: url('../img/waves2.jpg') no-repeat center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 70px;
}


#cuadro{
    display: flex;
    position: relative;
    width: 100%;
    height: 300px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

#logo{
    position: absolute;
    width: 130px;
    height: 130px;
    background-color: #3C583C;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    display: flex;
    align-items: center;
    box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 2px, rgba(0, 0, 0, 0.07) 0px 2px 4px, rgba(0, 0, 0, 0.07) 0px 4px 8px, rgba(0, 0, 0, 0.07) 0px 8px 16px, rgba(0, 0, 0, 0.07) 0px 16px 32px, rgba(0, 0, 0, 0.07) 0px 32px 64px;

}

#cuadroUno{
    width: 50%;
    background-image: url(../img/aguacates.jpg);
    background-size: cover;
    background-position: center;
}

#cuadroDos{
    width: 50%;
    background-image: url(../img/arbol.jpg);
    background-size: cover;
    background-position: center;
}


/* ----------------------------- */

#about-us{
    background-color: white;
    background-image: url('../img/fondo-der.webp');
    background-position: right;
    background-size: 50%;
    background-repeat: no-repeat;
    padding-bottom: 60px;
}


#about-us .row > div{
    background-color: #3C583C;
    padding-top: 60px;
    padding-left: 20px;
    padding-bottom: 10px;
    color: white;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    margin-left: -15px;
}

#about-us h2{
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-family: 'AnteCfSerif';
}

#about-us h1, #about-us p{
    font-size: 1.1rem;
    text-align: justify;
    font-weight: normal;
    font-family: 'Levenim';
    line-height: 1.3em;
}

#about-us .separator{
    height: 8px;
    width: 65%;
    margin-top: 15px;
    margin-bottom: 25px;
    border-radius: 10px;
    background-color: white;
}

@media (min-width: 768px) {
    #about-us{
        background-size: contain;
        padding-top: 100px;
        padding-bottom: 140px;
    }

    #about-us .row > div{
        padding-top: 80px;
        padding-left: 60px;
        padding-right: 60px;
        padding-bottom: 30px;
        margin-left: 0px;
    }
    
    #about-us h2{
        font-size: 2.5rem;
        margin-bottom: 20px;
        font-family: 'AnteCfSerif';
    }
    
    #about-us h1, #about-us p{
        font-size: 1.1rem;
        text-align: justify;
        font-weight: normal;
        font-family: 'Levenim';
        line-height: 1.3em;
    }
    
    #about-us .separator{
        height: 8px;
        width: 65%;
        margin-top: 15px;
        margin-bottom: 25px;
        border-radius: 10px;
        background-color: white;
    }
}


/* ----------------------------- */

#mission-vision{
    background-color: #D1D6C6;
    padding-top: 50px;
    padding-bottom: 30px;
    font-family: 'Levenim';

}

#mission-vision{

}

#mission-vision .right, #mission-vision .left{
    text-align: center;
    font-size: 1.2rem;
}

#mission-vision .right{
    color: #3C583C;
    margin-top: 20px;
}

#mission-vision .right > div{
    height: 8px;
    background: #3C583C;
    width: 60%;
    margin-left: 20%;
    border-radius: 10px;
}


#mission-vision .center{
    margin: 30px 0px;
    margin-bottom: 60px;
}

#mission-vision h2{
    text-align: center;
    font-weight: bold;
    font-size: 3rem;
    font-family: 'Levenim';
}

#mission-vision .left{
    color: #CD8F3C;
}

#mission-vision .left > div{
    height: 8px;
    background: #CD8F3C;
    width: 60%;
    margin-left: 20%;
    border-radius: 10px;
    margin-top: -40px;
    margin-bottom: 20px;
}

#mission-vision span{
    color: #CD8F3C;
}

/* ----------------------------- */

#photos{
    margin-top: 25px;
    padding-left: 0;
    padding-right: 0;
    margin-left: -15px;
    margin-right: -15px;
    /* overflow-x: hidden; */
}

#photos h2{
    font-family: 'Vogue';
    font-size: 4.5rem;
    margin-bottom: 20px;
}

#photos span{
    color: #3D573D;
}

.marquee-container {
    width: 100%; 
    overflow: hidden;
    white-space: nowrap; 
}

.marquee {
    display: inline-block;
    padding: 10px 0;
    animation: scroll-left 8s linear infinite;
    font-size: 2rem;
    color: #333;
}

@keyframes scroll-left {
    0% {
      transform: translateX(200%);
    }
    100% {
      transform: translateX(-100%);
    }
}    

#photos .row{
    position: relative;
}

#first-photo img, #second-photo img, #third-photo img{
    width: 100%;
}

@media (min-width: 992px) {
    #photos{
        padding-bottom: 60px;
    }

    #photos .row{
        position: relative;
    }

    #first-photo{
        margin-top: 80px;
        background-color: #DADADA;
        height: 80px;
        width: 60%;
        position: absolute;
        right: 0;
    }

    #first-photo img{
        width: 70%;
        position: absolute;
        top: -80px;
        left: 40px;
    }

    #second-photo{
        margin-top: 80px;
        background-color: #D1D6C6;
        height: 300px;
        position: absolute;
        width: 50%;
    }

    #second-photo img{
        width: 85%;
        position: absolute;
        top: -20px;
        left: 7.5%;
    }

    #third-photo{
        margin-top: 140px;
        background-color: #ECECEC;
        height: 160px;
        width: 40%;
        position: absolute;
        right: 0;
        bottom: 0;
    }

    #third-photo img{
        width: 600px;
        position: absolute;
        top: -130px;
        left: -140px;
    }
    
}

/* ----------------------------- */

#contact-us-now{
    background-image: url(../img/contact-us.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
    padding-bottom: 40px;
    padding-top: 80px;
    text-align: center;
}

#contact-us-now div{
    width: 100%;
    justify-content: center;
}

#contact-us-now p{
    color: white;
    line-height: 1em;
    font-size: 3rem;
}

#contact-us-now img{
    width: 80px;
    max-width: 100%;
}

#contact-us-now a{
    text-decoration: none;
}

/* ----------------------------- */

#history-top{
    width: 100%;
    height: 300px;
    background: linear-gradient(to right, #f9f9f9, #f2f2f2, #ebebeb, #e4e4e4, #dddddd);
    padding-left: 0;
    padding-right: 0;
    position: relative;
}

#history{
    overflow-x: hidden;
}

#history-top img{
    position: absolute;
    margin: 0;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
    width: 400px;
    max-width: 100%;
    bottom: -100px;
}

#history h2{
    margin-top: 140px;
    text-align: center;
    text-transform: uppercase;
    color: #3C583C;
    font-size: 2.8rem;
    font-family: 'AnteCfSerif';
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 30px auto;
    padding: 0;
    padding-top: 20px;
    padding-bottom: 50px
  }
  
  .timeline-item {
    position: relative;
    width: 50%;
    padding: 10px 5px;
    box-sizing: border-box;
  }
  
  .timeline-item.left {
    left: 0;
    text-align: right;
  }
  
  .timeline-item.right {
    left: 50%;
    text-align: left;
  }
  
  .timeline-item .content {
    background: #fff;
    padding: 15px;
    border: 2px solid #e2e2e2;
    border-radius: 8px;
    position: relative;
  }
  
  .timeline-item.left .content {
    margin-right: 5px;
  }
  
  .timeline-item.right .content {
    margin-left: 5px;
  }
  
  .timeline-item h3 {
    color: #CD8F3C;
    margin: 0 0 0px;
    text-transform: uppercase;
    font-family: 'AnteCfSerif';
    font-size: 2.1rem;
  }
  
  .timeline-item p {
    color: #333;
    margin: 0;
    font-family: 'Levenim';
  }
  
  .timeline:before {
    content: '';
    position: absolute;
    width: 6px;
    background: #D1D6C6;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }

/* ----------------------------- */

#product{
    background-image: url(../img/product-background.webp);
    background-size: cover;
    background-position: center;
    padding-top: 80px;
    padding-bottom: 60px;
    text-align: center;
}

#product h2{
    background-color: #3C583C;
    color: white;
    font-size: 2.4rem;
    width: auto;
    display: inline-block;
    padding: 20px;
    margin-bottom: 0;
    border-radius: 20px;
    text-transform: uppercase;
    font-family: 'AnteCfSerif';
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;

}

#product img{
    width: 140px;
    margin-top: 40px;
    margin-bottom: 40px;
}

#product-explanation{
    text-align: center;
    border-radius: 20px;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 20px 50px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;

}

#product-explanation h3{
    color: #cd8f3d;
    font-size: 2.4rem;
    margin-bottom: 30px;
}

#product-explanation p{
    color: #296d29;
    font-family: 'Levenim';
    font-size: 1.2rem;
    line-height: 1.3em;

}

#product-explanation span{
    color: #cd8f3d;
}

/* ----------------------------- */
#contact-us{
    padding-top: 70px;
    text-align: center;
    padding-bottom: 100px;
}

#contact-us img{
    margin-bottom: 80px;
    width: 400px;
}

#contact-us h2{
    text-transform: uppercase;
    font-family: 'AnteCfSerif';
    color: #CD8F3C;
    margin-bottom: 20px;
}

#contact-us .btn, .modal-footer .btn{
    background-color: #cd8f3d;
    color: white;
    border-color: #CD8F3C;
}

#contact-us .btn:focus, .modal-footer .btn:focus{
    outline: #cd8f3d;
    box-shadow: unset;
}

#contact-us p{
    margin-bottom: 5px;
}

/* ----------------------------- */
footer{
    background-color: #3C583C;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 10px;
    text-align: center;
}

footer p{
    margin-bottom: 0;
}


/* ----------------------------- */
#whats{
    position: fixed;
    bottom: 5px;
    right: 10px;
}

#whats img{
    width: 50px;
}

/* HTML: <div class="loader"></div> */
.loader {
    height: 15px;
    aspect-ratio: 5;
    -webkit-mask: linear-gradient(90deg,#0000 ,#375135 20% 80%,#0000);
    background: radial-gradient(closest-side at 37.5% 50%,#375135 94%,#0000) 0/calc(80%/3) 100%;
    animation: l48 .75s infinite linear;
  }
  @keyframes l48 {
    100% {background-position: 36.36%}
  }

.hidden{
    display: none;
}

.modal-header, .modal-footer{
    position: relative;
    background: #46523C;
}

.modal-header img{
    width: 75px;
}

.modal-header span{
    color: white;
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 80%;
    }
}

.modal-body ul{
    padding-left: 25px;
}

#loadingContent{
    height: 100vh;
    background-color: white;
    z-index: 999;
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#loadingContent img{
    width: 150px;
}

body{
    overflow: hidden;
}

.image-container {
    position: relative;
    display: inline-block;
}

.image-container img {
    width: 100%;
    height: auto;
    position: relative;
    animation: reveal 2s infinite alternate;
}

@keyframes reveal {
    0% {
        clip-path: inset(0 100% 0 0); /* Oculta todo excepto la izquierda */
    }
    100% {
        clip-path: inset(0 0 0 0); /* Muestra toda la imagen */
    }
}