/*
 * _responsive.css
 *
 * USED BY:
 *   - bag-empty.html
 *   - bag.html
 *   - customize.html
 *   - home-user-reciept.html
 *   - home.html
 *   - index.html
 *   - menu.html
 *   - payment-loading.html
 *   - payment.html
 *   - signup.html
 */

@media (max-width: 359px) {
    .greeting h1 {
        font-size: 2.25rem;
    }

    .slide {
        flex: 0 0 155px;
    }

    .slide img {
        width: 120px;
        height: 120px;
    }

    nav div {
        padding: 0.25rem 1rem;
    }

    nav .active {
        padding: 0.5rem 1rem;
    }

    .progress {
        padding: 1.5rem;
    }
}

@media (min-width: 500px) {
    body {
        background: var(--bg-outer);
    }
}

@media (min-width: 768px) {
    body {
        align-items: center;
        padding: 2rem 0;
        overflow: hidden;
        height: 100vh;
    }

    main {
        border-radius: 24px;
        min-height: auto;
        max-width: var(--w);
        height: 852px;
        max-height: 852px;
        overflow-y: auto;
        overflow-x: hidden;
        box-shadow: 0 0 30px rgba(0,0,0,0.15);
        padding-bottom: 4rem;
    }

    nav,
    .sticky {
        left: 50%;
        transform: translateX(-50%);
        max-width: var(--w);
        border-radius: 0 0 24px 24px;
        bottom: calc(50vh - 426px);
    }

    nav {
        padding-bottom: 1rem;
    }

    .sticky {
        padding-bottom: 0.75rem;
    }

    main:has(> .btn--back:first-child) {
        min-height: auto;
    }

    .preloader {
        min-height: 852px;
    }

    .preloader img {
        height: 852px;
    }
}
