:root {
  --mainColor: #2a3647;
  --mainColorHover: #29abe2;
  --maxWidth: 1440px;
}

body {
  background: #f6f7f8;
}

.no-scroll{
  overflow-y: hidden;
}

input:focus {
  outline: none;
}

input:-webkit-autofill {
  box-shadow: 0 0 0px 1000px white inset;
}

.loginContent {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 48px 0;
  border-radius: 30px;
  background-color: white;
  box-shadow: 0px 0px 14px 3px rgba(0, 0, 0, 0.04);
  max-width: 652px;
}

.title-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loginTitle {
  font-weight: 700;
  font-size: 61px;
  margin-bottom: 16px;
  gap: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.headline-underline {
  border: 2px solid #29abe2;
  width: 150px;
}

.headerContent {
  max-width: var(--maxWidth);
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: unset;
  box-shadow: unset;
  padding-top: 40px;
  padding-left: 8px;
  padding-right: 8px;
}

.formMailIcon {
  background-image: url(../assets/img/mail.svg);
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-40%);
  width: 25px;
  height: 22px;
  background-repeat: no-repeat;
  margin-left: 8px;
}

.formPassIcon {
  background-image: url(../assets/img/lock.svg);
}

.password-wrapper,
.mail-wrapper {
  position: relative;
}

.mail-wrapper input,
.password-wrapper input {
  padding-right: 45px;
}

.toggle-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(30%);
  width: 25px;
  height: 22px;
  background-image: url("../assets/img/visibility_off.svg");
  cursor: pointer;
  display: none;
  background-repeat: no-repeat;
}

.toggle-icon.visible {
  background-image: url("../assets/img/visibility_on.svg");
  width: 25px;
}

form {
  display: flex;
  flex-direction: column;
  width: 80%;
  margin-top: 20px;
}

.inputLogin {
  padding: 14px 20px;
  font-size: 18px;
  border: 1px solid #d1d1d1;
  border-radius: 10px;
  display: flex;
  width: 100%;
  height: 50px;
  background-color: white;
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 22px 22px;
}

#txtPassword {
  margin-top: 30px;
}

.inputFail {
  border: 1px solid #e60026;
}

.inputFocus {
  border: 1px solid #29abe2;
}

.mainContent {
  max-width: var(--maxWidth);
  margin-right: auto;
  margin-left: auto;
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px 16px;
}


.logo {
  width: 100px;
}

.btn {
  border: none;
  border-radius: 8px;
  padding: 15px 24px;
  transition: ease-in-out 125ms;
  cursor: pointer;
  font-weight: 700;
}

.btnPrimary {
  color: white;
  background: var(--mainColor);
}

.btnPrimary:hover {
  background-color: var(--mainColorHover);
  box-shadow: 0px 4px 4px 0px #00000040;
  transform: scale(1.05);
  transition: 125ms ease-in-out;
}

.btnPrimaryClicked {
  background-color: #091931;
}

.btnSecondary {
  background: white;
  color: var(--mainColor);
  border: 1px solid var(--mainColor);
}

.btnSecondary:hover {
  border: 2px solid #29abe2;
  box-shadow: 0px 4px 4px 0px #00000040;
  color: #29abe2;
  transform: scale(1.05);
  transition: 125ms ease-in-out;
}

footer {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.loginFooter {
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
  max-width: var(--maxWidth);
  margin: 0 auto;
}

.loginFooter a {
  text-align: center;
  color: #a8a8a8;
  text-decoration: none;
  cursor: pointer;
  width: 112px;
}

.loginFooter a:hover {
  color: #29abe2;
  font-weight: 700;
  transform: scale(1.005);
  transition: ease-in-out 125ms;
}

.lblSignUp {
  font-weight: 400;
  font-size: 20px;
}

.signup {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btnLoginContent {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

#loginStatus {
  width: 100%;
  text-align: center;
  color: #e60026;
  font-weight: 400;
  font-size: 14px;
  padding-top: 2px;
  padding-bottom: 12px;
}

.logoSplash {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition:
    top 1s ease-in-out,
    left 1s ease-in-out,
    transform 1s ease-in-out;
  max-width: var(--maxWidth);
}

.logoSplash.animate {
  top: 88px;
  left: 64px;
  transform: translate(0, 0);
  max-width: var(--maxWidth);
}

.maxWidth {
  max-width: var(--maxWidth);
}

.logoSplashImg {
  width: 275px;
  height: 330px;
  transition:
    width 1s ease-in-out,
    height 1s ease-in-out;
}

.logoSplash.animate .logoSplashImg {
  width: 100px;
  height: 122px;
  max-width: var(--maxWidth);
}

.logoSplash {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition:
    top 1s ease-in-out,
    left 1s ease-in-out,
    transform 1s ease-in-out;
}

.logoSplash.animate {
  top: var(--target-top, 88px);
  left: var(--target-left, 64px);
  transform: translate(0, 0);
}

.logoSplashImg {
  width: 275px;
  height: 330px;
  transition:
    width 1s ease-in-out,
    height 1s ease-in-out;
}

.logoSplash.animate .logoSplashImg {
  width: var(--target-width, 100px);
  height: var(--target-height, 122px);
}

.invisible {
  visibility: hidden;
  pointer-events: none;
}

.d-None {
  display: none;
}

.d-block {
  display: block;
}

.onlyMobile {
  display: none;
}

.onlyDesktop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.welcome-section {
  background-color: #2a3647;
  min-height: 100svh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 200;

  opacity: 0;
  pointer-events: none;
  transition: opacity 600ms ease-in-out;
}

.welcome-section.visible {
  opacity: 1;
  pointer-events: auto;
}

.main-container {
  background-color: white;
  width: 100%;
  max-width: 600px;
  padding: 40px 32px;
  border-radius: 16px;
  margin: 0 8px;
  box-sizing: border-box;
}

.header-bar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.header-bar h2 {
  font-size: 32px;
  font-weight: bold;
  color: #2a3647;
}

.header-bar p {
  font-size: 24px;
  text-align: justify;
  color: #2a3647;
}

.separation-bar {
  background-color: #29abe2;
  width: 150px;
  height: 2px;
  margin-bottom: 16px;
}

.buttons-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}

.img-txt {
  display: flex;
  align-items: center;
  gap: 8px;
}

.buttons-container button {
  margin-top: 8px;
  padding: 10px 24px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
}

.buttons-container button:hover {
  scale: 1.1;
  transition: 225ms ease-in-out;
}

.create-req-btn {
  background-color: #29abe2;
  color: white;
  border: none;
}

.member-login-btn {
  background-color: inherit;
  border: 1px solid black;
}

@media (max-width: 768px) {
  .onlyMobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 0 8px;
  }

  .onlyDesktop {
    display: none;
  }

  .mainContent {
    margin-top: 40px;
  }

  .mobileBodyStart {
    background-color: #2a3647;
  }

  .btnLoginContent {
    flex-direction: column;
  }

  .headerContent {
    padding-top: 15px;
  }

  .headerContent img {
    height: 64px;
    width: 78px;
  }

  .signUp {
    margin-top: 60px;
  }

  .btnPrimary,
  .btnSecondary {
    width: 150px;
  }

  .btnLoginContent {
    gap: 16px;
  }

  footer {
    position: static;
    bottom: auto;
    left: auto;
    transform: none;
    margin: 20px auto 20px;
    width: 100%;
  }
}

@media (max-width: 450px) {
  .inputLogin {
    font-size: 16px;
  }

  .buttons-container {
    flex-direction: column;
    gap: 30px;
  }

  .txt-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}
