.login {
  background-color: #f5faf3;
  background-image: url(../icons/login-bg.svg);
  background-size: contain;
  background-position: left center;
  background-repeat: no-repeat;
  min-height: calc(100vh - 31.8em);
  display: flex;
}

.login--container {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(400px, 1fr));
  grid-column-gap: 6em;
  grid-row-gap: 1em;
  padding: 5em 0;
}

.login--container::before,
.login--container::after {
  content: none;
}

.login--text {
  text-align: center;
  align-self: center;
  justify-self: center;
  width: 26em;
  max-width: calc(100vw - 2em);
}

.login--title {
  display: inline-block;
  color: var(--fontColor);
  font-size: 30px;
  font-family: "Futura PT";
  font-weight: 900;
  border-bottom: solid 2px;
  margin-top: 0;
  margin-bottom: 0.5em;
  padding: 0 0.2em 0.2em;
}

.login-form {
  align-self: center;
  justify-self: center;
  border: solid 0.25px var(--tertiaryColor);
  background-color: #fff;
  max-width: calc(100vw - 2em);
}

.login-form--title {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--tertiaryColor);
  color: #fff;
  font-family: "Futura PT";
  font-weight: bold;
  font-size: 19px;
  padding: 0.43em;
  height: 60px;
  width: 390px;
  max-width: 100%;
}

.login-form--title img {
  height: 2.3em;
  width: 2.3em;
  margin-right: 0.5em;
}

.login-form--container {
  padding: 2em 2.8em;
}

.login-form--label {
  font-family: "Raleway";
  font-weight: bold;
  color: var(--mainColor-8);
  font-size: 19px;
}

.login-form--form-control {
  height: 27px;
  background-color: var(--grayColor-5);
  border: none;
  font-family: "Futura PT";
  font-weight: bold;
  color: var(--fontColor);
  text-align: center;
}

.login-form--form-control:focus {
  box-shadow: none;
  border: none;
}

.login--help-block {
  font-family: "Raleway";
  font-weight: 500;
  color: var(--grayColor-4);
  font-size: 9.5px;
  text-align: center;
}

.recover-pass {
  text-align: right;
}

.recover-pass a {
  font-family: "Raleway";
  font-weight: bold;
  color: var(--tertiaryColor);
  font-size: 11px;
  cursor: pointer;
}

.login--inglresar {
  text-align: center;
  margin-bottom: -2.9em;
}

.login-form--see-password {
  background-color: transparent;
  border: none;
  padding: 0;
  position: absolute;
  left: calc(100% + 4px);
  top: 50%;
  transform: translateY(-50%);
}

.login-form--see-password.active::before {
  content: "";
  position: absolute;
  background-color: var(--mainColor-8);
  height: 1px;
  width: 100%;
  border-radius: 1em;
  display: block;
  top: 50%;
  left: 0;
  transform: rotate(320deg);

  animation-duration: 0.6s;
  animation-name: animatedOpacity;
}

.login-form-required {
  position: relative;
}

.login-form-required::after {
  content: "*";
  font-family: "Raleway";
  font-weight: 500;
  font-size: 25px;
  color: var(--mainColor-8);
  position: absolute;
  top: 1.4em;
  right: 5px;
}

@media screen and (max-width: 768px) {
  .login--text {
    margin-bottom: 1em;
  }
}

@media screen and (max-width: 400px) {
  .login--container {
    display: block;
  }
}
