
/* Hero */
#hero {
    padding-top: 9rem;
    padding-bottom: 9rem;
}

#hero .hero--texto-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#hero h1 {
    font-weight: 500;
}

#hero h2 {
    font-size: 24px;
    line-height: 28px;
    font-weight: 300;
}

#hero .hero-ilustracion {
    height: 270px;
    justify-content: flex-end;
}

#hero img {
    /* width: 450px; */
    height: 100%;
}

#hero .boton-rojo {
    margin-top: 10px;
}

/* Banner Novedades */
.banner-section {
    padding-bottom: 40px;
}

.banner-section .banner {
    position: relative;
    width: 100%;
    height: 170px;
    border-radius: 4px;
    overflow: hidden;
}

.banner-section .banner > * {
    position: relative;
    z-index: 1;
}

.banner-section .banner img.banner--background {
    position: absolute;
    height: 100%;
    object-fit: cover;
    left: 0;
    top: 0;
    z-index: 0;
    filter: invert(41%) sepia(87%) saturate(2596%) hue-rotate(202deg) brightness(83%) contrast(87%);
    transition: all 1s ease;
}


.banner-section .banner:hover img.banner--background {
    filter: invert(29%) sepia(97%) saturate(1041%) hue-rotate(195deg) brightness(87%) contrast(89%);
}

.banner-section.banner-section--express .banner img.banner--background {
    filter: invert(16%) sepia(92%) saturate(1942%) hue-rotate(242deg) brightness(93%) contrast(91%);
}

.banner-section.banner-section--express .banner:hover img.banner--background {
    filter: invert(16%) sepia(92%) saturate(1942%) hue-rotate(242deg) brightness(82%) contrast(97%);
}

.banner-section .icon-container {
    height: 100%;
    padding-top: 15px;
}

.banner-section .icon-container img {
    height: 100%;
    transition: all 1s ease;
}

.banner-section .banner:hover .icon-container img {
    transform: scale(1.1);
}

.banner-section .content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 3rem;
    color: #ffffff;
}

.banner-section .content h2 {
    margin-bottom: 0;
    font-size: 1.4rem;
}

.banner-section .content h3 {
    font-size: 2.2rem;
    font-weight: 600;
}

.banner-section .content h3 + p {
    font-weight: 300;
    font-size: 1.2rem;
    line-height: 1.2rem;
    margin-bottom: 0;
}

.banner-section .button-container {
    width: 850px;
    position: relative;
    display: flex;
    align-items: end;
    justify-content: end;
    padding-bottom: 20px;
    border-radius: 4px;
    overflow: hidden;
    z-index: -1;
}
    
.banner-section .button-container .imagen-fondo {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: all 750ms ease;
    z-index: -1;
    top: 0;
    right: 0;
}

.banner-section .banner:hover .button-container .imagen-fondo {
    height: 107%;
    width: 105%;
}

.banner-section .button-container img {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 99%;
    z-index: 1;
    /* transform: scaleX(-1); */
}

.banner-section .banner .boton-rojo {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    display: flex;
    align-items: center;
    background-color: var(--primary);
    z-index: 5;
    transition: all 750ms ease;
}

.banner-section .banner .boton-rojo:hover {
    background-color: var(--secondary);
}

/* Tableros */
section#tableros-destacados {
    padding-bottom: 80px;
}

section#tableros-recientes, section#tableros-destacados {
    scroll-margin-top: 100px;
}

#tableros-recientes h2, #tableros-destacados h2 {
    font-size: 34px;
}

/* Sumate Section */
#sumate {
    border-top: 1px solid;
    padding-top: 54px;
}

#sumate h2 {
    font-size: 48px;
    font-weight: 700;
    padding-bottom: 0.5rem;
}

#sumate h2 span.color-rojo {
    color: var(--secondary);
}

#sumate h2 + p {
    font-size: 22px;
    line-height: 26px;
    font-weight: 300;
}

#sumate .ilustracion-sumate {
    width: 650px;
}

#sumate .cards-container {
    padding: 40px 0 80px;
}

#sumate .sumate--card p {
    width: 85%;
    font-size: 18px;
    line-height: 20px;
}

#sumate .sumate--card a {
    width: 230px;
    font-size: 18px;
    font-weight: 500;
}

/* Media Queries */
@media (max-width: 1400px) {
    /* Hero */
    #hero {
        padding-top: 90px;
        padding-bottom: 90px;
    }
}


@media (max-width: 1400px) {
    #hero .hero-ilustracion {
        height: 250px;
    }

    #hero h2 {
        font-size: 21px;
        line-height: 24px;
    }

    /* Banner */
    .banner-section .banner {
        height: 150px;
        cursor: pointer;
    }

    .banner-section .content h2 {
        font-size: 1.2rem;
    }

    .banner-section .content h3 {
        font-size: 1.8rem;
    }

    .banner-section .content h3 + p {
        font-size: 15px;
        line-height: 18px;
    }

    .banner-section .banner img.banner--background {
        left: -7%;
    }

    /* Tableros */
    #tableros-recientes h2, #tableros-destacados h2 {
        font-size: 28px;
    }
    
    /* Sumate Section */
    #sumate h2 {
        font-size: 44px;
    }

    #sumate h2 + p {
        font-size: 21px;
        line-height: 24px;
    }

    #sumate .ilustracion-sumate {
        width: 500px;
    }

    #sumate .sumate--card a, #sumate .sumate--card p {
        font-size: 16px;
    }

    #sumate .sumate--card p {
        width: 90%;
    }
}

@media (max-width: 1200px) {
    #hero .hero-ilustracion {
        height: 240px;
    }

    .banner-section .banner img.banner--background {
        left: -20%;
    }
}

@media (max-width: 992px) {
    /* Hero */
    #hero {
        padding-top: 4rem;
        padding-bottom: 6rem;
    }

    #hero .hero-ilustracion {
        justify-content: center;
        padding-top: 2rem;
    }

    #hero .hero-ilustracion {
        height: 260px;
    }

    /* Banner */
    .banner-section .banner {
        height: 125px;
    }

    .banner-section .banner img.banner--background {
        left: -33.5%;
    }

    .banner-section .icon-container  {
        padding-top: 30px;
    }

    .banner-section .content {
        width: 170%;
        padding-left: 1.5rem;
    }

    .banner-section .content h3 {
        font-size: 1rem;
    }

    .banner-section .content h2 {
        font-size: 1rem;
    }
    
    .banner-section .content h3 + p {
        font-size: 12px;
        line-height: 1.2em;
    }

    .banner-section .button-container {
        width: 880px;
    }

    .banner-section .banner .boton-rojo {
        width: auto;
        padding: 5px 15px;
    }

    /* Tableros */
    section#tableros-destacados {
        padding-bottom: 40px;
    }

    /* Sumate Section */
    #sumate {
        padding-top: 40px;
    }

    #sumate h2 {
        font-size: 34px;
    }

    #sumate h2 + p {
        font-size: 18px;
    }

    #sumate .ilustracion-sumate {
        width: 100%;
    }

    #sumate .sumate--card a {
        width: 210px;
    }
}

@media (max-width: 768px) {
    /* Hero */
    main h1, #sumate h2 {
        font-size: 38px;
    }

    #hero h2, #sumate h2 + p {
        font-size: 20px;
    }

    /* Banner */
    .banner-section .banner {
        height: 110px;
    }

    .banner-section .banner img.banner--background {
        left: 0;
    }

    .banner-section .icon-container {
        padding-top: 20px;
    }

    .banner-section .icon-container img {
        animation: scale-animation 3.5s infinite;
    }

    .banner-section .content {
        padding-left: 1rem;
    }

    .banner-section .content h3 {
        margin-bottom: 6px;
    }

    .banner-section .content p {
        font-size: 13px;
        line-height: 16px;
        margin-bottom: 0;
    }

    .banner-section .button-container {
        width: 0;
    }

    .banner-section .banner .boton-rojo {
        display: none;
    }

    @keyframes scale-animation {
        0% {
          transform: scale(1);
        }
        50% {
          transform: scale(1.1);
        }
        100% {
          transform: scale(1);
        }
    }

    /* Tableros */
    #tableros-recientes h2, #tableros-destacados h2 {
        font-size: 26px;
    }
      
    /* Sumate */
    #sumate .cards-container {
        padding: 15px 0 40px;
    }
} 

@media (max-width: 576px) {
    /* Hero */
    #hero {
        padding: 5rem 1.25rem 6rem 1.25rem;
    }

    main h1, #sumate h2 {
        font-size: 30px;
    }

    #hero h2, #sumate h2 + p {
        font-size: 18px;
        line-height: 22px;
    }

    #hero .hero-ilustracion {
        padding-top: 3rem;
    }

    #hero .hero-ilustracion {
        height: 200px;
    }

    /* Banner */
    .banner-section .banner {
        height: 150px;
    }

    .banner-section .icon-container {
        padding-top: 70px;
    }

    .banner-section .content {
        padding-left: 1.1rem;
        padding-right: 0.5rem;
    }

    .banner-section .content p {
        font-size: 12px;
        line-height: 16px;
        margin-bottom: 0;
    }

    /* Tableros */
    #tableros-recientes h2, #tableros-destacados h2 {
        font-size: 22px;
    }

    #tableros-recientes .boton-rojo {
        width: 275px;
    }

    /* Sumate */
    #sumate {
        width: 90%;
    }

    #sumate .sumate--card a, #sumate .sumate--card p {
        font-size: 15px;
    }
}
