.auth {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  height: 50dvh;
  overflow: hidden;
  position: relative;
  background: var(--bg-basic);
}

.auth__img {
    display: block;
    width: 100%;
    height: 100dvh;
    object-fit: cover;

}

.auth__logo {
  position: absolute;
  top: 40px;
  left: 68px;
  display: block;
  height: 40px;
}

.auth__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 68px;
  height: 100dvh;
}

.auth__title {
  font-family: Lora;
  font-weight: 600;
  font-size: 58px;
  line-height: 1.1em;
}

.auth__block {
  max-width: 576px;
  width: 100%;
}

.auth-form {
  margin-top: 48px;
}

.auth-form__checkbox {
  margin-top: 16px;
  align-items: center;
}

.auth-form__checkbox span {
  font-size: 12px;
}

.auth-form__checkbox a {
  color: inherit;
  font-size: 12px;
  text-decoration: none;
}

.auth-form .bttn {
  width: 100%;
  margin-top: 48px;
}

.auth-form__link {
  display: none;
  color: inherit;
  text-decoration: none;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
}

.auth-form__link.active {
  display: block;
}

@media (max-width: 1024px) {
  .auth {
    display: block;
  }

  .auth__info {
    position: absolute;
    background: var(--bg-basic);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    width: 95vw;
    padding: 24px;
    border-radius: 8px;
    height: auto;
  }

  .auth__logo {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
  }

  .auth-form {
    margin-top: 32px;
  }

  .auth-form .bttn {
    margin-top: 32px;
  }

  .auth__title {
    font-size: 32px;
  }

  .auth-form__checkbox {
    align-items: flex-start;
  }

  .auth-form__checkbox span {
    font-size: 14px;
  }

  .auth-form__checkbox a {
    font-size: 14px;
    text-decoration: underline;
  }
}
