@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap");

:root {
  --color-bg: #d6d2dc;
  --color-main: #301e4e;
  --color-btn: #ff6e6c;
  --fz-heading: 40px;
}

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

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

button {
  border-radius: 4px;
  cursor: pointer;
}

.login-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(
    129.38deg,
    rgba(255, 110, 108, 0.21) -212.02%,
    #52436b 106.07%
  );

  /* background: linear-gradient(#ff6e6c 21%, #52436b 100%); */
}

.login {
  background-color: #fff;
  padding: 2rem;
  width: 90%;
  max-width: 25rem;
  display: grid;
  place-items: center;
  border-radius: 6px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}

.login form {
  width: 100%;
}

h1 + small {
  width: 100%;
}

a img {
  width: clamp(8rem, 20vw, 10rem);
}

.login h1 {
  margin-top: 1rem;
  color: var(--color-main);
}

.reset h1 {
  margin-block: 1rem;
}

.login .form-control {
  margin-block: 1rem;
  position: relative;
}

.login .form-control label {
  font-size: 0.9rem;
}

.login .form-control input {
  width: 100%;
  padding: 0.8rem;
  margin-top: 0.3rem;
  border: 1px solid #999999;
  border-radius: 4px;
  font-family: inherit;
  outline: none;
}

.login .form-control input:focus {
  border: 1px solid var(--color-main);
}

.form-control img {
  position: absolute;
  right: 1rem;
  top: 2.3rem;
  opacity: 0.7;
}

.form-control img.hide {
  content: url("assets/icons/remove_red_eye_hide.png");
}

.login .form-control small {
  float: right;
  margin-top: 0.5rem;
}

a {
  text-decoration: none;
  color: var(--color-main);
  position: relative;
  /* font-size: 400; */
}

a.redirect {
  text-decoration: none;
  color: var(--color-btn);
}

.login .form-action {
  margin-block: 3rem 1rem;
}

.reset .form-action {
  margin-block: 1rem;
}

.login .form-action button {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: inherit;
  color: #fff;
  background-color: var(--color-main);
  border: none;
}

.sent small,
.sent p {
  margin-block-start: 1.5rem;
  /* text-align: center; */
}

.arrow {
  position: absolute;
  left: -1.2rem;
  top: 1px;
}

.arrow img {
  width: 1rem;
}

form.success {
  text-align: center;
}

form.success p {
  text-align: left;
}
