@font-face {
    font-display: swap;
    font-family: 'SaolDisplay';
    src: url(../fonts/SaolDisplay-Regular.eot) format('eot');
    src: url(../fonts/SaolDisplay-Regular.woff2) format('woff2'),url(../fonts/SaolDisplay-Regular.woff) format('woff');
    font-weight: 400;
    font-style: normal
}

@font-face {
    font-display: swap;
    font-family: 'SaolDisplay';
    src: url(../fonts/SaolDisplay-RegularItalic.eot) format('eot');
    src: url(../fonts/SaolDisplay-RegularItalic.woff2) format('woff2'),url(../fonts/SaolDisplay-RegularItalic.woff) format('woff');
    font-weight: 400;
    font-style: italic
}

@font-face {
    font-display: swap;
    font-family: 'SaolDisplay';
    src: url(../fonts/SaolDisplay-Light.woff2) format('woff2');
    font-weight: 300;
    font-style: normal
}

@font-face {
    font-display: swap;
    font-family: 'SaolDisplay';
    src: url(../fonts/SaolDisplay-LightItalic.woff2) format('woff2');
    font-weight: 300;
    font-style: italic
}

*::-webkit-scrollbar {
    background-color: rgb(19 76 179 / 10%);
    width: 6px;
    border-radius: 6px;
}

/* background of the scrollbar except button or resizer */
*::-webkit-scrollbar-track {
    background-color: transparent;
    border-radius: 6px;
}

*::-webkit-scrollbar-track:hover {
    background-color: #9f89331a;
}

/* scrollbar itself */
*::-webkit-scrollbar-thumb {
    background-color: rgb(185 167 127 / 52%);
    border: 1px solid #33869f29;
    border-radius: 6px;
    opacity: 0.1;
}

*::-webkit-scrollbar-thumb:hover {
    background-color: rgb(185, 167, 127);
    border: 1px solid #33869f29;
}

/* set button(top and bottom of the scrollbar) */
*::-webkit-scrollbar-button {
    display: none;
}

/******************************************************/
body::after {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    z-index: -10;
    content: url(../img/logo.png) url(../img/logo.svg) url(../img/img-1.jpg);
}

*:root {
    --color-1: rgb(185, 167, 127);
    --color-2: rgb(185, 167, 127);
    --color-3: rgb(185, 167, 127);
    --color-4: rgb(185, 167, 127);
    --color-5: rgb(185, 167, 127);
    /*
    --color-2: rgb(141, 179, 133);
    --color-3: rgb(124, 180, 174);
    --color-4: rgb(151, 169, 209);
    --color-5: rgb(200, 164, 207);
    */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

*:before, *:after {
    overflow-y: visible;
    overflow-x: visible;
}

#switchStyleContainer {
    position: fixed;
    left: 0;
    bottom: 10px;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

.p-1 {
    padding: max(5vw, 20px);
}

.pl-0 {
    padding-left: 0;
}

.pr-0 {
    padding-right: 0;
}

.pt-0 {
    padding-top: 0;
}

.pb-0 {
    padding-bottom: 0;
}

.no-shrink {
    flex-shrink: 0;
}

body, html {
    width: 100%;
    overflow: auto;
    overflow-x: hidden;
}

html {
    background-color: #f7f4f1;
    height: 100vh;
    width: 100vw;
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
}

body {
    --tw-bg-opacity: 1;
    background-color: rgba(245,245,245,var(--tw-bg-opacity));
    font-family: 'Quicksand', sans-serif;
    cursor: none;
    overflow: hidden;
}

body.pattern {
    background-color: transparent;
}

body.pattern .swiper {
    opacity:.9
}
body.pattern #bg {
    display: block;
}

loader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: #eee;
    z-index: 1000000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 50vmin #c9ad6f;
    animation-name: loaderAnimation;
    animation-iteration-count: infinite;
    animation-duration: 2s;
    animation-direction: alternate;
}
loader:after {
    content: '';
    width: min(26.92vh, 200px);
    height: calc(min(26.92vh, 200px) * 0.463);
    background-image:
    url(../img/logo.svg);
    background-size: contain;
    background-repeat: no-repeat;
    animation-name: loaderAfterAnimation;
    animation-iteration-count: infinite;
    animation-duration: 2s;
    animation-direction: alternate;
}

@keyframes loaderAnimation {
    0% {
        box-shadow: inset 0 0 150vmin #c9ad6f;
    }

    100% {
        box-shadow: inset 0 0 5vmin #c9ad6f;
    }
}

@keyframes loaderAfterAnimation {
    0% {
        opacity: 1;
    }

    100% {
        opacity: .3;
    }
}

p {
    margin-bottom: 15px;
}

wrapper {
    width: 100%;
    left: 0;
    top: 0;
    padding-bottom: 40px;
    transition: all 100ms ease-in-out;
}

container, section {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    left: 0;
    width: 100%;
    position: relative;
    height: auto;
    top: 0;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

section {
    position: relative !important;
    flex-shrink: 0;
    flex-grow: 0;
    overflow: visible;
    padding: 0 0 3vw 0;
}

container>.content {
    padding: 0;
    position: absolute;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    height: auto;
    position: relative !important;
    top: 0;
    padding-top: 10px;
    flex-wrap: wrap;
    overflow: visible;
}

container.full>.content {
    height: 100%;
    padding: 0;
}

container:not(:first-of-type) {
    min-height: calc(100vh - 140px);
    width: 100%;
    margin: 0;
    padding-top: 100px;
    padding: 100px 5vw 0 5vw;
    opacity: 0;
    transform: translate(0,100px);
    transition: opacity 2000ms, transform 2000ms;
}

container:last-of-type {
    min-height:100vh;
}

container:first-of-type {
    position: fixed;
    background-color: #eee;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    left: 0;
    top: 0;
    width: 100vw;
    min-height: 100%;
}

container:last-of-type {
    margin: 0 auto !important;
}

container.full {
    margin: 0;
    width: 100vw;
    min-height: 0 !important;
    height: 100vh;
    padding: 0;
    padding-top: 100px;
    z-index: 1;
    margin-bottom: 0;
}

.scrollable {
    overflow-y: auto;
    padding-right: 10px;
    max-height: 100%;
}

.title-container {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    left: 5vw;
    width: 90vw;
    top: 60px;
    position: fixed;
    animation-duration: 500ms;
    animation-iteration-count: 1;
    height: 40px;
    z-index: 10;
}

.title-container.next {
    animation-name: nextTitle;
}

.title-container.prev {
    animation-name: prevTitle;
}

.sectionTitle {
    animation-duration: 500ms;
    animation-iteration-count: 1;
}

.sectionTitle.italic {
    font-style: italic;
}

.sectionTitle.next {
    animation-name: nextTitle;
}

.sectionTitle.prev {
    animation-name: prevTitle;
}

.subtitle {
    font-size: 3.1vmax;
    line-height: 3.1vmax;
    font-weight: bold;
    font-family: 'SaolDisplay';
    letter-spacing: -1px;
}

.title {
    flex-shrink: 0;
    font-size: min(4.5vmax, 45px);
    color: #7c7564;
    padding-left: 0;
    font-family: SaolDisplay, serif;
    line-height: 1.2em;
    white-space: pre-wrap;
}

.supertitle {
    font-size: min(7vw, 100px);
    line-height: min(7vw, 100px);
    height: calc(min(7vw, 100px) + 12px);
    color: var(--color);
    font-family: SaolDisplay, serif;
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    position: relative;
    width: 100%;
    display: flex;
    align-items: baseline;
    transition: all 2000ms;
}

.supertitle:after {
    /*content: '';*/
    width: 1px;
    height: 2px;
    background-color: var(--color);
    flex-shrink: 0;
    flex-grow: 1;
    margin-left: -1.9vw;
}

#pageTitle {
    font-size: 30px;
    line-height: 40px;
    height: auto;
}

#sectionTitle {
    font-size: 20px;
    line-height: 40px;
    height: auto;
    font-weight: bold;
}

.text-muted {
    color: #888;
}

.text {
    font-size: clamp(0.95rem,1.5vw,1.3rem);
    line-height: 1.8;
    color: #333;
    font-family: 'Quicksand', sans-serif;
}

.bold {
    font-weight: bold;
}

.text.small {
    font-size: min(3.5vmin, 18px);
    line-height: calc(min(3.5vmin, 20px) + 9px);
}

.text.smaller {
    font-size: min(2vmin, 13px);
    line-height: calc(min(2vmin, 13px) + 9px);
}

.content .text {
    height: auto;
}

.content .text.paragraph {
    border-radius: 10px;
    text-align: justify;
    /* background: linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(185 167 127 / 10%) 10%, rgb(185 167 127 / 10%) 90%, rgba(0, 0, 0, 0) 100%); */
    height: auto;
    padding: 0;
    padding-top: 0;
    padding-bottom: 0;
    hyphens: auto;
}

container:first-of-type #logoContainer {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 94vh;
    z-index: 1000000;
    display: flex;
    align-items: center;
    justify-content: center;
}

container:first-of-type .logo {
    position: absolute;
    width: min(26.92vh, 200px);
    height: calc(min(26.92vh, 200px) * 0.463);
    background-image:
    url(../img/logo.svg);
    background-size: contain;
    background-repeat: no-repeat;
    animation-name: animateIntroLogo;
    animation-iteration-count: 1;
    animation-duration: 15s;
    transform: translate(0, -40vh);
}

.text-container {
    flex-direction: column;
    width: 100%;
    height: 80vh;
    position: absolute;
    top: 5vh;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto auto auto auto auto auto auto auto auto auto 1fr;
    align-items: center;
    justify-content: center;
    animation-duration: 20000ms;
    animation-iteration-count: 1;
    animation-timing-function: ease-out;
    animation-name: animateIntro;
    -webkit-mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
    overflow: hidden;
    z-index: 100;
}

#firma {
    height: 18vh;
    bottom: 5vh;
    position: absolute;
    z-index: 100;
    animation-duration: 20000ms;
    animation-iteration-count: 1;
    animation-name: aparicionFirma;
}

.text-container>span {
    font-size: min(5vmin,43px);
    line-height: min(4.5vmin,50px);
    height: min(6vmin,50px);
    font-family: 'SaolDisplay';
    font-weight: 300;
    font-style: italic;
    color: #222;
    margin: 0;
    text-align: center;
    letter-spacing: .5px;
    display: block;
    overflow: hidden;
    flex-shrink: 0;
}
.text-container>span:first-of-type,.text-container>span:last-of-type {
    height: 13vh;
}

.text-container #firma {
    opacity: 0;
    transform: translate(0, 20px);
    transition: all 1000ms ease-out;
}

.firma {
    font-family: 'Crimson Text', serif;
    color: #333;
    margin: 10px 0;
    text-shadow: 0 2px 3px rgba(0, 0, 0, .2);
    display: block;
    font-weight: bold;
    height: auto;
    font-size: max(5vmin, 26px);
    margin-left: 20px;
    text-align: left;
    overflow: visible;
}

.firma .fechas {
    font-weight: normal;
    font-size: max(2vmin, 12px);
    display: block;
}

#firma.visible {
    opacity: 1;
    transform: translate(0, 0);
    transition: all 1000ms ease-out;
}

@keyframes nextTitle {
    0% {
        transform: translate(0, 0);
        opacity: 1
    }

    45% {
        transform: translate(0, -20px);
        opacity: 0
    }

    55% {
        transform: translate(0, 20px);
        opacity: 0
    }

    100% {
        transform: translate(0, 0);
        opacity: 1
    }
}

@keyframes prevTitle {
    0% {
        transform: translate(0, 0);
        opacity: 1
    }

    45% {
        transform: translate(0, 20px);
        opacity: 0
    }

    55% {
        transform: translate(0, -20px);
        opacity: 0
    }

    100% {
        transform: translate(0, 0);
        opacity: 1
    }
}

@keyframes animateIntro {
    0% {
        padding-top: 75vh;
    }

    100% {
        padding-top: 0;
    }
}

@keyframes animateIntroLogo {
    0% {
        transform: translate(0, 3vh);
    }

    100% {
        transform: translate(0, -40vh);
    }
}


@keyframes aparicionFirma {
    0% {
        opacity: 0;
    }

    90% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@media screen and (max-width: 700px) {
    .flex-mobile {
        flex-direction: column;
    }
}
@media screen and (max-width: 500px) {
    .text-container {
        height: 67vh;
        top: 12vh;
        animation-name: animateIntro_mobile;
    }

    .text-container>span {
        font-size: min(5vmin,43px);
        line-height: min(5vmin,43px);
        height: min(6vmin,50px);
        margin: max(1vmin,5px) 0;
        text-shadow: 0 0 0 #333;
        font-weight: 400;
    }

    .text-container>span:first-of-type,.text-container>span:last-of-type {
        height: 20px;
    }

    #firma {
        height: 13vh;
    }

    container:first-of-type {
        padding: 10px;
    }

    container:not(:first-of-type) {
        margin-bottom: 50px;
    }

    container>.content {
        padding: 0;
    }

    .title-container {
        flex-direction: column;
        justify-content: center;
        align-items: flex-end;
        top: 20px;
        right: 75px;
        left: initial;
    }

    .title-container>* {
        zoom: .8; line-height: 25px !important;
        height: auto !important;
    }

    .supertitle {
        margin-left: 0;
        font-size: 18vw;
        line-height: 18vw;
        height: calc(18vw + 12px);
    }

    .content .text {
        padding: 0 max(3vw, 30px);
    }

    .content .text.paragraph {
        padding: 0 max(3vw, 20px);
    }

    @keyframes animateIntro_mobile {
        0% {
            padding-top: 60vh;
        }

        100% {
            padding-top: 0;
        }
    }
}

@media screen and (max-height: 700px) {
    container.full {
        padding-top: 70px;
    }
    container:not(:first-of-type) {
        min-height: calc(100vh - 70px);
    }
    header {
        height: 70px;
    }
}

@media screen and (max-height: 800px) {
    container.full {
        padding-top: 70px;
    }
    container:not(:first-of-type) {
        min-height: calc(100vh - 70px);
    }
    header {
        height: 70px;
    }
}