:root {
    --negro:#2e302e;
    --blanco:#ffffff;
    --verde:#b0c478;
    --gris:#848383;
}

* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    font-size: 62.5%;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
    scroll-behavior: smooth;
}

h1 {
    font-size: 4.6rem;
}

h2 {
    font-size: 3rem;
}
h3{
    font-size: 2.5rem;
}

p,
span,
a,
li {
    font-size: 2rem;
}

section{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100vw;
    padding-top: 20rem;
    text-align: center;
}
/* boton de whatsapp */

/*  whatsap button*/
.whatsapp-button {
    position: fixed;
    width: 6rem;
    height: 6rem;
    bottom: 6rem;
    right: 4rem;
    background-color: var(--verde);
    border-radius: 5rem;
    text-align: center;
    font-size: 3rem;
    z-index: 100;
    box-shadow: 1rem 1rem 2.5rem var(--color-sombra);
}

.whatsapp-button img {
    width: 100%;
    height: 100%;
    padding: 1rem;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100vw;
    height: 10rem;
    box-shadow: .5rem .5rem 1.5rem #cccccc;
}

nav img {
    height: 10rem;
}

.nav-links {
    display: flex;
    gap: 1rem;
}

.nav-link {
    padding: 1rem;
    text-transform: capitalize;
}

.nav-link a {
    color: var(--negro);
    padding: .2rem;
}

.nav-link a:hover {
    border-bottom: .2rem solid var(--verde);
}

.bars {
    display: none;
}

.bar {
    background-color: var(--gris);
    height: .5rem;
    width: 3rem;
    margin: .5rem;
}

@media(max-width:950px) {
    nav {
        height: 8rem;
    }

    nav img {
        height: 8rem;
    }

    .bars {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: -100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100vw;
        padding: 1rem;
        background-color: var(--blanco);
        z-index: 1;
    }
    .nav-links.visible {
        top: 8rem;
        transition: all 1s ease-in-out;
    }
}

/* header */
header {
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 50rem;
    background-image: url('../img/background/fondo-header.webp');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: brightness(.7);
}
header h1,header h2{
    font-size: 6rem;
    font-weight: bold;
    color: var(--blanco); 
    text-shadow: 2px 2px 10px var(--negro);
}
header ul{
    display: flex;
    padding-top: 1rem;
    padding-bottom: 1rem;
    gap: 2rem;
}
header ul li{
    font-size: 3rem;
    color: var(--blanco);
    text-shadow: 2px 2px 10px var(--negro);
}
header a{
    background-color: var(--verde);
    color: var(--blanco);
    margin-top: 1rem;
    padding: 1rem;
    text-transform: capitalize;
    box-shadow: .5rem .5rem 1.5rem var(--negro);
}
header a:hover{
    cursor: pointer;
}
@media(max-width:950px){
    header ul{
        flex-direction: column;
    }
}
/* nosotros */
#nostros{
    height: auto;
}
.contenedor-nosotros{
    width: 70%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.contenedor-nosotros h3,#nosotros h2{
    color: var(--gris);
    text-align: center;
}
#nosotros h2,.contenedor-nosotros h3{
    opacity: 0;
}
#nosotros h2.ver-lista,.contenedor-nosotros h3.ver-lista{
    opacity: 1;
    transition: opacity 1s ease-in;
}
.contenedor-nosotros img{
    width: 40rem;
    transform: translateX(-100px);
    opacity: 0;
}
.contenedor-nosotros-texto ul{
    margin-left: 5rem;
}
.contenedor-nosotros-texto ul li{
    text-align: left;
}
.contenedor-nosotros-texto ul li::before{
    content: '';
    display: block;
    background-image: url('../img/iconos/tilde.webp');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    height: 4rem;
    width: 4rem;
    top: 3rem;
    left: -5rem;
}
.lista-item{
    transform: translateX(100px);
    opacity: 0;
}
.lista-item.ver-lista,.contenedor-nosotros img.ver-lista,#nosotros h2.ver-lista{
    transform: translateX(0);
    opacity: 1;
    transition:all 1s ease-in;
}
@media(max-width:950px){
    #nosotros{
        padding-top: 10rem;
    }
    .contenedor-nosotros{
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    .contenedor-nosotros img{
        width: 30rem;
    }
    .contenedor-nosotros h3{
        font-size: 2.5rem;
        padding: 1rem;
    }
    .contenedor-nosotros-texto ul{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .contenedor-nosotros-texto ul li{
        padding-bottom: 5rem;
    }
}

/* planes */
#planes{
    padding-top: 0;
    position: relative;
    background-image: url('../img/background/stress.webp');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover; 
    background-attachment: fixed;
    height: auto;
    padding: 5rem;
    background-attachment: fixed;
}
.filtro{
    height: 100%;
    width: 100%;
    position: absolute;
    background-color: #e07131a5;
}
 .contenedor-planes{
    z-index: 1;
    display: flex;
    align-items: center;
    flex-direction: column;
    height: 30rem;
    gap: 5rem;
}
.contenedor-planes h2{
    color: var(--blanco);
    transform: translateX(-100px);
    opacity: 1;
}
.contenedor-planes p{
    color: var(--blanco);
    width: 75vw;
    transform: translateX(100px);
    opacity: 0;
}
.contenedor-planes a{
    background-color: var(--verde);
    color: var(--blanco);
    text-transform: uppercase;
    padding: 2rem;
    transform: translateY(100px);
    opacity:0 ;
}
.contenedor-planes h2.mover-planes,.contenedor-planes p.mover-planes,.contenedor-planes a.mover-planes{
    opacity: 1;
    transform: translateY(0);
    transform: translateX(0);
    transition: all 1s ease-in;
}
.contenedor-planes a:hover{
    cursor: pointer;

}
@media(max-width:950px){
    #planes{
        background-attachment: scroll;
    }
    .contenedor-planes{
        height: auto; 
    }
} 

/* beneficios */
#beneficios{
    padding-bottom: 10rem;
    border-bottom: .1rem solid var(--gris);
}
#beneficios h2{
    text-transform: uppercase;
    padding-bottom: 5rem;
    color: var(--gris);
    text-align: center;
}
#beneficios h2::before{
    content: '';
    display: block;
    width:80vw;
    height: .1rem;
    background-color: var(--verde);
    position: relative;
    top: 5rem;
    left: 0;
}

.contenedor-beneficios{
    display: flex;
    align-items: center;   
    justify-content: space-around;
    gap: 2rem; 
    width: 100%;
}
@media(max-width:950px){
    #beneficios{
        padding-top: 10rem;
    }
    .contenedor-beneficios{
        flex-direction: column;
        gap: 5rem;
    }
    #beneficios h2::before{
        width: 90vw;
    }
    .beneficio img{
        width: 10rem;
    }
}
.beneficio{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 50rem;
    opacity: 0;
    transform: translateY(100px);
}
.beneficio p{
    width: 20rem;
}
.beneficio img{
    width: 15rem;
}
.beneficio.verImg{
    transform: translateY(0);
    transition: all 1s ease-in;
    opacity: 1;
}
@media(max-width:950px){
    .beneficio{
        width: 100vw;
    }
}

/* productos */
#productos{
    background-color: #2e302e;
    height: auto;
    padding-top: 0;
    padding-bottom: 15rem;
}
#productos h2{
    color: var(--gris);
    text-transform: uppercase;
}
.tarjeta-productos{
    align-content: center;
    padding-top: 15rem;
    width: 100vw;
    height: auto;
    transform: translateX(-100px);
    opacity: 0;
}
.tarjeta-productos.ver-productos{
    opacity: 1;
    transform: translateX(0);
    transition: all 1s ease-in;
}
.tarjeta-productos h3{
    color: var(--verde);
    text-transform: uppercase;
    padding: 2rem;
}
.tarjeta-productos p{
    margin: 0 auto;
    color:var(--blanco);
    line-height: 3rem;
    width: 40rem;
}

@media(max-width:950px){
    .tarjeta-productos p{
        width: 100%;
        padding: 2rem;
    }
}
/* contacto */
#contacto{
    background-image: url('../img/background/contacto.webp');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 50rem; 
    position: relative;
    padding-top: 0;
}
.filtro-contacto{
    height: 100%;
    width: 100%;
    position: absolute;
    background-color: #0c0c0ca9;
}
.contenido{
    z-index: 1;
}
.contenido h2{
    color: var(--blanco);
    text-transform: uppercase;
}
.contenido p{ 
    color: var(--blanco);
}
form{
    padding-top: 5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
input,textarea{
    font-size: 2rem;
    border: none;
    outline: none;
    padding: 1rem;
}
textarea{
    resize: none;
}
input[type='submit']{
    background-color: var(--verde);
    color: var(--blanco);
    text-transform: uppercase;
}
input[type='submit']:hover{
    cursor: pointer;
    background-color: #b0c478;
}
@media(max-width:950px){
    form{
        align-items: center;
    }
    input,textarea{
        width: 90vw;
    }
}
/* footer */
footer{
    display:flex;
    align-items: center;
    justify-content: space-around;
    height: 10rem;
}
footer p{
    color: var(--gris);
}
footer img{
    height:10rem;
}
@media(max-width:950px){
    footer img{
        height: 8rem;
    }
    footer p{
        font-size: 1.5rem;
    }
}

.modal{
    height:auto;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    top: 0;
}
.revolver{
    height: 5rem;
    width: 5rem;
    border-top: 5px dotted var(--verde) ;
    border-right: 5px dotted var(--verde);
    border-radius: 25rem;
    animation: girar .3s infinite;
}
@keyframes girar{
    0%{transform: rotate(45deg);}
    25%{transform: rotate(90deg);}
    50%{transform: rotate(180deg);}
    75%{transform: rotate(225deg);}
    100%{transform: rotate(320deg);}
}