/*
Theme Name: La Soderia
Text Domain: La-Soderia
Version: 1.8
Description: Tema creado para La Soderia
Tags: La Soderia
Author: Brayan Roa
Author URI: 
*/

/* FONTS */
@font-face {
    font-family: "FraktionMono Bold";
    src: url("/wp-content/themes/lasoderia/assets/fonts/FraktionMono-Bold.otf") format("opentype");
    font-style: normal;
}

@font-face {
    font-family: "FraktionMono Bold Italic";
    src: url("/wp-content/themes/lasoderia/assets/fonts/FraktionMono-BoldItalic.otf") format("opentype");
    font-style: normal;
}

@font-face {
    font-family: "FraktionMono Regular";
    src: url("/wp-content/themes/lasoderia/assets/fonts/FraktionMono-Regular.otf") format("opentype");
    font-style: normal;
}

@font-face {
    font-family: "FraktionMono Regular Italic";
    src: url("/wp-content/themes/lasoderia/assets/fonts/FraktionMono-RegularItalic.otf") format("opentype");
    font-style: normal;
}

/*----------------- Header -----------------*/

:root {
    --orange: #fc4b28;
    --blue: #2d308b;
    --blueFooter: #332385;
    --skyBlue: #00bbe3;
    --green: #1e9348;
    --yellow: #f0d17f;
}

/* LOOP */
.loop {
    background: #fc4b28;
    display: flex;
    height: 8vh;
    overflow: hidden;
    max-height: 25px;
    position: relative;
    z-index: 2;
}

.loop.blue {
    background: #2c3191;
}

.loop > div {
    position: absolute;
    width: 100vw;
    height: 100%;
}

.loop > .item {
    transform: translateX(100%);
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -o-transform: translateX(100%);
    -ms-transform: translateX(100%);
}

.loop > div > img {
    height: 100%;
    width: 100%;
}

.loop > .item-init {
    animation: scrolling-left-init 10s linear;
    animation-fill-mode: forwards;

    -webkit-animation: scrolling-left-init 10s linear;
    -webkit-animation-fill-mode: forwards;

    -moz-animation: scrolling-left-init 10s linear;

    -o-animation: scrolling-left-init 10s linear;
    -o-animation-fill-mode: forwards;
}

.loop > .item {
    animation: scrolling-left 20s linear infinite;
    -webkit-animation: scrolling-left 20s linear infinite;
    -moz-animation: scrolling-left 20s linear infinite;
    -o-animation: scrolling-left 20s linear infinite;
}

.loop > .item:last-child {
    animation-delay: 10s;
    -webkit-animation-delay: 10s;
    -moz-animation-delay: 10s;
    -o-animation-delay: 10s;
}

/* scrolling-left is continuous/repeatly text */
@keyframes scrolling-left-init {
    0% {
        transform: translateX(0%);
        -webkit-transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
        -webkit-transform: translateX(-100%);
    }
}

@keyframes scrolling-left {
    0% {
        transform: translateX(100%);
        -webkit-transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
        -webkit-transform: translateX(-100%);
    }
}

@media (min-width: 768px) {
    .loop {
        max-height: 35px;
    }
    
    .loop > .item-init {
        animation: scrolling-left-init 20s linear;
        animation-fill-mode: forwards;
    
        -webkit-animation: scrolling-left-init 20s linear;
        -webkit-animation-fill-mode: forwards;
    
        -moz-animation: scrolling-left-init 20s linear;
    
        -o-animation: scrolling-left-init 20s linear;
        -o-animation-fill-mode: forwards;
    }
    
    .loop > .item {
        animation: scrolling-left 40s linear infinite;
        -webkit-animation: scrolling-left 40s linear infinite;
        -moz-animation: scrolling-left 40s linear infinite;
        -o-animation: scrolling-left 40s linear infinite;
    }
    
    .loop > .item:last-child {
        animation-delay: 20s;
        -webkit-animation-delay: 20s;
        -moz-animation-delay: 20s;
        -o-animation-delay: 20s;
    }
}
/* END LOOP */

/*----------------- END Header -----------------*/

/*----------------- SECTIONS -----------------*/

/* INIT SECTION */
.init {
    background: url("assets/images/cielo.png");
    background-size: 120vh 100vh;
    background-attachment: fixed;
    height: calc(100vh - 35px);
}

.init .scene {
    bottom: -53vh;
    position: absolute;
    transform: translateY(var(--translateY));
    will-change: transform;
}

.init .scene:not(.lata) {
    opacity: 0.9;
    width: 100vw;
}

.init .logo {
    max-width: 250px;
    margin-top: 5vh;
    z-index: 9;
    position: relative;
}

.init .tigger {
    position: absolute;
    bottom: 40vh;
    max-height: 20vh;
    z-index: 999;
}

.init .tigger:nth-child(2) {
    bottom: 18vh;
}

.init .tigger.right {
    right: 0;
}

.init .lata {
    margin-top: 100vh;
    width: 100%;
    z-index: 9999;
    transition: 0.2s;
}

.init .lata.show {
    margin-top: 20vh;
    transition: 0.2s;
}

.init .horizontal-scroll {
    background: url(assets/images/cielo2.png) no-repeat;
    background-attachment: fixed;
    background-position-x: 0px;
    background-size: cover;
    position: absolute;
    top: 0px;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100vh;
    -webkit-animation: scrolling-horizontal 50s linear infinite;
    animation: scrolling-horizontal 50s linear infinite;
}

@media (max-height: 389px) {
    .init .tigger,
    .init .tigger:nth-child(2) {
        bottom: 20vh;
        max-height: 60vh;
    }
    .init .lataSect {
        display: flex;
        justify-content: center;
    }
    .init .lata {
        max-width: 250px;
    }
    .init .logo {
        max-width: 210px;
    }
    .init .scene {
        bottom: -72vh;
    }
    .second .text img {
        max-width: 200px;
    }
}

@media (min-width: 500px) {
    .init .scene {
        bottom: -50vh;
    }
}

@media (min-width: 769px) {
    .init {
        background-size: cover !important;
    }
    .init .tigger {
        bottom: inherit;
        margin-top: -19vh;
        max-height: 70vh;
    }

    .init .lataSect {
        display: flex;
        justify-content: center;
        width: 100%;
        pointer-events: none;
    }

    .init .lata.show {
        margin-top: 30vh;
    }

    .init .lata {
        max-width: 40vw;
    }

    .init .scene {
        bottom: initial;
        width: 100%;
    }

    .init .scene:not(.lata) {
        height: initial;
    }
}

@media (min-width: 992px) {
    .init .scene {
        bottom: -53vh;
    }
}

@keyframes scrolling-horizontal {
    0% {
        background-position-x: 100vw;
    }
    100% {
        background-position-x: -100vw;
    }
}
/* END INIT SECTION */

section:not(.init),
footer {
    position: relative;
    z-index: 9;
}

/* SECOND SECTION */
.second {
    position: relative;
    background: url("assets/images/fondo2.png");
    background-position-y: -8px;
    background-size: cover;
}

.second .text {
    width: 100%;
    padding: 10vh;
}

.second .text img {
    width: 100%;
    max-width: 450px;
}

.second .hojas {
    position: absolute;
    margin-top: -45vh;
    max-height: 15vh;
}

.second .hojas:first-child {
    margin-top: -14vh;
}

.second > [data-aos="zoom-out-up"]:not(.aos-animate) {
    transform: translate3d(0, 100px, 0);
}

@media (max-height: 389px) {
    .second .text img {
        max-width: 200px;
    }
    .second .hojas,
    .second .hojas:first-child {
        margin-top: -50vh;
    }
    .second .hojas {
        max-height: 50vh;
    }
}

@media (min-width: 769px) {
    .second .text {
        padding: 13vh;
    }

    .second .hojas,
    .second .hojas:first-child {
        margin-top: -55vh;
        max-height: 54vh;
    }
}

.second .hojas.right {
    right: 0;
}
/* END SECOND SECTION */

/* END THIRD SECTION */
.third {
    width: 100%;
    padding: 7vh 2vh;
}

.third .title {
    width: 100%;
    max-width: 250px;
    margin-bottom: 25px;
}

.third .desc {
    max-width: 80vw;
}

.third p {
    font-family: "FraktionMono Regular";
    font-size: 22px;
    font-weight: 300;
    letter-spacing: 2px;
    padding: 0 1.5em;
    color: #0b10a0d4;
}

@media (min-width: 769px) {
    .third {
        padding: 12vh;
    }
    .third .title {
        margin-bottom: 50px;
    }
}
/* END THIRD SECTION */

/* FOURTH SECTION */
.fourth {
    background-color: var(--yellow);
}
/* END FOURTH SECTION */

/* SIXTH SECTION */
.sixth {
    background-color: white;
}

.sixth .step {
    position: absolute;
    width: 20.5%;
    transition: 0.6s;
    border-radius: 10px;
    border-color: lightgray;
    background: white;
    opacity: 0;
}

.sixth .step.zoom {
    transition: 0.6s;
    transform: scale(1.5);
    opacity: 1;
    z-index: 1;
    box-shadow: 0px 0px 10px #d3d3d387;
}

.sixth .step.step-1 {
    margin: 2% 7.5%;
}

.sixth .step.step-2 {
    width: 27%;
    margin: 16% 8%;
}

.sixth .step.step-3 {
    margin: 45% 0;
    width: 41%;
}

.sixth .step.step-4 {
    margin: 38% 49%;
    width: 23%;
}

.sixth .step.step-5 {
    margin: 0% 41.4%;
    width: 26.4%;
}

.sixth .step.step-6 {
    margin: 4% 70%;
    width: 13%;
}

.sixth .step.step-7 {
    margin: 23.3% 76%;
    width: 19.5%;
}

.sixth .proceso {
    list-style: none;
}

.sixth .proceso li {
    display: flex;
    align-items: flex-end;
    color: var(--skyBlue);
}

.sixth .proceso li span:first-child {
    height: 18px;
    width: 18px;
    background-color: var(--green);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    font-size: 14px;
    cursor: pointer;
}

.sixth .proceso li span:nth-child(2) {
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
}

@media (min-width: 769px) {
    .sixth .proceso li span:nth-child(2) {
        font-size: 24px;
    }
    .sixth .proceso li span:first-child {
        height: 30px;
        width: 30px;
        font-size: 24px;
    }
}
/* END SIXTH SECTION */

/* SEVENTH SECTION */
.seventh > div {
    position: absolute;
    display: flex;
    align-items: center;
    width: 100%;
    height: 35vw;
}
.seventh > div:first-child > img {
    margin-top: -5vw;
}

.seventh > div > img {
    max-width: 55vw;
}
.seventh > div > .flores {
    max-width: 110px;
    margin-top: 15vw;
}
.seventh > img {
    height: 35vw;
}
.seventh .tigger {
    position: absolute;
    max-height: 27vw;
}

.seventh .tigger.right {
    right: 0;
}

@media (min-width: 389px) {
    .seventh > div > .flores {
        max-width: 180px;
    }
}

@media (min-width: 769px) {
    .seventh > div > .flores {
        max-width: 360px;
    }
}
/* END SEVENTH SECTION */

/* FOOTER */
footer {
    background-color: var(--blueFooter);
}

footer .logo {
    width: 100%;
}

footer p.text {
    color: white;
    font-size: 31px;
    line-height: 1;
}

footer .input-subscribe {
    display: flex;
    align-items: center;
    background: url("assets/images/input.png");
    background-size: 100% 100%;
    height: 45px;
}

footer .input-subscribe input {
    font-weight: bold;
    width: 85%;
    height: 95%;
    border: none;
    background: none;
}

footer .input-subscribe input:active,
footer .input-subscribe input:hover,
footer .input-subscribe input:focus {
    border: none;
    outline: none;
}

footer .input-subscribe input::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: var(--skyBlue);
    opacity: 1; /* Firefox */
}

footer .input-subscribe input::-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: var(--skyBlue);
}

footer .input-subscribe input::-ms-input-placeholder {
    /* Microsoft Edge */
    color: var(--skyBlue);
}

footer .input-subscribe button {
    width: 18%;
    height: 100%;
    opacity: 0;
    margin-right: -15px;
    border: none;
    border-radius: 0 1em 1em 0;
}

footer .icons > a {
    margin: 0 8px;
}

footer .icons img {
    max-width: 65px;
}

/* END FOOTER */

.scene,
.horizontal-scroll {
    pointer-events: none;
}
