html {
  background-color: #fefbe9;
}

body {
  position: relative;
  background-color: transparent;
}

body {
  overflow: initial;
}

h1 {
  font-family: "Manrope", sans-serif;
  font-size: var(--font-h5);
  text-transform: none;
  line-height: var(--line-height-thin);
  color: var(--white);
}

h2 {
  font-family: "Manrope", sans-serif;
  font-size: var(--font-h4);
  text-transform: none;
  line-height: var(--line-height-thin);
  color: var(--dark-green);
  margin-bottom: 4px;
  text-align: center;
}

.login-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 32px;
  box-shadow: 0 4px 6px -2px rgba(16, 24, 40, 0.03),
    0 12px 16px -4px rgba(16, 24, 40, 0.08);
  margin: 0 auto;
  max-width: 600px;
  margin-bottom: 3.125rem;
  overflow: hidden;
  z-index: 2;
}

.login-left {
  display: none;
}

.login-right {
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 1.5rem;
}

.sign-up {
  display: block;
  text-align: center;
  margin-top: 0.5rem;
}

.sign-up p {
  display: inline;
}

.back-link-wrapper {
  width: 100%;
  text-align: left;
}

a.back-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

a.back-link svg {
  stroke: var(--campus-green);
  width: 20px;
  height: 20px;
}

a.back-link:hover svg path {
  stroke: var(--dark-green);
}

.login-right a.button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  text-align: center;
}

.login-right a.button svg {
  width: 20px;
  height: 20px;
}

.login-right a.button:hover svg path {
  stroke: var(--campus-green);
}

form {
  margin-top: 2.5rem;
  max-width: 400px;
  width: 100%;
}

.input-group {
  margin-bottom: 1.5rem;
}

.input-group:last-of-type,
.input-group.password-group {
  margin-bottom: 0;
}

.input-group label {
  position: relative;
  display: block;
  margin-bottom: 0.5rem;
  font-size: var(--font-p);
}

.input-group label .required {
  position: absolute;
  background-image: url("images/required.svg");
  background-size: contain;
  background-repeat: no-repeat;
  width: 6px;
  height: 6px;
  display: inline-block;
  vertical-align: middle;
  margin-top: 2px;
  margin-left: 2px;
}

.input-group input {
  background: #f1f3f7;
  border: 1px solid #f1f3f7;
  border-radius: 50px;
  padding: 0 1.5rem;
  outline: none;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--font-body);
  height: 52px;
  width: 100%;
  transition: border-color 0.3s ease-in;
}

.input-group input::placeholder {
  color: #687284;
  font-size: var(--font-p);
}

.input-group input:focus,
.input-group input:hover {
  border: 1px solid var(--campus-green);
}

.styled-input-wrapper {
  position: relative;
}

.toggle-password {
  position: absolute;
  cursor: pointer;
  color: #a3b1c0;
  font-size: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  right: 1rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.toggle-password:hover,
.toggle-password.active {
  color: var(--campus-green);
}

.input-group.password-group {
  margin-bottom: 0.625rem;
}

p.forgotpassword {
  color: #4e5764;
  text-align: right;
}

.form-submit button {
  margin-top: 2rem;
}

.form-submit button.login {
  width: 100%;
}

.svg-overlay svg.top {
  position: absolute;
  top: calc(-138px / 578px * 100%);
  right: calc(-215px / 1440px * 100%);
  width: calc(811.69px / 1440px * 100%);
  max-width: 933px;
  height: auto;
  transform: rotate(143deg);
}

.svg-overlay svg.bottom {
  position: absolute;
  bottom: calc(-90px / 488px * 100%);
  left: calc(-193px / 1440px * 100%);
  width: calc(788px / 1440px * 100%);
  max-width: 788px;
  height: auto;
  transform: rotate(170deg);
}

@media screen and (min-width: 768px) {
  .login-wrapper {
    flex-direction: row;
    max-width: 880px;
  }

  .registration-main .login-wrapper {
    max-width: 950px;
  }

  .login-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding: 2rem;
    width: 40%;
    background-image: url("images/login-picture.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
  }

  .login-right {
    padding: 2.5rem;
    width: 60%;
  }

  .registration-main h2 {
    width: 100%;
    text-align: left;
  }

  .login-right a.button {
    width: auto;
    text-align: center;
  }

  form {
    max-width: 100%;
  }

  .form-submit button {
    width: 50%;
  }
}

@media screen and (min-width: 1024px) {
  .login-right {
    padding: 3.75rem;
  }

  .input-row {
    display: flex;
    gap: 1rem;
  }
}
