aside {
  margin-top: var(--section-spacing);
  padding-inline: calc(calc(100vw - var(--website-width)) / 2);

  a {
    color: dodgerblue;
    font-weight: 300;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2rem;
  }

  h1 {
    font-size: 5vh;
    line-height: 1.2;
    font-weight: 900;
    color: var(--color-neutral-900);
  }

  section {
    margin-top: calc(var(--section-spacing) / 6);
    display: flex;
    flex-direction: column;
    gap: 0.1rem;

    h2 {
      font-weight: 300;
      font-size: 1.1rem;
      color: #999;
    }

    p {
      font-size: 1.25rem;
      font-weight: 500;
      color: #666;
    }
  }
}

main {
  background-color: rgba(0, 0, 0, 0.75);
  margin-top: var(--section-spacing);
  margin-bottom: calc(var(--section-spacing) + 48px);
  margin-inline: calc(calc(100vw - var(--website-width)) / 2);
  padding-block: 3vh;
  padding-inline: 1vw;
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.6) inset;

  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 40px repeat(2, 1fr) 2fr 1fr;
  column-gap: 3rem;
  row-gap: 2rem;

  @media screen and (width < 800px) {
    display: flex;
    flex-direction: column;
    padding: 2rem 1rem;
  }

  .title {
    grid-column: 1 / span 2;
    color: #fff;
  }

  .submitResponse {
    color: #fff;

    .error {
      color: hsl(1deg 80% 65%);
    }

    .success {
      color: hsl(160, 47%, 46%);
    }
  }

  div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    label {
      margin-bottom: 0.5rem;
      color: #fff;
    }

    input {
      all: unset;
      padding: 0.75rem;
      font-size: 1.25rem;
      border: 1px solid #666;
      color: #fff;
      font-weight: 400;
      font-family: monospace;

      &:focus {
        border-color: transparent;
        outline: 2px solid #ffc11a;
      }
    }

    input::placeholder,
    textarea::placeholder {
      font-size: 1.1rem;
      font-weight: 300;
      color: #666;
    }

    textarea {
      all: unset;
      padding: 0.75rem;
      font-size: 1.25rem;
      border: 1px solid #666;
      color: #fff;
      font-weight: 400;
      font-family: monospace;

      &:focus {
        border-color: transparent;
        outline: 2px solid #ffc11a;
      }
    }
  }

  .message {
    grid-column: 1 / span 2;
  }

  .agreement {
    color: #fff;
  }

  button {
    all: unset;
    align-self: flex-end;
    place-self: end;
    background-color: var(--color-primary-400);
    color: var(--color-neutral-900);
    padding: 1rem 3rem;
    border-radius: 2rem;
    font-weight: 500;
    font-size: 1.15rem;
    cursor: pointer;

    &:hover,
    &:focus {
      outline: 3px solid var(--color-primary-400);
      outline-offset: 3px;
    }

    &:disabled {
      cursor: not-allowed;
    }
  }
}

.hidden {
  display: none;
}
