/* Anulación */
#fh5co-blog {
    margin-top: 0;
}
#fh5co-blog div.container {
    position: relative;
    top: 11rem;
}

.row-padded-mb {
    margin-bottom: 0 !important;
}

.row.animate-box {
    padding-top: 0rem;
}

.row.animate-box.fadeInUp.animated-fast {
    height: auto;
    width: 100%;
}

.content-events {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.fh5co-event {
    position: relative;
    padding-left: 120px;
    width: 100%;
    float: left;
}

.fh5co-event .date {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    background: rgba(0, 0, 0, 0.03);
    display: table;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    border-radius: 50%;
}

.fh5co-event .date span {
    display: table-cell;
    vertical-align: middle;
    height: 100px;
    width: 100px;
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
}

.fh5co-event h3 {
    font-size: 20px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.fh5co-event h3 a {
    color: black;
}

.fh5co-event p {
    margin-bottom: 0;
}

/* Style created */
.animate-box .animated-fast {
    height: auto;
}

/* .custom-heading {
    margin: 6rem 0 0rem 0;
} */
#fh5co-blog div div.text-center.fh5co-heading.custom-heading.animate-box.fadeInUp.animated-fast {
    margin: 0 0 1rem;
}

.text-center.fh5co-heading.custom-heading h2,
.text-center.fh5co-heading.custom-headingSecond h2 {
    margin-bottom: 0;
}

.custom-imgEvent {
    height: 23rem !important;
}

.container-events {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.content-pastEvents {
    display: grid;
    gap: 1rem;
    margin: 2rem 0 3rem 0;
}

.container-footer {
    margin-top: 14rem;
}

/* Media Queries */

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .container {
        top: 3rem;
    }

    #fh5co-blog div.container {
        top: 3rem;
    }

    .custom-heading {
        margin: 0;
    }

    .fh5co-event {
        margin: 0;
    }

    .content-events {
        grid-template-columns: repeat(1, 1fr);
        gap: 1rem;
    }

    .container-events {
        grid-template-columns: repeat(2, 1fr);
    }
    .container-footer {
        margin-top: 7rem;
    }
}

@media screen and (max-width: 667px) {
    #fh5co-blog div.container {
        top: 2rem;
    }

    .fh5co-event {
        margin: 0;
    }

    .content-events {
        grid-template-columns: repeat(1, 1fr);
        gap: 1rem;
    }

    .custom-heading {
        margin: 0 0 1rem 0;
    }

    .container-event {
        width: 20rem;
    }

    .container-events {
        grid-template-columns: repeat(6, 1fr);
        overflow-x: auto;
    }

    .content-pastEvents {
        grid-template-columns: repeat(1, 1fr);
        gap: 1rem;
    }

    .container-footer {
        margin-top: 5rem;
    }
    /* .custom-heading {
        margin: 0 0 0 0;
    }
    .content-events {
        grid-template-columns: repeat(1, 1fr);
    }
    .container-events {
        grid-template-columns: repeat(1, 1fr);
    } */
}