body {
  font-family: "Lato", sans-serif;
  background: url("/img/piano_bg.webp") no-repeat center center fixed;
  background-size: cover;
  position: fixed;
  display: flex;
  width: 100%;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px #000 inset !important; /* match background */
    box-shadow: 0 0 0px 1000px #000 inset !important;
    -webkit-text-fill-color: #fff !important; /* your text color */
    transition: background-color 5000s ease-in-out 0s;
}

.box-area {
  display: flex;
  flex-direction: row;
  max-width: 950px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.left-box {
  background: transparent;
  text-align: center;
}

.logo-img {
  max-width: 70%;
  height: auto;
}

.right-box .h3 {
  font-size: medium;
}

.input-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.input-label {
  font-family: Arial, sans-serif;
  font-size: 20px;
  color: #dadada;
  position: relative;
}

.input-field {
  border: none;
  border-bottom: 2px solid #dadada;
  outline: none;
  width: 100%;
  padding: 5px 0;
  font-size: 16px;
  color: #dadada;
  background: transparent;
}

.input-field::placeholder {
  color: transparent;
}

.input-label span {
  position: absolute;
  top: 5px;
  left: 0;
  transition: 0.3s ease;
}

.input-field:focus + span,
.input-field:not(:placeholder-shown) + span {
  top: -20px;
  font-size: 12px;
  color: #f08719;
}

.login-btn {
  background-color: #f08719;
  color: #fff;
  border: none;
  font-weight: 500;
  width: 60%;
  margin: 0 auto;
}

.forgot-link {
  color: #c02323;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
}

.forgot-link:hover {
  text-decoration: underline;
}

@media (min-width: 320px) {
  .box-area {
    display: flex;
    flex-direction: column;
    margin-top: -25%;
    margin-bottom: -10%;
  }

  .left-box {
    width: 100%;
    text-align: center;
  }

  .right-box {
    width: 100%;
    text-align: center;
  }

  .logo-img {
    max-width: 50%;
    margin: 0 auto;
  }

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

  .input-label {
    font-size: 16px;
    width: 90%;
  }

  .input-field {
    font-size: 16px;
  }

  .login-btn {
    width: 50% !important;
    font-weight: 400 !important;
  }

  .forgot-link {
    font-size: 0.9rem !important;
  }
}

@media (min-width: 568px) {
  .box-area {
    display: flex;
    flex-direction: row;
    margin-top: -10%;
    margin-bottom: 10%;
  }

  .left-box,
  .right-box {
    width: 100%;
    text-align: center;
  }

  .logo-img {
    max-width: 40%;
  }

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

  input-label {
    font-size: 16px;
    width: 70%;
  }

  .input-field {
    font-size: 18px;
  }

  .login-btn {
    width: 40%;
    font-weight: 400 !important;
  }

  .forgot-link {
    font-size: 1.2rem;
  }
}

@media (min-width: 1024px) {
  .box-area {
    max-width: 900px;
  }

  .logo-img {
    max-width: 60%;
  }

  .input-label {
    font-size: 20px;
  }

  .input-field {
    font-size: 17px;
  }

  .login-btn {
    width: 50%;
    font-weight: 400 !important;
  }

  .forgot-link {
    font-size: 1.3rem;
  }
}

@media (min-width: 1360px) {
  .box-area {
    max-width: 1000px;
    margin-top: 8%;
  }

  .logo-img {
    max-width: 60%;
  }

  .input-label {
    font-size: 16px;
    width: 90%;
  }

  .input-field {
    font-size: 18px;
  }

  .login-btn {
    width: 45%;
    font-weight: 400 !important;
  }

  .forgot-link {
    font-size: 16px !important;
  }
}
