/* Home Header */

.home-fixed {
    display: flex;
    flex-direction: column;
    margin: auto;
    justify-content: center;
    position: fixed;
    height: 1000px;
    width: 100%;
    top: 0;
    left: 0;
    box-sizing: border-box;
    z-index: -1;
}

.home-fixed video {
    object-fit: cover;
    height: 100%;
}

.home-header-info {
    padding: 160px 40px 90px 40px;
    background-color: transparent;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.home-header-info img {
    max-width: 700px;
    width: 100%;
    height: auto;
}

.home-header-info h1 {
    color: #FFF;
    font-size: 128px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.home-header-info h2 {
    color: #FFF;
    font-size: 64px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-align: center;
}

.home-header-info > div {
    display: flex;
    gap: 70px;
}

.home-header-info .button-main {
    font-size: 26px;
    width: 230px;
}

@media (max-width: 1400px) {
    .home-header-info img {
        max-width: 500px;
    }

    .home-header-info h1 {
        font-size: 55px;
    }

    .home-header-info h2 {
        font-size: 45px;
    }

    .home-header-info .button-main {
        font-size: 19px;
    }
}

@media (max-width: 950px) {
    .home-header-info > div {
        flex-direction: column;
        gap: 35px;
    }
}

@media (max-width: 500px) {
    .home-header-text {
        width: 100%;
        font-size: 24px;
        word-spacing: -4px;
    }
}

@media (max-width: 500px) {
    .home-header-info {
        gap: 40px;
    }

    .home-header-info h2 {
        font-size: 36px;
    }
}

/* Home Info What */

.home-info {
    padding: 100px 40px;
    width: 100%;
    box-sizing: border-box;
    background-color: white;
}

.home-info-what {
    display: flex;
    max-width: 1600px;
    margin: auto;
    width: 100%;
    box-sizing: border-box;
    padding: 40px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
}

.home-info-what > div {
    padding: 20px;
    box-sizing: border-box;
}

.home-info-what > div:nth-of-type(1) {
    width: 75%;
}

.home-info-what > div:nth-of-type(2) {
    width: 25%;
    display: flex;
    align-items: end;
    justify-content: end;
}

.home-info-what h2 {
    color: #FFF;
    font-size: 104px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 0 0 60px 0;
}

.home-info-what p {
    color: #FFF;
    font-size: 22px;
    font-style: normal;
    font-weight: 300;
    line-height: 34px;
}

.home-info-what .button-main {
    color: #325D5F;
    font-size: 24px;
    font-weight: 400;
    background-color: white;
}

.home-info-what .button-main:hover {
    transition: background-color 0.4s ease;
}

.home-info-what .button-main:hover > img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7500%) hue-rotate(102deg) brightness(100%) contrast(105%);
}

.home-info-what .button-main:hover {
    color: white;
    background-color: #12D3B6;
}

.home-info-offer {
    max-width: 1600px;
    width: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-top: 140px;
}

.home-info-offer > div {
    display: flex;
    gap: 50px;
}

home-info-offer-image {
    height: 450px;
}

.home-info-offer > div:nth-of-type(odd) {
    flex-direction: row-reverse;
}

.home-info-offer-image, .home-info-offer-text {
    width: 50%;
}

.home-info-offer-image {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 20px;
    height: 500px;
}

.home-info-offer-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.home-info-offer-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-info-offer-text h2 {
    color: #325D5F;
    font-size: 62px;
    font-style: normal;
    font-weight: 400;
    line-height: 62px;
    margin: 0;
}

.home-info-offer-text p {
    color: #325D5F;
    font-size: 22px;
    font-style: normal;
    font-weight: 300;
    line-height: 34px;
}

@media (max-width: 1400px) {
    .home-info-what h2 {
        font-size: 73px;
    }

    .home-info-what p {
        font-size: 18px;
        line-height: 1.4;
    }

    .home-info-what .button-main {
        font-size: 20px;
    }

    .home-info-offer-text h2 {
        font-size: 44px;
    }

    .home-info-offer-text p {
        font-size: 18px;
        line-height: 1.6;
    }

    .home-info-offer-image {
        height: 320px;
    }
}

@media (max-width: 950px) {
    .home-info-what {
        flex-direction: column;
    }

    .home-info-what > div {
        padding: 0;
    }

    .home-info-what > div:nth-of-type(1), .home-info-what > div:nth-of-type(2) {
        width: 100%;
    }

    .home-info-offer > div, .home-info-offer > div:nth-of-type(odd) {
        flex-direction: column-reverse;
    }

    .home-info-offer-image, .home-info-offer-text {
        width: 100%;
    }
}

@media (max-width: 500px) {
    .home-info-what {
        margin-bottom: 70px;
        padding: 30px;
        gap: 20px;
    }

    .home-info-what h2 {
        font-size: 46px;
        margin: 0 0 40px 0;
    }

    .home-info {
        padding: 70px 20px;
    }

    .home-info-offer-text h2 {
        line-height: 1.2;
    }
}


/* Home Madrid */

.home-madrid-container {
    padding: 100px 40px;
    box-sizing: border-box;
    background-color: white;
}

.home-madrid-container h2 {
    color: #325D5F;
    font-size: 72px;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    margin-top: 0;
}

.home-madrid {
    width: 100%;
    max-width: 1600px;
    margin: auto;
}

.home-madrid-cards {
    display: flex;
    flex-wrap: wrap;
}

.home-madrid-cards > div {
    width: 25%;
    display: flex;
}

.home-madrid-card-image, .home-madrid-card-info {
    height: 700px;
    width: 50%;
}

.home-madrid-card-image {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.home-madrid-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-madrid-card-info {
    display: flex;
    flex-direction: column;
    padding: 5% 2%;
    justify-content: space-between;
    font-size: 26px;
    font-style: normal;
    font-weight: 300;
    box-sizing: border-box;
    line-height: 1.2;
    background-color: #58BCAD;
    color: #325D5F;
}

.home-madrid-card-info img {
    margin-right: 5px;
}

.home-madrid-card-info.green {
    background-color: #325D5F;
    color: white;
}

@media (max-width: 1400px) {
    .home-madrid-container h2 {
        font-size: 50px;
    }

    .home-madrid-card-image, .home-madrid-card-info {
        height: 400px;
    }

    .home-madrid-card-info {
        font-size: 20px;
        padding: 5%;
    }

    .home-madrid-card-info img {
        width: 20px;
    }
}

@media (max-width: 900px) {
    .home-madrid-cards > div {
        width: 100%;
    }
}

@media (max-width: 500px) {
    .home-madrid-container {
        padding: 70px 20px;
    }

    .home-madrid-cards > div:nth-of-type(1), .home-madrid-cards > div:nth-of-type(2) {
        flex-direction: column;
    }

    .home-madrid-cards > div:nth-of-type(3), .home-madrid-cards > div:nth-of-type(4) {
        flex-direction: column-reverse;
    }

    .home-madrid-card-image, .home-madrid-card-info {
        width: 100%;
    }

    .home-madrid-card-info {
        padding: 20% 5%;
    }
}


/* home Images */

.home-images {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.home-images > div {
    display: flex;
    flex-wrap: wrap;
}

.home-images > div:nth-of-type(1) .home-image {
    width: 25%;
}

.home-images > div:nth-of-type(2) .home-image {
    width: 33.33%;
}

.home-image {
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1400px) {
    .home-image {
        height: 320px;
    }
}

@media (max-width: 900px) {
    .home-images > div:nth-of-type(1) .home-image {
        width: 50%;
    }

    .home-images > div:nth-of-type(2) .home-image {
        width: 50%;
    }

    .home-images > div:nth-of-type(2) > div:last-of-type {
        display: none;
    }
}

/* home sign */

.home-sign {
    width: 100%;
    background-color: #325D5F;
    overflow: hidden;
    padding: 20px 40px;
    box-sizing: border-box;
    display: flex;
}

.home-sign label {
    color: #FFF;
    width: 9700px;
    font-size: 72px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -1.44px;
    white-space: nowrap;
    animation: move 35s linear infinite;
}

@keyframes move {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-4850px);
    }
}

@media (max-width: 1400px) {
    .home-sign label {
        font-size: 52px;
    }
}

/* Home Cards */

.home-cards-container {
    width: 100%;
    padding: 140px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 100px;
    box-sizing: border-box;
}

.home-cards-container h2 {
    color: #FFF;
    font-size: 78px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 0 40px;
}

.home-cards-container .button-main {
    max-width: 300px;
}

.home-cards {
    display: flex;
    flex-direction: column;
    gap: 50px;
    width: 100%;
    overflow-x: scroll;
    padding: 20px;
    box-sizing: border-box;
    cursor: grab;
    user-select: none;
    scrollbar-width: none;
}

.home-cards::-webkit-scrollbar {
    display: none;
}

.home-card-row {
    display: flex;
    gap: 25px;
    overflow: hidden;
    width: fit-content;
}

.home-card-row:first-of-type > div:nth-of-type(odd) {
    background-color: white;
    color: #325D5F;
}

.home-card-row:first-of-type > div:nth-of-type(even) {
    background-color: #325D5F;
    color: #58BCAD;
}

.home-card-row:last-of-type > div:nth-of-type(even) {
    background-color: white;
    color: #325D5F;
}

.home-card-row:last-of-type > div:nth-of-type(odd) {
    background-color: #325D5F;
    color: #58BCAD;
}

.home-card {
    height: 270px;
    width: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 15px;
    padding: 30px;
    box-sizing: border-box;
}

.home-card > div {
    font-family: BOWENS, serif;
    font-size: 36px;
    width: min-content;
    min-width: 60%;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 0;
    position: relative;
    margin-left: 50px;
}

.home-card span {
    font-family: BOWENS, serif;
    font-size: 66px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    position: absolute;
    top: -27px;
    left: -55px;
}

.home-cards-container .button-main {
    font-size: 26px;
    width: 270px;
}

@media (max-width: 1400px) {
    .home-cards-container h2 {
        font-size: 56px;
    }

    .home-card > div {
        font-size: 26px;
    }

    .home-card span {
        font-size: 47px;
    }

    .home-card {
        height: 200px;
        width: 290px;
    }

    .home-cards-container .button-main {
        font-size: 20px;
        width: 210px;
    }
}

@media (max-width: 1400px) {
    .home-cards-container {
        padding: 100px 0;
    }

    .home-cards-container h2 {
        font-size: 50px;
        line-height: 1.2;
    }
}


/* Home video */

.home-video {
    padding: 100px 40px 20px 40px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}

.home-video iframe {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: 100%;
    max-width: 1600px;
    object-fit: cover;
    border-radius: 20px;
}

@media (max-width: 900px) {
    .home-video {
        padding: 70px 20px;
    }
}


/* Home Newslleter */

.home-newsletter {
    padding: 120px 40px;
    margin: auto;
    width: 100%;
    max-width: 1600px;
    box-sizing: border-box;
}

.home-newsletter h2 {
    color: #FFF;
    font-size: 72px;
    font-style: normal;
    font-weight: 400;
    margin-top: 0;
    line-height: 1.1;
}

.home-newsletter-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.70);
    backdrop-filter: blur(16px);
    padding: 30px;
    position: relative;
    box-sizing: border-box;
}

.home-newsletter-form-data {
    display: flex;
    flex-direction: column;
    position: relative;
}

.home-newsletter-form-data > div {
    display: flex;
}

.home-newsletter-form-data > div:nth-of-type(2) {
    position: absolute;
    bottom: -25px;
    font-size: 12px;
    display: flex;
    align-items: center;
}

.home-newsletter-form-data a {
    font-size: 12px;
    color: black;
    margin-left: 3px;
}

.home-newsletter-form input[type="text"], .home-newsletter-form input[type="email"] {
    width: 250px;
    background-color: white;
    border: none;
    margin-right: 20px;
    padding: 15px;
    border-radius: 10px;
    font-size: 20px;
    font-family: Rubik, serif;
    box-sizing: border-box;
    height: 45px;
}

.home-newsletter-form input:focus-visible {
    outline: 0;
}

.home-newsletter-info {
    position: absolute;
    right: 30px;
    bottom: 10px;
    font-size: 11px;
}

.home-newsletter-form .button-main {
    border: none;
    cursor: pointer;
    margin-left: auto;
    font-size: 22px;
}

.home-newsletter-form .button-main[data-enabled=false] {
    background-color: #12d3b64a;
    cursor: default;
}

@media (max-width: 1400px) {
    .home-newsletter-form input {
        font-size: 16px;
    }

    .home-newsletter-form .button-main {
        font-size: 18px;
    }

    .home-newsletter h2 {
        font-size: 52px;
    }
}

@media (max-width: 900px) {
    .home-newsletter {
        padding: 80px 20px;
        margin: auto;
        width: 100%;
        max-width: 1600px;
        box-sizing: border-box;
    }

    .home-newsletter-form {
        flex-direction: column;
        justify-content: center;
        gap: 50px;
    }

    .home-newsletter-form a {
        margin: auto;
    }

    .home-newsletter-info {
        left: 0;
        width: 100%;
        padding: 0 20px;
        text-align: center;
        box-sizing: border-box;
    }

    .home-newsletter-form-data > div:nth-of-type(1) {
        flex-direction: column;
        gap: 20px;
    }

    .home-newsletter-form input[type="text"], .home-newsletter-form input[type="email"] {
        width: 100%;
        max-width: 400px;
    }
}

/* Cookies */

.cookies-container {
    display: none;
    max-width: 800px;
    position: fixed;
    color: #325D5F;
    width: 100%;
    right: 20px;
    bottom: 20px;
    flex-direction: column;
    gap: 30px;
    padding: 25px;
    box-sizing: border-box;
    border-radius: 10px;
    font-size: 18px;
    background: rgb(255 255 255 / 60%);
    backdrop-filter: blur(20px);
    z-index: 100;
    box-shadow: 0 0 9px 2px #a9a9a9;
    font-weight: 400;
}

.cookies-container a {
    color: #325D5F;
    font-weight: 500;
}

.cookies-buttons {
    display: flex;
    gap: 20px;
    cursor: pointer;
    justify-content: center;
}

.cookies-buttons > div {
    background-color: white;
    color: #325D5F;
    border-radius: 10px;
    padding: 10px 23px;
    text-align: center;
    min-width: 100px;
    font-size: 18px;
    font-weight: 500;
    transition: background ease 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookies-buttons > div:hover {
    background: #325D5F;
    color: white;
}

@media (max-width: 900px) {
    .cookies-container {
        width: calc(100% - 40px);
        max-width: none;
    }

    .cookies-buttons > div {
        font-size: 16px;
        min-width: auto;
    }
}





