@media (min-width: 0) {
  .modalCircle {
    width: 60px;
    height: 80px;
    right: 60px;
    top: 55px;
  }

  .modalCircle .logo {
    font-size: 9px;
  }

  .modalCircle .logo span {
    font-size: 9px;
  }

  .modalCircle .text p span {
    transform-origin: 0 40px;
    font-size: 5px;
  }

  /** **/

  .container-popup {
    max-width: 343px;
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 20px 20px 20px;
    display: flex;
    position: relative;
    flex-direction: column-reverse;
    border: 1px solid rgba(0, 0, 0, 0.5);
  }

  .modal__price_form .price__form-button {
    z-index: 3;
  }

  .scroll-modal .form__input {
    margin-top: 16px;
  }

  .form-modal__info {
    font-size: 20px;
    line-height: 120%;

    color: #bc625c;
  }

  .price__input-hidden input {
    position: absolute;
  }

  .form_modal__inner_img {
    display: flex;
    justify-content: center;
  }

  .scroll_modal__inner_img {
    margin-top: 15px;
  }

  .form_modal__header {
    color: #000;
    margin-top: 16px;
    font-family: Manrope;
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    /* max-width: 180px; */
  }

  .form_modal_inner .form_modal__info {
    /* padding-top: 130px; */
    /* padding: 15px; */

    border-radius: 20px;
    /* background: #FAD1CE; */
    width: 100%;
  }

  .modal_input {
    width: 100%;
    height: 52px;
    padding: 0 0 0 55px;
    border-radius: 16px;
    border: 1px solid #e0e3e8;

    background: #fff;
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
  }

  .form_modal__header span {
    color: #dc5086;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    /* 22px */
  }

  .form_modal__info_description {
    color: #000;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%;
    margin-top: 16px;
  }

  .form_modal__info_description span {
    font-weight: bold;
  }

  .formModal__price-block p,
  .formModal__price-block p a {
    color: black;
  }

  .form_modal_list {
    margin-top: 20px;
    list-style-type: none;
    margin-bottom: 4px;
  }

  .form_modal_item {
    color: #000;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 110%;
  }

  .form_modal_item:not(:last-of-type) {
    margin-bottom: 12px;
  }

  .modal__price_form .price__input {
    background: #ffffff;
    border: 1px solid 6B6B6B;
    box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
    border-radius: 16px;
  }

  .modal__price_form .form__input svg {
    position: absolute;
    left: 20px;
    bottom: 15px;
  }

  .modal__form_button {
    width: 100%;
    height: 56px;
    margin-top: 24px;
    color: #fff;
    border-radius: 16px;
    background: #fe5171;
    text-align: center;
    font-family: Manrope;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
  }

  .scroll-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translate(0, 200%);
    transition: all ease 0.4s;
    z-index: 100;
    /* background: #000; */
    margin-top: 20px;
    border-radius: 20px 20px 20px 2px;
    padding-top: 20px;
  }

  .scroll-modal__cross {
    width: 15px;
    height: 15px;
    fill: #fff;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
  }

  .scroll-modal__bg {
    /* background-color: #ffffff; */
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: -1;
    top: 0;
    left: 0;

    border-radius: 16px 16px 0 0;
  }

  .scroll-show {
    transform: translate(0);
  }

  .form-modal__inner {
    background-color: #f2ddde;
    padding: 20px;
    max-height: 95vh;
    width: 100%;
    overflow-y: scroll;
    margin-right: 16px;
    margin-left: 16px;
    border-radius: 16px;
  }

  .modal_input::placeholder {
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 130%;
    color: #000000;
  }

  .form-modal__form-block {
    background-color: #1f1c1a;
    border-radius: 10px;
    padding: 50px 20px 30px 20px;
    margin: 25px 0 0 0;
  }

  .scroll-show {
    transform: translate(0);
    overflow-x: scroll;
  }

  .form-modal__title {
    color: #1d1d1b;

    font-size: 24px;
    line-height: 120%;
  }

  .form-modal__form {
    display: flex;
    justify-content: space-between;
    align-self: center;
    flex-direction: column;
  }

  .form-modal__input:focus {
    outline: none;
  }

  .form-modal__input:not(:first-of-type) {
    margin-top: 20px;
  }

  .form-modal__form-button {
    width: 100%;
    height: 50px;
    background: #bc4f54;
    border: none;
    color: white;
    font-weight: bold;
    font-size: 16px;
    border-radius: 8px;
    margin: 20px 0;
  }

  .form-modal__form-button:focus {
    outline: none;
  }

  .form-modal__block {
    display: flex;
    align-items: center;
    padding: 0 0 0 0;
    margin: 0 0 0 0;
  }

  .form-modal__block input {
    width: 60px;
    height: 60px;
  }

  .form-modal__block p {
    font-size: 14px;
    color: white;
    margin: 0 0 0 10px;
  }

  .form-modal__block p a {
    color: white;
  }

  .scroll_modal__inner_img {
    text-align: center;
  }

  .scroll-modal .form__price-block p {
    color: #1d1d1b;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    text-decoration: underline;
    /* 12px */
  }

  .scroll_modal__inner_img img {
    width: 100%;
    height: 100%;
  }

  .scroll_modal_book {
    margin-top: -45px;
  }
  .form_modal__descr {
    color: #f47a91;
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
    line-height: 110%; /* 15.4px */
    letter-spacing: 0.42px;
  }
}

@media (min-width: 480px) {
  .form-modal__block input {
    width: 40px;
    height: 40px;
  }
}

@media (min-width: 640px) {
  .modalCircle {
    top: 20px;
  }

  .container-popup {
    max-width: 470px;
  }

  .form-modal__inner {
    width: 490px;
  }

  .scroll-modal__cross {
    top: 20px;
    right: 20px;
  }
}

@media (min-width: 958px) {
  .container-popup {
    max-width: 800px;

    display: flex;
    position: relative;
    flex-direction: row;
  }

  .form-modal__inner {
    width: 600px;
  }

  .scroll-modal .form__price-block p {
    font-size: 14px;
    line-height: 130%;
    font-weight: 500;
  }

  .modal_input::placeholder {
    font-size: 16px;
  }

  .form_modal_list {
    margin-top: 20px;
    list-style-type: none;
    margin-bottom: 4px;
  }

  .form_modal__info_description {
    font-size: 20px;
    line-height: 130%;
    /* 24px */
    margin-top: 36px;
    max-width: 733px;
  }

  .form_modal_item {
    font-size: 20px;
  }

  .form_modal__info h2 {
    font-size: 32px;
  }

  .scroll-modal .container {
    display: flex;
    justify-content: right;
  }

  .scroll-modal__cross {
    width: 25px;
    height: 25px;
  }

  .price__form2 {
    width: 100%;
  }

  .form-modal__form .price__input {
    width: 100%;
  }

  .form-modal__inner .price__form-button {
    width: 100%;
  }

  .form_modal_inner {
    max-width: 530px;
  }

  .form-modal__form {
    width: 100%;
  }

  .form-modal__input {
    width: 100% !important;
  }

  .form_modal__inner_img {
    position: absolute;
    bottom: 0;
    left: 0;
  }

  .price__form5 {
    width: 100%;
  }

  .scroll_modal_book {
    margin-top: -45px;
  }

  .modalCircle {
    top: 50px;
    right: 85px;
  }
}

@media (min-width: 1243px) {
  .modalCircle {
    width: 124px;
    height: 124px;
    top: 50px;
    left: unset;
  }

  .modalCircle .logo {
    font-size: 16px;
    height: 50px;
  }

  .modalCircle .logo span {
    font-size: 11px;
  }

  .modalCircle .text p span {
    transform-origin: 0 63px;
    font-size: 11px;
  }

  /** **/

  .form_modal_inner {
    max-width: 926px;
  }

  .form5Inner .scroll_modal__inner_img {
    margin-top: 0;
  }

  .form_modal__info_description {
    font-size: 20px;
  }

  .scrollModalBox {
    margin-top: 0;
  }

  .container-popup {
    min-width: 974px;
    display: flex;
    position: relative;
    max-width: unset;
  }

  .price__form5 {
    min-width: 920px;
  }

  .scrollModalBox {
    display: flex;
    flex-direction: row-reverse;
    gap: 25px;
  }

  .scroll-modal {
    padding-top: 30px;
  }

  .modal_input1 {
    width: 920px;
  }

  .modal_input2 {
    width: 450px;
  }

  .modal_input3 {
    width: 450px;
  }

  .form__modal_input2 {
    margin-right: 0;
  }

  .modal_Button {
    width: 920px;
  }

  .modal__price_form .price__form-button {
    margin: 25px 0 0 0;
    width: 100%;
  }

  .form_modal__header {
    font-size: 45px;
    margin-top: 0;
    max-width: unset;
  }

  .form_modal_inner {
    padding: 0px 0;
  }

  .scroll_modal_book {
    bottom: 36px;
    position: absolute;
    margin-top: 0;
  }

  .scroll_modal_saw {
    transform: translate(40px, 0px);
  }

  .price__form5 .form__input:nth-child(5) {
    margin-left: 0;
  }
  .form_modal__descr {
    font-size: 20px;
  }
}

@media (min-width: 1700px) {
  .scroll-modal__cross {
    top: 20px;
    right: 20px;
    width: 20px;
    height: 20px;
  }

  .form-modal__inner {
    width: 800px;
    padding: 45px;
  }

  .form-modal__title {
    font-size: 36px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    /* 36px */
  }

  .form-modal__inner .form__input svg {
    bottom: 5px;
  }

  .form-modal__input {
    height: 70px;
  }

  .form-modal__input::placeholder {
    font-size: 23px;
  }

  .form-modal__form-button {
    height: 70px;
    font-size: 25px;
    margin: 35px 0;
  }

  .form-modal__block input {
    width: 35px;
    height: 35px;
  }

  .form-modal__block p {
    font-size: 20px;
  }

  .form-modal__input:not(:first-of-type) {
    margin-top: 35px;
  }
}
