.lg-banner {
  width: 95%;
  max-width: 620px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 45px;
  display: none;
  box-shadow: 1px 1px 3px rgba(3, 7, 18, 0.03),
    5px 5px 11px rgba(3, 7, 18, 0.05), 12px 12px 24px rgba(3, 7, 18, 0.08);
  padding: 5px;
  background-color: #fff;
  border-radius: 12px;
  margin-bottom: 30px;
}

.lg-banner img {
  width: 100%;
  border-radius: 12px;
}

.main-container {
  position: relative;
  max-width: 850px;
  width: 100%;
  background: #fff;
  padding: 40px 30px;
  box-shadow: 1px 1px 3px rgba(3, 7, 18, 0.03),
    5px 5px 11px rgba(3, 7, 18, 0.05), 12px 12px 24px rgba(3, 7, 18, 0.08);
  perspective: 2700px;
}

.main-container .cover {
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  width: 55%;
  z-index: 98;
  transition: all 1s ease;
  transform-origin: left;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.main-container #flip:checked ~ .cover {
  transform: rotateY(-180deg);
}

.main-container #flip:checked ~ .forms .login-form {
  pointer-events: none;
}

.main-container .cover .front,
.main-container .cover .back {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.cover .back {
  transform: rotateY(180deg);
}

.main-container .cover img {
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: cover;
  z-index: 10;
  background-color: #fff;
}

.main-container .forms {
  height: 100%;
  width: 100%;
  background: #fff;
}

.main-container .form-content {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.form-content .login-form,
.form-content .signup-form {
  width: calc(90% / 2);
}

.forms .form-content .login-form .title {
  margin-top: 40px;
}

.forms .form-content .title {
  position: relative;
  font-size: 24px;
  font-weight: 500;
  color: #333;
}

.form-content .login-form .logo,
.form-content .signup-form .logo {
  margin-bottom: 15px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  top: -15px;
}

.form-content .login-form .logo img,
.form-content .signup-form .logo img {
  width: auto;
  height: 50px;
}

.forms .form-content .title:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 25px;
  background: var(--form-primary);
}

.forms .signup-form .title:before {
  width: 20px;
}

.forms .form-content .input-boxes {
  margin-top: 30px;
}

.forms .form-content .input-box,
.forms .form-content .select {
  display: flex;
  align-items: center;
  height: 50px;
  width: 100%;
  margin: 10px 0;
  position: relative;
}

.form-content .input-box input,
.form-content .select select {
  height: 100%;
  width: 100%;
  outline: none;
  border: none;
  padding: 0 30px;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 2px solid rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.form-content .input-box input:focus,
.form-content .input-box input:valid,
.form-content .select select:focus,
.form-content .select select:valid {
  border-color: var(--form-primary);
}

.form-content .input-box i,
.form-content .select i {
  position: absolute;
  color: var(--form-primary);
  font-size: 17px;
}

.forms .form-content .text {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.forms .form-content .text a {
  text-decoration: none;
}

.forms .form-content .text a:hover {
  text-decoration: underline;
}

.text a {
  color: var(--form-primary);
  text-decoration: none;
}

.text a:hover {
  color: var(--form-primary-dark);
}

.forms .form-content .button {
  color: #fff;
  margin-top: 40px;
}

.forms .form-content .button input {
  color: #fff;
  background: var(--form-primary);
  border-radius: 6px;
  padding: 0;
  cursor: pointer;
  transition: all 0.4s ease;
}

.forms .form-content .button input:hover {
  background: #002c6e;
}

.forms .form-content label {
  color: var(--form-primary-dark);
  cursor: pointer;
}

.forms .form-content label:hover {
  text-decoration: underline;
}

.forms .form-content .login-text,
.forms .form-content .sign-up-text {
  text-align: center;
  margin-top: 25px;
}

.main-container #flip {
  display: none;
}

@media (max-width: 910px) {
  .main-container {
    max-width: 420px;
    margin-top: 30px;
  }

  .main-container .cover {
    display: none;
  }

  .form-content .login-form,
  .form-content .signup-form {
    width: 100%;
  }

  .form-content .signup-form {
    display: none;
  }

  .main-container #flip:checked ~ .forms .signup-form {
    display: block;
  }

  .main-container #flip:checked ~ .forms .login-form {
    display: none;
  }

  .lg-banner {
    display: flex;
  }

  .forms .form-content .login-form .title {
    margin-top: 0px;
  }
}
