html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}
body {
    background: linear-gradient(
        10deg,
        rgb(6, 157, 69) 50%,
        rgb(10, 110, 52) 50%
      );;
}
.header {
    width: 100%;
    height: 150px;
    background: linear-gradient(
        45deg,
        rgba(0, 128, 54, 1) 12%,
        rgba(4, 73, 33, 1) 84%
      ); 
    transform: translateY(-147px);  
    transition: transform .4s;
    transition-delay: .5s;
}
.header-visible {
    width: 100%;
    height: 150px;
    background: linear-gradient(
        45deg,
        rgba(0, 128, 54, 1) 12%,
        rgba(4, 73, 33, 1) 84%
      ); 
    transform: translateY(0px);


}
/* .header:hover {
    transform: translateY(0px);
} */

.imagen-logo {
    width: 140px;
    float: left;
    padding: 10px;
    margin-left:50px;
}


.nav-botonera {
    float: right;
    display: flex;
    width: 300px;
    height: auto;
    position: relative;
    top: 45px;
}

.botonera {
    display: inline-flex;
    list-style: none;
    margin-left: -100px;
}

.botonera li {
    margin: 15px;
    font-size: 28px;
    box-shadow: none;
    color: #8dce3e;
    font-family: 'Bebas Neue', cursive;
    position: relative;
}
.botonera li::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 4px;
    top: 90%;
    left: 0px;
    background-color: #9ee34a;
    opacity: 0;
    transition: opacity, transform .3s ease-in-out;
    transform-origin: right;
    transform: scaleX(0);
}

.botonera li:hover::after {
    opacity: .9;
    transform-origin: left;
    transform: scaleX(1);
}

a {
    text-decoration: none;
}

.article1 {
    width: 100%;
    height: 760px;
    background: linear-gradient(
        45deg,
        rgba(0, 0, 0, 0.75) 12%,
        rgba(0, 0, 0, 0.75) 84%
      ), url(background.jpg) no-repeat bottom center ; 
    background-size: cover;
    z-index: 10;
    
}

.button {
    display: flex;
    justify-content: center;
    height: auto;
    width: auto;
    position: relative;
    top: 35px;
    transform: translateY(246px) scale(1.1);
    transition: transform 1s;
    
}

.button-visible {
    transform: translateY(0px) scale(1);
}


.button button {
    width: 170px;
    height:80px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    color: white;
    font-family: sans-serif;
    font-size:17px;
    font-weight: bold;
    background-color: #29af2d;
}

.div-article {
    width: auto;
    height: auto;
}
.svg {
    position: relative;
    top: -4px;
    height:auto;
    pointer-events: none;
}

.div-article1 {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.h2-a1 {
    display: block;
    font-size: 90px;
    color: #8DCE3E;
    font-weight: bold;
    font-family: 'Alfa Slab One', cursive;
    font-family: 'Lilita One', cursive;
    position: relative;
    top: 60px;
    opacity: 0;
    transform: translateY(-78px);
    transition: transform,opacity, .4s;
    transition-delay: .4s;
}
.h2-a1-visible {
    opacity: 1;
    transform: translateY(0);
}


.h2-a1::after {
    content: "";
    position: absolute;
    left: 0;
    top: calc(100% - 10px);
    width: 100%;
    height: 4px;
    background-color: rgba(49, 228, 55, 0.55);
    opacity: 0;
    transition: opacity .2s;
}

.h2-a1:hover::after {
    opacity: .8;
}
.p {
    display: flex;
    justify-content: center;
    text-align: center;
    font-size: 28px;
    color: #29af2d;
    line-height: 40px;
    margin-top: 150px;
    font-weight: bold;
    transform: translateY(120px);
    opacity: 0;
    transition: transform, opacity, .3s, .5s;
    transition-delay: .6s;
}
.p-visible {
    transform: translateY(0);
    opacity: 1;
}
.modal-contenedor {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}
.modal--modify{
    opacity: 1;
    pointer-events: unset;
    transition: opacity .3s;
}
.modal-main {
    width: 90%;
    margin: auto;
    max-width: 600px;
    max-height: 90%;
    border-radius: 8px;
    padding: 20px;
    background-color: #fff;
}


.modal-main p {
    font-family: sans-serif;
    text-align: center;
    position: relative;
    top: -80px;
    font-weight: bold;
}
.a-modal {
    color: black;
    background-color: #008036;
    height: 50px;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    color: white;
    font-weight: bold;
    font-family: sans-serif;
    transition: background-color, .2s;
}
.a-modal:hover {
    background-color: #049540;
    color: white;
}

/* article 2 */

.maindiv {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    width: 1300px;
    height: 900px;
    margin-top: -80px;
}

.article2 p {
    color: white;
    margin-top: 5px;
    font-size: 18px;
    font-weight: bold;
    font-family: sans-serif;
}
.article2 {
    width: 100%;
    height: 600px;
    background: url(svgcomida.png);
    background-repeat:no-repeat;
    background-size:cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 70px;
}


.h3 {
    display: flex;
    justify-content: center;
    position: relative;
    top: 60px;
    font-size: 48px;
    font-weight:bold;
    font-family: 'Alfa Slab One', cursive;
    font-family: 'Lilita One', cursive;
    color: #ffffff;
}
a {
    display: flex;
    text-decoration: none;
    color: white;
    gap: 15px;
}

a p {
    position: relative;
    top: 8px;
    left: -3px;
}

.contacto1 a p:hover {
    color: #29af2d;
}
.contacto2 a p:hover {
    color:#29af2d
}
.contacto1 {
    background-color: #29af2d;
    margin-top: 80px;
    width: 15%;
    height: 120px;
    flex-direction: column;
    display: flex;
    align-items: center;
    border: 4px solid #29af2d;
    padding: 10px;
    padding-top: 15px;
    padding-bottom:15px;
    row-gap: 10px;
    border-radius: 20px;
    color: white;
    font: 1.2em sans-serif;
    transition: background-color, color, .5s ;
}

.href {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.contacto2 {
    background-color: #29af2d;
    border-radius: 20px;
    width: 15%;
    height: 120px;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    display: flex;
    gap: 30px;
    border: 4px solid #29af2d;
    padding: 10px;
    color: white;
    font: 1.2em sans-serif;
    transition: background-color, color, .5s ;
}
.contacto1:hover{
    background-color: #fff;
     
}
.contacto1 a:hover {
    color: #29af2d !important;
} 

.contacto2:hover{
    background-color: #fff;
    color: #29af2d;
}
.contacto1 img {
    position:relative;
    left: -8px;
    width: 40px;
}
.contacto2 img {
    position:relative;
    left: -8px;
    width: 40px;
}
.contacto img {
    padding: 10px;
    width: 65px;
    height: auto;
    border: 4px solid #29af2d;
    border-radius: 26px;
}

.contacto-numero-ig {
    height: 20px;
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    top: -200px;

}
.contacto-numero-ig p {
    color:#29af2d;
    position: relative;
    top: 85px;
    line-height: 140px;
    font-size:30px ;
    font-family: sans-serif;
    
}

/* article 3 */

.article3 {
    width: 100%;
    height: 900px;
    background-color: #1c1c1c;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.article3-h3 {
    display: flex;
    justify-content: center;
    position: relative;
    top: 80px;
    color: #29af2d;
    font-family: 'Alfa Slab One', cursive;
    font-family: 'Lilita One', cursive;
    font-size: 70px;
}

.article3-h3::after {
    content: "";
    position: absolute;
    width: 100%;
    top: 100%;
    height: 4px;
    background-color: #29af2d;
    opacity: 0;
    transition: opacity, transform .2s ease-in-out;
    transform-origin: right;
    transform: scaleX(0);
}

.article3-h3:hover::after {
    opacity: 1;
    transform-origin: left;
    transform: scaleX(1);
}


.article3-div {
    width: auto;
    height: auto;
    display: flex;
    gap: 480px;
    justify-content: space-around;
    position: relative;
    top:150px
    
}

.article3-div img {
    width: 450px;
    height: 350px;
    border: 4px solid #008036;
    border-radius: 20px;
    transition: transform .7s;
    opacity: 0;
    transform: scale(0.7);
    transform: translateY(-40px);
    transition: .7s ease-in-out all;
}
.article3-div img:hover {
    transform: scale(1.05);
}
.article3-div img.visible {
    opacity: 1;
    transform: scale(1) translateY(0) translateX(0);   
}

.article3-div-texto {
    width: 280px;
    height:320px;
    /* border: 3px solid rgb(16, 186, 67); */
    padding: 15px;
    border-radius: 20px;
   /*  background: linear-gradient(
        162deg,
        rgb(107, 187, 42) 12%,
        rgb(87, 200, 67) 84%
      ); */
      background-color: #29AF2D;
      position: relative;
      top: -160px;
      font-family: 'Lilita One', cursive;
}

.article3-div-texto p {
    color: #083408;;
    width: 200px;
    text-align: center;
    hyphens: manual;
    font-size: 24px;
    margin: auto;
    font-weight: bold;
    font-family: sans-serif;
}
/* 
Footer */


.footer{
    width: 100%;
    background-color: #008036;
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer img {
    display: block;
    position: absolute;
    width: 200px;
    left: 35px;
    padding: 15px;
}

.footer h3 {
    font-size: 50px;
    font-family: 'Alfa Slab One', cursive;
    font-family: 'Lilita One', cursive;
    margin-top: 60px;
    color: #29AF2D;
}
.footerp {
    color: #1c1c1c;
    font-family: 'Lilita One', cursive;
    font-size: 18px;
    margin-top: 30px;
    text-align: center;
}
.footer-div {
    width: 100%;
    height: auto;
}
.footer-div img {
    position: absolute;
    left: 87%;
    width:94px;
    margin-top: -95px;
    background-color: #0c9847;
    border-radius: 30px;
    transition: background-color, .2s;
}
.footer-div img:hover {
    background-color: #14b858;
}

.footer-div img:first-child {
    margin-left: 120px;
}

@media (max-width:930px) {
.footer {
    display: none;
}
.modal-contenedor {
    width: 930px;
}
.maindiv {
    width: 930px;
}
.svg {
    top: 20px;
}
.article3-div-texto {
    top: 180px;
}
.article3-div {
    width: 930px;
}
.article3-div img {
    height: 300px;
    width: 300px;
}
.img1 {
    position: relative;
    left: 200px;
}
.img2 {
    position: relative;
    left: -200px;
}
}
@media (max-width:1180px){
    body {
        width: 100%;
    }
    .modal-contenedor {
        width: 87%;
    }
    .maindiv {
        width: 90%;
    }
    .article3-div {
        width: 20px;
        gap: 40px;
    }
}
@media (max-width:1027px){
    .footer {
        display: none;
    }
    .p {
        padding: 30px;
    }
    .article3-div {
        width: 100%;
        gap: 420px;
    }
    .article3-div img {
        width: 290px;
        height: 290px;
    }
    .modal-contenedor {
        width: 100%;
    }
}

@media (max-width:440px){
    .nav-botonera {
        display: none;
    }
    .imagen-logo {
        position: relative;
        left: -30px;
    }
    .h2-a1 {
        font-size: 80px;
    }
    .p {
        font-size: 24px;
        padding: 14px;
        position: relative;
        top: -75px;
    }
    .button {
        position: relative;
        top: -60px;
    }
    .svg {
        display: none;
    }
    .article2 p {
        text-align: center;
        padding: 10px;
        font-weight: bold;
    }
    .article3-div {
        width: 100%;
        display: flex;
        flex-direction: row;
        gap: 0;
        flex-wrap: wrap;
    }
    .article3-div img {
        height: 170px;
        width: 160px;
    }
    .article3-div-texto {
        width: 100%;
        border-radius: 0;
    }
    .img1 {
        position: relative;
        left: 200px;
    }
    .img2 {
        position: relative;
        left: -200px;
    }
    .modal-contenedor {
        width: 80%;
        
    }
    .modal-main {
        width: 80%;
        position: relative;
        top: 0px;
    }
    .img-modal{
        width:100%;
        position: relative;
        top: -30px;
    }
    .maindiv {
        width:100%;
    }
    .contacto1, .contacto2 {
        width: 160px;
    }
}

@media (max-width:390px){
    .p {
        font-size: 18px;
    }
    .article3-h3 {
        background-color: #008036;
        width: 100%;
        color: #19b719;
    }
    .article3-div {
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    .article3-div img {
        position: relative;
        top: 0;
        right: 0;
        bottom: 0;
        left: 100px;
        margin-top: 20px;
    }
    
}