.sp-event-txt{    
    margin-bottom: 3rem;
}

.sp-event-txt h2, .sp-event-txt h5{
    color: #212121;
    text-align: center;
}

.sp-event-txt h2{
    padding-bottom: 10px;
}

.sp-event-txt p{
    padding-top: 25px;
}


/*====================================================
# event-card
==================================================== */


.event-card {
    position: relative;
    display: block;
    max-width: 250px;
    margin: auto;
    overflow: hidden;
    box-shadow: #212121 0px 1px 2px, #212121 0px 0px 0px 2px;
}

.event-card .event-card-overlay {
    background: rgba(0, 0, 0, 0.7);
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    opacity: 0;
    -webkit-transition: all 0.4s ease-in-out 0s;
    -moz-transition: all 0.4s ease-in-out 0s;
    transition: all 0.4s ease-in-out 0s;
}

.event-card:hover .event-card-overlay {
    opacity: 1;
}

.event-card-image {
    width: 100%;
}

.event-card-details {
    position: absolute;
    text-align: center;
    padding-left: 1em;
    padding-right: 1em;
    width: 100%;
    top: 50%;
    left: 50%;
    opacity: 0;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transition: all 0.3s ease-in-out 0s;
    -moz-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}

.event-card:hover .event-card-details {
    top: 50%;
    left: 50%;
    opacity: 1;
}

.event-card-overlay::after {
    font-family: 'bootstrap-icons';
    content: "\F285";
    font-size: 14px;
    font-weight: 600;
    line-height: 2;
    text-align: center;
    color: #333333;
    background-color: var(--main-colorY);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    position: absolute;
    bottom: 8%;
    right: 10%;
}


.event-card-details p {
    color: #ffffff;
    font-size: 20px;
}

.event-info {
    margin: 1.2rem 1.5rem;
    color: #212121;
}

.event-info h5{
    color: var(--sub-colorC);
}
