/* Для планшетов от 768px до 1024px */
@media (min-width: 768px) and (max-width: 1023px) {
    body {
        font-size: 16px;
    }

    h2 {
        font-size: 50px;
    }

    h3 {
        font-size: 36px;
    }

    .container {
        width: 100%;
        max-width: 720px;

    }

    .header__nav a {
        display: none
    }


    :root {
        --carousel-radius: 350px;
        --carousel-item-width: 250px;
        --carousel-item-height: 150px;
    }

    #spin-container {
        width: var(--carousel-item-width);
        height: var(--carousel-item-height);
    }

    #ground {
        width: calc(var(--carousel-radius) * 3);
        height: calc(var(--carousel-radius) * 3);
    }

}




/* Для ноутбуков от 1024px до 1280px */
@media (min-width: 1024px) {

    .button-header {
        background: #a238ff;
        border-radius: 25px;
        padding: 15px 70px;
        text-transform: capitalize;
        outline: none;
        border: none;
        color: #fff;
        text-decoration: none;
        display: inline-block;
        overflow: hidden;
        cursor: pointer;
        transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    }


    .container {
        width: 100%;
        max-width: 1100px;
        margin: 0 auto;
        height: 100%;

    }

    .presentation__wrapper {
        flex-direction: row;

    }

    .block__content-presentation {
        min-height: 100vh;
        background: url(../img/backgrounds/main.png) no-repeat;
        background-position: bottom right;
        display: flex;
        align-items: center;
    }


    .presentation-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }


    .presentation-content h1 {
        font-size: 45px;
        margin: 0 0 20px 0;
        /* Отступ снизу */
    }

    .presentation-img img {
        max-height: 250px
    }


    .block__content-about {
        background: url(../img/about.jpg) no-repeat top;
        background-size: cover
    }

    .content-about__wrapper {
        display: flex;
        min-height: 750px;
        justify-content: flex-end
    }


    .content-about__content {
        flex: 0 0 50%;
        padding: 100px;
        margin: 100px 0 0 200px
    }

    .content-about__content p {
        padding: 20px;
        text-align: justify
    }

    .content-about__p {
        margin: 0;
    }


    .content-products__wrapper {
        padding: 120px 0 120px 0;

    }

    .content-products__text {
        padding: 0 0 70px 0
    }






    :root {
        --carousel-radius: 400px;
        --carousel-item-width: 300px;
        --carousel-item-height: 200px;
    }

    #spin-container {
        width: var(--carousel-item-width);
        height: var(--carousel-item-height);
    }

    #ground {
        width: calc(var(--carousel-radius) * 3);
        height: calc(var(--carousel-radius) * 3);
    }

    .katalog-content__content {

        flex-direction: row;

    }

    .popup-content {
        background: #000 url(../img/backgrounds/katalog.png) no-repeat;
        background-size: cover;
        margin: 8% auto;
        padding: 20px;
        border: 1px solid #a238ff;
        box-shadow: 0 0 15px rgba(162, 56, 255, 0.8), 0 0 30px rgba(162, 56, 255, 0.6), 0 0 45px rgba(162, 56, 255, 0.4);
        width: 90%;
        min-height: 60vh
    }

    .popup-content img {

        max-width: 330px;
    }

    .popup-content__katalog {
        display: flex;
        flex-direction: row;
        margin: 5%;
        align-items: center;
        justify-content: space-evenly
    }


    .block__katalog-wrapper {

        padding: 80px 0;
    }

    .block__content-katalog {
        min-height: 620px;
    }

    .katalog-img {
        opacity: 0;
        transform: translateY(100px);
        transition: all 2s ease;
    }


    .katalog-img img {
        height: 330px
    }

    .katalog-text {
        padding: 0 125px
    }

    .katalog-text p {
        line-height: 1.6em;
        max-width: 500px;
        padding: 50px 0
    }

    .form-container {
        background-color: #fff;

        border-radius: 40px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        width: 50%;
        margin: 0 auto
    }

    .form-container button {
        width: 100%;
        padding: 10px;
        margin: 0 0 0 10px;
        background: #a238ff;
        color: #fff;
        border: none;
        border-radius: 25px;
        cursor: pointer;
        font-size: 16px;
        transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    }

    .form-container input[type="text"],
    .form-container input[type="email"],
    .form-container input[type="tel"],
    .form-container textarea,
    .form-container select {
        width: 100%;
        padding: 10px;
        border: none;
        box-sizing: border-box;
        outline: none;
    }



    #contactForm {
        display: flex;
        flex-direction: row;
        padding: 10px 30px
    }

    .content-why__title {
        background: url(../img/why.jpg) no-repeat;
        background-size: cover;
        padding: 100px 0;
        margin: 150px 0 0 0
    }

    .blocks-list__items {
        display: flex;
        flex-direction: row;
        padding: 80px 0;
        justify-content: space-between;
        align-items: center
    }

    .block-item {
        background: #222323;
        max-width: 400px;
        margin: 40px;
        padding: 10px;
        border-radius: 25px;
        -webkit-box-shadow: 0px 0px 43px 12px rgba(162, 56, 255, 0.8);
        -moz-box-shadow: 0px 0px 43px 12px rgba(162, 56, 255, 0.8);
        box-shadow: 0px 0px 43px 12px rgba(162, 56, 255, 0.2);
    }

    /* тест анимации */
    /* Добавим начальные стили для анимации */
    .block-item {
        opacity: 0;
        transform: translateX(100px);
        /* По умолчанию - выезд справа */
        transition: all 2s ease;
    }

    /* Для анимации с разных сторон */
    .block-item.from-left {
        transform: translateX(-100px);
    }

    .block-item.from-right {
        transform: translateX(100px);
    }

    .block-item.from-top {
        transform: translateY(-100px);
    }

    .block-item.from-bottom {
        transform: translateY(100px);
    }

    /* Показ блока при добавлении класса show */
    .block-item.show {
        opacity: 1;
        transform: translateX(0);
        /* Центрируем блок */
    }

    .footer__wrapper {
        flex-direction: row
    }

    .footer__left-block h3 {

        text-align: left;
    }

    .footer__right-block {
        display: block;
    }


    .footer__wrapper-left-block {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
    }

    #partnerForm {

        min-width: 500px
    }

    .form-group {
        margin: 0 15px 15px 0;
        flex: 0 0 45%;
    }


    .unique-popup-content {
        background: #000 url(../img/backgrounds/katalog.png) no-repeat;
        background-size: cover;
        margin: 5% 0;
        padding: 30px 30px;
        border-radius: 10px;
        border: 1px solid #a238ff;
        box-shadow: 0 0 15px rgba(162, 56, 255, 0.8), 0 0 30px rgba(162, 56, 255, 0.6), 0 0 45px rgba(162, 56, 255, 0.4);
        width: 80%;
        display: flex;
        /* max-width: 500px; */
        position: relative;
        align-items: flex-start;

    }

    .uniquePopup__img {
        display: block
    }

    .uniquePopup__img img {
        height: 150px
    }


}

/* Для ноутбуков от 1280px до 1400px */
@media (min-width: 1280px) {

    .container {
        width: 90%;
        max-width: 1700px;
        margin: 0 auto;
        height: 100%;

    }

    #drag-container .slider-logo img {
        width: 500px !important
    }


    .content-why__title h2 {
        line-height: 1.6em;
        padding: 100px 10px;
        margin: 0 0 0 200px;
        max-width: 500px
    }



}

/* Для ноутбуков от 1400px до 2000 */
@media (min-width: 1400px) {

    .header {
        padding: 10px 0
    }


    .header__logo {
        height: 50px;
        padding: 0 20px
    }


    .container {
        width: 90%;
        max-width: 1700px;
        margin: 0 auto;
        height: 100%;

    }

    .presentation-img img {
        max-height: 600px
    }

    .content-products__wrapper {
        padding: 150px 0 420px 0;

    }

    :root {
        --carousel-radius: 500px;
        --carousel-item-width: 300px;
        --carousel-item-height: 200px;
    }

    #spin-container {
        width: var(--carousel-item-width);
        height: var(--carousel-item-height);
    }

    #ground {
        width: calc(var(--carousel-radius) * 3);
        height: calc(var(--carousel-radius) * 3);
    }

    .popup-content {
        background: #000 url(../img/backgrounds/katalog.png) no-repeat;
        background-size: cover;
        margin: 5% auto;
        padding: 20px;
        border: 1px solid #a238ff;
        box-shadow: 0 0 15px rgba(162, 56, 255, 0.8), 0 0 30px rgba(162, 56, 255, 0.6), 0 0 45px rgba(162, 56, 255, 0.4);
        width: 90%;
        min-height: 60vh
    }


    .popup-content img {
        display: block;
        max-width: 500px;
        height: auto;
        margin-bottom: 10px;
        cursor: pointer
    }

    .block__katalog-wrapper {

        padding: 125px 0;
    }

    .block__content-katalog {
        min-height: 750px;
    }

    .katalog-img {
        opacity: 0;
        transform: translateY(250px);
        transition: all 2s ease;
    }


    .katalog-img img {
        height: 400px
    }

    .blocks-list__items {
        display: flex;
        flex-direction: row;
        padding: 150px 0;
        justify-content: space-between;
        align-items: center
    }

    .block-item {
        background: #222323;
        max-width: 400px;
        margin: 60px;
        padding: 20px;
        border-radius: 25px;
        -webkit-box-shadow: 0px 0px 43px 12px rgba(162, 56, 255, 0.8);
        -moz-box-shadow: 0px 0px 43px 12px rgba(162, 56, 255, 0.8);
        box-shadow: 0px 0px 43px 12px rgba(162, 56, 255, 0.2);
    }


    /* Добавим начальные стили для анимации */
    .block-item {
        opacity: 0;
        transform: translateX(150px);
        /* По умолчанию - выезд справа */
        transition: all 2s ease;
    }

    /* Для анимации с разных сторон */
    .block-item.from-left {
        transform: translateX(-150px);
    }

    .block-item.from-right {
        transform: translateX(150px);
    }

    .block-item.from-top {
        transform: translateY(-150px);
    }

    .block-item.from-bottom {
        transform: translateY(150px);
    }

    /* Показ блока при добавлении класса show */
    .block-item.show {
        opacity: 1;
        transform: translateX(0);
        /* Центрируем блок */
    }

    .unique-popup-content {
        background: #000 url(../img/backgrounds/katalog.png) no-repeat;
        background-size: cover;
        margin: 5% 0;
        padding: 100px 30px;
        border-radius: 10px;
        border: 1px solid #a238ff;
        box-shadow: 0 0 15px rgba(162, 56, 255, 0.8), 0 0 30px rgba(162, 56, 255, 0.6), 0 0 45px rgba(162, 56, 255, 0.4);
        width: 80%;
        display: flex;
        /* max-width: 500px; */
        position: relative;
        align-items: center;
        justify-content: space-evenly;
    }


    .uniquePopup__img img {
        height: 260px
    }


}

/* Для ноутбуков от 2000px до  */
@media (min-width: 2000px) {
    .header__logo {
        height: 50px;
        padding: 0 20px
    }

    .presentation-content h1 {
        font-size: 75px;
        margin: 0 0 20px 0;
        /* Отступ снизу */
    }



    .block-item {
        opacity: 0;
        transform: translateX(250px);
        /* По умолчанию - выезд справа */
        transition: all 2s ease;
    }

    .content-about__wrapper {
        display: flex;
        min-height: 750px;
        justify-content: center
    }

    .content-about__p {
        margin: 0 -70px 0 70px;
    }




    .popup-content img {
        display: block;
        max-width: 100%;
        height: auto;
        margin-bottom: 10px;
        cursor: pointer
    }


    .katalog-img img {
        height: 500px
    }

    :root {
        --carousel-radius: 600px;
        --carousel-item-width: 350px;
        --carousel-item-height: 250px;
    }

    #spin-container {
        width: var(--carousel-item-width);
        height: var(--carousel-item-height);
    }

    #ground {
        width: calc(var(--carousel-radius) * 3);
        height: calc(var(--carousel-radius) * 3);
    }




    /* Для анимации с разных сторон */
    .block-item.from-left {
        transform: translateX(-250px);
    }

    .block-item.from-right {
        transform: translateX(250px);
    }

    .block-item.from-top {
        transform: translateY(-250px);
    }

    .block-item.from-bottom {
        transform: translateY(250px);
    }

    /* Показ блока при добавлении класса show */
    .block-item.show {
        opacity: 1;
        transform: translateX(0);
        /* Центрируем блок */
    }

    #partnerForm {
        display: flex;
        flex-direction: column;
        min-width: 400px
    }


    .form-group {
        margin: 0 0 15px 0;
        flex: 0 0 100%
    }


}
