/* TOOLSET */

#toolset {
    display: none;
}

/* CLOCK */

.clock {
    position: fixed;
    font-size: 1.8rem;
    color: #272f3c;
    transition: opacity 1s ease-in-out;
}

.clock.hidden {
    display: none;
}

/* NAVIGATION */

.Home,
.About,
.Contact,
.Shop {
    position: fixed;
    font-style: normal;
    letter-spacing: 0.01em;
    word-spacing: -0.03em;
    line-height: 1.15;
    margin-top: 0.5em;
    margin-bottom: 1.2em;
    font-size: 1.8rem;
    color: white;
    mix-blend-mode: difference;
    text-decoration: none;
}

.Home {
    top: 45px;
    right: 80px;
}

.About {
    top: 67px;
    right: 80px;
}

.Contact {
    top: 89px;
    right: 80px;
    font-size: 1.9rem;
}

.Shop {
    top: 112px;
    right: 80px;
    font-size: 1.9rem;
    opacity: 0;
    pointer-events: none;
}

/* GENERAL */

body {
    background-color: #F7F4ED;
    color: #272f3c;
    font-family: 'microsquare_pro-regular', sans-serif;
}

a:active {
    opacity: 0.7;
}

i, em {
    font-style: italic;
}

b, strong {
    font-weight: normal;
}

sub, sup {
    position: relative;
    vertical-align: baseline;
}

sub {
    top: 0.3em;
}

sup {
    top: -0.4em;
}

s {
    text-decoration: line-through;
}

ul, ol {
    margin: 0;
    padding: 0 0 0 2.5em;
}

blockquote {
    margin: 0;
    padding: 0 0 0 1em;
}

hr {
    background: rgba(127, 127, 127, 0.4);
    border: 0;
    height: 1px;
    display: block;
}

/* IMAGES */

.content img {
    float: none;
    margin-bottom: 0;
    outline-offset: -1px;
    vertical-align: top;
}

/* IMAGE GALLERIES */

[image-gallery="slideshow"] {
    margin-bottom: 2rem;
}

/* IMAGE CAPTIONS */

.gallery_image_caption {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.85);
    font-family: 'microsquare_pro-regular', sans-serif;
    line-height: 1.2;
    text-align: left;
}

/* LOADING */

.loading[data-loading] {
    position: fixed;
    bottom: 8px;
    left: 8px;
}

/* BODY COPY */

[data-predefined-style="true"] bodycopy {
    font-size: 1.8rem;
    color: rgba(0, 0, 0, 0.75);
    font-family: "microsquare_pro-regular", sans-serif;
    font-style: normal;
    line-height: 1.3;
    letter-spacing: 0.12rem;
    word-spacing: -0.12em;
    font-weight: 500;
}

[data-predefined-style="true"] bodycopy a {
    color: rgba(0, 0, 0, 0.75);
    text-decoration: none;
}

bodycopy a.image-link,
bodycopy a.icon-link,
bodycopy a.image-link:hover,
bodycopy a.icon-link:hover {
    border-bottom: 0;
    padding-bottom: 0;
}

/* HEADINGS */

[data-predefined-style="true"] h1,
[data-predefined-style="true"] h2,
[data-predefined-style="true"] h3,
[data-predefined-style="true"] h4,
[data-predefined-style="true"] h5,
[data-predefined-style="true"] h6 {
    font-family: 'microsquare_pro-regular', sans-serif;
    font-style: normal;
    font-weight: 500;
    line-height: 1.15;
}

[data-predefined-style="true"] h1 {
    letter-spacing: -0.02em;
    margin: 1.2em 0;
    font-size: 4rem;
}

[data-predefined-style="true"] h2 {
    letter-spacing: 0.02em;
    margin: 1.2em 0;
    font-size: 2.5rem;
}

[data-predefined-style="true"] h3 {
    letter-spacing: -0.02em;
    margin: 1.2em 0;
    font-size: 2rem;
}

[data-predefined-style="true"] h4 {
    letter-spacing: -0.02em;
    margin: 1.2em 0;
    font-size: 1.8rem;
}

[data-predefined-style="true"] h5 {
    letter-spacing: -0.02em;
    margin: 1.2em 0;
    font-size: 1.6rem;
}

[data-predefined-style="true"] h6 {
    letter-spacing: -0.02em;
    margin: 1.2em 0;
    font-size: 1.4rem;
}

/* PARAGRAPHS */

[data-predefined-style="true"] p {
    margin-top: 1.4em;
    margin-bottom: 1.4em;
}

[data-predefined-style="true"] ol,
[data-predefined-style="true"] ul {
    margin-left: 2em;
}

[data-predefined-style="true"] li {
    margin-top: 0.7em;
    margin-bottom: 0.7em;
}

/* BLOCKQUOTES */

[data-predefined-style="true"] blockquote {
    border-left: 2px solid rgba(0, 0, 0, 0.25);
    padding-left: 1.5em;
    margin-left: 1.5em;
}

[data-predefined-style="true"] blockquote p:first-child {
    margin-top: 0;
}

[data-predefined-style="true"] blockquote p:last-child {
    margin-bottom: 0;
}

[data-predefined-style="true"] blockquote .attribution {
    font-size: 1.4rem;
    font-weight: 500;
    margin-top: 1.5em;
    text-align: right;
}

/* DIVIDERS */

[data-predefined-style="true"] hr {
    border: 0;
    background: rgba(0, 0, 0, 0.15);
    height: 1px;
    margin: 2.5em 0;
}

/* DESKTOP */

@media screen and (min-width: 768px) {
    .clock {
        bottom: 25px;
        right: 700px;
    }
}

/* IMAGE ALIGNMENT */

.content {
    align-items: flex-start;
}

.content img {
    height: 40vh;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    vertical-align: top;
    margin-top: 0 !important;
    margin-bottom: 0;
    align-self: flex-start;
}

/* GALLERY ALIGNMENT */

.content [image-gallery] {
    align-self: flex-start;
    margin-top: 0;
    vertical-align: top;
}

media-item {
    vertical-align: top !important;
}

media-item::part(media) {
    object-position: top center !important;
    object-fit: contain !important;
}

[data-gallery-mode="grid"] {
    align-items: start !important;
}

.image-gallery media-item {
    align-self: start !important;
    margin-top: 0 !important;
}

/* MOBILE */

@media screen and (max-width: 767px) {
    .clock {
        display: none;
    }

    .Home {
        top: 35px;
        right: 20px;
        font-size: 1.6rem;
    }

    .About {
        top: 52px;
        right: 20px;
        font-size: 1.6rem;
    }

    .Contact {
        top: 69px;
        right: 20px;
        font-size: 1.6rem;
    }

    .Shop {
        top: 87px;
        right: 20px;
        font-size: 1.6rem;
    }

    .content img {
        height: 40vh;
        width: auto;
        max-width: 100%;
        object-fit: contain;
        margin-top: 0 !important;
    }
}