/* The how-to-invest strip.

   Values are the legacy `howToInvestment/HowToInvestment.vue`'s scoped block. */

.crypto-invest {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}

/* Defines a glyph; draws nothing itself. */
.crypto-invest-icons {
  display: none;
}

.crypto-invest-title {
  margin-top: 16px;
  margin-bottom: 24px;
  color: var(--gray-900);
  font-size: 24px;
  font-weight: 700;
  text-align: center;
}

.crypto-invest-steps {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  gap: 32px;
  margin-bottom: 1.5rem;
  padding: 24px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  background-color: var(--gray-0);
}

/* Stacked, the three steps read top to bottom and an arrow pointing sideways
   would point at nothing, so it is dropped rather than turned. */
.crypto-invest-arrow {
  display: none;
  color: var(--gray-300);
}

@media (min-width: 1000px) {
  .crypto-invest-title {
    margin-top: 0;
    margin-bottom: 64px;
    font-size: 36px;
  }

  /* Five tracks: step, arrow, step, arrow, step. */
  .crypto-invest-steps {
    grid-template-columns: 2fr 1fr 2fr 1fr 2fr;
    margin-bottom: 4rem;
    border-radius: 28px;
  }

  .crypto-invest-arrow {
    display: block;
  }
}
