/* projects */
.projects{ padding: 50px 0; background: #fff; }
.projects .title-section{text-align: center; margin-bottom: 50px;}
.projects-content{ display: block; margin-top: 30px; }
.projects-content-image-block{ position: relative; overflow: hidden; margin-bottom: 30px; }
.projects-content-image-block img{ width: 100%; -webkit-transition: all linear 0.3s; -moz-transition: all linear 0.3s; -o-transition: all linear 0.3s; transition: all linear 0.3s; }
.overlayer{ position: absolute; top: 15px; right: 15px; bottom: 15px; left: 15px; z-index: 9; border: #fff solid 1px; display: flex; justify-content: center; align-items: center; -webkit-transition: all linear 0.3s; -moz-transition: all linear 0.3s; -o-transition: all linear 0.3s; transition: all linear 0.3s; opacity:0;}
.overlayer::before{ content: ""; position: absolute; top: -15px; right: -15px; bottom: -15px; left: -15px; transform: scale(0); background: rgba(0,0,0,0.5); z-index: -1; -webkit-transition: all linear 0.3s; -moz-transition: all linear 0.3s; -o-transition: all linear 0.3s; transition: all linear 0.3s; }
.overlayer a{ display: block; text-align: center; color: #fff; font-size: 36px; font-weight: 700; text-decoration: none; }
.overlayer a span{ display: inline-block; font-size: 18px; text-align: center; padding-bottom: 5px; border-bottom: #fff solid 1px; }
.overlayer a .fa{ color: #fff; font-size: 30px; }
.projects-content-image-block:hover .overlayer::before{ transform: scale(1,1); }
.projects-content-image-block:hover .overlayer{opacity:1;}



body {
    font-family: Arial, sans-serif;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery-item {
    width: 200px;
    height: 200px;
    object-fit: cover;
    margin: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

/* The Modal */
.modal {
    display: none; 
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

/* Modal Content */
.modal-content {
    display: block;
    margin: auto;
    max-width: 80%;
    max-height: 80%;
    padding: 20px;
}

/* Navigation Buttons */
.prev, .next {
    position: absolute;
    top: 50%;
    padding: 16px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 18px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    user-select: none;
}

.prev {
    left: 0;
    transform: translateY(-50%);
}

.next {
    right: 0;
    transform: translateY(-50%);
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Close Button */
.close {
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
    color: white;
    cursor: pointer;
}

.close:hover, .close:focus {
    color: red;
}







