:root {
    --main-color: #4E8591;
    --white-color: #fff;
    --common-spacing: 8.75%;
    --secondary-color: #77B1BE;
}

/* BANNER SECTION */

.banner {
    display: flex;
    padding-bottom: 4rem;
}

.banner__header {
    padding-top: 2.875rem;
}

.banner-content, .banner-images {
    flex: 1;
}

.banner__brand--container {
    display: block;
    padding-left: 3.89rem;
    padding-bottom: 1.1875rem;
}

.banner__brand {
    padding-right: 2.05%;
    display: block;
}

.banner__container--left {
    margin-left: var(--common-spacing);
}

.banner__container--right {
    margin-right: var(--common-spacing);
}

.banner__principal--image {
    margin-right: 5%;
    position: relative;
    top: -50px;
}

.banner__tag {
    padding: .75rem 3rem .75rem 7.875rem;
    font-size: 1.5rem;
    margin: 0;
    background-color: var(--main-color);
    display: inline-block;
    color: var(--white-color);
}

.banner__title {
    margin: 0;
    line-height: normal;
    display: block;
    padding-top: .75rem;
    font-size: 5rem;
    color: var(--main-color);
}

.banner__subtitle {
    font-size: 1.875rem;
    padding-top: .75rem;
    color: #B1B1B1;
    margin: 0;
}

.banner__text > p {
    padding-top: 6.0625rem;
    padding-bottom: 3.25rem;
    font-size: 1.25rem;
    max-width: 35rem;
    line-height: 1.5rem;
    text-align: left;
    margin: 0;
}

.banner__btn {
    padding: 1.5rem 3rem;
    color: var(--white-color);
    background-color: var(--main-color);
    text-decoration: none;
    font-size: 1.5rem;
    border-radius: 3rem;
    display: inline-block;
    transition: .3s background-color;
}

.banner__btn:hover {
    background-color: var(--secondary-color);
}

/* METRICS SECTION */
.metrics {
    position: relative;
}

.metrics__wrapper {
    position: absolute;
    display: flex;
    padding: 1.5rem 6rem;
    width: 100%;
    max-width: 54.75rem;
    background-color: var(--secondary-color);
    right: 50%;
    transform: translateX(50%);
    top: -6.5rem;
    border-radius: 1.4rem;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.875rem;
}

.metrics__item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.metrics__item p {
    text-align: center;
    font-size: 1rem;
    padding: 0;
    max-width: 170px;
    color: white;
}

.metrics__item h3 {
    font-size: 2rem;
    margin: 0;
    padding: 0.5rem;
    color: white;
    font-weight: bold;
}

.metrics__icon {
    width: 2.25rem;
    height: 2.25rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 100%;
}

.metrics__icon::before {
    content: '';
    display: block;
    position: absolute;
    background: var(--white-color);
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.35;
}

img.metrics__icon--img {
    z-index: 2;
}

/* THEMES SECTION */
.themes {
    background-color: var(--main-color);
    padding: 8rem 4.0625rem 3.625rem;
}

.themes__item {
    display: block;
    text-decoration: none;
}

.themes__wrapper {
    display: flex;
    justify-content: center;
    gap: 4.03%;
    flex-wrap: wrap;
}

.themes__item--img {
    max-width: 17.4375rem;
    height: 15.375rem;
    border-radius: 1rem;
    overflow: hidden;
    background-color: #D9D9D9;
    box-shadow: 0 .25rem .25rem rgba(0,0,0, 0.25);
}

.themes__item--img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.themes__item p {
    text-align: center;
    padding-top: 1rem;
    font-size: 1rem;
    color: var(--white-color);
    text-transform: uppercase;
}

/* PLAN SECTION */
.plans {
    position: relative;
    padding-bottom: 33.5rem;
    width: 100%;
}

.plans__wrapper {
    position: absolute;
    display: flex;
    padding: 0 11.71875rem;
    width: 100%;
    gap: 7.6875rem;
    justify-content: center;
    top: -2rem;
    flex-wrap: wrap;
}

.plan {
    flex: 1;
    max-width: 31.3125rem;
    padding: 4.3125rem 2.5rem 5.5625rem;
    border-radius: 2.125rem;
    box-shadow: 0 .25rem .25rem rgba(0,0,0, 0.25);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    position: relative;
}

.plan__title {
    display: block;
    font-size: 1.875rem;
    text-align: center;
    margin: 0 auto;
}

.plan__title::after {
    content: '';
    display: block;
    width: 10.875rem;
    height: 2px;
    margin: 1.6875rem auto 0;
}

.plan__text > p {
    font-size: 1.5rem;
    text-align: center;
    padding: 2.5625rem 0;
    line-height: 2rem;
}

.plan__bottom-text {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20px;
    color: #77B1BE;
}

.plan.plan--bimestre {
    background-color: var(--white-color);
    color: var(--secondary-color);
}

.plan.plan--bimestre .plan__title::after {
    background-color: var(--secondary-color);
}

.plan.plan--anual {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

.plan.plan--anual .plan__title::after {
    background-color: var(--white-color);
}

.plan__value {
    display: block;
    text-align: center;
    padding: 0;
    margin: 0;
}

.plan__value > * {
    display: inline-block;
}

.plan__big {
    font-size: 4.0625rem;
}
.plan__small {
    font-size: 1.875rem;
}

.plan__link {
    padding: 1.5rem 3rem;
    color: var(--white-color);
    background-color: var(--main-color);
    text-decoration: none;
    font-size: 1.5rem;
    border-radius: 3rem;
    display: inline-block;
    transition: .3s background-color;
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 14rem;
    text-align: center;
}

@media (max-width: 1150px) {
    .plans__wrapper {
        gap: 4rem;
        padding-bottom: 3rem;
    }

    .metrics__wrapper {
        justify-content: center;
    }

    .banner {
        padding-bottom: 8rem;
    }

    .plans {
        padding-bottom: 39rem;
    }
}

@media (max-width: 1024px) {
    .plans {
        padding-bottom: 73rem;
    }

    .plan__bottom-text {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 980px) {
    .banner {
        padding-bottom: 10rem;
    }
    .banner-images {
        display: none;
    }

    .banner__text > p {
        max-width: 30rem;
    }
}

@media (max-width: 710px) {
    .themes {
        padding-top: 24rem
    }

}

@media (max-width: 500px) {
    .banner__title {
        font-size: 3rem;
    }

    .metrics__wrapper {
        padding: 1.5rem 4rem;
    }

    .banner__text > p {
        font-size: 0.85rem;
        line-height: 1rem;
        padding-top: 2rem;
    }

    .banner__subtitle {
        font-size: 1.2rem;
    }

    .banner__btn {
        padding: 1.2rem 2rem;
        font-size: 1.3rem;
    }

    .plans__wrapper {
        padding: 0 1rem 3rem;
    }

    .plans {
        padding-bottom: 73rem;
    }
}