.gallery_item{
    width: 100%;
    min-height: 300px;
    aspect-ratio: 1 / 1;
    padding-top: 20px;
    padding-bottom: 20px;
    position: relative;
    cursor: pointer;
}
.main_pic {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    position: relative;
    transition: all .3s linear;
}

.main_pic:hover {
    scale: 1.1;
}
.gallery_title{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 5px;
    background: var(--darkblue);
    color:var(--white);
}