/*======== Responsive Design =========*/
@media (max-width: 900px) {
  .wrapper {
    border-radius: 0;
    height: 80%;
    margin-bottom: 3rem;
  }
  #pay-wrapper {
    margin-bottom: 3.5rem;
  }
  .wrapper form .signup-link {
    margin-top: 2rem;
  }
  #reset {
    margin-top: 10px;
  }
  .wrapper .title {
    font-size: 22px;
  }
  .wrapper .info p {
    margin-top: 30px;
  }
  .wrapper form .signup-link a {
    margin-left: 6px;
  }
  #pay .button input {
    margin-top: 7px;
  }
}

@media (max-width: 800px) {
  .wrapper {
    max-width: 500px;
    width: 100%;
    background: var(--dem);
    border-radius: 5px;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
  }
}

@media (max-width: 768px) {
  .wrapper {
    margin-bottom: 3.8rem;
    max-width: 345px;
  }

  .wrapper .title {
    font-size: 25px;
    font-weight: 600;
  }

  .wrapper .title img {
    width: 60px;
    height: 60px;
  }

  ::placeholder {
    font-size: 16px;
  }

  form {
    margin: auto;
  }

  #p {
    margin-top: 3.3rem;
  }
}

@media (max-width: 600px) {
  .preloader-bg {
    height: 100vh;
  }
  .preloader img {
    width: 60px;
  }
  #pay .button input {
    font-size: 15px;
  }
}

@media (max-width: 500px) {
  .preloader img {
    width: 60px;
  }
}

@media (max-width: 400px) {
  .preloader img {
    width: 50px;
  }
}

@media (max-width: 300px) {
  .preloader img {
    width: 40px;
  }
}

@media (max-width: 900px) and (orientation: landscape) {
  body {
    overflow-y: scroll;
    height: 100%;
    width: 100%;
  }

  .wrapper {
    max-width: 430px;
    width: 100%;
    background: var(--dem);
    border-radius: 5px;
    margin-top: 2rem;
  }

  /*--------- preloader area ---------*/
  .preloader-bg {
    margin-top: -21.5rem;
  }

  @media (max-width: 600px) {
    .preloader-bg {
      height: 100vh;
    }

    .preloader img {
      width: 75px;
    }
  }

  @media (max-width: 500px) {
    .preloader img {
      width: 60px;
    }
  }

  @media (max-width: 400px) {
    .preloader img {
      width: 50px;
    }
  }

  @media (max-width: 300px) {
    .preloader img {
      width: 40px;
    }
  }
}
