@import url("https://fonts.googleapis.com/css?family=Poppins");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins";
}

body {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: rgb(184, 184, 184);
  background-size: cover;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.background-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1; /* Supaya gambar di belakang */
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 100px;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 99;
}

.logo {
  font-size: 2em;
  color: #b3cde0;
  user-select: none;
}

.navigation {
  position: relative;
  font-size: large;
  color: #b3cde0;
  text-decoration: none;
  font-weight: 500;
  margin-left: 40px;
}

.b {
  text-align: center;
  font-size: 2em;
  color: #e5ebf0;
  user-select: none;
}

.navigation .btnLogin-popup {
  width: 100px;
  height: 45px;
  background: #abafb3;
  border: 2px solid #9b9b9b;
  outline: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1em;
  color: #333333;
  font-weight: 500;
  margin-left: 40px;
  transition: 0.5s;
}

.navigation .btnLogin-popup:hover {
  background: transparent;
  color: #d1d1d1;
}

.wrapper {
  position: relative;
  width: 500px;
  height: 550px;
  background: transparent;
  border: 2px solid rgb(255, 255, 255, 0.5);
  border-radius: 20px;
  backdrop-filter: blur(5px);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}

.wrapper .form-box {
  width: 100;
  padding: 40px;
}

.form-box h3 {
  font-size: 2em;
  color: #e9e9e9;
  text-shadow: 2px 2px 4px rgba(255, 55, 55, 0.726);
  text-align: center;
  font-weight: bold;
  transform: translateY(-50px);
  letter-spacing: 2px; /* Memberikan jarak antar huruf */
}

.input-box {
  position: relative;
  width: 100%;
  height: 50px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.5);
  margin: 30px 0;
}

.input-box label {
  position: absolute;
  top: 50%;
  left: 5px;
  transform: translateY(-50%);
  font-size: 1em;
  color: #ffffff;
  font-weight: 500;
  pointer-events: none;
}

.input-box input:focus ~ label,
.input-box input:valid ~ label {
  top: -5px;
  transition: 0.5s;
}

.input-box input {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-size: 1em;
  color: #ffffff;
  font-weight: 600;
  padding: 0 35px 0 5px;
}

.input-box .icon {
  position: absolute;
  right: 8px;
  font-size: 1.2em;
  color: #ffffff;
  line-height: 57px;
}

.remember-forgot {
  font-size: 0.9em;
  letter-spacing: 1px;
  color: #ffffff;
  font-weight: 500;
  margin: -15px 0 15px;
  display: flex;
  justify-content: space-between;
}

.remember-forgot label input {
  accent-color: #00ff00;
  margin-right: 3px;
}

.btn {
  width: 100%;
  height: 45px;
  background: linear-gradient(to right, #fc782c, #f330fa);
  border: none;
  outline: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1em;
  color: #e0e0e0;
  font-weight: bold;
  font-weight: 500;
}

p {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
    color: #ffffff;
}

p a {
    color: #001aff;
    text-decoration: none;
    font-weight: bold;
}

p a:hover {
    text-decoration: underline;
}
