body {
  background: linear-gradient(to bottom, #FAEF5D, #EE9322);
  overflow: hidden;
}

.transparent-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 0px solid #fff;
  top: 50%;
  left: 100%;
  transform: translate(-50%, -50%);
  box-shadow: none;
  position: relative;
  width: 600px;
  height: 600px;
}

.card-overlay {
  background: url('../img/kaptennaratel.png') center/cover no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  background-size: 100%;
  width: 100%;
  height: 100%;
  opacity: 0.1;
}

.card-body {
  position: relative;
  z-index: 1;
}

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.input-container {
  display: flex;
  align-items: center;
}

.form-label {
  position: absolute;
  right: 68%;
  margin-top: 450px;
  font-size: 1.2rem;
  color: #000;
  opacity: 0.5;
}

.transparent-input {
  width: 80%;
  padding: 12px 20px;
  margin: 5px 0;
  box-sizing: border-box;
  position: absolute;
  margin-top: 550px;
  left: 10%;
  border: none;
  border-bottom: 4px solid rgba(0, 0, 0, 0.5);
  background-color: transparent;
}

.transparent-input:focus {
  background-color: rgba(255, 255, 255, 0.3);
}

.button {
  background-color: #EE9322;
  font-size: 25px;
  color: #FFFFFF;
  padding: 15px 40px;
  width: 300px;
  position: absolute;
  top: 77%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  transition-duration: 0.2s;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); 
}

.button:focus {
  outline: none;
}
.button:after {
  content: "";
  position: absolute;
  margin-left: -20px;
  opacity: 0;
  transition: all 0.5s;
}

.button:hover {
  color: #fff;
  background-color: #FFD23F;
}

@media (max-width: 768px) {
  /* Sesuaikan ukuran dan tata letak pada layar kecil seperti HP dan tablet */
  
  .transparent-card {
    width: 400px;
    height: 400px;
    top: 50%;
    left: 45%;
    transform: translate(-50%, -50%);
  }

  .form-label {
    font-size: 1rem;
    left: 5%;
    margin-top: 90%; /* Turunkan posisi label pada layar kecil */
  }

  .transparent-input {
    width: 95%; 
    margin-top: 400px; /* Turunkan input agar lebih sesuai di layar kecil */
    left: 7.5%; /* Buat input lebih rata di tengah */
  }

  .button {
    width: 250px;
    font-size: 20px;
    padding: 10px 30px;
    top: 80%; /* Atur posisi tombol agar tidak terlalu dekat dengan tepi layar */
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .button:hover {
    background-color: #FFA500; /* Sedikit perubahan warna saat hover pada layar kecil */
  }
}