.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
  }

  .popup.active {
    display: flex;
  }

  .popup-center{
    background-color: #E2E8F0;
    padding: 40px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1000px;
    box-sizing: border-box;
  }

  .popup-cente-clous{
    display: flex;
    justify-content: flex-end;
    margin-bottom: 15px;
    width: 100%;
  }
  
  .popup-center-head{
    font-weight: 500;
    font-size: 26px;
    color: var(--color1);
    text-align: center;
    margin-bottom: 10px;
  }

  .popup-center-text{
    font-weight: 400;
    font-size: 16px;
    text-align: center;
    color: var(--color1);
    width: 555px;
  }

  .popup-form{
    margin-top: 50px;
  }

  .popup-form-block{
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .popup-form-block input{
    padding: 18px 22px;
    border-radius: 8px;
    border: 0px solid;
    background-color: #f6f7f8;;
    transition: all 0.3s;
    color: #333333;
    font-weight: 500;
  }

  .popup-form-block input::placeholder{
    font-weight: 500;
    font-size: 14px;
    color: #333333;
    font-weight: 400;
  }

  .popup-form-block-message{
    border-radius: 8px;
    background-color: #f6f7f8;
    padding: 18px 22px;
    min-height: 110px;
    max-height: 200px;
    max-width: 627px;
    min-width: 627px;
    border: 0px solid;
    color: #333333;
    font-weight: 500;
  }
  
  .popup-form-block-message::placeholder{
    font-weight: 500;
    font-size: 14px;
    color: #333333;
    font-weight: 400;
  }

  .popup-cente-clous{
    cursor: pointer;
    transition: all 0.3s;
  }

  .popup-cente-clous img:hover{
    opacity: 0.7;
  }

  .popup-form-block button{
    border-radius: 10px;
    font-weight: 400;
    font-size: 16px;
    text-align: center;
    color: #333333;
    transition: all 0.3s;
    background-color: #FFDD2D;
    padding: 16px 0;
    border: 2px solid #FFDD2D;
    cursor: pointer;
    width: 100%;
  }

  .popup-form-block button:hover{
    opacity: 0.7;
  }

  .popup-form-text{
    font-weight: 400;
    font-size: 13px;
    text-align: center;
    color: #505662;
    width: 600px;
  }

  .popup-form-text-privat{
    display: flex;
    justify-content: center;
    margin-top: 10px;
  }

  .popup-form-text a{
    color: #505662;
    transition: all 0.3s;
    cursor: pointer;
  }

  .popup-form-text a:hover{
    opacity: 0.7;
  }

  .popup-form-block-button{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
  }

  @media (max-width: 1280px){
    .popup-center{
        width: 90%;
        padding: 20px;
    }

    .popup-center-text{
        width: 100%;
    }

    .popup-form {
        margin-top: 40px;
        width: 100%;
    }

    .popup-form-block-message {
        border-radius: 8px;
        background-color: #f6f7f8;
        padding: 18px 22px;
        min-height: 110px;
        max-height: 200px;
        max-width: 100%;
        min-width: 100%;
        border: 0px solid;
        box-sizing: border-box;
    }

    .popup-form-block-button {
      align-items: flex-end;
      flex-direction: column;
    }
  }

  