@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Indie+Flower&display=swap');
@import 'animate.css';
:root {
    --color-main: #33885E;
    --color-primary: #58DD58;
    --color-extra: #45B0B0;
}
body {
    font-family: 'Nunito' !important;
    padding: 0;
    margin: 0;
}
#loader-home {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
#loader-home svg{
    width: 250px;
    height: auto;
    animation: svghome 1s infinite;
}
@keyframes svghome {
    50% {
        width: 240px;
    }
    100% {
        width: 250px;
    }      
}
#content-page {
    display: none;
}
.item {
    opacity: 0;
    transition: opacity 0.5s linear;
}

.div-home {
    position: relative;
    background-image: url('../images/bakcground-home.png'); /* Ruta de tu imagen de fondo */
    background-size: cover;
    background-position: center start;
}

.div-home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(270.29deg, rgba(0, 0, 0, 0) 0.25%, rgba(0, 0, 0, 0.8) 88.62%),
linear-gradient(0deg, rgba(51, 136, 94, 0.15), rgba(51, 136, 94, 0.15));

    z-index: 0; /* Asegura que la capa negra esté detrás del contenido */
}

.div-home main {
    position: relative; /* Asegura que el contenido de main se posicione correctamente */
    z-index: 1; /* Asegura que el contenido esté por encima de la capa negra */
}
  
.hidden {
  visibility: hidden;
}
.nav-mobile {
    display: none;
}

nav {
    display: flex;
    justify-content: space-between;
    padding: 0px 120px;
    align-items: center;
    height: 72px;
}
nav ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 48px;
    list-style: none;
}
nav ul li a {
    font-size: 16px;
    color: var(--color-main);
    font-weight: 500;
    text-decoration: none;
}
#btn-primary {
    border: none;
    background-color: var(--color-main);
    color: white;
    width: 198px;
    height: 48px;
    padding: 12px 24px 12px 24px;
    border-radius: 42px;
    font-family: 'Nunito' !important;
    font-size: 16px;
    font-weight: 600;
    margin: 3vh 0px;
    animation: btn 1s infinite;
}
#btn-primary:hover {
    cursor: pointer;
    background: #33885ECC;
}
@keyframes btn {
    0% {
        font-weight: 600;
    }
    50%{
        font-weight: 500;
    }
    100%{
        font-weight: 600;
    }
}
header section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 100px;
    padding: 110px;
}
header section main h1 {
    font-size: 75px;
    color: white;
}
header section main h2 {
    font-family: 'Indie Flower';
    color: var(--color-primary);
    font-weight: 600;
    font-size: 85px;
    line-height: 74.8px;
    text-align: left;
}
h1, h2 {
    padding: 0;
    margin: 0;
}
header p {
    width: 530px;
}
header p, header span {
    font-size: 16px;
    line-height: 28px;
    color: white;
} 
header span {
    font-weight: 700;
}
#content-data {
    text-align: center;
}
#content-data h2 {
    font-size: 44px;
    font-weight: 700;
    line-height: 57px;
}
#content-data main {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}
#content-data main article {
    border-radius: 32px;
    box-shadow: 0px 0px 36.16px 0px #45B0B026;
    width: 370px;
    padding: 43px 44px;
}
#content-data main article h4 {
    font-weight: 500;
    font-family: 'Indie Flower';
    font-size: 28px;
    margin: 5px;  
}
#content-data main article p{
    line-height: 24px;
}
#content-data main article p span{
    font-weight: 600;
}
#main-text h4 {
    font-size: 14px;
    line-height: 21px;
    text-transform: uppercase;
    font-weight: 400;
    font-family: 'Indie Flower';
    margin: 0;
    margin-bottom: 16px;
}
#main-text h1 {
    font-size: 44px;
    margin-bottom: 24px;
}
#main-text p {
    width: 530px;
    margin: auto;
}
#main-text p, #main-text span {
    font-size: 16px;
    line-height: 26px;
} 
#main-text span {
    font-weight: 700;
}
#main-text p{
    font-weight: 400;
    line-height: 28px;
}

#howdoes_itwork {
    background-color: var(--color-main);
    text-align: center;
    color: white;
}
#howdoes_itwork p {
    width: 800px;
    font-size: 16px;
}
#howdoes_itwork #main-text h1 span {
    font-family: 'Indie Flower';
    color: var(--color-primary);
    font-size: 52px;
}
#howdoes_itwork div {
    display: flex;
    justify-content: center;
    align-items: center;
}
#howdoes_itwork .video_ytb {
    background-color: #696969;
    height: 60vh;
    width: 60vw;
    border-radius: 50px;
    margin-top: 110px;
}
#consumer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 100px;
}
#establishment {
    background-color: var(--color-main);
    color: white;
}
#establishment .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 100px;
}
#establishment button {
    background-color: var(--color-extra);
}
#establishment button:hover {
    background-color: var(--color-extra);
    box-shadow: 0px 2px 13px 0px #D0D9E14D;
}
#establishment div img {
    border-radius: 50px;
}
.img-mobile {
    display: none;
}
#who_are {
    text-align: center;
}
.text-with-svg {
    position: relative;
    display: inline-block;
    font-size: 48px !important;
}
.text-with-svg::before {
    content: '';
    position: absolute;
    left: -253px;
    top: -35px;
    width: 333%;
    height: 369%;
    background: url('data:image/svg+xml;utf8,<svg width="250" height="94" viewBox="0 0 250 94" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1.71098 70.414C24.1338 113.78 239.592 91.4048 248.71 51.1532C263.078 -12.2806 67.0404 -6.5139 39.0989 14.2463C38.064 15.0151 38.2333 16.4355 39.0989 16.13C114.819 -10.589 252.737 6.28824 241.053 51.1532C227.58 85.3306 6.83192 109.781 5.93699 62.725C5.34774 31.742 104.18 2.55907 175.674 11.8627C177.812 11.4782 176.129 9.79712 173.785 9.44062C97.1197 -0.488383 -15.2108 29.0394 1.71098 70.414Z" fill="%2358DD58"/></svg>') no-repeat center center;
    background-size: contain;
    z-index: -1;
}
.container-cards-person {
    display: flex;
    justify-content: center;
    align-items: start;
    gap: 130px;
    margin-top: 70px;
    padding: 0px 140px;
}
.container-cards-person img {
    width: 160px;
}
.container-cards-person article h5 {
    font-size: 14px;
    font-weight: 400;
    line-height: 28px;
    padding: 0;
    margin: 0;
    color: #828282;
}
.container-cards-person article h4{
    font-size: 14px;
    font-weight: 700;
    line-height: 28px;
    padding: 0;
    margin: 5px;
    color: #474747;
}
.container-cards-person article h2{
    font-size: 20px;
    font-weight: 700;
    line-height: 40px;
    padding: 0;
    margin: 15px 0px;
}
#release {
    text-align: center;
}
footer {
    margin: 110px 120px;
    margin-bottom: 0px;
    padding: 10vh;
    background-color: var(--color-main);
    border-radius: 20px;
    color: white;
}
footer .flex {
    display: flex;
    justify-content: space-between;
}
footer .social {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 40px;
}
footer aside {
    display: flex;
    justify-content: start;
    gap: 50px;
}
footer aside ul {
    list-style: none;
    padding: 0;
}
footer aside ul li {
    margin-bottom: 10px;
    line-height: 26px;
    font-weight: 300;
    font-size: 16px;
}
.div-p-center {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px 80px;
}
#main-text .div-p-center p {
    width: auto;
}
.padding-div {
    padding: 110px 120px;
}
.show {
    display: block;
}

/* HTML: <div class="loader"></div> */
.loader {
    width: 60px;
    aspect-ratio: 4;
    background: radial-gradient(circle closest-side,#33885E 90%,#0000) 0/calc(100%/3) 100% space;
    clip-path: inset(0 100% 0 0);
    animation: l1 1s steps(4) infinite;
  }
  @keyframes l1 {to{clip-path: inset(0 -34% 0 0)}}

/*modal*/

 /* Estilos básicos para el modal */
 .modal {
    display: none; /* Oculto por defecto */
    position: fixed; 
    z-index: 1; /* Ubicación encima de otros elementos */
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; /* Activar el scroll si el contenido es grande */
    background-color: rgb(0,0,0); /* Color de fondo */
    background-color: rgba(0,0,0,0.4); /* Fondo negro con opacidad */
}
form button {
    cursor: pointer;
}
/* Contenido del modal */
.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 12px;
    width: 30%;
    text-align: center; 
    padding: 3vh;
}
.modal-content img {
    width: 100%;
}
.modal-info {
    text-align: center;
}
.modal h1 {
    margin-top: 2vh;
    font-size: 18px;
    text-align: center;
}
.modal p {
    color: #54595E99;
    font-family: Nunito;
    font-size: 14px;
    font-weight: 400;
    line-height: 22.71px;
    text-align: center;
}
.modal input {
    border: none;
    font-size: 14px;
    color: #d1d1d195;
    width: 20vw;
    padding: 14px 20px;
    border-radius: 40px;
    border: 1px solid #D1D1D1;
}
.modal button {
    background-color: #33885E;
    color: white;
    font-size: 14px;
    width: 22vw;
    padding: 14px 20px;
    border: none;
    border-radius: 40px;
}

footer ul li a{
    text-decoration: none;
    color: white;
}
/* Botón de cerrar (x) */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
#div-form {
    display: flex;
    justify-content: space-between;
    gap: 100px;
    padding: 110px 120px;
}
#div-form #card {
    width: 588px;
    border-radius: 40px 0px 0px 0px;
}
#release .title {
    display: flex;
    justify-content: center;
    text-align: center;
}
#release .title h1 {
    width: 700px;
}
#release #main-text p {
    width: 650px;
}
#img_by_section {
    width: 50%;
    height: auto;
}
@media only screen and (max-width: 780px) {
    .nav-desktop {
        display: none;
    }
    .nav-mobile {
        background-color: #fff;
        display: block;
        padding: 1vh;
        position: fixed;
        top: 0;
        width: 98%;
        height: 50px;
        z-index: 5; /* Establece el menú por encima del overlay */
    }
    .item {
        opacity: 1;
    }
    #content-data main article {
        width: auto;
        margin-bottom: 5vh;
    }
    #howdoes_itwork .video_ytb {
        margin-top: 20px;
    }
    .nav-mobile div {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 98%;
    }
    .padding-div {
        padding: 64px 20px;
    }
    header {
        margin-top: 50px;
    }
    header section img, #consumer img, #establishment div img {
        width: 100%;
        height: auto;
    }
    header section, #content-data main, #consumer, #establishment .container, .container-cards-person,
    footer aside, footer .flex{
        display: block;
    }
    .container-cards-person article {
        margin-bottom: 5vh;
    }
    .container-cards-person {
        padding: 0;
    }
    #release .title {
        text-align: start;
    }
    #main-text {
        text-align: start;
    }
    #main-text p, header p{
        width: 100%;
        font-size: 14px;
        line-height: 25px;
    }
    #main-text h4 {
        font-size: 12px;
        line-height: 18px;
        margin: 0;
    }
    #main-text h1, #main-text h1 span{
        font-size: 24px !important;
    }
    header section main h1 {
        font-size: 48px;
    }
    header section main h2 {
        font-size: 54px;
        line-height: 54.8px;
    }
    header section main p, header section main span {
        font-size: 14px;
        line-height: 25px;
    }
    #howdoes_itwork {
        text-align: start;
    }
    #howdoes_itwork .video_ytb {
        width: 100vw;
        height: 28vh;
    }
    #content-data h2 {
        font-size: 24px;
        line-height: 34px;
        margin-bottom: 10px;
        text-align: start;
    }
    .img-dtk {
        display: none;
    }
    .img-mobile {
        display: block;
    }
    #btn-primary {
        font-size: 14px;
    }
    .text-with-svg::before {
        left: -25px;
        top: -5px;
        width: 150%;
        height: 150%;
    }
    footer {
        padding: 5vh;
    }
    footer aside ul {
        list-style: none;
        padding: 0;
    }
    footer aside ul li {
        margin-bottom: 0;
        font-size: 14px;
        line-height: 26px;
        font-weight: 300;
    }
    .toggle-menu {
        position: fixed;
        background-color: #fff;
        color: #1D1E1C;
        border-radius: 0px 0px 12px 12px;
    }
    .toggle-menu ul {
        display: block;
        text-align: start;
        padding: 0;
        margin: 0;
    }
    .toggle-menu li {
        padding-left: 15px;
        margin: 20px 0px;
    }
    #menu {
        display: none;
        width: 95vw;
        margin: 0px 1%;
    }
    .show {
        display: block !important;
    }
    .modal-content {
        width: 80%;
        margin: 24% auto;
    }
    .modal-content input {
        width: 70%;
    }
    #div-form {
        display: block;
        margin-top: 10vh;
    }
    #div-form #card {
        width: auto;
    }
    header section {
        padding: 60px 20px;
    }
    .div-home {
        background-size: cover;
        background-position: center center;
    }
    .div-p-center {
        padding: 0;
    }
    footer {
        margin: 20px;
    }
    #div-form {
        padding: 20px;
    }
    nav ul li a {
        font-size: 16px;
    }
    #content-data main article h4 {
        font-size: 20px;
    }
    #content-data main article p {
        font-size: 14px;
    }
    #main-text p, #main-text span {
        font-size: 14px;
    }
    footer aside h5 {
        margin-bottom: 2vh;
        margin-top: 5vh;
    }
    .container-cards-person article h2 {
        margin-bottom: 0px;
    }
    .container-cards-person article h4 {
        margin-top: 0px;
    }
}

.container-cards-person article h2 {
    margin-bottom: 0px;
}

/* Estilos para la capa gris semi-transparente */
#overlay {
    display: none; /* Oculto por defecto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.192); /* Color gris semi-transparente */
    z-index: 2; /* Establece el menú por encima del overlay */
}

@media only screen and (max-width: 1350px) {
    #img_by_section {
        width: 50%;
        height: auto;
    }
    #main-text p {
        width: auto;
    }
    footer aside {
        gap: 50px;
    }
}
