@import url(https://fonts.googleapis.com/css?family=Inter);

body,
html {
  font-family: 'Inter';
  background-color: #F3F3F1;
}

.container-fluid {
  height: 100vh;
  width: 100vw;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.backButtonContent {
  position: absolute;
  display: flex;
  align-items: center;
  width: 30%;
  top: 6%;
  left: 3%;
}

.backButton {
  color: #0C774A;
  margin: 0;
  margin-left: 1%;
  text-decoration: none;
}

.backButtonIcon {
  color: #0C774A;
  font-size: 1.3rem;
}

.loginContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 24px;
  background: #FFF;
  width: 25%;
  height: auto;
  padding-bottom: 3rem;
}

.techamoveLogo {
  max-width: 100%;
  max-height: 100%;
}

.logoContent {
  margin-top: 5%;
  max-width: 30%;
  max-height: auto;
}

.loginText {
  color: #545454;
  font-weight: 700;
  font-size: 1.5rem;
}

.noAccountText {
  margin-top: 5%;
}

.noAccountText a {
  color: #0C774A;
  font-size: 1rem;
}

.formContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  width: 100%;
}

.emailInput {
  margin-top: 2%;
  border: 0;
  color: #676767;
  background-color: #EFF0EC;
  border-radius: 13px;
  height: 3.3rem;
  width: 70%;
  padding-left: 5%;
}

.emailInput:focus {
  outline: none;
}

.passwordContainer {
  position: relative;
  width: fit-content;
  height: 3.3rem;
  width: 70%;
}

.passwordInput:focus {
  outline: none;
}

.passwordInput {
  margin-top: 4%;
  border: 0;
  color: #676767;
  background-color: #EFF0EC;
  border-radius: 13px;
  height: 100%;
  width: 100%;
  padding-left: 5%;
}

.showPasswordIcon {
  position: absolute;
  right: 7%;
  top: 72%;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1.5rem;
  cursor: pointer;
}

.inputField {
  border: none;
  color: #676767;
}

.error {
  border: 1px solid red;
}

.forgotPasswordText {
  color: #0C774A;
  margin-left: 40%;
  margin-top: 4%;
}

.errorMessage {
  color: red;
  padding: 0;
  margin-top: 2%;
  height: 1rem;
}

.loginButton {
  border: 0;
  border-radius: 13px;
  background: #0C774A;
  color: #FFF;
  width: 70%;
  height: 3.3rem;
  margin-top: 2%;
}

.loginButton:hover {
  background: #0a663f;
}

.loginButton:focus {
  outline: none;
}

.buttonDisabled {
  background: #C5C5C5 !important;
  pointer-events: none;
}


/* bigger devices (laptops) */
@media only screen and (max-width: 1440px) {
  .loginContainer {
    width: 35%;
  }

  .showPasswordIcon {
    top: 73%;
  }
}

@media only screen and (max-width: 1024px) {
  .loginContainer {
    width: 60%;
  }
}

/* Small devices (phones) */
@media only screen and (max-width: 700px) {
  .backButtonContent {
    width: 50%;
  }

  .backButton {
    margin-left: 3%;
  }

  .loginContainer {
    width: 90%;
    margin-top: 6%;
  }

  .noAccountText {
    max-width: 85%;
  }

  .emailInput,
  .passwordContainer,
  .loginButton {
    width: 85%;
  }

  .backButtonContent {
    top: 3%;
  }
}

/* Extra small devices (older phones) */
@media only screen and (max-width: 340px) {
  .loginContainer {
    width: 90%;
    margin-top: 20%;
  }
}