.home-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 10px 20px 20px;
  gap: 10px;
}

#capturable-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 20px 20px;
  background: transparent;
}

/* Solid background needed for screenshot capture */
.capturing #capturable-content {
  background: var(--page-background);
}

#capturable-wheel {
  width: 100%;
  max-width: 750px;
}

.right-column {
  display: contents;
}

#auth-root {
  order: -1;
  width: 75%;
  max-width: 325px;
}

#spin-wheel-root {
  order: 1;
  width: 100%;
  max-width: 325px;
  margin-top: 20px;
}

@media (min-width: 900px) {
  .home-container {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto auto auto;
    column-gap: 50px;
    row-gap: 0;
    justify-content: center;
    align-content: center;
  }

  #capturable-content {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
    align-self: start;
  }

  .right-column {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 80px;
    width: 280px;
  }

  #auth-root {
    order: 0;
    width: 100%;
    flex-shrink: 0;
  }

  #spin-wheel-root {
    order: 0;
    width: 100%;
    flex-shrink: 0;
    margin-top: 0;
    padding-bottom: 20px;
  }

  .disclosures {
    grid-column: 1 / -1;
  }

  .disclosures:first-of-type {
    grid-row: 2;
  }

  .disclosures:last-of-type {
    grid-row: 3;
  }

  .copyright {
    grid-column: 1 / -1;
    grid-row: 4;
  }
}

/* NYP-specific: grid ordering for disclosures and copyright */
.home-container .disclosures {
  order: 2;
}

.home-container .copyright {
  order: 3;
}
