@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body{
    background-color: #DEF7E3;    
}
.contenedor{
    margin: 20px;
}
.text-green{
    color: #03B137;
}

.bg-green{
    background-color: #03B137;
    color: #fff;
    margin-left: 1rem;
    margin-right: 1rem;
}
.bg-g{
    background-color: #03B137;
    color: #fff;
}
.bg-danny{
    background-color: #027123;
    color: #03B137;
    font-size: 10px;
    padding: 5px;
}

a{
    text-decoration: none;
    color: #fff;
}
a:hover{
    color: #027123;
}
ul{
    list-style: none;
    padding-left: 0px;
}

.banner{
    width: 95%;
    margin: auto;
    margin-top: 15px;
    border-radius: 30px; 
    height: 500px;
    animation: banner 15s infinite linear alternate;
    background-size: 100% 100%;    
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}


@keyframes banner{
    0%, 25%{
        background-image: url(../img/banner.png);
    }
    25%, 50%{
        background-image: url(../img/banner2.png);
    }
    50%, 75%{
        background-image: url(../img/banner3.png);
    }
    75%, 100%{
        background-image: url(../img/banner4.png);
    }
}
.capa{
    width: 100%;
    height: 100%;
    border-radius: 30px;
    position: absolute;    
    background: rgba(0,0,0,0.6);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;

    box-shadow: 10px 10px 28px -11px rgba(0,0,0,0.81);
    -webkit-box-shadow: 10px 10px 28px -11px rgba(0,0,0,0.81);
    -moz-box-shadow: 10px 10px 28px -11px rgba(0,0,0,0.81);
}

.redondeado{
    border-radius: 20px;
    box-shadow: 10px 10px 28px -11px rgba(0,0,0,0.81);
    -webkit-box-shadow: 10px 10px 28px -11px rgba(0,0,0,0.81);
    -moz-box-shadow: 10px 10px 28px -11px rgba(0,0,0,0.81);
    border: none;
}

.redondeado img {
    border-radius: 19px 18px 0px 0px;
    -webkit-border-radius: 19px 18px 0px 0px;
    -moz-border-radius: 19px 18px 0px 0px;
}

.info {
    z-index: 1;
    width: 100%;
    max-width: 550px;
    margin: auto;
    text-align: center;     
}
.info h1 {
    font-family: 'Lato', sans-serif;
    color: #fff;    
    margin-bottom: 20px;
    letter-spacing: 1px;
}
.info p {
    color: #c7c7c7;
    line-height: 1.7;
    margin-bottom: 30px;
}
.info a {
    color: #fff;
    text-decoration: none;
    background: #03B137;
    padding: 16px 37px;
    display: inline-block;
    border-radius: 50px;
}
/*---------------------------------------*/

.contenedor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 230px);
    gap: 20px;
    justify-content: center;
    margin: 0 auto;
}

.grid-item {
    width: 230px;
    margin-bottom: 20px;
    border-radius: 15px;
    background-color: lightgray;
}
.grid-item:hover{
    filter:opacity(0.6);
}

/*-----------lightbox------------*/

.container-img{
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    transform: translateX(-100%);
    background: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform .4s ease-in;
}
.mover{
    transform: translateX(0);
}
.img-show{
    height: 80%;
    transform: scale(0);
    display: block;
    object-fit: cover;
    transition: transform .2s .4s;
}

.show {
    transform: scale(1);
}

.fa-times-circle{
    position: absolute;
    top: 20px;
    right: 10px;
    cursor: pointer;
}
 @media screen and (max-width: 700px){
     .img-show{
         width: 90%;         
     }
     .fa-times-circle{
         top: 10px;
         font-size: 25px;
     }

     .banner{
        width: 100%;
        height: 300px;
        animation: banner 15s infinite linear alternate;
        background-size: 100% 100%;
        object-fit: cover;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .info h1 {
        font-family: 'Lato', sans-serif;
        color: #fff;    
        margin-bottom: 10px;
    }
    .info p {
        color: #c7c7c7;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    .info a {
        color: #fff;
        text-decoration: none;
        background: #03B137;
        padding: 10px 27px;
        display: inline-block;
        border-radius: 50px;
    }

 }
/*-------------FORMULARIO--------*/
.formulario{
    display: flex;
    width: 100%;
    height: 100vh;
    justify-content: center;
    align-items: center;
}
form{
    display: flex;
    flex-flow: column;
    width: 95%;
    height: 95%;
    padding: 20px;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
}
input, textarea{
    color: #027123;
    border: none;
    resize: none;
    outline: none;
    padding: 20px;     
    width: 80%;
    margin: 20px;
    transition: all 300ms;
    border-bottom: 2px solid #03B137;
    background: none;
    overflow-y: hidden;
}

.menu ul li {
    list-style: none;
    display: inline-block;
    margin: 0 5px;
    position: relative;

}

.menu ul li a {
    text-decoration: none;
    
}

.menu ul li::before {
    content: "";
    height: 3px;
    width: 0%;
    background: #2aa198;
    position: absolute;
    left: 0;
    bottom: -1px;
    transition: 0.4s ease-out;
}

.menu ul li:hover::before {
    width: 100%;
}
.img-form{
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-green a {
    color: #fff;
    text-decoration: none;
    background: #03B137;
    padding: 10px 27px;
    display: inline-block;
    border-radius: 50px;
}