
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }
  
  /* Untuk perangkat dengan lebar layar kurang dari 768px (misalnya, ponsel) */
  @media only screen and (max-width: 768px) {
    #login {
      margin: 0;
      padding: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      background-size: cover; /* Gambar akan mengisi seluruh latar belakang */
      background-repeat: no-repeat; /* Gambar tidak akan diulang */
      background-attachment: fixed; /* Gambar tetap saat menggulir halaman */
      }
  
    #flogin {
      width: 100% !important;
      margin: 100px;
    }
  
    body {
      font-size: 16px;
    }
    iframe {
      width: 100%;
    }
  }
  
  
  /* Untuk perangkat dengan lebar layar antara 768px dan 992px (misalnya, tablet) */
  @media only screen and (max-width: 1280px) {
    #login {
      margin: 0;
      padding: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      background-size: cover; /* Gambar akan mengisi seluruh latar belakang */
      background-repeat: no-repeat; /* Gambar tidak akan diulang */
      background-attachment: fixed; /* Gambar tetap saat menggulir halaman */
      background-position: center center; /* Gambar akan di-tengah-tengahkan */
      }
     
    #flogin {
      margin: 100px;
    }
  
    body {
      font-size: 14px;
    }
    iframe {
      width: 100%;
    }
    /* Tambahkan aturan CSS lainnya sesuai kebutuhan */
  }
  

  .lab {
    text-align: center;
    font-family: "Poppins", sans-serif;
  }
  
  #login {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -1; /* Menempatkan video di lapisan belakang */
  }

  #flogin {
    width: 25%;
    background-color: white;
    padding: 50px;
    border-radius: 20px;
    margin: 100px;
  }
  
  .btn-primary {
    width: 100%;
    border: none;
    border-radius: 50px;
    background-color: #2472A8;
  }
  
  .form-control {
    color: black;
    border-bottom-color: purple;
    box-shadow: none !important;
    border: none;
    border-bottom: solid;
    border-radius: 4px 4px 0 0;
  }
  
  .form-label {
    font-family: 800 !important;
  }
  
  h4 {
    font-size: 2rem !important;
    font-weight: 700;
  }
  
  .error {
    background: #f2dede;
    color: #a94442;
    padding: 10px;
    width: 95%;
    border-radius: 5px;
  }
  
  .icon {
    margin: 0px; /* Menambahkan margin pada semua sisi untuk memberikan jarak antara kotak-kotak */
  }
  
  .footer {
    background: #001a33;
    color: white;
    text-align: center;
    padding: 10px 0px; /* Atur jarak atas dan bawah */
    height: 40px;
  }
  
  .footer p {
    margin: 0; /* Menghapus margin bawaan untuk menghindari jarak tambahan */
    font-size: 14px;
  }