@media (hover: hover){
    .photogallery .carousel-item-photos .item {
        background: transparent;
    }
}

@media (hover: hover){
    .photogallery .carousel-item-photos img, .photogallery .carousel-item-photos img:not(:last-child) {
        padding-bottom: 0;
    }
}

@media screen and (max-width: 1366px){
    .container1.photos-div{
        width: 90%;
    }
}

@media (max-width: 900px){
    .masonry-item .item {
        padding: 1px;
        height: 11rem; 
    }
}
@media (max-width: 650px){
    .masonry-item .item {
        padding: 1px;
        height: 11rem; 
    }
    .grid-container {
        grid-template-columns: repeat(2, 1fr)!important;
    }
}
@media (max-width: 500px){
    .carousel-photos {
        display: none;
    }
    .accordion {
        margin: 10px 10px!important;
    }
    .grid-container img {
        height: 10rem!important;
    }
    .masonry-item .item {
        height: 10rem;
    }
    .col-12 {
        display: none;
    }
}
@media (max-width: 400px){
    .grid-container img {
        height: 8rem!important;
    }
    .masonry-item .item {
        height: 8rem;
}