:root {
  --main-color: #183f3d;
  --main-color-shadow: #183f3d60;
  --accent-color: #97f0eb;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  background: linear-gradient(
    to right bottom,
    var(--main-color),
    var(--accent-color)
  );
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 100%;
  background-attachment: fixed;
  font-family: sans-serif;
  line-height: 1.4;
  display: flex;
  justify-content: center;
}

.container {
  width: 400px;
  margin: auto;
  padding: 36px 32px 48px 32px;
  background-color: #ffffff;
  margin: auto 16px;
  border-radius: 11px;
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.15);
}

.login-title {
  padding: 15px;
  font-size: 22px;
  font-weight: 600;
  text-align: center;
}

.login-form {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 16px;
}

.login-form label {
  display: block;
  margin-bottom: 8px;
}

.login-form input {
  width: 100%;
  padding: 1.2rem;
  border-radius: 9px;
  border: 1px solid var(--main-color);
}

.login-form input:focus {
  outline: none;
  box-shadow: 0 0 0 4px var(--main-color-shadow);
}

.btn--form {
  background-color: var(--main-color);
  color: #fdf2e9;
  align-self: end;
  padding: 8px;
}

.btn,
.btn:link,
.btn:visited {
  display: inline-block;
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
  border-radius: 9px;
  border: none;

  cursor: pointer;
  font-family: inherit;

  transition: all 0.3s;
}

button {
  outline: 1px solid var(--main-color);
}

.btn--form:hover {
  background-color: #fff;
  color: var(--main-color);
}

.img-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.underline {
  width: var(--ul-line);
}
