#gallery{
    padding: 20px;
    width: auto;
    margin: 5px auto;
}

#gallery ul{
    display: flex;
    margin-bottom: 10px;
}

#gallery ul li{
    list-style: none;
    background: #eeeeee;
    padding: 8px 20px;
    margin: 5px;
    letter-spacing: 1px;
    cursor: pointer;
}
#gallery ul li.active{
    background-color: #03A9F4;
    color: #ffffff;
}
.product{
    display: flex;
    flex-wrap: wrap;
}
.product .itemBox{
    position: relative;
    width: 385px;
    height: 250px;
    margin: 10px;
}
.product .itemBox img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}