/* Feria Header */

.home-header-feria h1 {
    color: #F2F5E1;
    font-size: 72px;
    text-align: center;
    max-width: 1150px;
    width: 100%;
    margin: auto;
    font-weight: 700;
    font-stretch: expanded;
}

.home-header-feria a {
    font-size: 26px;
}

@media (max-width: 1400px) {
    .home-header-feria h1 {
        font-size: 52px;
    }

    .home-header-feria a {
        font-size: 22px;
    }
}

@media (max-width: 900px) {
    .home-header-feria h1 {
        font-size: 40px;
    }
}


/* Home Info What */

.feria-info {
    padding: 120px 40px 0 40px;
    width: 100%;
    box-sizing: border-box;
    background-color: white;
}

.feria-info-what {
    display: flex;
    max-width: 1600px;
    margin: auto;
    width: 100%;
    box-sizing: border-box;
    padding: 50px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
}

.feria-info-what > div {
    box-sizing: border-box;
}

.feria-info-what > div:nth-of-type(1) {
    width: 75%;
}

.feria-info-what > div:nth-of-type(2) {
    width: 25%;
    display: flex;
    align-items: end;
    justify-content: end;
}

.feria-info-what h2 {
    color: #F2F5E1;
    font-size: 80px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 0 0 60px 0;
}

.feria-info-what p {
    color: #F2F5E1;
    font-size: 26px;
    font-style: normal;
    line-height: 34px;
    font-weight: 700;
}

.feria-info-what p:first-of-type {
    font-weight: 300;
}

.feria-info-what .button-main {
    color: #6F7558;
    font-size: 24px;
    font-weight: 400;
    background-color: white;
}

.feria-info-what .button-main:hover {
    transition: background-color 0.4s ease;
}

.feria-info-what .button-main:hover > img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7500%) hue-rotate(102deg) brightness(100%) contrast(105%);
}

.feria-info-what .button-main:hover {
    color: white;
    background-color: #6F7558;
}

.feria-info-text {
    color: #6F7558;
    text-align: center;
    font-size: 42px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.84px;
}

@media (max-width: 1400px) {
    .feria-info-what h2 {
        font-size: 64px;
    }

    .feria-info-what p {
        font-size: 18px;
        line-height: 1.4;
    }

    .feria-info-what .button-main {
        font-size: 20px;
    }
}

@media (max-width: 950px) {
    .feria-info-what {
        flex-direction: column;
    }

    .feria-info-what > div {
        padding: 0;
    }

    .feria-info-what > div:nth-of-type(1), .feria-info-what > div:nth-of-type(2) {
        width: 100%;
    }
}

@media (max-width: 500px) {
    .feria-info-what {
        padding: 30px;
        gap: 20px;
    }

    .feria-info-what h2 {
        font-size: 46px;
        margin: 0 0 40px 0;
    }

    .feria-info {
        padding: 80px 20px 0 20px;
    }
}


/* Feria Window */

.feria-window-container {
    background-color: white;
    width: 100%;
    padding: 0 40px 120px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 100px;
    box-sizing: border-box;
}

.feria-window {
    max-width: 1600px;
    width: 100%;
    display: flex;
}

.feria-window > div {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feria-window-text p {
    max-width: 640px;
    color: #6F7558;
    font-size: 40px;
    font-weight: 300;
}

.home-window-objetives ul {
    color: #6F7558;
    font-size: 24px;
    font-weight: 300;
    padding-left: 25px;
}

.home-window-objetives li {
    padding: 15px 0;
    border-bottom: solid 1px #6F7558;
    transition: transform 0.2s ease;
}

.home-window-objetives li:hover {
    transform: translateY(5px);
}

.home-window-objetives li:last-of-type {
    border-bottom: none;
}

@media (max-width: 1400px) {
    .feria-window-text p {
        font-size: 28px;
    }

    .home-window-objetives ul {
        font-size: 20px;
    }
}


/* Feria video */

.feria-video {
    padding: 0 40px 120px 40px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    background-color: white;
}

.feria-video iframe {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: 100%;
    max-width: 1600px;
    object-fit: cover;
    border-radius: 20px;
}

@media (max-width: 900px) {
    .feria-video {
        padding: 0 20px 80px 20px;
    }
}


/* Feria Cards */

.feria-cards-container {
    width: 100%;
    padding: 140px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 100px;
    box-sizing: border-box;
}

.feria-cards-container h2 {
    color: #d8ddba;
    font-size: 62px;
    font-weight: 700;
    margin: 0 40px;
    font-stretch: expanded;
}

.feria-cards-container .button-main {
    max-width: 300px;
}

.feria-cards {
    display: flex;
    justify-content: center;
    gap: 50px;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.feria-card-row {
    display: flex;
    max-width: 1900px;
    flex-flow: wrap;
    gap: 25px;
    overflow: hidden;
    width: fit-content;
    justify-content: center;
}

.feria-card-row:first-of-type > div:nth-of-type(even) {
    background-color: #D8DDBA;
    color: #6F7558;
}

.feria-card-row:first-of-type > div:nth-of-type(odd) {
    background-color: #6F7558;
    color: #F2F5E1;
}

.feria-card {
    height: 350px;
    width: 23%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 15px;
    padding: 30px;
    box-sizing: border-box;
}

.feria-card:hover img, .feria-card:hover .feria-card-text {
    transform: translateY(-10px);
}

.feria-card > div {
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    margin: 0;
    position: relative;
    line-height: 1;
    display: flex;
    gap: 25px;
    flex-direction: column;
    align-items: center;
}

.feria-card-image {
    display: flex;
    align-items: center;
}

.feria-card-image img {
    height: 90px;
    transition: transform 0.2s ease;
}

.feria-card-text {
    width: 100%;
    text-align: center;
    transition: transform 0.2s ease;
}

.feria-card span {
    font-size: 58px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    position: absolute;
    top: -24px;
    left: -55px;
}

.feria-card p {
    font-size: 20px;
    font-style: normal;
    font-weight: 300;
    line-height: 26px;
    margin-bottom: 0;
}

.feria-cards-container .button-main {
    font-size: 26px;
    width: 270px;
}

.feria-card-buttons {
    display: flex;
    gap: 80px;
}

@media (max-width: 1400px) {
    .feria-card-text {
        font-size: 28px;
    }
}

@media (max-width: 950px) {
    .feria-card {
        width: 47%;
    }

    .feria-cards-container h2 {
        font-size: 44px;
        line-height: 1.1;
    }
}

@media (max-width: 500px) {
    .feria-card {
        width: 100%;
    }
}


/* Feria Comprometidos */

.feria-comprometidos-container {
    padding: 120px 40px;
    background-color: white;
}

.feria-comprometidos {
    max-width: 1600px;
    width: 100%;
    margin: auto;
    box-sizing: border-box;
    display: flex;
}

.feria-comprometidos > div {
    width: 50%;
}

.feria-comprometidos-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feria-comprometidos-image {
    display: flex;
    justify-content: center;
}

.feria-comprometidos-image img {
    width: 100%;
}

.feria-comprometidos-text h2 {
    color: #6F7558;
    font-size: 62px;
    font-weight: 700;
    margin: 0 0 50px 0;
    line-height: 1;
    max-width: 680px;
    font-stretch: expanded;
}

.feria-comprometidos-text p {
    color: #6F7558;
    font-size: 24px;
    font-weight: 400;
    max-width: 680px;
}

@media (max-width: 1400px) {
    .feria-comprometidos-text h2 {
        font-size: 50px;
    }

    .feria-comprometidos-text p {
        font-size: 20px;
    }
}

@media (max-width: 1400px) {
    .feria-comprometidos-container {
        padding: 80px 20px;
        background-color: white;
    }

    .feria-comprometidos > div {
        width: 100%;
    }

    .feria-comprometidos {
        flex-direction: column;
        gap: 40px;
    }

    .feria-comprometidos-text h2 {
        font-size: 32px;
        margin-bottom: 20px;
    }
}



