@media (min-width: 1200px) {
    body {
        margin: 0;
        padding: 0;
    }

    .header {
        height: 100px;
        width: 100vw;
        max-width: 100%;
        margin: 0;
        padding: 0;
    }

    .logo {
        height: 111px;
        width: 350px;
        position: absolute;
        left: 50px; 
        margin-top: 25px;
    }

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

    .nav_menu {
        position: absolute;
        right: 0;
        padding-top: 40px;
        padding-right: 40px;
    }

    .nav_menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
    }

    .nav_menu ul li {
        margin: 0 20px;
        font-family: "M PLUS Rounded 1c", sans-serif;
        font-weight: bold;
        font-style: normal;
        font-size: 20px;
    }

    .nav_menu ul li a {
        text-decoration: none;
        color: white;
    }

    .nav_menu ul li a {
        text-decoration: none;
        color: black;
        transition: transform 0.3s ease;
        display: inline-block;
    }

    .nav_menu ul li a:hover {
        transform: scale(1.2);
    }

    .logo .tel {
        height: 30px;
        width: 320px;
        position: absolute;
        bottom: 0;
        margin-left: 30px;
    }

    .logo .img {
        height: 70px;
        width: 320px;
        position: absolute;
        top: 0;
        margin-left: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .block .gif {
        width: 650px;
        height: 400px;
        background-color: #2d2d2d;
        margin-left: 100px;
        margin-top: 128px;
        border-radius: 20px;
        box-shadow: 0 0 20px 1px black;
    }

    .block .form {
        position: absolute;
        right: 100px;
        height: 400px;
        width: 300px;
        background-color: #B31DDB;
        top: 28%;
        border-radius: 20px;
        box-shadow: 0 0 20px 1px black;
        margin-top: -50px;
    }

    .block .form .span {
        display: flex;
        text-align: center;
        margin-top: 20px;
        font-family: "M PLUS Rounded 1c", sans-serif;
        font-weight: bold;
        font-style: normal;
        font-size: 24px;
    }

    .order_form {
        display: flex;
        flex-direction: column;
        width: 300px;
        margin: 0 auto;
        margin-left: 10%;
    }

    .field {
        width: 75%;
        height: 30px;
        margin-top: 5px;
        background-color: #B31DDB;
        color: black;
        border: none;
        border-bottom: 1px solid black;
        outline: none;
    }

    .field::placeholder {
        color: black;
    }

    .button {
        width: 170px;
        height: 40px;
        border: none;
        font-size: 16px;
        color: white;
        background-color: #000;
        border-radius: 50px;
        box-shadow: 0 0 10px 1px black;
        position: absolute;
        bottom: 0;
        margin-bottom: 20px;
        margin-left: 11.5%;
    }

    .fspan {
        font-size: 16px;
        display: flex;
        margin-top: 15px;
        font-family: "M PLUS Rounded 1c", sans-serif;
        font-weight: bold;
        font-style: normal;
    }

    .fs {
        font-size: 14px;
        display: flex;
        margin-top: 5px;
        font-family: "M PLUS Rounded 1c", sans-serif;
        font-weight: 200;
        font-style: normal;
    }

    .title span {
        color: #B31DDB;
        font-family: "M PLUS Rounded 1c", sans-serif;
        font-weight: bold;
        font-style: normal;
        font-size: 50px;
        display: flex;
        justify-content: center;
        margin-top: 80px;
    }

    .propos {
        width: 350px;
        height: 530px;
        background-color: #B31DDB;
        border-radius: 20px;
        box-shadow: 0 0 20px 1px #000;
        margin-top: 35px;
        transition: transform 0.3s ease;

    }

    .propos:not(:last-child) {
        margin-right: 100px;
    }

    .proposition {
        display: flex;
        justify-content: center;
    }

    .propos:hover {
        transform: scale(1.03);
    }

    .block {
        margin-top: -50px;
    }

    .logo .img span {
        font-family: "Permanent Marker", cursive;
        font-weight: 400;
        font-style: normal;
        font-size: 50px;
    }

    path {
        color: #B31DDB;
    }

    .tel .phone {
        font-family: "M PLUS Rounded 1c", sans-serif;
        font-weight: bold;
        font-style: normal;
        font-size: 20px;
        display: flex;
        margin-top: -35px;
        margin-left: 60px;
    }

    svg.bi.bi-telephone-fill {
        margin-left: 18px;
    }

    .image {
        width: 320px;
        background-color: #000;
        height: 300px;
        display: flex;
        align-items: center;
        text-align: center;
        margin: auto; /* Цей рядок забезпечить центрування блоку по горизонталі */
        margin-top: 15px;
        border-radius: 10px;
    }
    
    .image img {
        object-fit: cover;
        width: 100%;
        height: 100%;
        border-radius: 10px;
    }

    .title_block {
        display: flex;
        justify-content: center;
        margin-top: 10px;
        font-family: "M PLUS Rounded 1c", sans-serif;
        font-weight: bold;
        font-style: normal;
        font-size: 27px;
    }

    button.about {
        border: none;
        color: #fff;
        background-color: #000;
        width: 170px;
        height: 40px;
        border-radius: 100px;
        box-shadow: 0 0 10px 1px black;
        font-family: "M PLUS Rounded 1c", sans-serif;
        font-weight: 200;
        font-style: normal;
        font-size: 16px;
        margin-left: 25%;
        margin-top: 5%;
        
    }

    .gif img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 20px;
    }

    hr {
        border: none;
        border-top: 1.5px solid black;
        margin-top: 60px;
    }

    .description1 span {
        display: flex;
        justify-content: center;
        text-align: center;
        font-family: "M PLUS Rounded 1c", sans-serif;
        font-weight: bold;
        font-style: normal;
        color: #000;
        font-size: 20px;
        margin-top: 40px;
    }

    .title {
        margin-top: -20px;
    }

    .block1 {
        position: relative; /* Встановлюємо відносне позиціонування, щоб використати як посилання для абсолютного позиціонування .why3 */
    }
    
    .wrapper {
        display: flex; /* Використовуємо Flexbox для гнучкого розташування елементів */
        justify-content: center; /* Вирівнюємо по центру по горизонталі */
        margin-bottom: 60px; /* Відступ між why1 і why2 */
        margin-top: 30px;
    }
    
    .block1 .why1,
    .block1 .why2 {
        width: 500px;
        height: 700px;
        margin: 0 125px; /* Встановлюємо відступи між блоками */
    }
    
    /* .block1 .why1 {
        background-color: #2d2d2d;
    }
    
    .block1 .why2 {
        background-color: #00bc04;
    } */
    
    .block1 .why3 {
        /* background-color: red; */
        width: 500px;
        height: 250px;
        display: block; /* Зробіть елемент блоковим */
        margin: 0 auto; /* Встановіть автоматичні відступи по горизонталі для центрування */
    }
    
    .why1 .title1, .why2 .title1, .why3 .title1 {
        font-family: "M PLUS Rounded 1c", sans-serif;
        font-weight: bold;
        font-style: normal;
        color: #000;
        font-size: 30px;
    }
    .why1 .des1, .why2 .des1, .why3 .des1 {
        font-family: "M PLUS Rounded 1c", sans-serif;
        font-weight: 200;
        font-style: normal;
        color: #000;
        font-size: 25px;
        margin-top: 30px;
    }
    
    .footer {
        height: 200px;
        /* background-color: #2d2d2d; */
        border-top: 1.5px solid black;
        position: relative;
        left: 0;
        width: 100%;
        bottom: 0;
    }

    .logofooter {
        /* background-color: #B31DDB; */
        width: 350px;
        height: 110px;
        margin-top: 25px;
        margin-left: 50px;
    }

    .masage {
        display: flex; /* Використовуємо Flexbox для розташування елементів в рядок */
        justify-content: space-between; /* Рівномірно розподіляємо простір між елементами */
        width: 350px;
        position: absolute;
        right: 50px;
        margin-top: -85px;
    }
    
    .masage > div {
        width: 70px; /* Розмір блоків */
        height: 70px;
        /* background-color: #00bc04; Колір фону */
        margin-right: px; /* Відступ між блоками */
    }
    
    .masage > div:last-child {
        margin-right: 0; /* Забираємо відступ праворуч в останнього елемента */
    }

    .fb img, .tg img, .inst img, .tt img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .masage > div img {
        width: 100%; /* Заповнюємо батьківський контейнер */
        height: 100%;
        display: block; /* Прибираємо проміжний простір */
        transition: transform 0.2s ease; /* Додаємо плавну анімацію для зміни розміру */
    }
    
    .masage > div:hover img {
        transform: scale(1.1); /* Збільшуємо зображення при наведенні на нього курсора */
    }

    .logofooter img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .footerdes {
        display: flex;
        justify-content: center;
        font-family: "M PLUS Rounded 1c", sans-serif;
        font-weight: bold;
        font-style: normal;
        color: #000;
        font-size: 20px;
        margin-top: 20px;
    }

    .dropdown {
        width: 200px;
        background-color: #B31DDB;
        font-family: "M PLUS Rounded 1c", sans-serif;
        font-weight: bold;
        font-style: normal;
        color: #000;
        font-size: 20px;
        border-radius: 10px;
        margin-left: 50px;
        margin-top: -50px;
      }
      
      .dropdown select {
        width: 100%;
        padding: 10px;
        border: none;
        border-radius: 5px;
        background-color: #B31DDB; /* Фон для випадаючого списку */
        font-family: "M PLUS Rounded 1c", sans-serif; /* Шрифт */
        font-weight: bold;
        font-style: normal;
        color: #000; /* Колір тексту */
        cursor: pointer;
      }
      
      .dropdown select:focus {
        outline: none;
      }

      .deskvest {
        font-family: "M PLUS Rounded 1c", sans-serif;
        font-weight: bold;
        font-style: normal;
        color: #000;
        font-size: 20px;
        left: 30px;
        position: relative;
      }

      .modal {
        display: none;
        position: fixed;
        z-index: 1;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgb(0 0 0 / 40%);
    }

    .modal-content {
        background-color: #fff;
        margin: 15% auto;
        padding: 20px;
        width: 20%;
        /* Змінено на 25% ширини */
        border-radius: 20px;
        /* Радіус кутів */
        position: relative;
        /* Додано для позиціонування заголовка */
        display: flex;
        /* Додаємо flex контейнер */
        flex-direction: column;
        /* Встановлюємо розташування в стовпчик */
        align-items: center;
        /* Центруємо елементи по горизонталі */
        box-shadow: 0 0 20px 1px black;
    }

    .title_block {
        font-size: 20px;
        /* Розмір шрифту заголовку */
        font-weight: bold;
        /* Жирний шрифт */
        margin-bottom: 10px;
        /* Відступ від заголовка до інших елементів */
    }


    .close {
        color: #aaa;
        float: right;
        font-size: 28px;
        font-weight: bold;
        margin-top: -5px;
        margin-left: 10px;
    }

    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

    input#name {
        background-color: #fff;
        border: none;
        border: 1px solid black;
        border-radius: 5px;
        height: 30px;
        width: 170px;
    }

    input#phone {
        background-color: #fff;
        border: none;
        border: 1px solid black;
        border-radius: 5px;
        height: 30px;
        width: 170px;
    }

    form {
        font-family: "M PLUS Rounded 1c", sans-serif;
        font-weight: bold;
        font-style: normal;
        color: #000;
        font-size: 18px;
    }

    .sendbutton {
        border: none;
        color: #fff;
        background-color: #000;
        width: 130px;
        height: 30px;
        border-radius: 50px;
        box-shadow: 0 0 20px 1px black;
        font-family: "M PLUS Rounded 1c", sans-serif;
        font-weight: bold;
        font-style: normal;
        margin-left: 25px;
    }

    .titlesend {
        font-family: "M PLUS Rounded 1c", sans-serif;
        font-weight: bold;
        font-style: normal;
        font-size: 20px;
    }
    


}

@media (min-width: 992px) {}

@media (min-width: 768px) {}

@media (max-width: 480px) {
    #p1 {
        margin-top: 1180px;
    }

    #p2 {
        margin-top: -50px;
    }
    .nav_menu {
        position: absolute;
        right: 0;
        padding-top: 22px;
        /* padding-right: 15px; */
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .nav_menu ul li {
        margin: -10px 6px;
        font-family: "M PLUS Rounded 1c", sans-serif;
        font-weight: 600;
        font-style: normal;
        font-size: 12px;
    }
    .dropdown select {
        width: 100%;
        padding: 10px;
        border: none;
        border-radius: 5px;
        background-color: #B31DDB; /* Фон для випадаючого списку */
        font-family: "M PLUS Rounded 1c", sans-serif; /* Шрифт */
        font-weight: 400;
        font-style: normal;
        color: #000; /* Колір тексту */
        cursor: pointer;
        font-size: 16px;
      }
}

@media (min-width: 320px) {}