/*==========================
      EVENT GALLERY
==========================*/

.event-card{
    position:relative;
    overflow:hidden;
    border-radius:12px;
    background:#fff;
    box-shadow:0 10px 30px rgba(0,0,0,.12);
    transition:.4s;
}

.event-card:hover{
    box-shadow:0 18px 40px rgba(0,0,0,.2);
}

/* Images */

.image-card img{
    width:100%;
    height:250px;
    object-fit:cover;
    transition:transform .6s ease;
}

.image-card:hover img{
    transform:scale(1.15);
}

/* Videos */

.video-card{
    cursor:pointer;
}

.video-card video{
    width:100%;
    height:340px;
    object-fit:cover;
    display:block;
}

/* Play Button */

.play-btn{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:75px;
    height:75px;
    background:rgba(255,255,255,.9);
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:32px;
    color:#007bff;
    transition:.4s;
    pointer-events:none;
}

.video-card:hover .play-btn{
    transform:translate(-50%,-50%) scale(1.15);
    background:#007bff;
    color:#fff;
}

.event-content{
    padding:18px;
    text-align:center;
}

.event-content h5{
    margin:0;
    font-weight:700;
}

/* Tablet */

@media(max-width:991px){

.video-card video{
    height:280px;
}

.image-card img{
    height:220px;
}

}

/* Phone */

@media(max-width:767px){

.video-card video{
    height:220px;
}

.image-card img{
    height:220px;
}

.play-btn{
    width:60px;
    height:60px;
    font-size:24px;
}

}
/*========================
      IMAGE LIGHTBOX
=========================*/

.gallery-modal{
    display:none;
    position:fixed;
    z-index:99999;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.92);
    justify-content:center;
    align-items:center;
    animation:fadeIn .3s;
}

.gallery-content{

    max-width:90%;
    max-height:90%;
    border-radius:10px;
    box-shadow:0 10px 40px rgba(0,0,0,.5);

}

.gallery-close{

    position:absolute;
    top:20px;
    right:40px;
    color:#fff;
    font-size:45px;
    cursor:pointer;
    transition:.3s;

}

.gallery-close:hover{

    color:#78d5ef;

}

.gallery-img{

    cursor:pointer;

}

@keyframes fadeIn{

from{
opacity:0;
}

to{
opacity:1;
}

}