.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
  }
  
  .modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 4px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  @media screen and (max-width: 768px) {
    .modal-content {
      height: 200px;
    }

    .loader {
      bottom: 30px;
    }
  }

  @media screen and (max-width: 425px) {
    .modal-content {
      height: 300px;
    }

    .loader {
      bottom: 40px;
    }
  }
  
  .loader {
    animation: rotate 3s infinite;
    height: 50px;
    width: 50px;
    position: absolute;
    bottom: 24px;
  }

  .loader:before,
  .loader:after {
    border-radius: 50%;
    content: "";
    display: block;
    height: 20px;
    width: 20px;
  }
  .loader:before {
    animation: ball1 1s infinite;
    background-color: #dee2e6;
    box-shadow: 30px 0 0 #FF7605;
    margin-bottom: 10px;
  }
  .loader:after {
    animation: ball2 1s infinite;
    background-color: #FF7605;
    box-shadow: 30px 0 0 #dee2e6;
  }

  @keyframes rotate {
    0% { transform: rotate(0deg) scale(0.8) }
    50% { transform: rotate(360deg) scale(1.2) }
    100% { transform: rotate(720deg) scale(0.8) }
  }

  @keyframes ball1 {
    0% {
      box-shadow: 30px 0 0 #FF7605;
    }
    50% {
      box-shadow: 0 0 0 #FF7605;
      margin-bottom: 0;
      transform: translate(15px, 15px);
    }
    100% {
      box-shadow: 30px 0 0 #FF7605;
      margin-bottom: 10px;
    }
  }

  @keyframes ball2 {
    0% {
      box-shadow: 30px 0 0 #dee2e6;
    }
    50% {
      box-shadow: 0 0 0 #dee2e6;
      margin-top: -20px;
      transform: translate(15px, 15px);
    }
    100% {
      box-shadow: 30px 0 0 #dee2e6;
      margin-top: 0;
    }
  }