@font-face {
    font-family: "Inter";
    src: local("Inter"),
    url("./fonts/Inter-VariableFont_slnt\,wght.ttf") format("opentype");
  }
  
  .hidden {
    display: none;
  }
    
  .backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0D1621;
    opacity: 0.8;
    z-index: 2;
  }
  
  .p-modal {
    position: fixed;
    z-index: 3;
    background-color: #fefefe;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
  }

  .close-modal {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    padding-top: 25px;
  }

  .close-modal:hover {
    cursor: pointer;
    opacity: 0.7;
  }
    
  .p-modal span {
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    font-family: "Inter";
    font-style: normal;
    color: #282828;
    border-bottom: 1px solid #b7b7b7;
  }
    
  .p-modal .form_header {
    font-family: "Inter";
    font-style: normal;
    color: #282828;
    border-bottom: 1px solid #b7b7b7;
  }
    
  .p-modal form input {
    font-weight: 400;
    font-family: 'Inter';
    font-style: normal;
    border: 1px solid #b7b7b7;
  }
  
  .p-modal form label {
    height: 16px;
  }
    
  .p-modal form .err {
    border: 1px solid #FF0000;
    outline-color: #FF0000;
  }
    
  .p-modal .username div,
  .p-modal .themeareamodal div {
    display: flex;
    flex-direction: column;
  }
    
  .err-text-phone,
  .err-text-email,
  .err-text-inn,
  .err-company,
  .err-person {
    color: #FF0000;
    opacity: 0.75;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
  }
    
  .p-modal form .send-form {
    background-color: #ff7b3b;
    border: 1px solid #ff7b3b;
    color: #fefefe;
  }
  
  .form_sent {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    margin-top: 12px;
    color: #282828;
    text-align: center;
    border-bottom: none !important;
  }
  
  @media (max-width: 639px) {
    .p-modal {
      padding: 0px 10px 20px 10px;
      top: 5%;
      display: flex;
      align-self: center;
      width: 100%;
      max-width: 609px;
    }
  
    .p-modal span:first-child {
      padding-top: 20px;
    }
      
    .p-modal .form_header {
      font-family: "Inter";
      font-style: normal;
      font-weight: 400;
      font-size: 14px;
      line-height: 16px;
      padding-bottom: 7px;
    }
      
    .p-modal .username,
    .p-modal .themeareamodal {
      display: flex;
      flex-direction: column;
      width: inherit;
      max-width: 609px;
      justify-content: space-between;
    }
      
    .p-modal .username div,
    .p-modal .telephone div {
      width: 100%;
      max-width: 609px;
    }
      
    .p-modal .themeareamodal div {
      width: 100%;
      max-width: 609px;
    }
      
    .p-modal form {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding-top: 12px;
      width: inherit;
    }
      
    .p-modal form input {
      height: 56px;
      margin-top: 12px;
    }
      
    .p-modal form input {
      padding-left: 5px;
      border-radius: 5px;
      font-weight: 400;
      font-size: 14px;
      line-height: 130%;
    }
      
    .p-modal form .send-form {
      font-weight: 500;
      font-size: 17px;
      line-height: 140%;
      border-radius: 50px;
      width: 300px;
      height: 50px;
    }
      
    .p-modal form .send-form:not(:disabled) {
      background-color: #ff7b3b;
      border-color: #ff7b3b;
      color: #fefefe;
    }
      
    .p-modal form .send-form:not(:disabled):hover {
      color: #282828;
      background-color: #fefefe;
      border-color: #282828;
    }
  }
  
  @media (min-width: 639px) and (max-width: 1023px) {
    .p-modal {
      padding: 0 20px;
      top: 10%;
      display: flex;
      align-self: center;
      width: 100%;
      max-width: 990px;
    }
      
    .p-modal .form_header {
      font-family: "Inter";
      font-style: normal;
      font-weight: 400;
      font-size: 14px;
      line-height: 16px;
      padding-bottom: 7px;
    }
      
    .p-modal .username,
    .p-modal .themeareamodal {
      display: flex;
      width: inherit;
      max-width: 990px;
      justify-content: space-between;
    }

    .p-modal .telephone div {
      width: 50%;
      max-width: 695px;
    }
      
    .p-modal .username div,
    .p-modal .themeareamodal div {
      width: 100%;
      max-width: 990px;
    }

    .p-modal .themeareamodal div:first-child {
      margin-right: 12px;
    }
      
    .p-modal form {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding-top: 12px;
      width: inherit;
    }
      
    .p-modal form input {
      height: 56px;
      margin-top: 12px;
    }
      
    .p-modal form input {
      padding-left: 5px;
      border-radius: 5px;
      font-weight: 400;
      font-size: 14px;
      line-height: 130%;
    }
      
    .p-modal form .send-form {
      font-weight: 500;
      font-size: 17px;
      line-height: 140%;
      border-radius: 50px;
      width: 300px;
      height: 50px;
      margin-bottom: 20px;
    }
      
    .p-modal form .send-form:not(:disabled) {
      background-color: #ff7b3b;
      border-color: #ff7b3b;
      color: #fefefe;
    }
      
    .p-modal form .send-form:not(:disabled):hover {
      color: #282828;
      background-color: #fefefe;
      border-color: #282828;
    }
  }
  
  @media (min-width: 1023px) {
    .p-modal {
      padding: 0px 40px 40px 40px;
      top: 10%;
      display: flex;
      align-self: center;
      width: 100%;
      max-width: 1400px;
    }
  
    .p-modal span:first-child {
      padding-top: 40px;
    }
  
    .p-modal .form_header {
      font-family: "Inter";
      font-style: normal;
      font-weight: 400;
      font-size: 14px;
      line-height: 16px;
      padding-bottom: 7px;
    }
  
    .p-modal .username,
    .p-modal .themeareamodal {
      display: flex;
      width: inherit;
      max-width: 1400px;
      justify-content: space-between;
    }
  
    .p-modal .username div,
    .p-modal .themeareamodal div {
      width: 100%;
      max-width: 1400px;
    }

    .p-modal .telephone div {
      width: 50%;
      max-width: 695px;
    }

    .p-modal .themeareamodal div:first-child {
      margin-right: 10px;
    }
  
    .p-modal form {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding-top: 40px;
      width: inherit;
    }
  
    .p-modal form input {
      height: 56px;
      margin-top: 5px;
    }
  
    .p-modal form input {
      padding-left: 10px;
      border-radius: 5px;
      font-weight: 400;
      font-size: 14px;
      line-height: 130%;
    }
  
    .p-modal form .send-form {
      cursor: pointer;
      font-weight: 500;
      font-size: 17px;
      line-height: 140%;
      border-radius: 50px;
      width: 200px;
      height: 50px;
    }
  
    .p-modal form .send-form:hover {
      color: #282828;
      background-color: #fefefe;
      border-color: #282828;
    }
  }