.invitation {
  #app {
    display: flex;
    flex-flow: column nowrap;
  }

  .invitation--participant-form {
    flex-grow: 0;
    margin-right: 1em;
  }

  .invitation--participants {
    display: flex;
    flex-flow: column nowrap;
    flex-grow: 1;

    .participant {
      h2 {
        border-bottom: 3px solid var(--bg-highlight);

        span {
          background: var(--bg-highlight);
          color: var(--fg-highlight);
          padding: 0.25em 0.75em 0.25em 0.25em;
          border-radius: 6px 2em 0 0;
        }
      }
    }
  }
}

@media (min-width: 640px) {
  .invitation {
    #app {
      flex-direction: row;
    }

    .invitation--participant-form {
      max-width: 35%;
    }

    .invitation--participants {
      margin-left: 2rem;
    }
  }
}
