html,
body {
  width: 100%;
  height: 100%;
}

body {
  font-family: "Molengo", sans-serif;
}

*,
*::after,
*::before {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* Navbar */

.navbar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #ffffff;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  width: 100%;
  min-width: 360px;
}

.navbar-logo {
  height: 60px;
}

/* Login main section */

.login {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 803px;
  min-width: 360px;
}

.login-section {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 360px;
  min-width: 360px;
  margin: 0px auto;
  padding: 48px 16px;
}

/* Login message container */

.login-message-container {
  display: flex;
  flex-direction: column;
  height: 64px;
  margin: 0px 0px 16px;
}

.login-message-container::before {
  position: absolute;
  content: "";
  background-color: #848383;
  width: 5px;
  height: 64px;
}

.login-message-container h1 {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-size: 32px;
  line-height: 40px;
  color: rgba(0, 0, 0, 0.8);
  margin-left: 12px;
}

.login-message-container p {
  font-family: Molengo;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 22px;
  color: rgba(0, 0, 0, 0.7);
  margin-left: 17px;
}

/* Login form */
.form form {
  display: flex;
  flex-direction: column;
}

.form-input {
  width: 100%;
  max-width: 258px;
  height: 40px;
  border-radius: 10px;
  padding: 8px 16px 8px 16px;
  border: none;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  margin: 8px 0px;
}

.form-input::placeholder {
  font-family: Molengo;
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 24px;
  color: rgba(0, 0, 0, 0.6);
}

.form-group {
  position: relative;
}

.password-icon {
  z-index: 1000;
  position: absolute;
  top: 12px;
  right: 72px;
  cursor: pointer;
  padding: 8px;
}

.form-btn {
  width: 152px;
  height: 48px;
  background: #000000;
  border: none;
  border-radius: 12px;
  padding: 12px 32px;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  margin: 16px 0px;
  font-family: Molengo;
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 24px;
  color: #ffffff;
  cursor: pointer;
}

/* Forgot password */
.forgot-password {
  font-family: Molengo;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 22px;
  text-decoration-line: underline;
  color: rgba(0, 0, 0, 0.7);
}

/* Register message */
.register-message {
  font-family: Molengo;
  font-style: normal;
  font-weight: normal;
  color: rgba(0, 0, 0, 0.7);
  margin: 48px 0px;
}

.register-message-title {
  font-size: 16px;
  margin-bottom: 24px;
}

.register-message-subtitle {
  font-size: 14px;
}

/* Login image */
.login-image-container-desktop {
  position: static;
  overflow: hidden;
  width: 100%;
  height: 100%;
  border-top-left-radius: 200px;
}
.login-image-container-desktop img {
  position: relative;
  top: 5px;
  width: 100%;
  height: 100%;
}

/* Recover section */

.recover {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100% - 89px - 44px); /* 89px - navbar, 44px - footer*/
}

.recover-section {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  min-width: 360px;
  max-width: 360px;
  margin: 0px auto;
  padding: 48px 16px;
}

.recover-message-container {
  display: flex;
  flex-direction: column;
  height: auto;
}

.recover-message-container h1 {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 600;
  font-size: 32px;
  line-height: 40px;
  color: rgba(0, 0, 0, 0.8);
  margin-bottom: 24px;
}

.recover-message-container p {
  font-family: Molengo;
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.7);
}

/* Recover image */
.recover-image-desktop {
  display: none;
}

.recover-image-mobile {
  display: flex;
  width: 100%;
  max-width: 343px;
  height: 227.84px;
  background-image: url(../img/forgot_password.svg);
  background-repeat: no-repeat;
  margin: 0px auto;
}

/* Recover button */

.recover-btn-container,
.recover-btn-container-desktop {
  display: flex;
  width: 100%;
  max-width: 360px;
  min-width: 360px;
  margin: 0 auto;
}

.recover-btn-container-desktop {
  display: none;
}
.recover-btn {
  text-decoration: none;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 12px 24px;
  width: 162px;
  height: 48px;
  background: #000000;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  border: none;
  color: #ffffff;
  font-family: Molengo;
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 24px;
  margin: 24px 8px;
}

/* Footer */
.footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 8px 16px;
  background-color: #848383;
  width: 100%;
  height: 44px;
  min-width: 360px;
}

.footer-text {
  color: #ffffff;
  font-family: Molengo;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 22px;
}

.body-bg {
  background-color: #e6e6e6;
}

/* Desktop design */
@media (min-width: 768px) {
  /* Global */
  .navbar {
    height: 99px;
    padding: 12px 60px;
    z-index: 1000;
  }
  .footer {
    height: 56px;
  }
  /* Login page */
  .login {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    max-width: 1684px;
    max-height: 750px;
    min-height: 750px; /* 99px - navbar, 56px - footer*/
  }
  .login-section {
    max-width: 324px;
    margin: 0px 100px;
  }
  .login-message-container {
    height: 82px;
    margin: 36px 0px;
  }
  .login-message-container::before {
    height: 80px;
  }
  .login-message-container h1 {
    font-size: 48px;
    line-height: 56px;
  }
  .login-message-container p {
    font-size: 14px;
    line-height: 22px;
  }
  .register-message {
    margin: 64px 0px;
  }
  /* Login image */
  .login-image-container-desktop {
    height: 754px;
    position: relative;
    top: -2px;
    z-index: -100;
  }

  .login-image-container-desktop img {
    width: auto;
  }

  /* Recover page */
  .recover {
    background-color: #e6e6e6;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    min-height: 803px;
    max-height: 750px;
    max-width: 1684px;
    margin: 4px 0;
  }
  .recover-section {
    margin-left: 16px;
    margin-right: 0px;
    max-width: 570px;
  }
  .recover-image-mobile {
    display: none;
  }
  .recover-image-desktop {
    display: flex;
    width: 601.89px;
    height: 400px;
    background-image: url(../img/forgot_password_desktop.svg);
    background-repeat: no-repeat;
    margin: 0 0 0 16px;
    overflow-x: hidden;
  }
  .recover-message-container {
    max-width: 570px;
  }
  .recover-message-container h1 {
    font-size: 48px;
    line-height: 56px;
  }
  .recover-btn-container {
    display: none;
  }
  .recover-btn-container-desktop {
    display: flex;
    margin: 0px 0px;
  }
  .recover-btn {
    margin: 24px 0px;
  }
}

@media (min-width: 1684px) {
  .login {
    margin: 0px auto;
  }
  .recover {
    margin: 4px auto;
  }
}
