@font-face {
    font-family: Moderat-Mono;
    src: url('../fonts/Moderat-Mono-Regular.woff');
    font-weight: normal;
}

@font-face {
    font-family: Moderat-Mono;
    src: url('../fonts/Moderat-Mono-Bold.woff');
    font-weight: bold;
}

:root {
    --padding: 1.5rem;
    --li-blue: #E3E9EB;
}

*,
*:after,
*:before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: Moderat-Mono;
    font-weight: normal;
    /* background: var(--li-blue); */
    background: var(--li-blue);
}

img {
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 1.1em !important;
    line-height: 1.6em;
    font-weight: bold;
}


.main {
    padding: var(--padding);
    max-width: 70rem;
    margin: 0 auto;
}

li {
    list-style: none;
}

a {
    color: currentColor;
}

.header {
    padding: var(--padding);
    max-width: 70rem;
    margin: 0 auto;
    /* position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-right: -1rem;
    margin-left: -1rem;
    margin-bottom: 2rem; */
}

.header a {
    text-decoration: none;
}

.logo {
    font-weight: bold;
}

.logo span {
    /* padding: 1rem; */
    display: flex;
    align-items: center;
    font-weight: 600;
    cursor: pointer;
}


.grid {
    --columns: 12;
    --gutter: 2rem;
    display: grid;
    grid-gap: var(--gutter);
    grid-template-columns: 1fr;
}

.footergrid {
    --columns: 12;
    --gutter: 0 !important;
    display: grid;
    grid-gap: var(--gutter);
    grid-template-columns: 1fr;
}

/* .footergrid {
    --gutter: 0 !important;
} */

.grid>.column {
    margin-bottom: var(--gutter);
}

.collections>.column {
    margin-bottom: 0.5rem;
}

.footergrid>.footer_column {
    margin-bottom: 0var;
}

.text {
    font-size: 1.1rem;
    line-height: 2.0rem;
}

.text a {
    text-decoration: underline;
}

.text :first-child {
    margin-top: 0;
}

.text :last-child {
    margin-bottom: 0;
}

.text p,
.text ul,
.text ol {
    margin-bottom: 2.5rem;
}

.img {
    position: relative;
    display: block;
    --w: 1;
    --h: 1;
    padding-bottom: calc(100% / var(--w) * var(--h));
    background: var(--color-black);
}

.collection-img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* display: block; */
    /* --w: 1;
    --h: 1; */
    /* padding-bottom: calc(100% / var(--w) * var(--h)); */
    background: var(--color-black);
}

.img img,
.video iframe {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
}

.img[data-contain] img {
    object-fit: contain;
}

.img-caption,
.video-caption {
    padding-top: .75rem;
    line-height: 1.5em;
}

.text h2,
.h2 {
    margin-bottom: 1.25rem;
}

.autogrid {
    --gutter: 3rem;
    --min: 10rem;
    display: grid;
    grid-gap: var(--gutter);
    grid-template-columns: repeat(auto-fit, minmax(var(--min), 1fr));
    grid-auto-flow: dense;
}

.secondaryInfo {
    margin-top: 1.5rem;
}

.footer {
    background: white !important;
}

.footerContainer {
    width: 100%;
    max-width: 70rem;
    margin: 0 auto;
    padding: var(--padding) var(--padding) 0 var(--padding);
}

/* .footerContent {
    margin: 0 0;
} */

.footerSection {
    margin-bottom: 2em;
}

/*
----------------------------------
Collection Stuff
__________________________________
*/

.collection-headline {
    margin-bottom: 1.5rem;
    font-size: 1.1rem !important;
}

.category-headline {
    margin-bottom: 0.1rem !important;
    font-size: 1.1rem !important;
}

.collection-text {
    font-size: 1.1em !important;
    line-height: 1.8em;
    margin-bottom: 1.0rem;
}

.portfolio-project-gallery {
    line-height: 0;
    columns: 1;
    column-gap: 1.5rem;
}

.portfolio-project-gallery li {
    /* display: inline-block; */
    margin-bottom: 1.5rem;
    break-inside: avoid;
}

/* Disable light-box functionality on mobile... */
.portfolio-project-gallery a{
    pointer-events: none;
}

@media screen and (min-width: 60rem) {
    .main {
        --padding: 3rem;
    }

    .footerContainer {
        padding: 2rem 3rem 0 3rem;
    }

    .logo span {
        padding: 1rem 1rem 0 1rem;
    }

    .grid {
        grid-template-columns: repeat(12, 1fr);
    }

    .footergrid {
        grid-template-columns: repeat(12, 1fr);
        --gutter: 2rem !important;
    }

    .grid>.column {
        grid-column: span var(--columns);
    }

    .footergrid>.footer_column {
        grid-column: span var(--columns);
    }

    .logo svg {
        margin-left: .75rem;
    }


    .portfolio-project-gallery {
        columns: 2;
    }

    .portfolio-project-gallery a{
        pointer-events: auto;
    }
    
}