section.gifs {
    padding: 0;
}

.gifs__wrapper {
    padding: 50px;
    display: flex;
    gap: 83px;
    flex-wrap: wrap;
    max-width: 1656px;
    margin-left: auto;
    margin-right: auto;
}

.gifs__heading {
    font-weight: 700;
    text-align: center;
    margin-bottom: 0;
    padding: 16.3px 0;
    background: #D20000;

    color: #FFF;
    text-transform: uppercase;
}

.gifs__item {
    position: relative;
    flex-basis: calc((100% - 166px) / 3);
}

.gifs__item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gifs__item svg {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);;
}

.gifs__item::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    left: 0;
    top: 0;
    background: linear-gradient(90deg, rgba(253, 226, 137, 0.2) 0%, rgba(185, 139, 41, 0.2) 33.17%, rgba(233, 193, 63, 0.2) 66%, rgba(177, 140, 41, 0.2) 100%);
}

.gifs .bonus-amount {
    color: #FFF;
}

.gifs__item-gif {
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: all 0.3s ease-out;
}

.gifs__item:hover .gifs__item-gif {
    opacity: 1;
}

.gifs__bottom-bar {
    width: 100%;
    height: 15px;
    background: #D20000;

    position: relative;
}

@media screen and (max-width: 1599.98px) {
    .gifs__wrapper {
        gap: 50px;
        padding: 40px;
    }

    .gifs__item {
        flex-basis: calc((100% - 100px) / 3);
    }
}

@media screen and (max-width: 1024.98px) {
    .gifs__wrapper {
        gap: 30px;
        padding: 30px;
    }

    .gifs__item {
        flex-basis: calc((100% - 30px) / 2);
    }
}

@media screen and (max-width: 599.98px) {
    .gifs__wrapper {
        gap: 10px;
        padding: 20px 10px;
    }

    .gifs__item {
        flex-basis: calc((100% - 10px) / 2);
    }

}