@media screen and (max-width: 1550px) {
    .main:after,
    .hiw:after {
        width: calc(100% - 40px);
    }
}

@media (max-width: 991px) {
    html {
        font-size: 8px;
    }

    .main:after {
        height: 640px;
        top: 0;
        border-radius: 0 0 30px 30px;
        width: 100%;
    }

    .inner-page:before {
        background-position: center;
        background-size: cover;
    }

    .site-header {
        top: 0;
    }

    .site-header .header-inner .site-nav .menu-wrapper {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .toggle-menu {
        position: absolute;
        right: 0;
        width: 26px;
        top: 50%;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        display: block;
        height: 24px;
        cursor: pointer;
    }

    .toggle-menu .bar {
        width: 27px;
        height: 2px;
        display: block;
        float: left;
        margin: 3px auto;
        -webkit-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        background: #ffffff;
    }

    .site-header .header-inner {
        text-align: center;
    }

    .site-header .header-inner .site-nav .nav-right {
        margin-left: 20px;
    }

    .site-header .header-inner .site-nav .nav-right .nav-btn {
        padding: 8px 22px;
    }

    .site-header .site-mobile-logo {
        display: block;
        max-width: 150px;
        text-align: left;
    }

    .site-header .site-main-menu li {
        margin: 0 15px;
    }

    .site-nav .site-logo {
        display: none;
    }

    .site-header .site-nav {
        position: fixed;
        width: 320px !important;
        height: 100vh;
        background: linear-gradient(225deg, #ab89f2 0%, #287efe 150%);
        top: 0;
        right: -100%;
        display: block !important;
        -webkit-transition: all 0.5s ease-in-out;
        -o-transition: all 0.5s ease-in-out;
        transition: all 0.5s ease-in-out;
        overflow: scroll;
        -webkit-box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
        box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
    }

    .site-header .site-nav .site-main-menu {
        display: block;
        width: 100%;
        padding-bottom: 50px;
        text-align: left;
        margin: 0;
    }

    .site-header .site-nav .site-main-menu li {
        padding: 0;
        margin: 0;
    }

    .site-header .site-nav .site-main-menu li > a {
        display: block;
        padding: 16px 35px;
        font-weight: 600;
        font-size: 2rem;
        color: #fff;
        border-radius: 0;
        background: none;
    }

    .site-header .site-nav .nav-right {
        display: none;
    }

    .header-inner .site-mobile-logo img {
        max-height: 40px;
        -webkit-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }

    .pix-header-fixed .site-main-menu li a {
        color: #ffffff;
    }

    .pix-header-fixed .header-inner .site-logo {
        padding: 12px 0;
    }

    .pix-header-fixed.header-two.toggle-light .toggle-menu .bar {
        background: #000000;
    }

    .sidebar-open .site-header .site-nav {
        right: 0;
    }

    .sidebar-open .menu-wrapper:before {
        opacity: 1;
        visibility: visible;
    }

    .close-menu {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: end;
        -ms-flex-pack: end;
        justify-content: flex-end;
        top: 0;
        text-align: right;
        width: 100%;
        left: 0;
        padding: 30px 20px;
        color: #fff;
        cursor: pointer;
    }

    .close-menu span {
        font-size: 16px;
    }

    .hiw .container {
        padding: 0;
    }

    .hiw:after {
        width: 100%;
    }

    .hiw__wrapper_first {
        padding: 10% 20px 5%;
    }

    .hiw__wrapper_second {
        padding: 10% 20px 15%;
    }

    .footer .container {
        padding: 0;
    }

    .footer {
        padding: 0;
    }

    .footer__wrapper {
        padding: 4rem 20px;
        border-radius: 30px 30px 0 0;
    }
}

@media (max-width: 767px) {
    .fullscreen {
        padding-bottom: 8rem;
        background-position: bottom right;
    }

    .title {
        font-size: 4rem;
    }

    .engines__item {
        flex: 0 0 calc(33.333% - 8px);
        height: 40px;
    }

    .hiw:after {
        height: calc(100% - 16rem);
    }

    .hiw__wrapper {
        flex-direction: column-reverse;
        gap: 16px;
    }

    .hiw__wrapper_first {
        padding: 10% 20px 4%;
    }

    .hiw__wrapper_second {
        padding: 4% 20px 10%;
        flex-direction: column;
    }

    .hiw__column {
        flex: 1 1 auto;
        width: 100%;
    }

    .hiw__img {
        position: static;
        width: 100%;
        transform: none;
    }

    .hiw__img_first {
        margin: 0 -20px 0 auto;
    }

    .hiw__img_second {
        height: 400px;
    }

    .hiw__img_second img {
        height: 100%;
    }

    .section-default {
        padding: 8rem 0;
    }

    .contact__wrapper {
        flex-direction: column;
    }

    .contact__item {
        flex: 1 1 auto;
        width: 100%;
    }

    .removed__title {
        text-align: center;
    }

    .removed__title br {
        display: none;
    }

    .removed__btn {
        margin: 0 auto;
    }

    .removed__img {
        position: static;
        transform: none;
        height: auto;
        width: 100%;
        min-height: auto;
    }

    .removed__img img {
        max-width: 500px;
        margin: 0 auto;
        display: block;
    }

    .footer__wrapper {
        flex-direction: column;
        gap: 3rem;
    }

    .footer__title {
        margin-bottom: 2rem;
    }

    .footer__info,
    .footer__second {
        flex: 1 1 auto;
        width: 100%;
    }
}

@media (max-width: 575px) {
    .fullscreen__buttons {
        flex-direction: column;
        gap: 2rem;
    }

    .about__list {
        flex-direction: column;
        justify-content: flex-start;
    }

    .about__item {
        flex: 1 1 auto;
    }

    .engines__item {
        height: 32px;
    }

    .return-to-top.back-top {
        bottom: 5rem;
    }

    .thanks-content {
        padding: 6rem 3.6rem;
    }

    .footer__second {
        flex-direction: column;
        gap: 3rem;
    }
}

@media (max-width: 425px) {
    .engines__item {
        height: 24px;
    }
}
