@font-face {
    font-family: 'AwesomeSerifVAR';
    src: url('../fonts/AwesomeSerifVAR-VF.ttf');
}

@font-face {
    font-family: 'AwesomeSerifItalicVAR';
    src: url('../fonts/AwesomeSerifItalicVAR-VF.ttf');
    font-style: italic;
}

main {
    flex: 1;
    overflow: hidden;
}

section {
    position: relative;
}

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

/*Cover*/

.cover {
    display: flex;
    align-items: center;
    height: auto;
    min-height: 100vh;
    justify-content: center;
    flex-direction: column;
    background-color: #E45A2C;
    color: #FFFFF8;
    margin-top: 66px;
}

.cover-intro p {
    font-family: 'AwesomeSerifVAR';
    font-variation-settings: 'wght' 350, 'hght' 1000;
    font-size: clamp(130px, 9vw, 200px);
    line-height: 105%;
    text-align: center;
    margin: 0;
}

.chairs img {
    width: clamp(450px, 25vw, 700px);
    margin-top: -60px;
}

.chair-animation {
    width: 1129px;
    margin-bottom: -139px;
    margin-top: -253px;
}

.cover-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cover-text p {
    font-family: "neue-haas-grotesk-display", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 102%;
    font-size: clamp(20px, 1vw, 24px);
    text-align: center;
}

.sticker {
    width: clamp(350px, 20vw, 470px);
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sticker div {
    width: 470px;
    height: 210px;
    margin-top: -90px;
}

/*FIN - Cover*/

/*Discover*/

.discover {
    background-color: #FFFFF8;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-top: 100px;
}

.discover p {
    color: #20313B;
}

.discover-info-title {
    font-family: 'AwesomeSerifVAR';
    font-variation-settings: 'wght' 350, 'hght' 1000;
    font-size: clamp(50px, 3vw, 70px);
    line-height: 105%;
    text-align: center;
    margin: 0;
    width: 900px;
}

.discover-info p {
    font-family: "neue-haas-grotesk-display", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 102%;
    font-size: clamp(20px, 1.2vw, 24px);
    text-align: center;
    margin-top: 50px;
    display: block;
}

.discover-cities-out {
    width: 100vw;
    display: flex;
    justify-content: center;
}

.discover-cities {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.discover-city {
    margin-top: clamp(60px, 4vw, 87px);
    margin-left: 10px;
    margin-right: 10px;
}

.discover-photo {
    width: 350px;
    aspect-ratio: 7 / 10;
    border-top-left-radius: 185px;
    border-top-right-radius: 185px;

    position: relative;
    display: block;
    overflow: hidden;
}

.discover-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.discover-photo-text p {
    font-family: 'AwesomeSerifVAR';
    font-variation-settings: 'wght' 175, 'hght' 1000;
    text-align: center;
    font-size: clamp(50px, 3vw, 64px);
    line-height: 102%;
    margin-top: 50px;
    margin-bottom: 0;
}

.hover-cities-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-family: "neue-haas-grotesk-display", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 102%;
    font-size: clamp(28px, 3vw, 32px);
    text-align: center;
    box-sizing: border-box;
    border-top-left-radius: 185px;
    border-top-right-radius: 185px;
    border: 2px solid #20313B;
}

.hover-naranja {
    opacity: 0;
    transition: opacity 0.3s ease;
    background-color: #E45A2C;
    color: #FFFFF8;
    padding: 0 25px;
}

.hover-amarillo {
    opacity: 0;
    transition: opacity 0.3s ease;
    background-color: #F8C81B;
    color: #20313B;
    padding: 0 25px;
}

.hover-azul {
    opacity: 0;
    transition: opacity 0.3s ease;
    background-color: #C1DCEF;
    color: #20313B;
    padding: 0 25px;
}

.discover-photo:hover .hover-cities-text, .discover-photo:hover .hover-naranja, .discover-photo:hover .hover-amarillo, .discover-photo:hover .hover-azul {
    opacity: 1;
}

.discover-photo:hover img {
    filter: brightness(0.7);
}

.discover-text {
    margin-top: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.discover-text p {
    margin: 0;
    margin-bottom: 100px;
    text-align: center;
    font-size: 24px;
    width: 600px;
}

.discover-buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
}

.discover-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #20313B;
    background-color: #FFFFF8;
    width: clamp(800px, 80vw, 1318px);
    height: 123px;
    text-decoration: none;
    font-family: "neue-haas-grotesk-display", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 102%;
    font-size: 35px;
    margin-bottom: 50px;
    text-align: center;
    border: 1px solid #20313B;
    border-radius: 60px;
    position: relative;
    z-index: 5;
}

.discover-homestay-button:hover {
    background-color: #F8C81B;
    color: #20313B;
}

.discover-study-button:hover {
    background-color: #E45A2C;
    color: #FFFFF8;
}

.discover-immersion-button:hover {
    background-color: #C1DCEF;
    color: #20313B;
}

.star {
  transition: transform 0.3s ease-out;
  will-change: transform;
  width: auto;
  display: block;
}

.discover-star-one {
    position: absolute;
    left: -200px;
    bottom: 120px;
    animation: spin-and-wiggle 12s infinite linear;
}

.discover-star-two {
    position: absolute;
    right: -90px;
    bottom: 385px;
    animation: spin-and-wiggle 14s infinite linear;
}

@keyframes spin-and-wiggle {
  0% {
    transform: rotate(0deg) translate(0, 0);
  }
  25% {
    transform: rotate(90deg) translate(-40px, -35px);
  }
  50% {
    transform: rotate(180deg) translate(0, 20px);
  }
  75% {
    transform: rotate(270deg) translate(25px, -33px);
  }
  100% {
    transform: rotate(360deg) translate(0, 0);
  }
}

/*FIN - Discover*/

/*Guarantees*/

.guarantees {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 1300px;
    background-color: #20313B;
    color: #FFFFF8;
}

.guarantees-text {
    min-width: 829px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.guarantees-text-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.guarantees-text-title {
    font-family: 'AwesomeSerifVAR';
    font-variation-settings: 'wght' 175, 'hght' 1000;
    line-height: 102%;
    font-size: clamp(50px, 3vw, 70px);
    text-align: center;
    margin: 0;
    margin-bottom: clamp(80px, 5vw, 100px);
}

.guarantees-text-text p {
    font-family: "neue-haas-grotesk-display", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 102%;
    font-size: clamp(20px, 1.2vw, 24px);
    margin-top: 0;
    margin-bottom: 50px;
    text-align: center;
    width: 325px;
}

.guarantees-text-text .guarantees-text-text-last {
    margin-bottom: 0;
}

.guarantees-hearts {
    position: absolute;
    display: flex;
    flex-direction: column;
    left: 785px;
    top: 290px;
    z-index: 3;
}

.guarantees-hearts img {
    margin-bottom: 30px;
}

.guarantees-buttons a {
    position: absolute;
    z-index: 5;
    left: 680px;
    top: 930px;
    width: 250px;
    aspect-ratio: 20 / 7;
}

.raton {
    position: absolute;
    left: 665px;
    bottom: 240px;
    z-index: 7;
    width: 80px;
    animation: mouse 2s infinite linear;
}

@keyframes mouse {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-15px, 15px);
  }
  100% {
    transform: translate(0, 0);
  }
}

.yellow-star {
    position: absolute;
    left: 865px;
    bottom: 260px;
    z-index: 3;
    width: 150px;
    animation: spin-star 5s infinite linear;
}

@keyframes spin-star {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}

.guarantees-buttons:hover .raton {
    animation: mouse-far 2s infinite linear;
}

@keyframes mouse-far {
  0% {
    transform: translate(-15px, 15px);
  }
  50% {
    transform: translate(-30px, 30px);
  }
  100% {
    transform: translate(-15px, 15px);
  }
}

.guarantees-buttons:hover .yellow-star {
    animation: move-star 3s infinite alternate;
}

@keyframes move-star {
    0% {
        transform: rotate(0deg) translate(0, 0);
    }
    100% {
        transform: rotate(360deg) translate(30px, -30px);
    }
}

.guarantees-img {
    display: flex;
    justify-content: flex-end;
    overflow: hidden;
    width: 100%;
    height: 100%;
    position: relative;
}

.guarantees-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/*FIN - Guarantees*/

/*Testimonials*/

.testimonials {
    width: 100%;
    background-color: #FFFFF8;
    position: relative;
}

.testimonials-title {
    padding-top: 70px;
    margin-bottom: 95px;
    margin-left: -400px;
}

.testimonials-title p {
    font-family: 'AwesomeSerifVAR';
    font-variation-settings: 'wght' 175, 'hght' 1000;
    line-height: 102%;
    font-size: 70px;
    color: #20313B;
    width: 800px;
    height: 120px;
    display: flex;
    justify-content: end;
    align-items: center;
    border: 2px solid #20313B;
    border-radius: 88px;
    padding-right: 70px;
    margin: 0;
}

.general-testimonials {
    overflow-x: scroll;
    white-space: nowrap;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;

    /* Oculta scrollbar en Firefox */
    scrollbar-width: none;
    
    /* Oculta scrollbar en IE/Edge legacy */
    -ms-overflow-style: none;
}

.testimonials-scroll {
    height: 539px;
    display: flex;
    padding-right: 40px;
    margin-bottom: 100px;
    width: auto;
    white-space: nowrap;
    user-select: none;
    /*scroll-behavior: smooth;*/
    scroll-behavior: auto;
    overflow-x: scroll;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    /**/
    display: inline-flex;
    width: max-content;
    will-change: scroll-position;
}

.testimonials-scroll::-webkit-scrollbar {
    display: none;
}

.testimonials-scroll::-webkit-scrollbar {
    display: none;
}

.testimonials-card {
    border-top-left-radius: 59px;
    border-top-right-radius: 59px;
    border-bottom-right-radius: 59px;
    width: 520px;
    flex-shrink: 0;
    scroll-snap-align: start;
    margin-left: 40px;
    display: inline-block;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    /**/
    flex: 0 0 auto;
}

.testimonials-card > div {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
}

.testimonials-card.has-image {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 925px;
    height: 539px;
    flex-shrink: 0;
    align-items: stretch;
}

.testimonials-card.has-image .testimonials-texts {
    padding: 30px;
}

.testimonials-card.no-image {
    padding: 30px;
}

.testimonials-card.yellow {
    background-color: #F8C81B;
    color: #20313B;
}

.testimonials-card.blue {
    background-color: #C1DCEF;
    color: #20313B;
}

.testimonials-card.orange {
    background-color: #E45A2C;
    color: #FFFFF8;
}

.testimonials-image {
    width: 351.2px;
    height: 464.34px;
    border-top-left-radius: 59px;
    border-top-right-radius: 59px;
    border-bottom-right-radius: 59px;
    flex-shrink: 0;
    margin: 35px 0 35px 40px;
    flex-shrink: 0;
    overflow: hidden;
}

.testimonials-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.testimonials-name {
    font-family: "neue-haas-grotesk-display", sans-serif;
    font-weight: 500;
    font-style: normal;
    line-height: 102%;
    font-size: 44px;
    margin: 25px;
    margin-bottom: 0;
    margin-left: 0;
}

.testimonials-country {
    font-family: "neue-haas-grotesk-display", sans-serif;
    font-weight: 500;
    font-style: normal;
    line-height: 102%;
    font-size: 44px;
    font-style: italic;
    margin: 45px;
    margin-top: 0;
    margin-left: 0;
}

.testimonials-text {
    font-family: "neue-haas-grotesk-display", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 102%;
    font-size: 24px;
    margin-top: 0;
}

.testimonials-name,
.testimonials-country,
.testimonials-text {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    padding: 0 20px;
    box-sizing: border-box;
}

/*FIN - Testimonials*/

.red-star-discover {
    display: none;
}

@media (max-width: 1000px) {
    /* Cover */
    .cover {
        margin-top: 0;
        height: auto;
        min-height: calc(100vh - 66px);
    }

    .cover-intro p {
        /*font-size: clamp(60px, 9vh, 80px);*/
        font-size: 23vw;
        margin: 0 20px;
    }

    .chairs img {
        width: clamp(250px, 28vh, 350px);
        margin-top: -30px;
    }

    .chair-animation {
        width: 708px;
        margin-bottom: -72px;
        margin-top: -149px;
    }

    .cover-text p {
        font-size: 4vw;
        margin-top: 0;
    }

    .sticker {
        width: 280px;
        height: 75px;
        margin-top: 50px;
        margin-bottom: -50px;
    }

    .sticker div {
        margin-top: -125px;
    }
    /* FIN - Cover */
    /*Discover*/
    .discover {
        padding-top: 75px;
    }

    .discover-info {
        margin: 0 30px;
        width: 330px;
    }

    .discover-info-title {
        width: 330px;
        font-size: 30px;
        font-weight: 175;
    }

    .discover-info p {
        font-size: 20px;
    }

    .discover-cities {
        justify-content: center;
    }

    .discover-city {
        margin-top: 50px;
    }

    .discover-photo {
        width: 160px;
    }

    .discover-photo-text p {
        font-size: 24px;
        margin-top: 10px;
    }

    .hover-cities-text {
        font-size: 18px;
    }

    .discover-text {
        margin-top: 75px;
    }

    .discover-text p {
        margin-bottom: 75px;
        font-size: 20px;
        width: 330px;
    }

    .discover-buttons a {
        width: 345px;
        height: 60px;
        font-size: 20px;
        margin-bottom: 20px;
    }

    .star {
        width: 59px;
    }

    .discover-star-one {
        left: 0;
    }

    .discover-star-two {
        right: 0;
        bottom: 200px;
    }
    .red-star-discover {
        width: 160px;
        aspect-ratio: 7 / 10;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 10px;
    }
    .red-star-discover img {
        width: 60px;
        animation: spin-and-wiggle 12s infinite linear;
    }
    /*FIN - Discover*/
    /*Guarantees*/
    .guarantees {
        flex-direction: column;
        height: unset;
        align-items: center;
    }

    .guarantees-text {
        min-width: unset;
    }

    .guarantees-text-title {
        font-size: 36px;
        margin-bottom: 50px;
        margin-top: 60px;
    }

    .guarantees-text-text {
        width: 325px;
    }

    .guarantees-text-text p {
        font-size: 20px;
    }

    .guarantees-hearts {
        display: none;
    }

    .guarantees-buttons {
        position: relative;
    }

    .guarantees-buttons a {
        position: relative;
        left: unset;
        top: unset;
    }

    .guarantees-buttons a img {
        width: 175px;
        margin-bottom: 100px;
    }

    .raton {
        left: -10px;
        bottom: 70px;
        width: 60px;
    }

    .yellow-star {
        left: 120px;
        bottom: 90px;
        width: 100px;
    }

    .guarantees-img {
        display: none;
    }
    /*FIN - Guarantees*/
    /*Testimonials*/
    .testimonials-title {
        padding-top: 38px;
        margin-bottom: 30px;
        margin-left: -200px;
    }

    .testimonials-title p {
        width: 400px;
        height: 60px;
        font-size: 36px;
        padding-right: 32px;
    }

    .testimonials-scroll {
        height: 300px;
        padding-right: 20px;
        margin-bottom: 60px;
    }

    .testimonials-card {
        width: 300px;
        margin-left: 20px;
        border-top-left-radius: 30px;
        border-top-right-radius: 30px;
        border-bottom-right-radius: 30px;
    }

    .testimonials-card.has-image {
        width: 530px;
        height: 300px;
        border-top-left-radius: 30px;
        border-top-right-radius: 30px;
        border-bottom-right-radius: 30px;
    }

    .testimonials-card.has-image .testimonials-texts {
        padding: 23px;
    }

    .testimonials-card.no-image {
        padding: 23px;
    }

    .testimonials-image {
        width: 200px;
        height: 250px;
        margin: 24px 0 26px 26px;
        border-top-left-radius: 30px;
        border-top-right-radius: 30px;
        border-bottom-right-radius: 30px;
    }

    .testimonials-name {
        font-size: 24px;
        margin-top: 0;
    }

    .testimonials-country {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .testimonials-text {
        font-size: 16px;
    }

    .testimonials-name,
    .testimonials-country,
    .testimonials-text {
        padding: 0;
    }
    /*FIN - Testimonials*/

}