@import url(styles.css);

main {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url(assets/images/header-image.png);
  background-size: cover;
  background-position: center;
  gap: 91px;
}
/* --------------------------------header----------------------------- */
header {
  height: unset;
  background-image: unset;
  border-bottom: unset;
  margin-bottom: 20px;
  padding: 0 8%;
  margin: 0;
}
header nav {
  padding: 24px 0;
}

.lang-btn img#signup-img-1 {
  width: 30px;
  margin-right: 10px;
  padding: 0;
}
/* --------------------------------footer--------------------------- */
footer {
  background: rgba(0, 0, 0, 0.5);
}
/* ------------------------------------------card------------------------------------- */
.card {
  background: rgba(0, 0, 0, 0.5);
  color: #737373;
  width: 450px;
  max-width: 100%;
  padding: 60px 68px 40px;
  border-radius: 4px;
  margin: 0 auto;
}
form {
  padding-bottom: 14%;
}
form h1 {
  color: white;
  text-align: left;
  margin: 0 0 20px;
}

form .inputbox {
  position: relative;
}
.input-text {
  font-size: 14px;
  width: 100%;
  height: 35px;
  outline: none;
  background: #333;
  color: #fff;
  margin: 8.5px auto;
  font-weight: 500;
}
#username {
  padding: 16px 20px 0;
}
#pass {
  padding: 16px 65px 0 20px;
}
.float-label {
  color: #8c8c8c;
  position: absolute;
  pointer-events: none;
  left: 20px;
  top: 25px;
  transition: 0.3s ease all;
  border: none;
}
label::after {
  content: unset;
}
.input-text,
.submit-btn {
  border: none;
  font-size: 16px;
  width: 100%;
  border-radius: 4px;
  height: 50px;
  line-height: 50px;
}
input:focus + .float-label,
input:not(:focus):valid + .float-label {
  top: 16px;
  bottom: 10px;
  left: 20px;
  font-size: 11px;
  opacity: 1;
}
input:focus,
input:valid {
  background: #454545;
}
.submit-btn {
  background: var(--Netflix-red);
  color: white;
  font-weight: 600;
  margin-top: 10%;
  margin-bottom: -3px;
  padding: 16px 19px;
  line-height: 0;
  cursor: pointer;
}
/* --------------------------------remember-me------------------------------ */
.rem-help {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding-top: 19px;
}
.rem-help p a {
  display: flex;
  color: #b3b3b3;
  font-size: 13px;
  font-weight: 500;
  padding-top: 3px;
  line-height: 16.6px;
  text-decoration: none;
}
.rem-help p a:hover {
  text-decoration: underline;
}
.rem-help .rem-me input {
  display: none;
}
.rem-help .rem-me {
  display: block;
  position: relative;
  padding: 4px 0 0 20px;
  font-size: 13px;
  font-weight: 500;
  line-height: 15.6px;
  color: #b3b3b3;
}
.rem-help .rem-me .check-mark {
  position: absolute;
  left: 0;
  height: 16px;
  width: 16px;
  border-radius: 2px;
  background: #737373;
  font-size: 13px;
}
.rem-me input:checked + .check-mark {
  background: white;
}
.rem-help .rem-me .check-mark::after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 1px;
  height: 9px;
  width: 3px;
  border: 1px solid #333;
  border-width: 0 3px 3.5px 0;
  transform: rotate(45deg);
}
.rem-help .rem-me input:checked + .check-mark::after {
  display: block;
}
/* -----------------------------form footer----------------------------- */
.form-footer {
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-footer .login-fb p a {
  color: #737373;
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
  line-height: 13px;
  letter-spacing: 0.1px;
}
.form-footer .login-fb img {
  width: 20px;
  height: 20px;
  margin: -2px 10px 0 0;
  object-fit: cover;
  vertical-align: middle;
  font-size: 13px;
}
.form-footer .signup-now p a {
  color: white;
  padding-left: 3px;
  text-decoration: none;
}
.form-footer .recaptcha p {
  font-size: 13px;
  color: #bcbcbc;
  line-height: 16px;
}
.form-footer .recaptcha p a {
  display: inline;
  width: 100%;
  text-decoration: none;
  color: #0071eb;
}
.form-footer .recaptcha p a:hover {
  text-decoration: underline;
}
/* ---------------------------------------media queries------------------- */
@media only screen and (max-width: 600px){
  main{
    background-image: none;
    gap: 40px;
  }
  .card{
    padding: unset;
  }
  footer{
    border-top: #454545 solid 1px;
  }

  .form-footer{
    padding: 60px 0 0;
  }
  
}