.login {
  width: 100%;
  height: 100vh;
  position: relative;
}

.login-form {
  width: 400px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  border: 2px solid var(--main-color);
  border-radius: 0.5rem;
}

.login-form h1 {
  text-align: center;
  padding: 0 0 20px 0;
  border-bottom: 0.5px solid var(--main-color);
}

.login-form form {
  padding: 0 40px;
  box-sizing: border-box;
}

form .txt-field {
  position: relative;
  border-bottom: 2px solid #adadad;
  margin: 30px 0;
  text-align: start;
}

.txt-field input {
  width: 100%;
  padding: 0 5px;
  height: 40px;
  font-size: 16px;
  border: none;
}

input[type="submit"] {
  width: 100%;
  height: 40px;
  margin-bottom: 20px;
  background-color: var(--main-color);
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
}
