* {
    scroll-margin-top: calc(var(--nav-bar-height) + 70px);
}

.page-info-section {
    display: flex;
    justify-content: center;
}

.page-header {
    background-image: url(/images/services/pallet-racking-1.jpg);
    background-position: 0 -500px;
}

/* Checker */
.checker-section {
    display: flex;
    flex-direction: column;
}
.checker-section .checker-subsection {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 0;
    z-index: 0;

    & > h2 {
        padding: 20px 0;
        margin-bottom: 25px;
        background-color: var(--dark-gray);
        color: white;
        border-radius: 0px;
        width: 100vw;
        text-align: center;
        background-image: url(/images/textures/stripes.png);
        background-size: 12px;
    }
}
.checker-section > div:nth-of-type(2n) {
    background-color: var(--extra-light);
    .checker-content {
        flex-direction: row-reverse;
        /* .checker-text h3 {
            text-align: left;
        } */
    }
}
.checker-section > div:nth-of-type(2n+1) {
    background-color: white;
    .checker-content {
        flex-direction: row;
        /* .checker-text h3 {
            text-align: left;
        } */
    }
}
.checker-subsection .checker-content {
    display: flex;
    gap: 5vw;
}
.checker-subsection .checker-text {
    width: 25vw;
    min-width: min-content;
    margin: 2.5vw 0;

    h3 {
        padding-bottom: 5px;
    }
    .title-specification {
        padding-bottom: 15px;
    }
}
.checker-subsection .checker-image-grid-container {
    display: grid;
    grid: 2fr 1fr 1fr 2fr / 3fr 1fr 2fr 2fr 1fr 3fr;
    width: 36vw;
    height: 24vw;
    gap: 2.5px;
}
.checker-subsection .checker-image {
    overflow: hidden;
    color: white;
    /* border: 2.5px solid var(--navy); */

    background-color: var(--gray);
    background-image: url(/images/textures/stripes.png);
    background-size: 12px;
    position: relative;

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    span {
        position: absolute;
        background-color: rgb(27, 32, 39, 0.5);
        color: white;
        text-shadow: 0 0 5px black;
        text-align: center;
        align-content: center;
        top: 0; bottom: 0; left: 0; right: 0;
        text-transform: uppercase;
        font-weight: bold;
        font-size: 1cqi;
    }
}

#page-content-nav {
    padding: 10px 25px;
    margin: 25px 0;
    background-color: rgba(238, 241, 245, .75);
    backdrop-filter: blur(10px) saturate(50%);
    box-shadow: 0 5px 25px rgba(0,0,0,0.25);
    z-index: 1;

    position: sticky;
    top: var(--nav-bar-height);
    z-index: 98;
}

/* @media (max-width: 1250px) {
    .small-grid-container {
        grid-template-columns: repeat(6, 1fr);
    }
    * {
        scroll-margin-top: calc(var(--nav-bar-height) + 120px);
    }
} */

/* @media (max-width: 1000px) {
    .checker-section {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .checker-section > div:nth-of-type(n) {
        flex-direction: column-reverse;
        align-items: center;
        justify-content: flex-end;
        background-color: white;
        padding: 5vw;
        .checker-text h2 {
            text-align: center;
        }
    }
    .checker-section > div:nth-of-type(4n + 3),
    .checker-section > div:nth-of-type(4n + 4) {
        background-color: rgb(240, 242, 245);
    }
    .checker-section > :last-child {
        padding-bottom: 100px;
    }
    .checker-subsection > .checker-content > .checker-text {
        width: 100%;
        margin: 20px 0 0;
    }
    .checker-subsection > .checker-content > .checker-image {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}
@media (max-width: 700px) {
    .checker-section {
        display: grid;
        grid-template-columns: 1fr;
        .checker-subsection {
            padding: 10vw;
        }
    }
    .checker-section > div:nth-of-type(n) {
        background-color: white;
    }
    .checker-section > div:nth-of-type(2n) {
        background-color: rgb(240, 242, 245);
    }
} */