.sp-login-welcome {
  position: absolute;
  text-align: center;
  top: 18%;
  left: 50%;
  color: var(--secondary-color);
  width: 100%;
}

.sp-login-title {
  margin: 0;
  font-size: 2rem;
  font-weight: bold;
  line-height: 2.5rem;
  transform: translate(-50%, -50%);
}

.form-floating>.form-control-plaintext~label::after,
.form-floating>.form-control:focus~label::after,
.form-floating>.form-control:not(:placeholder-shown)~label::after,
.form-floating>.form-select~label::after {
  background: transparent !important;
}

.sp-login-subtitle {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 400;
  transform: translate(-50%, -50%);
}

.sp-login-form {
  display: flex;
  justify-content: space-between;
}
.sp-inputs {
  border-color: transparent;
}

.sp-text-bottom {
  position: absolute;
  top: 23%;
  left: 50%;
  text-align: center;
  color: var(--secondary-color);
  line-height: .5rem;
}

.sp-text-title {
  font-size: 1.2rem;
  font-weight: bold;
  transform: translate(-50%, -50%);
}

.sp-text-subtitle {
  font-size: 1rem;
  transform: translate(-50%, -50%);
}

.sp-text-change-subtitle {
  font-style: italic;
  font-size: 1.2rem;
  margin-top: 1rem;
  transform: translate(-50%, -50%);
}

.fade-text {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.fade-text.visible {
  opacity: 1;
}

@media (max-width: 992px) {
  .login-welcome {
    display: block;
  }

  .sp-login-welcome {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    font-size: 3vw;
    margin-bottom: 0;
  }

  .sp-login-title {
    text-align: end;
  }

  .sp-login-subtitle {
    text-align: start;
  }

  .sp-login-title,
  .sp-login-subtitle {
    font-size: 3vw;
  }

  .sp-login-title, .sp-login-subtitle, .sp-text-title, .sp-text-subtitle, .sp-text-change-subtitle {
    width: 100%;
    transform: none;
  }

  .sp-text-bottom {
    position: relative;
    top: -15px;
    left: 0;
  }

  .sp-text-title {
    color: var(--principal-color);
    font-size: 3vw;
  }

  .sp-text-subtitle {
    color: var(--principal-color);
    font-size: 2vw;
  }

  .sp-text-change-subtitle {
    color: var(--secondary-color);
    font-size: 2.5vw;
  }

  .sp-image-bottom-login {
    position: relative;
    background: url("https://d1qpeylvrp6wwm.cloudfront.net/accounts/images/responsive-background-login.png");
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    height: 30vh;
    margin-top: 1rem;
  }

  .sp-image-bottom-background {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(3, 68, 70, 0.59) 100%);
    height: 35%;
  }
}

@media (max-width: 835px) {
  .sp-login-title, .sp-login-subtitle, .sp-text-title {
    font-size: 3vw;
  }

  .sp-text-subtitle {
    font-size: 2vw;
  }
}

@media (max-width: 400px) {
  .sp-label-responsive {
    font-size: .5rem !important;
  }

  .sp-login-form {
    display: block;
    text-align: start;
  }

  .sp-login-text {
    font-size: .7rem;
  }

  .images-login {
    height: 41vh;
  }

  .sp-text-bottom {
    padding: 0;
  }
}
