.download-page-container {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100vh;
  padding: 2rem 0 0;
}

.header-container,
.footer,
.three-easy-steps {
  width: 100%;
  max-width: 900px; /* MUI md */
}

.header-container {
  text-align: center;
}

.header-container p {
  font-size: 1.25rem;
}

.header-title {
  color: var(--palette-secondary-dark);
  font-size: 3rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
  text-align: center;
}

.header-subtitle {
  font-weight: 500;
  margin: 1em 0 0.5em;
}

.header-instructions {
  margin: 0.5em 0;
}

.three-easy-steps-container {
  background-color: var(--color-grey-100);
  box-sizing: border-box;
  margin-top: 1rem;
  padding: 2rem 1rem;
  width: 100%;
}

.three-easy-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem 1.5rem;
  justify-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.step-card {
  align-items: center;
  background-color: #fff;
  border-radius: 16px;
  box-shadow: var(--paper-shadow);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 150px;
  padding: 1.5rem;
  max-width: 300px;
  min-height: 150px;
  width: 100%;
}

.step-header {
  align-items: center;
  display: flex;
  flex-direction: row;
  margin-bottom: 1rem;
}

.step-header h2 {
  font-size: 1.25rem;
  font-weight: 500;
}

.step-header .step-number {
  background-color: var(--bg-button-primary);
  border-radius: 50%;
  color: #fff;
  display: inline-block;
  font-weight: 500;
  height: 32px;
  line-height: 32px;
  margin-right: 0.5rem;
  text-align: center;
  width: 32px;
}

.step-image-container {
  flex: 1;
}

.step-instructions {
  text-align: center;
}

.footer {
  padding: 1rem;
}

.footer-terms {
  font-size: var(--font-size-sm);
}

.footer-links {
  align-items: center;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-branding {
  margin-top: 1.5rem;
  text-align: center;
}

/* Two-column layout for medium viewports */
@media (min-width: 640px) {
  .three-easy-steps {
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
  }
}

/* Three-column layout for large viewports */
@media (min-width: 1024px) {
  .three-easy-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}


@keyframes horizontalBounce {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(60px);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes verticalBounce {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(60px);
    }

    100% {
        transform: translateY(0);
    }
}

.overlay {
    background-color: rgba(0, 0, 0, 0.7);
    bottom: 0;
    display: none;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1000;
}

.download-indicator {
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
    display: none;
    position: fixed;
    top: 1rem;
    user-select: none;
    z-index: 10001;
}

.horizontal-indicator {
    animation-iteration-count: 6;
    animation-name: horizontalBounce;
    right: 30rem;
}

.vertical-indicator {
    animation-iteration-count: infinite;
    animation-name: verticalBounce;
    right: 3rem;
}
