* {
    margin: 0;
    padding: 0;
}

.main-content {
    margin-top: 50px;
}

.section-heading {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 30px;
}

.event-card {
    margin-bottom: 30px;
    height: 300px;
}


.card h5 {
    font-size: 1rem;
    margin-top: 10px;
    margin-bottom: 0;
    font-weight: bold;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size:30px;
    font-style: italic;
}

.card p {
    margin-top: 10px;
    margin-bottom: 0;
    font-weight: bold;
}

.event-card .btn {
    margin-top: 10px;
}

@media (max-width: 576px) {
    .event-card img {
        height: 150px;
    }
    .event-card h3 {
        font-size: 1.25rem;
    }
}

.wrapper {
    min-height: 20px;
    width: 100%;
    background: bg-image;
    display: flex;
    align-items: center;
    justify-content: center;
}

.box {
    margin: 20px;
}

.single-box {
    width: 300px;
    height: 300px;
    perspective: 1200px;
}

.box-content {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transform: translateZ(-150px);
    transition: all 1s;
}

.sides {
    position: absolute;
    width: 300px;
    height: 300px;
    text-align: center;
}

.side-1 {
    transform: rotateY(0deg) translateZ(150px);
    z-index: 2;
    background-size: cover;
    background-position: center center;
}

.side-2 {
    color: #fff;
    background-color: deepskyblue;
    transform: rotateY(90deg) translateZ(150px);
}

.box:hover .box-content {
    transform: translateZ(-150px) rotateY(-90deg);
}

.content {
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 100%;
}

.content h2 {
    font-family: alfa slab one;
    font-size: 25px;
}

.content p {
    font-size: 15px;
    line-height: 25px;
    font-family: 'Montserrat', sans-serif;
}

.socials {
    margin-top: 30px;
}

.socials i {
    margin: 0 15px;
}

@media (max-width:1400px) {
    .wrapper {
        flex-direction: column;
    }
}

.event.card {
    height: 100%;
}

.event.card p {
    min-height: 100px;
}

/* .card-main h3 {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
} */