
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.containergallery
{
    position: relative;
    min-height: 100vh;
   
}
.containergallery h1{
    font-size: 40px;
    font-weight: normal;
    padding: 15px;
    color: #333;
    text-transform: capitalize;
    width: 100%;
    text-align: center;
}
.containergallery .imgcontainer
{
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    padding: 10px;
}
.containergallery .imgcontainer .img{
    height: 250px;
    width: 350px;
    border: 10px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,.1);
    overflow: hidden;
    cursor: pointer;
}

.containergallery .imgcontainer .img img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: .2s linear;   
}

.containergallery .imgcontainer .img:hover img{
    transform: scale(1.1);
}

.containergallery .popupimg
{
   position: fixed;
   top: 0;
   left: 0;
   background: rgba(0, 0, 0,.9);
   height: 100%;
   width: 100%;
   z-index: 100;
   display: none;
}
.containergallery .popupimg span{
    position: absolute;
    top: 0;
    right: 10px;
    font-size: 40px;
    font-weight: bolder;
    color: #fff;
    cursor: pointer;
    z-index: 100;
}

.containergallery .popupimg img{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    border: 5px solid #fff;
    border-radius: 5px;
    width: 750px;
    object-fit: cover;
}
@media (max-width:768px)
{
    .containergallery .popupimg img{
        width:95%;

    }
}
