.gallery {
    margin: 10px 40px;
}

.gallery .pics {
    -webkit-transition: all 350ms ease;
    transition: all 350ms ease;
}


.gallery img {

    width: 100%;
    /*width: 200px;
   height: 50px;*/
    transition: 1s;
    padding: 5px;
}

.gallery img:hover {
    filter: drop-shadow(4px 4px 6px gray);
    transform: scale(1.1);
}

@media (max-width: 450px) {
    .gallery {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
        -webkit-column-width: 100%;
        -moz-column-width: 100%;
        column-width: 100%;
    }
}

@media (max-width: 400px) {
    .btn.filter {
        padding-left: 1.1rem;
        padding-right: 1.1rem;
    }

}

.gallerytitle {

    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    text-align: center;
    background-color: #009999;
    color: antiquewhite;
}

.btn-ripple {
    display: inline-block;
    position: relative;
    overflow: hidden;
    transition: all ease-in-out .5s;
}

.btn-ripple::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 25%;
    height: 100%;
    width: 50%;
    background-color: #000;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    transition: all ease-in-out 1s;
    transform: scale(5, 5);
}

.btn-ripple:active::after {
    padding: 0;
    margin: 0;
    opacity: .2;
    transition: 0s;
    transform: scale(0, 0);
}



/*Üzerine Gelince Büyüyen Resimler*/
.hovergallery img {
    -webkit-transform: scale(0.8);
    /*Webkit: Scale down image to 0.8x original size*/
    -moz-transform: scale(0.8);
    /*Mozilla scale version*/
    -o-transform: scale(0.8);
    /*Opera scale version*/
    -webkit-transition-duration: 0.5s;
    /*Webkit: Animation duration*/
    -moz-transition-duration: 0.5s;
    /*Mozilla duration version*/
    -o-transition-duration: 0.5s;
    /*Opera duration version*/
    opacity: 0.7;
    /*initial opacity of images*/
    margin: 0 10px 5px 0;
    /*margin between images*/
}

.hovergallery img:hover {
    -webkit-transform: scale(1.9);
    /*Webkit: Scale up image to 1.2x original size*/
    -moz-transform: scale(1.9);
    /*Mozilla scale version*/
    -o-transform: scale(1.9);
    /*Opera scale version*/
    box-shadow: 0px 0px 30px gray;
    /*CSS3 shadow: 30px blurred shadow all around image*/
    -webkit-box-shadow: 0px 0px 30px gray;
    /*Safari shadow version*/
    -moz-box-shadow: 0px 0px 30px gray;
    /*Mozilla shadow version*/
    opacity: 1;
    z-index: 9999;
}

.gallerycontainer {
    position: relative;
    /*Add a height attribute and set to largest image's height to prevent overlaying*/
}

.thumbnail img {
    border: 1px solid white;
    margin: 0 5px 5px 0;
}

.thumbnail:hover {
    background-color: transparent;
}

.thumbnail:hover img {
    border: 1px solid blue;
}

.thumbnail span {
    /*CSS for enlarged image*/
    position: absolute;
    background-color: lightyellow;
    padding: 5px;
    left: -1000px;
    border: 1px dashed gray;
    visibility: hidden;
    color: black;
    text-decoration: none;
}

.thumbnail span img {
    /*CSS for enlarged image*/
    border-width: 0;
    padding: 2px;
}

.thumbnail:hover span {
    /*CSS for enlarged image*/
    visibility: visible;
    top: 0;
    left: 230px;
    /*position where enlarged image should offset horizontally */
    z-index: 50;
}

div.liftup {
    padding: 2px;
    position: relative;
    width: 150px;
    height: 150px;
    overflow: hidden;
    border: 1px solid #009999;
    background: #009999;
    color: white;
    box-shadow: 0 0 0 gray;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
}

div.liftup:hover {
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    -moz-transform: rotateX(20deg);
    -webkit-transform: rotateX(20deg);
    transform: rotateX(20deg);
    -moz-transform-origin: 50% 0;
    -webkit-transform-origin: 50% 0;
    transform-origin: 50% 0;
    box-shadow: 0 20px 20px -5px gray;
}

div.liftup img {
    width: 100%;
    height: 100%;
}




.photo-gallery {
    color: #313437;
    background-color: #fff;
}

.photo-gallery p {
    color: #7d8285;
}

.photo-gallery h2 {
    font-weight: bold;
    margin-bottom: 40px;
    padding-top: 40px;
    color: inherit;
}

@media (max-width:767px) {
    .photo-gallery h2 {
        margin-bottom: 25px;
        padding-top: 25px;
        font-size: 24px;
    }
}

.photo-gallery .intro {
    font-size: 16px;
    max-width: 500px;
    margin: 0 auto 40px;
}

.photo-gallery .intro p {
    margin-bottom: 0;
}

.photo-gallery .photos {
    padding-bottom: 20px;
}

.photo-gallery .item {
    padding-bottom: 30px;
}


/****************************************************************************************/
section {
    padding: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 40px auto;
}

section ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

section ul li {
    list-style: none;
    background: #012e97;
    padding: 10px 15px;
    margin: 3px;
    letter-spacing: 0px;
    cursor: pointer;
    color: #fff;
    border-radius: 10px;
}

section ul li.active {
    background: var(--primary);
    color: #fff;
}

.product {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.product .itemBox {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 5px;
    display: block;
}

.product .itemBox.hide {
    display: none;
}

.product .itemBox img {
    position: absolute;
    top: 0;
    left: 0;
    /*  width: 100%;
       height: 100%;*/
    object-fit: cover;
}