@charset "utf-8";

.gallery-wrapper{
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: 40px auto;

    .gallery-row{
        width: 100%;
        display: flex;
        flex-wrap: nowrap;
        margin-bottom: 20px;

        a.gallery-item{
            display: block;
            width: 264px;
            margin: 0 5px;

           img{width: 100%;}

            h3{
                line-height: 150%;
                font-weight: bold;
                margin-left: 5px;
            }
            :hover{
                opacity: 0.7;
            }
        }

    }

}

@media screen and (max-width: 767px){
    .gallery-wrapper{
        .gallery-row{
            flex-wrap: wrap;
            justify-content: center;
            margin-bottom: 0;

            a.gallery-item{
                width: 100%;
                margin: 20px 0;
            }
        }
    }
}
