/* убираем нижний ползунок прокрутки и боковой*/
body {
    overflow-x: hidden;
    overflow-y: hidden;
}

/* фон нашего модального окна */
.order {
    display: none;
    background: rgba(0, 0, 0, 0.2);
    position: fixed;
    width: 100%;
    height: 100%;
    /* указываем z-индекс для корректного наслаивания */
    z-index: 10;
}

/* позиционирование самого модального окна */
#order {
    position: absolute;
    width: 90%;
    min-height: 90%;
    top: 5%;
    left: 5%;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, .6);
    backdrop-filter: blur(10px);
    padding: 40px 20px;
    z-index: 11;
    border: 1px rgb(116, 116, 116) solid;
    box-shadow: 3px 3px 20px rgb(114, 114, 114);
}

/* кнопочка закрытия модального окна */
.Close1,
.Close2,
.Close3 {
    /* font-family: var(--font-regular); */
    position: absolute;
    width: 37px;
    height: 37px;
    cursor: pointer;
    z-index: 30;
}

/* делаем позиционирование внутренних элементов относительно модального окна */

.modalWindow1 {
    position: relative;

}

.order,
.order1,
.order2,
.order3,
.order4 {
    overflow-y: scroll;
}

.modalWindow1 h2 {
    text-align: center;
    padding: 40px 20px;
    font-family: Merriweather;
    font-size: 2rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.4;
}

.order_pictures {
    padding-top: 50px;
    display: grid;
    grid-template-columns: 28% 28% 28%;
    padding-left: 2%;
    padding-right: 2%;
    grid-row-gap: 25px;
    text-align: center;
    justify-content: space-between;
}

.order_consultation {
    display: block !important;
    background: rgba(0, 0, 0, 0.7) !important;
}

.order_pictures img {
    padding: 20px;
    width: 100%;
    border-radius: 30px;
}

.input-container {
    position: relative;
    width: 100%;
    height: 81%;
    /* margin-bottom: 15%; */
}

.input-container input {
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    cursor: pointer;
    z-index: 2;
    opacity: 0;
    margin-left: auto;
    border-radius: 30px;
}


.radio-title {
    position: relative;
    box-shadow: 2px 2px 10px black;
    border-radius: 30px;
}

.radio-title:hover {
    box-shadow: 2px 2px 20px rgb(0, 0, 0);
}

input:checked+img {
    border: 1px solid #6cc400;
    background-color: rgba(112, 112, 112, 0.473);
}

.two_pcs {
    grid-template-columns: 28% 28%;
    justify-content: space-around;
}

/* Окно с превью */

.preview {
    width: 100%;
    min-height: 300px;
    margin: 0 auto 30px auto;
    display: none;
    text-align: center;
    position: relative;
}

.preview p {
    position: relative;
    left: 50%;
    top: -60px;
    transform: translate(-50%);
   
}

.preview img {
    max-height: 100%;
    max-width: 100%;
    display: flex;
    margin: 0 auto;
    border: 2px solid #6cc400;
    border-radius: 25px;
    padding-top: 20px;
    padding-bottom: 70px;
}

/* ОВАЛЬНАЯ ИЛИ ПРЯМОУГОЛЬНАЯ */

.order1 {
    background: rgba(0, 0, 0, 0.2);
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 20;
}

.order2,
.order3,
.order4 {
    display: none;
    background: rgba(0, 0, 0, 0.2);
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 20;
    overflow-y: scroll;
}

.modalActive {
    position: absolute;
    width: 70%;
    top: 5%;
    left: 15%;
    border-radius: 15px;
    background-color: rgba(255, 255, 255, .6);
    backdrop-filter: blur(10px);
    /* cursor: pointer; */
    padding: 40px 20px;
    z-index: 21;
    border: 1px rgb(116, 116, 116) solid;
    box-shadow: 3px 3px 20px rgb(114, 114, 114);
}

.modalWindow1 p {
    text-decoration: none;
    font-family: "Inter";
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 500;
    margin-top: 30px;
    line-height: normal;
}

.few_orders {
    text-align: center;
}

.few_orders {
    margin-top: 0 !important;
}

.block_buttons {
    display: flex;
    justify-content: space-between;
    padding: 0 5%;
    align-items: center;
    margin-top: 4%;
    text-transform: uppercase;
}

.order_buttons {
    padding: 10px 5%;
    background-color: rgb(38 38 38);
    border-radius: 10px;
    text-decoration: none;
    color: white;
    font-family: "Inter";
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0px;
    cursor: pointer;
}

#submit {
    padding: 10px 10%;
    background-color: #1b8f34;
    border: none;
    text-shadow: 1px 1px 1px black;
    text-transform: uppercase;
}

.order_buttons:hover {
    box-shadow: 1px 1px 10px black;
    color: rgb(228, 228, 228);
}

/* .width70 {
    width: 74%;
    left: 13%;
} */

/* ФОРМА ЗАКАЗА */

/* .order1 {
    display: none;
}

.order3 {
    display: block;
} */

.my_form {
    margin-bottom: 50px;
    padding-left: 5%;
    display: flex;
    justify-content: space-between;
    padding: 0 5%;
}

#Modal_consultation {
    max-width: 500px;
    left: calc((100% - 500px)/2);
    background: url(./images/bg.webp) no-repeat center/cover;
    top: 1%;
    border-radius: 0;
    box-shadow: none;
}

.consultation {
    width: 85%;
    padding: 0;
    margin: 0 auto;
}

#step6 {
    font-size: 35px;
    padding: 20px 20px;
}

.order_info2 input,
.order_info2 textarea {
    width: 100%;
    height: 50px;
    border-radius: 5px;
    border: 2px solid gray;
    padding: 6px 25px;
    font-size: 17px;
    background-color: #ffffff78;
}

.order_info2 div {
    margin-bottom: 20px;
}

.order_info2 p {
    font-size: 22px;
    text-align: center;
    margin-top: 10px;
}

.my_form div {
    margin-top: 25px;
}

.my_form p {
    margin: 20px 0;
    width: 95%;
    font-size: 22px;
}

/* .pickup {
    display: flex;
    gap: 10px;
    justify-content: right;
} */

.order_radio {
    margin-left: 50px;
}

.file {
    display: flex;
    flex-direction: column;
    position: relative;
    padding-bottom: 10px;
    max-width: 400px;
}

.file input {
    display: none;
}

.file label {
    text-align: center;
    padding: 40px 0;
    border: 2px dashed black;
    border-radius: 10px;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s;
    width: 90%;
}

.file label:hover {
    border: 2px dotted rgb(134, 0, 0);

}

.order_info {
    width: auto;
}

.contacts {
    width: 47%;
    text-align: -webkit-right;
}

input {
    background-color: #ffffff78;
    border: 1px solid #717171;
    padding: 6px 10px;
    border-radius: 10px;
}

select {
    background-color: #ffffff78;
    border: 1px solid #717171;
    padding: 7px 5px;
    border-radius: 10px;
}

/* РАЗМЕР ТАБЛИЧКИ */

#size {
    display: flex;
    align-items: center;
}

.size {
    position: relative;
    margin: 0 12% 0 0;
    margin-top: 0 !important;
    box-shadow: 2px 2px 4px #636363;
    border-radius: 30px;
}

.size_9x12 {
    width: 37px;
    height: 51px;
}

.size_13x18 {
    width: 53px;
    height: 70px;
}

.size_18x24 {
    width: 66px;
    height: 93px;
}

.size input {
    position: absolute;
    height: 100%;
    width: 100%;
    cursor: pointer;
    z-index: 2;
    opacity: 0;
    left: 0;
    border-radius: 30px;
}

.size label {
    width: 100%;
    height: 100%;
    border: 1px dashed black;
    border-radius: 30px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}


.size:hover {
    box-shadow: 2px 2px 10px rgb(0, 0, 0);
    transition: box-shadow 0.3s;
}

input:checked+.title_18x24 {
    background-color: rgba(143, 143, 143, 0.473);
}

.size_rectangle {
    position: relative;
    margin: 0 8% 0 0;
    margin-top: 0 !important;
    box-shadow: 2px 2px 4px #636363;
}

.rectangle_9x12 {
    width: 33px;
    height: 44px;
}

.rectangle_9x12 label {
font-size: 14px;
}


.rectangle_13x18 {
    width: 45px;
    height: 60px;
}

#standart {
    font-size: 10px;
    text-align: end;
    top: -12px;
    left: -5px;
}

.rectangle_17x23 {
    width: 62px;
    height: 85px;
}

.rectangle_20x30 {
    width: 80px;
    height: 120px;
}

.size_rectangle input {
    position: absolute;
    height: 100%;
    width: 100%;
    cursor: pointer;
    z-index: 2;
    opacity: 0;
    left: 0;
}

.size_rectangle label {
    width: 100%;
    height: 100%;
    border: 1px dashed black;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}


.size_rectangle:hover {
    box-shadow: 2px 2px 10px rgb(0, 0, 0);
    transition: box-shadow 0.3s;
}

/* КУДА ОТПРАВИТЬ ЭСКИЗ */

.eskiz {
    padding-top: 0;
    justify-content: right;
    max-width: 70%;
    margin-bottom: 45px;
    margin-right: -30px;
}

#eskiz {
    width: 50px;
    height: 50px;
}

.input-container-eskiz {
    left: 0;
    width: 50px;
    height: 50px;
}

.eskiz div {
    margin: 0 auto 25px auto;
}

.eskiz p {
    font-size: 15px;
    text-align: center;
}

.eskiz img {
    padding: 0;
    width: 50px;
    height: 50px;
}

.radio-title-eskiz {
    border-radius: 10px;
    width: 50px;
    height: 50px;
    box-shadow: 1px 1px 5px black;
}

.radio-title-eskiz img {
    border-radius: 10px;
}

input:hover+.radio-title-eskiz {
    box-shadow: 1px 1px 10px rgb(0, 0, 0);
    transition: box-shadow 0.3s;
}

input:checked+.whatsapp {
    background-color: rgb(131, 199, 255);
}

input:checked+.telegram {
    background-color: rgb(131, 199, 255);
}

.pickup_variant1,
.pickup_variant2,
.pickup_variant3,
.pickup_variant4 {
    display: none;
    /* width: 120%;
    margin-left: -20%; */
    height: 100px;
    margin-bottom: 90px;
}

.pickup_variants p {
    font-size: 15px;
    font-weight: 350;
    line-height: 25px;
}

.phone_window {
    width: 50%;
    left: 25%;
    top: 10%;
}

.instruction p {
    font-family: var(--bs-body-font-family);
    font-size: var(--bs-body-font-size);
    font-style: initial;
    font-weight: initial;
    width: initial;
    margin-top: initial;
    margin-bottom: initial;
    line-height: initial;
    text-indent: 25px;
}

.closeModalWindow {
    width: 37px;
    height: 37px;
    position: absolute;
    top: 20px;
    right: 25px;
}

.success {
    min-height: 0;
    width: 70%;
    left: 15%;
    top: 25%;
}

#success_paragraph {
    width: 100%;
    font-size: 30px;
    text-align: center;
    font-weight: normal;
    position: relative;
    margin-top: 0;
    margin-bottom: 50px;
}

#success_paragraph a {
    position: relative;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    color: #222;
    font-style: normal;
    font-weight: 400;
    line-height: 25px;
}

#success_paragraph a::before {
    content: none;
}

.close_phone {
    justify-content: center;
}

/* --bs-breakpoint-xs: 0;
--bs-breakpoint-sm: 450px;
--bs-breakpoint-md: 768px;
--bs-breakpoint-md: 992px;
--bs-breakpoint-xl: 1230px;
--bs-breakpoint-xl: 1380px;
--bs-breakpoint-xl: 1550px;
--bs-breakpoint-xxl: 1800px */

@media screen and (max-width:1380px) {
    .modalActive {
        width: 60%;
        top: 3%;
        left: 20%;
    }

    .contacts {
        width: auto;
    }

    .my_form {
        justify-content: center;
        padding: 0 2%;
    }

    .eskiz {
        margin-right: 0;
    }

    select {
        width: 350px;
    }

    .modalWindow1 h2 {
        padding: 0px 20px;
    }

    .order_pictures {
        padding-top: 20px;
    }

    .modalWindow1 p {
        margin-top: 20px;
    }

    .block_buttons {
        margin-top: 2%;
    }

    .order_buttons {
        font-size: 16px;
        padding: 7px 4%;
    }

    .preview img {
        max-height: 60%;
        max-width: 60%;
    }

}

@media screen and (max-width:1230px) {

    .order_buttons {
        font-size: 20px;
        letter-spacing: 1px;
        padding: 5px 25px;
    }

    #size {
        width: 90%;
        margin: 0 auto;
    }

    .order_pictures {
        grid-template-columns: 45% 45%;
        justify-content: space-between;
    }

    .two_pcs {
        justify-content: space-between;
    }

    .last_child {
        grid-column-start: 1;
        grid-column-end: 3;
        justify-self: center;
        width: 45%;
    }

    #back2 {
        padding: 10px 25px;
    }

    .my_form {
        display: block;
        width: 400px;
        padding: 0;
        margin: 0 auto;
    }

    .my_form p {
        text-align: center;
        width: 100%;
    }

    .order_info {
        width: 400px;
    }

    .contacts {
        width: 400px;
        text-align: left;
    }

    .select {
        margin-right: 25px;
    }

    #step5 {
        font-size: 2rem;
    }

    .my_form div {
        text-align: center;
    }

    .file label {
        width: 100%;
    }

    .eskiz {
        grid-template-columns: 30% 30% 30%;
        justify-content: center;
        max-width: none;
        margin-right: 0;
    }

    #size {
        justify-content: center;
    }

    .size {
        margin: 0 auto;
    }

    .size_rectangle {
        margin: 0 auto;
    }

}

@media screen and (max-width:992px) {
    .modalWindow1 h2 {
        font-size: 2rem;
    }

    .few_orders {
        font-size: 23px !important;
    }

    .order_buttons {
        font-size: 16px;
    }

    .order_buttons:hover {
        box-shadow: 0px 0px 4px black;
    }

    .my_form p {
        font-size: 22px;
        margin: 20px 0;
    }

    .eskiz p {
        font-size: 15px;
        text-align: center;
    }

    /* .width70 {
        width: 80%;
        left: 10%;
    } */

    .preview p {
        font-size: 24px;
    }

    .pickup_variants p {
        font-size: 15px;
    }

    .instruction p {
        font-size: 15px;
        margin-bottom: 0;
    }

    .phone_window {
        width: 60%;
        left: 20%;
    }

    #close2 {
        font-size: 14px;
    }

    #success_paragraph {
        font-size: 22px;
    }

    #back3 {
        padding: 5px 15px;
        font-size: 16px;
    }
}

@media screen and (max-width:768px) {
    .modalActive {
        width: 90%;
        left: 5%;
    }
}

@media screen and (max-width:600px) {

    .order_pictures {
        padding-top: 0;
    }

    .order_pictures img {
        padding: 10px;
    }

    .order_consultation {
        background: rgba(0, 0, 0, 0.5) !important;
    }

    .radio-title-eskiz img {
        padding: 0;
    }

    .modalWindow1 p {
        margin-top: 15px;
        font-size: 1.0rem;
    }

    #Modal_consultation {
        left: 5%;
    }

    /* .width70 {
        width: 94%;
        left: 3%;
    } */

    .file {
        display: block;
        width: 332px;
        margin: 0 auto;
    }

    .my_form {
        width: 100%;
    }

    .order_info {
        width: 100%;
    }

    .contacts,
    .order_info {
        width: 320px;
        margin: 0 auto;
    }

    .eskiz {
        display: flex;
        width: 100%;
        justify-content: center;
        gap: 85px;
        margin-bottom: 80px;
    }

    .radio-title:hover {
        box-shadow: 2px 2px 15px rgb(0, 0, 0);
        transition: all 0;
    }

    .input-container-eskiz {
        width: 50px;
        height: 50px;
        left: 0;
        margin-left: 0;
        margin-bottom: 0;
    }

    .radio-title {
        border-radius: 16px;
    }

    .radio-title-eskiz {
        width: 50px;
    }

    .order_pictures img {
        border-radius: 16px;
    }

    select {
        width: 100%;
        font-size: 14px;
    }

    .address_input {
    width: 100%;
}

    .pickup_variants p {
        line-height: 22px;
    }

    #back2 {
        padding: 5px 20px;
    }

    #submit {
        padding: 5px 3%;
    }

    .pickup {
        justify-content: center;
    }

    #back3 {
        padding: 5px 8px;
        font-size: 12px;
        letter-spacing: 0px;
    }

    .phone_window {
        width: 90%;
        left: 5%;
        top: 5%;
    }

    .Close1,
    .Close2,
    .Close3 {
        width: 30px;
        height: 30px;
    }

    .preview img {
        border-radius: 15px;
    }
}

@media screen and (max-width:415px) {
    .modalWindow1 h2 {
        font-size: 1.7rem;
    }

    .block_buttons {
        padding: 0;
    }

    .order_buttons {
        font-size: 13px;
        letter-spacing: 0px;
        padding: 3px 20px;
    }

    .contacts,
    .order_info {
        width: 100%;
    }

    .radio-title img {
        padding: 7px;
    }

    .radio-title-eskiz img {
        padding: 0;
    }

    .file {
        width: 250px;
    }

    .text_input {
        width: 100%;
    }

    select {
        font-size: 10px;
    }

    .eskiz {
        gap: 50px;
    }

    #back2 {
        padding: 5px 17px;
    }

    #success_paragraph {
        font-size: 18px;
    }

    #back3 {
        padding: 5px 6px;
        font-size: 9px;
        letter-spacing: 0px;
    }

    #step6 {
        font-size: 27px;
    }
}