.wrappers {
    margin: 100px auto;
    max-width: 1100px;
}

.wrapper .headbar {
    display: flex;
    justify-content: center;
}

.headbar .category {
    display: flex;
    max-width: 1080px;
    width: 100%;
    justify-content: center;
}

.headbar .category .prod {
    padding: 7px 15px;
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
    border: 2px solid #f3a93d;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #000000c4;
}

.headbar .category .active,
.headbar .category .prod:hover {
    color: #f3a93d;
    background: #000000;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
    justify-content: center;
}

.gallery .image {
    padding: 7px;
    width: calc(100% / 5);
    border: 1px solid rgba(0, 0, 0, 0.3);
    margin: 30px 20px;

}

.gallery .image.hide {
    display: none;
}

.gallery .image.show {
    animation: animate 0.5s ease;
}

@keyframes animate {
    0% {
        transform: scale(0.5);
    }

    100% {
        transform: scale(1);
    }
}

.gallery .image span {
    display: flex;
    width: 100%;
    overflow: hidden;
}

.gallery .image img {
    width: 100%;
    vertical-align: middle;
    transition: all 0.3s ease;
}

.gallery .image:hover img {
    transform: scale(1.1);
}

.preview-box {
    position: fixed;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: #0000007a;
    max-width: 450px;
    width: 100%;
    border-radius: 3px;
    padding: 0 10px 10px 10px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.295);
    z-index: 5;
    opacity: 0;
    pointer-events: none;
}

.preview-box.show {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
    transition: all 0.3s ease;
}

.image-box img {
    box-shadow: 0px 0px 15px rgba(48, 48, 48, 0.2);
}

.preview-box .details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 15px 13px 10px;
}

.preview-box .details .title {
    display: flex;
    font-size: 18px;
    font-weight: 400;
    color: white;
}

.details .title p {
    margin-left: 5px;
    font-weight: 500;
}

.details .icon {
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
}

.preview-box .image-box {
    display: flex;
    width: 100%;
}

.image-box img {
    width: 100%;
    border-radius: 0 0 3px 3px;
}

.shadow {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2;
    display: none;
}

.shadow.show {
    display: block;
}

@media(max-width: 1000px) {
    .gallery .image {
        padding: 7px;
        width: calc(100% / 3);
    }
}

@media(max-width: 800px) {
    .gallery .image {
        padding: 7px;
        width: calc(100% / 2);
    }
}

@media(max-width: 700px) {
    .headbar .category {
        max-width: 600px;
    }

    .headbar .category .prod {
        padding: 7px 15px;
    }
}

@media(max-width: 600px) {
    .headbar .category {
        flex-wrap: wrap;
        justify-content: center;
    }

    .headbar .category .prod {
        margin: 5px;
    }

    .gallery .image {
        width: calc(100% / 2);
    }
}