@media (min-width: 1921px) {

    *, *::before, *::after {
        box-sizing: border-box;
    }

    .container-content-slider {
        align-items: center;
        justify-content: center;
    }
}

@media (min-width: 1025px) and (max-width: 1419px) { 
    .container-content-main {
        padding-top: 100px;
        padding-left: 10px;
    }

    .container-content-slider {
        margin: 0;
    }

    .counter-slide {
        width: 100%;
        height: 80px;
        display: flex;
        justify-content: center;
        filter: drop-shadow(0px 15px 12px rgba(33, 21, 42, 0.3));
        box-sizing: border-box;
    }

    .counter-number {
        padding: 0 25px 0 20px;
        font-size: 32px;
    }

    .counter-label {
        padding: 0 25px 0 20px;
        margin-top: 0;
        font-size: 12px;
    }

    .slide {
        width: 80px;
        height: 80px;
        display: flex;
        justify-content: center;
        align-items: center;
        border: 1px solid #CFCFCF;
        filter: drop-shadow(0px 5px 12px rgba(33, 21, 42, 0.65));

        transition: all 0.5s ease-out;
         -webkit-backface-visibility: hidden;
         backface-visibility: hidden;
         transform: translateZ(0); /* Аппаратное ускорение */
         -webkit-transform: translateZ(0);
    }

    .slide-img {
        width: 60px;
        height: 60px;
        margin: 0;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }
}

@media (min-width: 577px) and (max-width: 1024px) {
    *, *::before, *::after {
        box-sizing: border-box;
    }

    html {
        height: auto;
        background-color: #ebebeb;
        scroll-behavior: smooth;
    }

    body {
        background-image: url('../images/bg/bg.png');
        background-size: cover;
        background-position: top center;
        background-attachment: scroll !important;
        height: auto;
        min-height: 100vh;

    }
    

    .container-wrapper {
        width: 100%;
        display: flex;
        margin: 0 auto;
        justify-content: center;
        align-items: center;
        padding-top: 15px;
    }

    .container-content {
        flex-direction: column;
        height: 100%;
        width: 100%;
        max-width: 100vw;
        padding-left: 50px;
    }

    .container-content-main {
        order: 1;
        padding: 0;
        display: flex;
    }

    .container-content-slider {
        order: 2;
        margin: 0;
        padding: 0;
        justify-content: normal;
        width: 100%;
        display: flex;
        justify-content: center;
        padding-bottom: 50px;
    }

    .slide {
        width: 65px;
        height: 65px;
        display: flex;
        justify-content: center;
        align-items: center;
        border: 1px solid #CFCFCF;
        filter: drop-shadow(0px 5px 12px rgba(33, 21, 42, 0.65));

        transition: all 0.5s ease-out;
         -webkit-backface-visibility: hidden;
         backface-visibility: hidden;
         transform: translateZ(0); /* Аппаратное ускорение */
         -webkit-transform: translateZ(0);
    }

    .slide-img {
        width: 55px;
        height: 55px;
        margin: 0;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }

    .counter-wrapper {
        /* width: 100%; */
    }

    .counter-slide {
        width: 100%;
        height: 65px;
        display: flex;
        justify-content: center;
        filter: drop-shadow(0px 15px 12px rgba(33, 21, 42, 0.3));
        box-sizing: border-box;
    }

    .counter-number {
        padding: 0 25px 0 20px;
        font-size: 28px;
    }

    .counter-label {
        padding: 0 25px 0 20px;
        margin-top: 0;
        font-size: 12px;
    }

    .logo-wrapper-mobile {
        display: none;
        width: 90px;
        height: 90px;
        align-items: center;
        justify-content: center;
        background-size: cover;
        padding: 0;
    }

    .logo-wrapper-mobile > .logo-main {
        width: 32px;
    }

    .logo-wrapper-mobile > .logo-bg {
        width: 100px;
        height: 100px;
        background-image: url('../images/logo/logo-text.png');
        background-position: center;
        background-size: cover;
    }

    .first-row .logo-wrapper:not(.logo-wrapper-mobile) {
        display: block;
        
    }

    /* TITLE & LINES */

    .title {
        display: flex;
        flex-direction: column;
        font-size: 61px;
        line-height: 64px;
        padding-top: 25px;
    }
    
    .subtitle {
        font-size: 26px;
        line-height: 40px;
        width: 310px;
        margin-top: 25px;
        margin-bottom: 0;
    }

    .buttons-container {
        margin-top: 25px;
        display: flex;
        flex-direction: column;
        padding-bottom: 50px;
    }

    .button-outer {
        width: 270px;
    }

    .button-inner {
        width: 246px;

    }

    .second-button {
        width: 270px;
    }

    .button-text, .second-button-text {
        font-size: 24px;
    }
}

@media (max-width: 576px) {

    *, *::before, *::after {
        box-sizing: border-box;
    }

    html {
        height: auto;
        background-color: #ebebeb;
        scroll-behavior: smooth;
    }

    body {
        background-image: url('../images/bg/bg-mobile.png');
        background-size: cover;
        background-position: top center;
        background-attachment: scroll !important;
        height: auto;
        min-height: 100vh;

    }
    

    .container-wrapper {
        width: 100%;
        display: flex;
        margin: 0 auto;
        justify-content: center;
        align-items: center;
        padding-top: calc(490px + (690 - 490) * ((100vw - 393px) / (576 - 393)));
    }

    .container-content {
        flex-direction: column;
        height: 100%;
        width: 100%;
        max-width: 100vw;
    }

    .container-content-main {
        order: 2;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .container-content-slider {
        order: 1;
        margin: 0;
        padding: 0;
        justify-content: normal;
        width: 100vw;
        display: flex;
        justify-content: center;
        align-items: center;
        padding-bottom: 50px;
    }

    .slide {
        width: 65px;
        height: 65px;
        display: flex;
        justify-content: center;
        align-items: center;
        border: 1px solid #CFCFCF;
        filter: drop-shadow(0px 5px 12px rgba(33, 21, 42, 0.65));

        transition: all 0.5s ease-out;
         -webkit-backface-visibility: hidden;
         backface-visibility: hidden;
         transform: translateZ(0); /* Аппаратное ускорение */
         -webkit-transform: translateZ(0);
    }

    .slide-img {
        width: 55px;
        height: 55px;
        margin: 0;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }

    .counter-wrapper {
        /* width: 100%; */
    }

    .counter-slide {
        width: 100%;
        height: 65px;
        display: flex;
        justify-content: center;
        filter: drop-shadow(0px 15px 12px rgba(33, 21, 42, 0.3));
        box-sizing: border-box;
    }

    .counter-number {
        padding: 0 25px 0 20px;
        font-size: 28px;
    }

    .counter-label {
        padding: 0 25px 0 20px;
        margin-top: 0;
        font-size: 12px;
    }

    .logo-wrapper-mobile {
        display: flex;
        width: 90px;
        height: 90px;
        align-items: center;
        justify-content: center;
        background-size: cover;
        padding: 0;
    }

    .logo-wrapper-mobile > .logo-main {
        width: 32px;
    }

    .logo-wrapper-mobile > .logo-bg {
        width: 100px;
        height: 100px;
        background-image: url('../images/logo/logo-text.png');
        background-position: center;
        background-size: cover;
    }

    .first-row .logo-wrapper:not(.logo-wrapper-mobile) {
        display: none;
    }

    /* TITLE & LINES */

    .title {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        font-size: 61px;
        line-height: 64px;
        padding-top: 25px;
    }
    
    .subtitle {
        font-size: 26px;
        line-height: 40px;
        width: 310px;
        margin-top: 25px;
        margin-bottom: 0;

        text-align: center;
    }

    .buttons-container {
        margin-top: 25px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        padding-bottom: 50px;
    }

    .button-outer {
        width: 330px;
    }

    .button-inner {
        width: 306px;

    }

    .second-button {
        width: 330px;
    }

    .button-text, .second-button-text {
        font-size: 28px;
    }

}

@media (max-width: 360px) {

    *, *::before, *::after {
        box-sizing: border-box;
    }

    html {
        height: auto;
        background-color: #ebebeb;
        scroll-behavior: smooth;
    }

    body {
        background-image: url('../images/bg/bg-mobile.png');
        background-size: cover;
        background-position: top center;
        background-attachment: scroll !important;
        height: auto;
        min-height: 100vh;

    }
    

    .container-wrapper {
        width: 100%;
        display: flex;
        margin: 0 auto;
        justify-content: center;
        align-items: center;
        padding-top: calc(490px + (690 - 490) * ((100vw - 393px) / (576 - 393)));
    }

    .container-content {
        flex-direction: column;
        height: 100%;
        width: 100%;
        max-width: 100vw;
    }

    .container-content-main {
        order: 2;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .container-content-slider {
        order: 1;
        margin: 0;
        padding: 0;
        justify-content: normal;
        width: 100vw;
        display: flex;
        justify-content: center;
        align-items: center;
        padding-bottom: 50px;
    }

    .slide {
        width: 65px;
        height: 65px;
        display: flex;
        justify-content: center;
        align-items: center;
        border: 1px solid #CFCFCF;
        filter: drop-shadow(0px 5px 12px rgba(33, 21, 42, 0.65));

        transition: all 0.5s ease-out;
         -webkit-backface-visibility: hidden;
         backface-visibility: hidden;
         transform: translateZ(0); /* Аппаратное ускорение */
         -webkit-transform: translateZ(0);
    }

    .slide-img {
        width: 55px;
        height: 55px;
        margin: 0;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }

    .counter-wrapper {
        /* width: 100%; */
    }

    .counter-slide {
        width: 125px;
        height: 65px;
        display: flex;
        justify-content: center;
        filter: drop-shadow(0px 15px 12px rgba(33, 21, 42, 0.3));
        box-sizing: border-box;
    }

    .counter-number {
        padding: 0 0 0 20px;
        font-size: 28px;
    }

    .counter-label {
        padding: 0 0 0 20px;
        margin-top: 0;
        font-size: 10px;
    }

    .logo-wrapper-mobile {
        display: flex;
        width: 90px;
        height: 90px;
        align-items: center;
        justify-content: center;
        background-size: cover;
        padding: 0;
    }

    .logo-wrapper-mobile > .logo-main {
        width: 32px;
    }

    .logo-wrapper-mobile > .logo-bg {
        width: 100px;
        height: 100px;
        background-image: url('../images/logo/logo-text.png');
        background-position: center;
        background-size: cover;
    }

    .first-row .logo-wrapper:not(.logo-wrapper-mobile) {
        display: none;
    }

    /* TITLE & LINES */

    .title {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        font-size: 61px;
        line-height: 64px;
        padding-top: 25px;
    }
    
    .subtitle {
        font-size: 22px;
        line-height: 40px;
        width: 310px;
        margin-top: 25px;
        margin-bottom: 0;

        text-align: center;
    }

    .buttons-container {
        margin-top: 25px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        padding-bottom: 50px;
    }

    .button-outer {
        width: 340px;
    }

    .button-inner {
        width: 316px;

    }

    .second-button {
        width: 340px;
    }

}

