main {
  background-image: var(--bg-img);
  background-position: center;
  background-size: cover;
}

header {
  gap: 20px;
}

header img {
  width: 100px;
}

.auth-wrap {
  background-color: var(--clr-bg-white);
  border-radius: 10px;
  padding: 15px;
  width: 500px;
  height: 700px;
  max-height: calc(100% - 25px);
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

.auth {
  height: calc(100% - 25px);
}

.auth .logo-text {
  padding-top: 11px;
}

.auth .logo-text h1 {
  font-size: 1rem;
  line-height: 1.4;
}

.auth .logo-text h2 {
  font-size: 0.7rem;
  color: var(--clr-txt-grey);
  line-height: 1.4;
  padding-top: 10px;
}

.auth > h3 {
  padding: 15px 0;
  border-top: 2px solid #EFF0F0;
  border-bottom: 2px solid #EFF0F0;
  text-transform: uppercase;
}

.input-box > span:nth-child(3),
.input-box > a {
  position: absolute;
  right: 0;
  top: 0;
  padding: 10px 0;
  font-size: 0.7rem;
  text-decoration: underline;
  color: var(--clr-txt-grey);
  cursor: pointer;
  transition: color 0.2s;
}

.input-box > span:nth-child(3):hover,
.input-box > a:hover {
  color: var(--clr-primary);
  text-decoration: none;
}

form button[type="submit"] {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

footer {
  position: absolute;
  bottom: 15px;
  right: 15px;
  height: 25px;
}

@media (max-width: 62rem) {
  .auth-wrap {
    width: calc(100% - 25px);
  }
  header {
    flex-direction: column;
    gap: unset;
  }
  header img {
    width: 75px;
  }
  .auth .logo-text h1,
  .auth .logo-text h2,
  .auth .logo {
    text-align: center;
  }
  .auth > h3 {
    padding: 10px 0;
  }
  .auth .logo-text {
    padding-top: 0;
  }
  p {
    font-size: 0.8rem;
  }
  h3 {
    font-size: 0.9rem;
  }
}
