$color-black: #1d2329;
$color-blue: #0057b8;
$color-gray-lighter: #e3e5e8;
$color-gray-light: #cccccc;
$color-gray: #333333;
$color-white: #ffffff;

html {
  height: 100%;
  width: 100%;
}

body {
  align-items: center;
  background-color: $color-white;
  color: $color-black;
  display: flex;
  display: flex;
  flex-direction: column;
  font-family: font-bold, sans-serif;
  font-size: 16px;
  height: 100%;
  margin: 0;
  width: 100%;
}

main {
  align-items: center;
  border-radius: 1rem;
  border: 1px solid $color-gray-lighter;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 1rem auto;
  max-width: 450px;
  padding: 4rem;
  width: 100%;

  @media (max-width: 768px) {
    border: none;
    box-sizing: border-box;
    max-width: 100%;
    margin: 0;
    padding: 2rem;
  }

  header {
    display: flex;
    flex-direction: column;
    align-items: center;

    h1,
    h2 {
      margin: 0.5rem 0 0 0;
      font-weight: 700;
      line-height: 1.15;
      letter-spacing: -0.03em;
      text-indent: -0.05em;
    }

    h2 {
      margin-bottom: 2rem;
    }
  }

  section {
    font-size: 0.8rem;

    form {
      label {
        font-weight: 700;
        padding-bottom: 0.5rem;
      }

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

        &:hover {
          cursor: text;
        }
      }

      button {
        background: $color-blue;
        border-radius: 2rem;
        border: none;
        color: $color-white;
        cursor: pointer;
        font-size: 1rem;
        padding: 0.75rem 1rem;
        width: 100%;

        &:hover {
          background: $color-blue;
        }
      }
    }

    p {
      display: flex;
      flex-direction: column;
      margin-top: 2rem;

      a {
        color: $color-blue;
        font-weight: 700;
        text-decoration: none;

        &:not(:last-of-type) {
          margin-bottom: 1rem;
        }
      }
    }
  }
}

footer {
  background: $color-white;
  bottom: 0;
  color: $color-gray-light;
  font-size: 0.75rem;
  padding: 0.5rem 0;
  position: absolute;
  text-align: center;
  width: 100%;

  p {
    margin: 0;
  }
}
