@media screen and (max-width: 1200px) {
    .large-heading {
        font-size: 50px;
        line-height: 60px;
    }

    .paragraph-large {
        font-size: 20px;
        line-height: 30px;
    }

    .nav-menu-wrapper a img {
        width: 200px;
    }

    .counter-wrapper,
    section.section.without-bottom-spacing.services-sec-wrap .w-layout-grid.grid-home-2 {
        grid-column-gap: 0px;
        grid-row-gap: 0px;
        grid-template-rows: auto;
        grid-template-columns: 1fr 1fr 1fr;
        grid-auto-columns: 1fr;
        width: 100%;
        display: grid;
        gap: 30px;
    }

    .background-block {
        width: 100%;
        height: 100%;
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .bottom-image-banner {
        margin-top: 50px;
    }

    section.section.without-bottom-spacing.services-sec-wrap,
    .spec-slider-wrap,
    .tab-section {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .spec-slider-wrap .game-section {
        padding: 0px 30px;
    }

    .tab-section h2 {
        margin-bottom: 30px;
    }

    .fancybox-content {
        margin: 30px;
        padding: 30px;
    }

    .gallery-slider-wrap .swiper-full {
        padding: 1rem 0 3rem;
        margin: 30px 0 0 0;
        padding-bottom: 100px;
    }

    .gallery-slider-wrap .swiper-full .swiper-pagination {
        bottom: 50px;
    }

    .spec-slider-wrap .owl-carousel.custom-carousel.owl-theme.owl-loaded.owl-drag {
        margin-top: 30px;
    }

    .nav-link {
        font-size: 13px;
    }
}

@media screen and (max-width: 991px) {
    .foo-left .footer-links-wrapper {
        grid-template-columns: 1fr;
    }

    .foo-both {
        gap: 10px;
    }

    .counter-wrapper,
    section.section.without-bottom-spacing.services-sec-wrap .w-layout-grid.grid-home-2 {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-slider-wrap .swiper-full .swiper-slide img {
        height: 500px;
    }
}

@media screen and (max-width: 767px) {
    .foo-bottom {
        flex-direction: column;
    }

    .foo-left,
    .foo-right {
        width: 100%;
    }

    .foo-both,
    .foo-left .footer-links-wrapper {
        gap: 30px;
    }

    .tab__item {
        margin-right: 10px;
        font-size: 14px;
    }

    h2 {
        font-size: 40px;
        line-height: 50px;
    }

    p {
        font-size: 16px;
    }

    .nav-container {
        padding-left: 0px;
        padding-right: 0px;
    }

    .large-heading {
        font-size: 20px;
        line-height: 30px;
        letter-spacing: normal;
    }

    .tab__list {
        flex-direction: column;
    }

    .popup-overlay h3#popupHeading {
        font-size: 20px;
    }

    .spec-slider-wrap .game-section .item.active .item-desc p,
    .spec-slider-wrap .game-section .item-desc p {
        font-size: 12px;
        line-height: 22px;
    }

    .gallery-slider-wrap .swiper-full .swiper-pagination {
        width: 90%;
    }

    .gallery-slider-wrap {
        padding-top: 50px;
    }

    section.section.without-bottom-spacing.services-sec-wrap .grid-white-block.width {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }

    .foo-right .links-wrap {
        display: flex;
        column-gap: 40px;
        flex-wrap: wrap;
        row-gap: 10px;
        justify-content: center;
        text-align: center;
    }

    .footer-links-wrapper h6::after {
        position: absolute;
        top: 100%;
        right: 50%;
        transform: translateX(50%);
    }

    .links-wrap {
        text-align: center;
    }
}

@media screen and (max-width: 460px) {

    .nav-menu-wrapper a img {
        width: 135px;
    }

    .foo-logo img {
        width: 200px;
    }

    .cart-block .button-with-border {
        padding: 5px;
        font-size: 10px;
    }

    .top-block-banner {
        grid-row-gap: 20px;
    }

    .paragraph-large,
    section.section.overflow-hidden h2,
    h6,
    .sizing-flex.maxw {
        font-size: 16px;
        line-height: 26px;
        letter-spacing: normal;
        text-align: center;
        max-width: 100%;
        width: 100%;
    }

    .tab__list {
        align-items: center;
        justify-content: center;
        flex-direction: column;
        text-align: center;
    }

    .counter-wrapper {
        gap: 20px;
    }


    section.section.without-bottom-spacing.services-sec-wrap .w-layout-grid.grid-home-2 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .nav-menu-wrapper {
        gap: 10px;
    }

    .right-banner-block.space {
        grid-row-gap: 20px;
    }

    .counter-wrapper .number-large {
        font-size: 30px;
        letter-spacing: normal;
    }

    .counter-content {
        grid-row-gap: 0;
    }

    section.section.overflow-hidden {
        padding-bottom: 0;
    }



}