.prop-gallery{
    width: 100%;
    position: relative;
}

.prop-gallery .gal-body{
    width: 100%;
    padding: 24px 32px;
}

.prop-gallery .gal-body h2{
    letter-spacing: 10px;
    font-weight: 500;
}

.prop-gallery .gal-body h2.proj-title{
    letter-spacing: unset;
}

.prop-gallery .gal-body p.head-note{
    font-size: 14px;
    color: #6A6A6A;
}

.projects{
    width: 100%;
    margin: 24px 0;
}

.projects .project{
    width: 100%;
    display: flex;
    gap: 24px;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #F1C0C0;
    margin-top: 16px;
    cursor: pointer;
    transition: all .2s ease-in-out;
}

.projects .project .image{
    width: 300px;
    height: 250px;
    position: relative;
    transition: all .2s ease-in-out;
    overflow: hidden;
}

.projects .project .image img{
    width: 100%;
    height: 100%;
    transition: all .2s ease-in-out;
}

.projects .project .image:hover img{
    transform: scale(1.2);
}

.projects .project .image p.tag{
    padding: 10px;
    position: absolute;
    bottom: 0;
    left: 0;
    color: #FFF;
    font-size: 13px;
    font-weight: 600;
}

.projects .project .image p.tag.completed{
    background-color: #0FB13D;
}

.projects .project .image p.tag.ongoing{
    background-color: #FEB934;
}

.projects .project .project-details{
    width: 70%;
}

.projects .project .project-details .address{
    display: flex;
    align-items: center;
    gap: 4px;
}

.projects .project .project-details .address p{
    color: #6A6A6A;
    font-size: 15px;
    font-weight: 500;
}

.projects .project .project-details p.deets{
    margin-top: 20px;
    font-size: 14px;
    line-height: 2;
}

.projects .project .project-details a{
    text-decoration: none;
    font-size: 15px;
    color: #9847FF;
    transition: all .2s ease-in-out;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 10px;
}

.projects .project .project-details a:hover{
    color: #6A6A6A;
}

.pictures{
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
}

.pictures img{
    width: 300px;
    height: 250px;
    cursor: pointer;
    transition: all .3s ease-in;
    border: 2px solid #900;
}

.pictures img:hover{
    transform: scale(1.08);
    opacity: .6;
}

.videos-section{
    width: 100%;
    margin-top: 24px;
}

.videos-section h3{
    margin: 20px 0 0;
}

.videos-section .videos{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.videos-section .videos video{
    width: 350px;
    height: 250px;
    cursor: pointer;
}

.view-pic{
    width: 100%;
    min-height: 100vh;
    background-color: rgba(0, 0, 0, .65);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    transition: all .3s ease-in-out;
    opacity: 0;
    transform: scale(0);
}

.view-pic.active{
    transform: scale(1);
    opacity: 1;
}

.view-pic .close{
    cursor: pointer;
    transition: all .3s ease-in-out;
    position: fixed;
    top: 20px;
}

.view-pic .close:hover{
    transform: scale(1.2);
}

.view-pic .pop-img{
    width: 600px;
    border-radius: 20px;
}

.view-pic .pop-img img{
    width: 100%;
    height: 500px;
    border-radius: 20px;
}

.view-pic .pop-images{
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 16px;
}

.view-pic .pop-images img{
    width: 80px;
    height: 60px;
    border-radius: 10px;
    cursor: pointer;
    transition: all .2s ease-in-out;
}

.view-pic .pop-images img.active{
    border: 3px solid #FEB934;
    opacity: .6;
}

.view-pic .pop-images img:hover{
    transform: translateY(-5px);
    opacity: .4;
}

@media screen and (max-width: 1340px){
    .pictures{
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 1010px){
    .pictures{
       display: flex;
       align-items: center;
       gap: 30px;
       flex-wrap: wrap;
    }
    
    .pictures img{
        width: 45%;
        height: 250px;
    }
}

@media screen and (max-width: 960px){
    .prop-gallery .gal-body{
        width: 100%;
        padding: 48px 32px;
    }

    .prop-gallery .gal-body h2{
        font-size: 20px;
        letter-spacing: 5px;
    }

    .projects .project{
        align-items: flex-start;
    }
}

@media screen and (max-width: 650px){
    .view-pic .pop-img{
        width: 90%;
    }

    .view-pic .pop-img img{
        height: unset;
    }

    .view-pic .pop-images img{
        width: 70px;
        height: 50px;
    }   

}

@media screen and (max-width: 550px){
    .prop-gallery .gal-body{
        width: 100%;
        padding: 48px 8px;
    }    

    .projects .project{
       flex-direction: column;
    }

    .projects .project .image{
        width: 100%;
    }

    .projects .project .project-details{
        width: 100%;
    }

    .projects .project .project-details .address p{
        font-size: 12px;
    }

    .pictures img{
        width: 100%;
        height: 300px;
    }

    .pictures img:hover{
        transform: scale(1.02);
    }

    .videos-section .videos video{
        width: 100%;
        margin-top: 10px;
    }
}

@media screen and (max-width: 400px){
    .projects .project .image{
        height: 200px;
    }
}

@media screen and (max-width: 350px){
    .pictures img{
        height: 250px;
    }
}