main {
    margin-top: 15rem;
    margin-bottom: 8rem;
}

.galerias-eventos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5% 40px;
}

.galerias-eventos .hero-content {
    max-width: 50%;
}

.hero-content h1 {
    font-size: 4rem;
    color: #6E2D86;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-content p {
    line-height: 1.6;
    font-size: 1rem;
    color: #777;
}

    .hero-ilustracion img {
        width: 100%;
    }


/* =========== Banner ========== */


.banner-eventos {
    background: #6E2D86;
    color: #fff;
    text-align: center;
    padding: 2.5rem 5%;
}

.banner-eventos h2 {
    font-size: 1.8rem;
    font-weight: 600;
}

/* =========== Eventos Fijos ========== */


.eventos-fijos {
    padding: 3.75rem 5%;
    text-align: center;
}

.eventos-fijos .section-title {
    font-size: 2rem;
    color: #6E2D86;
    margin-bottom: 2.5rem;
}

.card-container {
    display: flex;
    justify-content: center;
    gap: 4.5rem;
    flex-wrap: wrap;
}

.event-card {
    background: #fff;
    padding: 2.5rem 1.8rem;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 1px rgba(0, 0, 0, 0.5);
    width: 300px;
    border: 1px solid #eee;
    transition: .4s;
}

.event-card h3 {
    text-align: center;
    font-size: 1.5rem;
    color: #6E2D86;
}

.event-card>svg {
    width: 5.5em;
    transition: .5s;
    height: auto;
    margin-bottom: 1rem;
}

.event-card p {
    font-size: 1rem;
    color: #3e3e3e;
}

.event-card:hover {
    background: #6E2D86;
    transform: translateY(-1rem);
}

.event-card:hover>p,
.event-card:hover>h3 {
    color: #fff;
}

.event-card:hover>svg {
    fill: #fff;
    scale: calc(1.1);
    transition: .5s all;

}


@media (max-width: 1440px) {
    .banner-eventos h2{
        font-size: 1.5rem;
    }
    .hero-content h1{
        font-size: 3.5rem;
    }

    .galerias-eventos .hero-content{
        max-width: 60%;
    }

}

@media (max-width: 888px) {
    main {
        margin-top: 12rem;
    }

    .galerias-eventos {
        padding: 10px 10% 40px;
        flex-direction: column;
    }

    .galerias-eventos .hero-content {
        text-align: center;
        max-width: 90%;
        margin-bottom: 2rem;
    }

    .hero-content h1 {
        font-size: 3em;
    }

    .hero-content p {
        font-size: 0.8em;
    }

}



@media (max-width: 480px) {


    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-ilustracion img{
        width: 20em;
    }

    main {
        margin-top: 10rem;
    }

    .banner-eventos h2 {
        font-size: 1.5rem;
    }



    .event-card {
        width: 250px;
    }

    .event-card>svg {
        width: 4rem;
    }


}