@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

body {
  background: #e9e9e9;
  color: #666666;
  background-image: url("images/1.jpg");
  font-family: "RobotoDraft", "Roboto", sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Pen Title */
.pen-title {
  padding: 55px 0;
  text-align: center;
  letter-spacing: 2px;
}
.pen-title h1 {
  margin: 0 0 20px;
  font-size: 48px;
  font-weight: 300;
}
.pen-title span {
  font-size: 12px;
}
.pen-title span .fa {
  color: #5c4ac7;
}
.pen-title span a {
  color: #5c4ac7;
  font-weight: 600;
  text-decoration: none;
}

.containerlog {
  position: relative;
  left: 49%;
  transform: translate(-51%);
  max-width: 430px;
  width: 100%;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin: 0 20px;
}
.containerlog .forms {
  display: flex;
  align-items: center;
  height: 470px;
  width: 200%;
  transition: height 0.2s ease;
}
.containerlog .form {
  width: 50%;
  padding: 30px;
  background-color: #fff;
  transition: margin-left 0.18s ease;
}
.containerlog.active .login {
  margin-left: -50%;
  opacity: 1;
  transition: margin-left 0.18s ease, opacity 0.15s ease;
}
.containerlog .signup {
  opacity: 0;
  transition: opacity 0.09s ease;
}
.containerlog.active .signup {
  opacity: 1;
  transition: opacity 0.2s ease;
}
.containerlog.active .forms {
  height: 600px;
}
.containerlog .form .title {
  position: relative;
  font-size: 27px;
  font-weight: 600;
}
.form .title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 30px;
  background-color: #afc8ad;
  border-radius: 25px;
}
.form .input-field {
  position: relative;
  height: 50px;
  width: 100%;
  margin-top: 30px;
}
.input-field input {
  position: absolute;
  height: 100%;
  width: 100%;
  padding: 0 35px;
  border: none;
  outline: none;
  font-size: 16px;
  border-bottom: 2px solid #ccc;
  border-top: 2px solid transparent;
  transition: all 0.2s ease;
}
.input-field input:is(:focus, :valid) {
  border-bottom-color: #afc8ad;
}
.input-field i {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 23px;
  transition: all 0.2s ease;
}
.input-field input:is(:focus, :valid) ~ i {
  color: #afc8ad;
}
.input-field i.icon {
  left: 0;
}
.input-field i.showHidePw {
  right: 0;
  cursor: pointer;
  padding: 10px;
}
.form .checkbox-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}
.checkbox-text .checkbox-content {
  display: flex;
  align-items: center;
}
.checkbox-content input {
  margin-right: 10px;
  accent-color: #afc8ad;
}
.form .text {
  color: #333;
  font-size: 14px;
}
.form a.text {
  color: #afc8ad;
  text-decoration: none;
}
.form a:hover {
  text-decoration: underline;
}
.form .button {
  margin-top: 35px;
}
.form .button input {
  border: none;
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 1px;
  border-radius: 6px;
  background-color: #afc8ad;
  cursor: pointer;
  transition: all 0.3s ease;
}
.button input:hover {
  background-color: #afc8ad;
}
.form .login-signup {
  margin-top: 30px;
  text-align: center;
}
