@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #000;
  position: relative;
}

body::before {
  content: "";
  width: 100%;
  height: 100%;
  background: url("../Images/netflix_bg-img.jpg") no-repeat center center/cover;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  opacity: 0.5;
}

a.logo {
  position: absolute;
  top: 20px;
  left: 20px;
}

a.logo svg {
  fill: #e50914;
  height: 45px;
  width: 167px;
}

.container {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container .form {
  width: 450px;
  padding: 60px 68px 40px 68px;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.75);
}

.form h1 {
  font-size: 32px;
  color: #ffffff;
  font-weight: 500;
  margin-bottom: 20px;
}

/* Input */
.form .input-field {
  margin-bottom: 20px;
  position: relative;
}

.input-field input {
  width: 100%;
  padding: 20px 20px 5px 20px;
  outline: none;
  font-size: 16px;
  color: #ffffff;
  background-color: #333;
  border: 2px solid #333;
  border-radius: 5px;
}

.input-field input:focus {
  background-color: #444;
  border-color: #444;
}

.input-field input.password {
  padding-right: 65px;
}

.input-field label.motion_label {
  color: #8c8c8c;
  font-size: 17px;
  pointer-events: none;
  position: absolute;
  left: 22px;
  top: 30px;
  transform: translateY(-50%);
  transition: all 0.2s ease;
}

.input-field input:is(:focus, :valid) ~ label.motion_label {
  font-size: 11px;
  transform: translateY(-160%);
}

.input-field input:invalid {
  border-bottom: 2px solid #e87c03;
}

/* Show Hide */
.input-field input[type="checkbox"] {
  position: absolute;
  left: 0;
  display: none;
}

label#show_hide_check_label {
  position: absolute;
  right: 0px;
  top: 50%;
  transform: translateY(-50%);
  padding: 15px 12px;
  font-size: 14px;
  color: #8c8c8c;
  cursor: pointer;
  letter-spacing: 1px;
  display: none;
}

.input-field input:is(:focus, :valid) ~ label#show_hide_check_label {
  display: block;
}

/* Button */
.button {
  margin-bottom: 15px;
}

.button .btn {
  width: 100%;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  padding: 10px;
  color: #ffffff;
  background-color: #e50914;
  border: none;
  cursor: pointer;
}

/* Remember Help */
.rem-help {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.rem-help .remember {
  display: flex;
  align-items: center;
}

.rem-help input[type="checkbox"] {
  accent-color: #737373;
  cursor: pointer;
}

.rem-help label#remember-label {
  color: #b3b3b3;
  font-size: 13px;
  font-weight: 400;
  margin-left: 5px;
  margin-top: 1px;
  cursor: pointer;
}

.help a {
  color: #b3b3b3;
  font-size: 13px;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.help a:hover {
  text-decoration: underline;
}

/* Sigup Description */
.signup {
  width: 100%;
  font-weight: 400;
}

.signup p.signup-text {
  color: #737373;
  font-size: 16px;
}

.signup p.signup-text a {
  color: #ffffff;
  text-decoration: none;
}

.signup p.signup-text a:hover {
  text-decoration: underline;
}

.signup p.page-info {
  color: #8c8c8c;
  font-size: 12px;
  margin-top: 11px;
}

.signup p.page-info a {
  color: #0071eb;
  text-decoration: none;
}

.signup p.page-info a:hover {
  text-decoration: underline;
}
