.flex {
    display: flex;
}
.flex-col {
    display: flex;
    flex-direction: column;
}

.g1 {gap: var(--size-1)}
.g2 {gap: var(--size-2)}
.g3 {gap: var(--size-3)}
.g4 {gap: var(--size-4)}
.g5 {gap: var(--size-5)}

.pt1 {padding-top:    var(--size-1)}
.pb1 {padding-bottom: var(--size-1)}
.pt2 {padding-top:    var(--size-2)}
.pb2 {padding-bottom: var(--size-2)}
.pt3 {padding-top:    var(--size-3)}
.pb3 {padding-bottom: var(--size-3)}
.pt4 {padding-top:    var(--size-4)}
.pb4 {padding-bottom: var(--size-4)}
.pt5 {padding-top:    var(--size-5)}
.pb5 {padding-bottom: var(--size-5)}

.mt1 {margin-top:    var(--size-1)}
.mb1 {margin-bottom: var(--size-1)}
.mt2 {margin-top:    var(--size-2)}
.mb2 {margin-bottom: var(--size-2)}
.mt3 {margin-top:    var(--size-3)}
.mb3 {margin-bottom: var(--size-3)}
.mt4 {margin-top:    var(--size-4)}
.mb4 {margin-bottom: var(--size-4)}
.mt5 {margin-top:    var(--size-5)}
.mb5 {margin-bottom: var(--size-5)}



@media screen and (max-width: 1150px) {
    .img-card {
        max-width: 200px;
        min-width: 0;
    }

    .service > .side-by-side {
        flex-direction: column-reverse;
        align-items: center;
    }

    .service > .side-by-side h2 {
        text-align: center;
    }

    .service .side-by-side .side-by-side {
        width: 100%;
        flex-direction: row;
        justify-content: space-evenly;
        position: relative;
    }

    .shop-product-title {
        font-size: var(--h4);
    }

    .product-page-hold {
        padding-left: var(--size-2);
        padding-right: var(--size-2);
    }
}

@media screen and (max-width: 1000px) {
    :root {
        --side-pad: 150px
    }

    .shop-page-hold {
        padding-left: var(--size-2);
        padding-right: var(--size-2);
    }
    .shop-grid-wrap {
        padding-left: var(--size-2);
        padding-right: var(--size-2);
    }
}

@media screen and (max-width: 950px) {
    :root {
        --side-pad: 100px
    }

    .shop-page-hold {
        padding-left: var(--size-3);
        padding-right: var(--size-3);
    }
    .shop-grid-wrap {
        padding-left: var(--size-3);
        padding-right: var(--size-3);
    }

    .product-page-hold {
        padding-left: var(--size-3);
        padding-right: var(--size-3);
    }
}

@media screen and (max-width: 800px) {
    :root {
        --side-pad: 50px
    }
    .shop-grid, .showcase-trio {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    footer .deco {
        width: 150%
    }

    .product-page {
        flex-direction: column;
        position: relative;
    }

    .shop-img {
        width: 100%;
        max-width: 400px;
        position: static;
        top: auto;
    }

}

@media screen and (max-width: 750px) {
    /* Topnav */
    #title-hold {
        padding: 10px 20px;
    }

    .nav-links, .nav-buttons, .nav-button-hold, .nav-button {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
}

@media screen and (max-width: 700px) {
    :root {
        --h1: 40px
    }

    .shop-grid, .showcase-trio {
        gap: 10px;
    }

    .hero-cover svg {
        height: 100px;
    }
}

@media screen and (max-width: 600px) {
    :root {
        --side-pad: 30px
    }

    .shop-page-hold {
        padding-left: var(--size-4);
        padding-right: var(--size-4);
    }
    .shop-grid-wrap {
        padding-left: var(--size-4);
        padding-right: var(--size-4);
    }

    .product-page-hold {
        padding-left: var(--size-4);
        padding-right: var(--size-4);
    }
    .product-page-main {
        padding-left: var(--size-4);
        padding-right: var(--size-4);
    }

    .hero-cover {
        flex-direction: column;
    }

    footer .deco {
        width: 200%;
    }

    .footer-hold > .side-by-side {
        flex-direction: column-reverse;
        gap: 25px
    }

    footer .side-by-side div, footer .side-by-side a, footer .icons {
        justify-content: center;
        text-align: center;
    }

    footer .icons {
        margin-top: 10px;
    }

    .hero-top .foot {
        flex: 0 0 auto;
        width: 150px;
        height: 150px;
        border-radius: 50%;
        padding: 20px;
        background-color: #fff;
    }

    .shop-grid, .showcase-trio {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .hero-book-hold {
        position: absolute;
        left: 50%;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        top: calc(50% + 250px);
        transform: translate(-50%, -50%);
    }

    .hero-top {
        flex-direction: column;
    }

    .hero-cover {
        transform: translate(-50%, -50%);
    }
}

@media screen and (max-width: 550px) {
    .profile {
        width: 100%;
        height: 300px;
        float: none;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
    }

    .profile + .stacked {
        align-items: center;
        text-align: center;
        padding-top: 20px;
        margin-bottom: 20px;
    }

    /* Topnav */
    #title-hold {
        display: none;
    }

    .nav-button-text {
        font-size: .9rem;
    }

    /* Collapse calendar */
    #calendar-wrap {
        flex-direction: column;
    }
}

@media screen and (max-width: 500px) {
    .back {
        display: flex;
        pointer-events: all;
    }

    #title-hold {
        position: fixed;
        top: 0;
        left: 0;
        width: auto;
        height: var(--nav-h);
        display: block;
        pointer-events: all;
    }

    #bars-hold {
        pointer-events: all;
        display: flex;
    }

    .nav-links {
        transform: translateX(0%);
        position: fixed;
        top: 0;
        left: 0%;
        width: 100%;
        height: 100%;
        z-index: 1;
        flex-direction: column;
        transition: .5s cubic-bezier(.5, .5, 0, 1);
        pointer-events: none;
    }
    .nav-links.engaged {
        pointer-events: all;
    }

    .nav-buttons {
        position: fixed;
        padding-top: var(--nav-h);
        top: 0;
        left: 100%;
        overflow: scroll;
        flex-direction: column;
        height: 100%;
        background-color: var(--root);
        transition: .5s cubic-bezier(.5, .5, 0, 1);
    }
    .engaged .nav-buttons {
        left: 0%;
    }

    .nav-button {
        background-color: var(--root);
        min-height: 50px;
    }

    .basket {
        height: 80px;
        width: 100%;
    }
    .basket a {
        width: 100%;
        height: 100%;
    }

    .stackme1 {
        flex-direction: column;
        align-items: stretch;
    }

    .service .side-by-side .side-by-side img {
        width: auto;
        height: auto;
        min-width: 0;
        max-width: 100%;
        flex: 1 1 auto;
    }

    /* .hero-cover .foot {
        align-self: start;
    } */
}

@media screen and (max-width: 410px) {
    .copyright .cool-text {display: none}

    .shop-grid, .showcase-trio {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}

@media screen and (max-width: 400px) {
    .service .side-by-side .side-by-side img {
        width: auto;
        height: 150px;
        min-width: 0;
        max-width: 100%;
        flex: 0 1 auto;
    }
    .service .side-by-side .side-by-side {
        flex-direction: column;
    }

    footer .deco {
        width: 300%;
    }


    #pricing-list .side-by-side {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* Topnav */
    .nav-button-text {
        font-size: .8rem;
    }
}

@media screen and (max-width: 350px) {
    :root {
        --side-pad: 10px
    }
}