$color-black-light: #111111;
$color-blue-dark: #00385f;
$color-gray-dark: #808080;
$color-gray-light: #cccccc;
$color-gray-lighter: #dddddd;
$color-green-dark: #388e3c;
$color-green-light: #4caf50;
$color-white: #ffffff;

body {
  align-items: center;
  background-color: $color-gray-lighter;
  color: $color-black-light;
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
  font-size: 14px;
  height: 100vh;
  justify-content: center;
  margin: 0;
  padding: 0;
}

header {
  align-items: center;
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

main > section {
  background-color: $color-white;
  border-radius: 4px;
  border: 1px solid $color-gray-lighter;
  max-width: 320px;
  padding: 1rem;
  width: 100%;

  h2 {
    font-weight: 500;
    margin: 0 0 1rem 0;
    text-align: center;
  }

  form {
    input {
      border-radius: 4px;
      border: 1px solid $color-gray-light;
      box-sizing: border-box;
      font-size: 14px;
      margin-bottom: 20px;
      padding: 12px;
      width: 100%;

      &:focus {
        outline-offset: -2px;
        outline: 2px solid $color-blue-dark;
      }

      &:hover {
        cursor: text;
      }
    }

    button {
      background-color: $color-green-light;
      border-radius: 4px;
      border: none;
      color: $color-white;
      cursor: pointer;
      font-size: 1rem;
      padding: 0.75rem 1rem;
      transition: background-color 0.3s ease;
      width: 100%;

      &:hover {
        background-color: $color-green-dark;
      }
    }
  }
}

footer {
  background-color: $color-gray-lighter;
  bottom: 0;
  color: $color-gray-dark;
  font-size: 0.75rem;
  margin-top: 1rem;
  padding-bottom: 0.5rem;
  position: absolute;
  text-align: center;
  width: 100%;

  p {
    margin: 0;
  }
}
