
* {
  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-image: url("img/background/bg3.jpg");
    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;
  }

  .jumbotron {
    background-size: contain; /* Mengatur gambar agar menutupi seluruh latar belakang */
    min-height: 30vh;
    position: relative;
    background-repeat: no-repeat; /* Menghindari pengulangan gambar */
    background-attachment: fixed; /* Membuat gambar latar belakang tetap terlihat saat menggulir */
  }

  .product {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
  }

  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;
  }

  .jumbotron {
    padding-top: 3rem;
    background-size: contain; /* Mengatur gambar agar menutupi seluruh latar belakang */
    background-repeat: no-repeat; /* Menghindari pengulangan gambar */
    background-attachment: fixed; /* Membuat gambar latar belakang tetap terlihat saat menggulir */
  }

  .product {
  background-image: url("img/background/bg2.jpg");
  background-size: cover; /* Mengatur gambar agar menutupi seluruh latar belakang */
  width: 100%;
  height: 80vh;
  }

  body {
    font-size: 14px;
  }
  iframe {
    width: 100%;
  }
  /* Tambahkan aturan CSS lainnya sesuai kebutuhan */
}

.jumbotron {
  padding-top: 5rem;
  background-image: url("img/background/bg1.jpg");
  background-size: cover; /* Mengatur gambar agar menutupi seluruh latar belakang */
  background-repeat: no-repeat; /* Menghindari pengulangan gambar */
  background-attachment: fixed; /* Membuat gambar latar belakang tetap terlihat saat menggulir */
}

.carousel-inner > .carousel-item > img {
  width: 100px;
  height: 100px;
}

/* CSS untuk efek zoom gambar */
.carousel-item.active > img {
  transform: scale(1.1); /* Skala gambar saat item aktif */
  transition: transform 0.3s ease; /* Animasi efek zoom */
}

.carousel-item:hover img {
  transform: scale(1.1); /* Skala gambar saat item dihover */
}

.iconsContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80vh;
}

.iconsContainer .icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 3rem 6rem;
}

.iconsContainer .icons .bi {
  cursor: pointer;
  font-size: 40px;
  padding: 1.5rem 2rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 1);
  background-size: 200%;
  transition: background 0.3s ease-in-out;
}

.iconsContainer .icons .bi:hover {
  background-position: right;
}

.bi:hover {
  box-shadow: 10px 17px 23px -11px rgba(0, 0, 0, 0.75);
  -webkit-box-shadow: 10px 17px 23px -11px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 10px 17px 23px -11px rgba(0, 0, 0, 0.75);
}

.product {
  background-image: url("img/background/bg2.jpg");
  background-size: cover; /* Mengatur gambar agar menutupi seluruh latar belakang */
}

/* Mengubah warna latar belakang saat tautan diarahkan (hover) belum jadi*/
.icon.box:hover {
  background-color: #66b3ff; /* Ganti dengan warna yang Anda inginkan saat dihover */
}

.products .box-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.products .box-container .box {
  flex: 1 1 30rem;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 1);
  border-radius: 0.5rem;
  border: 0.1rem solid rgba(0, 0, 0, 1);
  position: relative;
}

.lab {
  text-align: center;
  font-family: "Poppins", sans-serif;
}

#login {
  background-image: url("img/background/bg3.jpg");
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

#flogin {
  width: 25%;
  background-color: white;
  padding: 50px;
  border-radius: 20px;
  margin: 100px;
}

.btn-primary {
  width: 100%;
  border: none;
  border-radius: 50px;
  background: linear-gradient(90deg, rgba(94, 92, 92, 0.377) 0%, rgba(0, 128, 128, 0.959) 35%, rgba(0, 128, 128, 1) 100%);
}

.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;
}