@import url('https://fonts.googleapis.com/css2?family=Philosopher:ital,wght@0,400;0,700;1,400;1,700&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

html {
    scroll-behavior: smooth;
}
*, *:before, *:after {
    box-sizing: inherit;
}

a {
    text-decoration: none;
    cursor: pointer;
}

:root {
    --title: 3.5rem;
    --subtitle: 2.5rem;
    --parrafos: 1rem;
    --footer: .7rem;
    --color1: #003B4B;
    --color2: #F1EEE7;
    --color3: #185F71;
    --color4: #377F8E;
    --color5: #AFA89E;
    --color6: linear-gradient(180deg, rgba(241, 238, 231, 0.2) 0%, rgba(241, 238, 231,.6) 25%, rgba(241, 238, 231,.6) 50%, rgba(241, 238, 231,.8) 75%, rgba(241, 238, 231,1) 100%);
    --color8: linear-gradient(180deg, rgba(0, 59, 75, 0.2) 0%, rgba(0, 59, 75,.6) 25%, rgba(0, 59, 75,.6) 50%, rgba(0, 59, 75,.8) 75%, rgba(0, 59, 75,1) 100%);
}
.lp1{
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
}
/* Slider Celu Inicio */
.slider {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.contenedor__sliders {
    width: 100%;
    height: auto;
    display: flex;
}

.content_slider {
    width: 100%;
    height: 100vh;
    display: block;
    position: relative;
    flex-shrink: 0;
}

.content_slider h2 {
    max-width: 52%;
    position: absolute;
    font-family: 'Ubuntu';
    font-weight: 600;
    font-size: 2rem;
    line-height: .9em;
    color: var(--color3);
    top: 2%;
    left: 5%;
    z-index: 10;
    text-shadow: 1px 2px 2px var(--color5);
}
.content_slider h2 span{
    width: auto;
    height: auto;
    font-family: 'Philosopher';
    font-size: 3rem;
    position: relative;
    margin: 0 1em 0 0;
}
.content_slider h2 span > p{
    width: auto;
    height: auto;
    font-family: 'Philosopher';
    font-size: 1.5rem;
    position: absolute;
    bottom: .2em;
    right: -1.4em;
}
.degradado{
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    z-index: 5;
    background: var(--color6);
}
#slider1 {
    width: 100%;
    height: 100%;
    background-image: url(../img/casa-tipo2-1.webp);
    background-position: 20% 0;
    background-size: cover;
    background-repeat: no-repeat;
    animation: slider 10s infinite linear;
}

#slider2 {
    width: 100%;
    height: 100%;
    background-image: url(../img/casa-tipo3-4.webp);
    background-position: 20% 0;
    background-size: cover;
    background-repeat: no-repeat;
    animation: slider 10s infinite linear;
    animation-delay: 10s
}

#slider3 {
    width: 100%;
    height: 100%;
    background-image: url(../img/casa-tipo1-5.webp);
    background-position: 20% 0;
    background-size: cover;
    background-repeat: no-repeat;
    animation: slider 10s infinite linear;
    animation-delay: 20s
}
#slider4 {
    width: 100%;
    height: 100%;
    background-image: url(../img/casa-tipo2-1.webp);
    background-position: 20% 0;
    background-size: cover;
    background-repeat: no-repeat;
    animation: slider 10s infinite linear;
    animation-delay: 29s
}
@keyframes slider {
    0% {
        background-position: 20% 0;
    }

    100% {
        background-position: 80% 0;
    }
}
/* Slider Celu Fin */
.over{
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    z-index: 20;
    overflow: hidden;
}
.vacio{
    display: none;
}
.logo{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-content: center;
    position: absolute;
    bottom: calc(100dvh - 95dvh);
}
.logo img{
    width: 13em;
    height: auto;
    margin-bottom: 2em;
}
/* Form Inicio */
.form{
    width: 100vw;
    height: 100%;
    display: flex;
    justify-content: right;
    align-items: center;
    position: fixed;
    top: 0;
    right: calc(100vw - (100vw - -20em));
    transition: all 1s;
    z-index: 30;
}
.contForm{
    width: 18em;
    height: auto;
    background: var(--color1);
    text-align: center;
    border-radius: 1em;
    box-shadow: 1px -3px 19px 2px var(--color1);
    padding: 1em;
    overflow: hidden;
}
.sliderForm{
    width: 100%;
    height: auto;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory ;
    scroll-behavior: smooth;
}
.sliderForm::-webkit-scrollbar{
    display: none;
}
.contForm1{
    width: 100%;
    height: 33em;
    background: var(--color1);
    text-align: center;
    border-radius: 1em;
    font-family: 'Ubuntu';
    flex: 1 0 100%;
    scroll-snap-align: start;
    transition: all 1s;
}
.scrollForm1{
    transform: translateX(-19em);
    transition: all 1s;
}
.contForm1 button{
    width: 10em;
    height: 2em;
    background: var(--color1);
    color: var(--color2);
    transform: rotate(270deg);
    border: 0;
    border-radius: .5em .5em 0 0;
    position: absolute;
    left: calc(100vw - 26.45em);
    top: 50%;
    bottom: 0;
    font-family: 'Ubuntu';
    font-weight: 700;
    font-size: 1em;
}
.active {
    right: 0;
    transition: all 1s;
}
.contForm1 img{
    width: 14em;
    height: auto;
}
.contForm2{
    width: 100%;
    height: 33em;
    font-family: 'Ubuntu';
    font-weight: 700;
    flex: 1 0 100%;
    scroll-snap-align: start;
}
.scrollForm2{
    transform: translateX(-18em);
    transition: all 1s;
}
.contForm2 > p{
    font-size: 1em;
    color: var(--color4);
    margin: 1em 0;
}
.contForm2 img{
    width: 6em;
    transition: all 1s;
    animation: whatsapp 3s ease-in-out infinite;
}
@keyframes whatsapp {
    0%{width: 6em;} 
    50%{width: 8em;}
    100%{width: 6em;}   
}
.thanks{
    width: 100%;
    height: auto;
    margin: 2em 0;
}
.thanks p{
    font-size: 2em;
    color: var(--color2);
}
.thanks span{
    font-size: 1em;
    color: var(--color5);
}
.asesor{
    width: 100%;
    height: auto;
    margin: 5em 0;
}
.asesor p{
    font-size: 2em;
    color: var(--color2);
    margin: .5em 0;
}
.asesor span{
    font-size: 1em;
    color: var(--color4);
}
.invierte{
    width: 100%;
    height: auto;
    margin: .5em 0;
}
.invierte span{
    color: var(--color4);
    font-size: 1em;
    font-weight: 700;
}
.invierte p{
    color: var(--color5);
    font-size: 3em;
    font-weight: 900;
}
.separa{
    width: 100%;
    height: auto;
}
.separa span{
    color: var(--color3);
    font-size: 1em;
    font-weight: 700;
}
.separa p{
    color: var(--color3);
    font-size: 1.5em;
    font-weight: 700;
}
.textForm{
    color: var(--color4);
    font-size: 1em;
    font-weight: 700;
    margin: .5em 0;
}
.contForm form{
    display: flex;
    flex-direction: column;
    gap: .5em;
}
.contForm form input{
    width: 80%;
    height: 3em;
    border: 0;
    border-radius: .5em;
    padding: 0 0 0 .5em;
    font-family: 'Ubuntu';
    font-weight: 700;
    color: var(--color3);
    background: var(--color2);
    border: 1px solid var(--color5);
    margin: auto;
}
.contForm form input::placeholder{
    color: var(--color4);
}
#ver{
    width: 10em;
    height: 3em;
    border: 0;
    border-radius: .5em;
    font-family: 'Ubuntu';
    font-weight: 700;
    color: #c2c2c2;
    background: var(--color3);
    opacity: .5;
}
#ver2{
    width: 10em;
    height: 3em;
    border: 0;
    border-radius: .5em;
    font-family: 'Ubuntu';
    font-weight: 700;
    color: var(--color1);
    background: var(--color2);
    cursor: pointer;
    opacity: 1;
}
/* Form Fin */
@media only screen and (min-width:481px) and (max-width:768px){
    .logo img{
        margin-bottom: .2em;
    }
    /* Form Inicio */
    .form {
        right: calc(100vw - (100vw - -35em));
    }
    .contForm {
        width: 33em;
        max-height: 80vh;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .sliderForm {
        width: 200%;
    }
    .active {
        right: 0;
    }
    .contForm1{
        display: flex;
    }
    .contForm1 button{
        left: 4.9em;
    }
    .thanks {
        margin: 0em 0;
    }
    .asesor {
        margin: 1em 0;
    }
    /* Form Fin */
}
@media only screen and (min-width:769px) and (max-width:1279px) and (orientation: portrait){
    .content_slider h2 {
        font-size: 4rem;
    }
}
@media only screen and (min-width:769px) and (max-width:1279px) and (orientation: landscape){
    .content_slider h2 {
        font-size: 4rem;
    }
}
@media only screen and (min-width:1280px){
    .content_slider h2 {
        max-width: 8em;
        font-size: 3rem;
    }
    .logo img {
        width: 18em;
    }
    /* Form Inicio */
    .form {
        right: 0;
    }
    .contForm {
        margin-right: 2em;
    }
    .contForm button {
        display: none;
    }
    /* Form Fin */
}