.bg-protfolio {
    width: 100%;
    padding: 80px 50px;
    margin: 0;
}

.portfolio-title {
    text-align: center;
    padding-inline: 4rem;
    margin: 0px !important;
    font-family: 'Kanit', sans-serif;
    font-size: 2.2rem;
    font-weight: 400;
    color: rgb(32, 31, 31);
    font-weight: normal;
    font-size: 35px;
    position: relative;
}

.portfolio-gallery {
    /* display: grid; */
    grid-template-columns: 0;
    gap: 0;
    margin-bottom: 80px;
}

.glob-pr{
    padding:60px 0px;
}
/* -----------------------portfolio-------------------------- */

/* -----------------------portfolio-------------------------- */
.box-pro img{
    border-radius: 6px;
}
.box-pro {
    width: 96%;
    margin: 2%;
    padding-bottom: 96%;
    height: 0;
    position: relative;
    float: left;
    cursor: pointer;
    overflow: hidden;
    /*	box-pro-shadow: 0px 3px 18px 1px #fff;*/
}

.box-pro:after {
    content: '';
    position: absolute;
    background-color: #993434;
    border-radius: 6px;
    opacity: 0;
    z-index: 55;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-transition: all .15s ease-out;
    -moz-transition: all .15s ease-out;
    -ms-transition: all .15s ease-out;
    -o-transition: all .15s ease-out;
    transition: all .15s ease-out;
}

.box-pro:hover::after {
    background-color: #993434;
    border-radius: 6px;
    opacity: .7;
}

.box-pro .caption {
    position: absolute;
    z-index: 60;
    width: 90%;
    margin-left: 0%;
    top: 50%;
    -webkit-transform: scale(3);
    -moz-transform: scale(3);
    -ms-transform: scale(3);
    -o-transform: scale(3);
    transform: scale(3);
    text-align: center;
    -webkit-transition: all .15s ease-out;
    -moz-transition: all .15s ease-out;
    -ms-transition: all .15s ease-out;
    -o-transition: all .15s ease-out;
    transition: all .15s ease-out;
    font: 1.4em normal Arial, sans-serif;
    color: #fff;
    opacity: 0;
}

.box-pro:hover .caption {
    -webkit-transform: scale(1) translate(0%, -50%);
    -moz-transform: scale(1) translate(0%, -50%);
    -ms-transform: scale(1) translate(0%, -50%);
    -o-transform: scale(1) translate(0%, -50%);
    transform: scale(1) translate(0%, -50%);
    opacity: 1;
}

.box-pro img {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 100%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: 50;
    -webkit-transition: all .15s ease-out;
    -moz-transition: all .15s ease-out;
    -ms-transition: all .15s ease-out;
    -o-transition: all .15s ease-out;
    transition: all .15s ease-out;
}

/* .box-pro:hover img {
height: 150%;
} */
/* media changes, changing number of columns */

@media all and (min-width: 350px) {
    .box-pro {
        width: 100%;
        margin: 1%;
        padding-bottom: 48%;
    }
}

@media all and (min-width: 1200px) {
    .box-pro {
        width: 44%;
        margin-left: 50px;
        margin-bottom: 50px;
        padding-bottom: 30%;
    }
}

/* -----------------------portfolio-------------------------- */