@import url('https://fonts.googleapis.com/css2?family=Dosis:wght@200..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DynaPuff&family=Funnel+Display:wght@300..800&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {
    font-family: "Funnel Display", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    background-color: #ffffff;
    
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
}

/* Estilo scroll*/
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background-color: #21262b;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(145deg, #446859, #35815f);
    border-radius: 4px;
    border: 2px solid transparent;
    background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(145deg, #35815f, #446859);
    border: 2px solid transparent;
    background-clip: content-box;
}

/*Barra de navegación*/
.navbar{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to right,#2e3a46,#446859cb,#358163);
    box-shadow: 0 5px 10px rgba(31, 31, 31, 0.486);
    z-index: 1000;
}
.logo{
    height: 45px;
}
.logo_nombre{
    height: 25px;
    margin-left: 5px;
}
@media screen and (max-width: 500px){
    .logo_nombre{
        display: none;
    }
}

.hero{
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100vh;
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #21262b;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('img/fondo_index.webp');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    filter: blur(17px) brightness(0.5); /* blur + opacidad */
    z-index: 1;
}
.contenido {
    position: relative;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 2;
    color: white;
    text-align: center;
    padding: 2rem;
    font-size: 15pt;
    max-width: 90%;
}
h1{
    font-size: 50pt;
    text-shadow: 0 0 10px #000000,0 0 20px #000000,0 0 40px #000000;
    width: 100%;
    max-width: 100%;
    word-wrap: break-word;
}
.btn-principal{
    padding: 20px;
    border-radius: 100px;
    background-color: #358163;
    color: black;
    font-size: 15pt;
    border: 3px solid black;
    box-shadow: -10px 10px 0 rgba(0, 0, 0, 0.25);
    transition: 0.5s ease;
    text-decoration: none;
    min-width: 200px;
}
.btn-principal:hover{
    background-color: #36a378;
    box-shadow: -10px 10px 0 black;
}
.btnCode{
    padding: 10px;
    font-size: 10pt;
    margin: 0;
    background-color: rgba(37, 37, 37, 0);
    border-color: #2c3238;
    border-width: 2px;
    color: #2c3238;
    border-radius:20px;
    transition: 0.5s ease;
}
.Ingresar{
    padding: 10px;
    font-size: 10pt;
    margin: 0;
    background-color: rgba(37, 37, 37, 0.562);
    border-color: #2c3238;
    border-width: 2px;
    color: white;
    border-radius:20px;
    transition: 0.5s ease;
}
.btnCode:hover,.btnCode:focus,
.Ingresar:hover, .Ingresar:focus{
    box-shadow: -3px 2px 0 black;
    background-color: rgba(37, 37, 37, 0.562);
    border-color: #2c3238;
    color: white;
}

/*------------2da section---------------*/
#como-funciona{
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    height: 100vh;
    position: relative;
    width: 100%;
    overflow: hidden;
}
#como-funciona .comofunciona-content{
    width: 60%;
    height: 100%;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 12pt;
    position: relative;
}
.comofunciona-content img{
    position: absolute;
    top: 15%;
    right: -45%;
    width: 45%;
    background-color: rgb(255, 255, 255);
    border-radius: 30px;
    z-index: 100;
    box-shadow: 20px 20px 0 rgba(0, 0, 0, 0.753);
    border: 3px solid rgb(36, 36, 36);
    transition: all ease 0.8s;
}
.comofunciona-content h2{
    font-size: 40pt;
    color:#3f3450;
}
.comofunciona-content ul{
    list-style: none;
}
.comofunciona-content img:hover{
    box-shadow: 30px 30px 0 rgba(0, 0, 0, 0.486);
    transform: translateX(-5px) scale(1.03);
}
#como-funciona .fondo-comofunciona{
    width: 40%;
    height: 150%;
    background: linear-gradient(to left,#2f253de5,#1a113a);
    transform: rotate(20deg) translateX(50px) scale(1.2);
}
/*--------------3ra seccion-----------------*/
#beneficios{
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    height: 100vh;
    position: relative;
    width: 100%;
    overflow: hidden;
}
#beneficios .beneficios-content{
    width: 60%;
    height: 100%;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
}
.beneficios-content img{
    position: absolute;
    top: 25vh;
    left: -60%;
    width: 70%;
    background-color: rgb(0, 0, 0);
    border-radius: 20px;
    z-index: 100;
    box-shadow: -20px 20px 0 rgba(0, 0, 0, 0.911);
    border: 3px solid rgb(36, 36, 36);
    transition: all ease 0.8s;
}
.beneficios-content h2{
    font-size: 40pt;
    color:#2b694e;
}
.beneficios-content img:hover{
    box-shadow: -30px 30px 0 rgba(0, 0, 0, 0.486);
    transform: translateX(5px) scale(1.03);
}
#beneficios .fondo-beneficios{
    width: 40%;
    height: 150%;
    background: linear-gradient(to right,#6d837aa4,#2b694e);
    transform: rotate(20deg) translateX(-30px) scale(1.3);
}
footer{
    height: max-content;
    background-color: #202020;
    padding: 45px;
    color: white;
    display: flex;
    text-align: left;
    align-items: left;
    justify-content: center;
    flex-direction: column;
}
footer #btnPrivacidad{
    cursor: pointer;
    max-width: max-content;
    text-decoration: underline;
    color:#8776a1;
}
#privacidad{
    text-align: left;
    font-size: 10pt;
    color: #868686;
}

@media screen and (max-width:1300px){
    h1{
        font-size: 40pt;
    }
    /*------------2da section---------------*/
    #como-funciona{
        display:block;
        text-align: center;
        height: max-content;
        position: relative;
        width: 100%;
        overflow: hidden;
    }
    #como-funciona .comofunciona-content{
        width: 100%;
        padding: 100px;
        padding-bottom: 300px;
        font-size: 1.5rem;
    }
    .comofunciona-content img{
        position: relative;
        top: 0;
        right: 0;
        width: 80%;
        margin-top: 25px;
        background-color: rgb(255, 255, 255);
        border-radius: 30px;
        z-index: 100;
        box-shadow: 20px 20px 0 rgba(0, 0, 0, 0.753);
        border: 3px solid rgb(36, 36, 36);
        transition: all ease 0.8s;
    }
    .comofunciona-content h2{
        font-size: 3rem;
        color:#3f3450;
    }
    .comofunciona-content ul{
        padding: 0;
        list-style: none;
    }
    .comofunciona-content img:hover{
        box-shadow: 30px 30px 0 rgba(0, 0, 0, 0.486);
        transform: translateX(-5px) scale(1.03);
    }
    #como-funciona .fondo-comofunciona{
        position: absolute;
        right: -100px;
        bottom: 40px;
        height: 100px;
        width: 150%;
        background: linear-gradient(30deg,#2f253db0,#1a113a);
        transform: rotate(176deg);
    }

    /*------------2da section---------------*/
    #beneficios{
        display:block;
        text-align: center;
        height: max-content;
        position: relative;
        width: 100%;
        overflow: hidden;
    }
    #beneficios .beneficios-content{
        width: 100%;
        padding: 100px;
        padding-bottom: 180px;
        font-size: 1.5rem;
    }
    .beneficios-content img{
        position: relative;
        top: 0;
        left: 0;
        width: 90%;
        margin-top: 50px;
        background-color: rgb(255, 255, 255);
        border-radius: 30px;
        z-index: 100;
        box-shadow: 20px 20px 0 rgba(0, 0, 0, 0.753);
        border: 3px solid rgb(36, 36, 36);
        transition: all ease 0.8s;
    }
    .beneficios-content h2{
        font-size: 3rem;
        color:#2b694e;
    }
    .beneficios-content ul{
        padding: 0;
        list-style: none;
    }
    .beneficios-content img:hover{
        box-shadow: 30px 30px 0 rgba(0, 0, 0, 0.486);
        transform: translateX(-5px) scale(1.03);
    }
    #beneficios.fondo-beneficios{
        display: none;
    }
}
@media screen and (max-width:600px){
    h1{
        font-size: 30pt;
    }
    .contenido {
        font-size: 12pt;
    }
    /*------------2da section---------------*/
    #como-funciona{
        display:block;
        text-align: center;
        height: max-content;
        position: relative;
        width: 100%;
        overflow: hidden;
    }
    #como-funciona .comofunciona-content{
        width: 100%;
        padding: 100px;
        padding-left: 30px;
        padding-right: 30px;
        padding-bottom: 300px;
        font-size: 10pt;
    }
    .comofunciona-content img{
        position: relative;
        top: 0;
        right: 0;
        width: 100%;
        margin-top: 25px;
        background-color: rgb(255, 255, 255);
        border-radius: 30px;
        z-index: 100;
        box-shadow: 20px 20px 0 rgba(0, 0, 0, 0.753);
        border: 3px solid rgb(36, 36, 36);
        transition: all ease 0.8s;
    }
    .comofunciona-content h2{
        font-size: 25pt;
        color:#3f3450;
    }
    .comofunciona-content ul{
        padding: 0;
        list-style: none;
    }
    .comofunciona-content img:hover{
        box-shadow: 30px 30px 0 rgba(0, 0, 0, 0.486);
        transform: translateX(-5px) scale(1.03);
    }
    #como-funciona .fondo-comofunciona{
        position: absolute;
        right: -100px;
        bottom: 40px;
        height: 100px;
        width: 150%;
        background: linear-gradient(30deg,#2f253db0,#1a113a);
        transform: rotate(176deg);
    }

    /*------------2da section---------------*/
    #beneficios{
        display:block;
        text-align: center;
        height: max-content;
        position: relative;
        width: 100%;
        overflow: hidden;
    }
    #beneficios .beneficios-content{
        width: 100%;
        padding: 100px;
        padding-left: 30px;
        padding-right: 30px;
        font-size: 10pt;
    }
    .beneficios-content img{
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        margin-top: 50px;
        background-color: rgb(255, 255, 255);
        border-radius: 30px;
        z-index: 100;
        box-shadow: 20px 20px 0 rgba(0, 0, 0, 0.753);
        border: 3px solid rgb(36, 36, 36);
        transition: all ease 0.8s;
    }
    .beneficios-content h2{
        font-size: 25pt;
        color:#2b694e;
    }
    .beneficios-content ul{
        padding: 0;
        list-style: none;
    }
    .beneficios-content img:hover{
        box-shadow: 30px 30px 0 rgba(0, 0, 0, 0.486);
        transform: translateX(-5px) scale(1.03);
    }
    #beneficios.fondo-beneficios{
        display: none;
    }
}
