/* ========================================
   CSS Reset - Josh Comeau's Custom CSS Reset
   https://www.joshwcomeau.com/css/custom-css-reset/
   ======================================== */

/* 1. Use a more-intuitive box-sizing model */
*, *::before, *::after {
    box-sizing: border-box;
}

/* 2. Remove default margin */
*:not(dialog) {
    margin: 0;
}

/* 3. Enable keyword animations */
@media (prefers-reduced-motion: no-preference) {
    html {
        interpolate-size: allow-keywords;
    }
}

body {
    /* 4. Increase line-height */
    line-height: 1.5;
    /* 5. Improve text rendering */
    -webkit-font-smoothing: antialiased;
}

/* 6. Improve media defaults */
img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

/* 7. Inherit fonts for form controls */
input, button, textarea, select {
    font: inherit;
}

/* 8. Avoid text overflows */
p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

/* 9. Improve line wrapping */
p {
    text-wrap: pretty;
}

h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
}

/* 10. Create a root stacking context (adjust selector for your framework) */
#root, #__next {
    isolation: isolate;
}

/* ========================================
   Additional Reset Styles (from Eric Meyer's reset)
   https://meyerweb.com/eric/tools/css/reset/
   ======================================== */

/* Reset list styles */
ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Reset blockquote */
blockquote, q {
    quotes: none;
    padding: 0 0 0 1em;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

/* Reset table */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Override Josh's line-height to match original */
body {
    line-height: 1;
}

/* ========================================
   CSS Variables
   ======================================== */
:root {
    --background: #000;
    --highlight: #ccff00;
    --light: #ccc;
    --mid: #808080;
    --dark: #333;
    --text: #fff;
    --borderColor: #666;
    --offsetDist: 2px;
    --startLen: 8px;
}

/* ========================================
   Base Styles
   ======================================== */
body, 
div.main_container {
    background: var(--background);
    color: var(--text);
    font-size: 10px;
}

div.page.container.container_width.clearfix.pointer-events-auto {
    border-right: 2px solid var(--dark);
}

p {
	max-width: 66rem;
    margin-bottom: 1em;
}

p:last-child {
    margin-bottom: 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 1em;
    margin-bottom: 1em;
}

h1:first-child, h2:first-child, h3:first-child, 
h4:first-child, h5:first-child, h6:first-child {
    margin-top: 0;
}

/* ========================================
   Typography
   ======================================== */
i, em {
    font-style: italic;
}

b, strong {
    font-weight: bold;
}

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

sub {
    top: 0.3em;
}

sup {
    top: -0.4em;
}

s {
    text-decoration: line-through;
}

.caution {
    font-size: small;
    color: var(--dark);
    overflow: hidden;
    white-space: nowrap;
}

.caution::before {
    content: '◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤';
}

[data-predefined-style="true"] bodycopy {
    font-size: 1.25rem;
    font-weight: 300;
    font-family: "Monument Grotesk Variable", Icons;
    font-style: normal;
    line-height: 1.5;
    color: #fff;
    font-variation-settings: 'slnt' 0, 'MONO' 0;
}

[data-predefined-style="true"] h1 {
    font-family: "D-DIN Expanded", Icons;
    padding: 0;
    margin: 0;
    font-size: 3.125rem;
    line-height: 1;
    font-style: normal;
    font-weight: 700;
}

[data-predefined-style="true"] h2 {
    font-family: "D-DIN Expanded", Icons;
    padding: 0.5rem;
    margin: 0;
    font-size: 1.75rem;
    line-height: 1.5;
    font-style: normal;
    font-weight: 400;
    background: var(--background);
}

[data-predefined-style="true"] small {
    font-size: 1rem;
    line-height: 1.2;
    font-family: "Monument Grotesk Semi-Mono Variable", Icons;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0.05rem;
    font-variation-settings: 'slnt' 0, 'MONO' 0.5;
    color: var(--text);
}

/* ========================================
   Links
   ======================================== */
a, a * {
    color: var(--highlight);
    text-decoration: none;
    cursor: crosshair !important;
    transition: all 0.5s ease;
}

a:hover, a:hover * {
    color: var(--mid);
    transition: all 0.125s ease;
}

a.icon-link {
    font-size: 1.75rem;
}

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

a h1 {
	border-right: 4px solid var(--dark);
	transition: all 0.5s ease;
}

a h1:hover {
	border-right: 16px dotted var(--highlight);
	transition: all 0.125s ease;
}

/* ========================================
   Lists
   ======================================== */
#nav-links li a {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-shrink: 0;
}

#nav-links li a::after {
    content: "";
    background: var(--highlight);
    flex-grow: 0;
    transition: all 0.5s ease;
}

#nav-links li a:hover::after {
    flex-grow: 1;
    transition: all 0.125s ease;
}

ul.horizontal-list li {
    display: inline-block;
}

#icon-links {
    display: flex;
    justify-content: space-between;
}

/* ========================================
   Common Elements
   ======================================== */
hr {
    background: var(--dark);
    border: 0;
    height: 2px;
    margin: 4px 0;
    display: block;
}

.content img {
    float: none;
}

.content img.image-zoom:active {
    opacity: .7;
}

.gallery_image_caption {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.6rem;
    font-weight: 400;
    font-family: "Nitti Grotesk", Icons;
    font-style: normal;
    line-height: 1.2;
}

/* ========================================
   Layout & Containers
   ======================================== */
[data-css-preset] .page {
    background-color: initial;
}

.mobile .page,
[data-css-preset].mobile .page {
    position: relative;
    max-width: 100%;
    width: 100%;
    background-color: transparent;
}

[data-css-preset] .container {
    margin-left: auto;
    margin-right: 0;
    text-align: left /*!text_left*/;
}

[data-css-preset] body {
    background-color: #fff;
}

[data-css-preset] .container_width {
    width: 80%;
}

[data-css-preset] .content_padding {
	padding-top: 1.6rem /*!main_margin*/;
	padding-bottom: 1.6rem /*!main_margin*/;
	padding-left: 1.6rem /*!main_margin*/;
	padding-right: 1.6rem /*!main_margin*/;
}

[data-css-preset] text-limit {
    display: inline-block;
    max-width: 66rem;
}

/* ========================================
   Logo
   ======================================== */
div#logo {
    margin: 0 auto !important;
    position: absolute;
    bottom: 0px;
}

#logo .img-bot {
    display: inline;
}

#logo .img-top {
    display: none;
    z-index: 99;
}

/* ========================================
   Loading Animation
   ======================================== */
.loading[data-loading] {
    position: fixed;
    bottom: 8px;
    left: 8px;
}

/* ========================================
   Video Wrapper
   ======================================== */
.videoWrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
}

.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ========================================
   Thumbnails
   ======================================== */
div[thumbnails] {
    justify-content: flex-start;
}

.thumbnails .content_padding {
    padding: 0.5rem;
}

[data-css-preset] .thumbnails {
    background-color: transparent;
}

[data-css-preset] .thumbnails_width {
    width: 80%;
}

[data-css-preset] [thumbnails-pad] {
    padding: 0.5rem;
}

[data-css-preset] [thumbnails-gutter] {
    margin: -1rem;
}

[data-css-preset] [responsive-layout] [thumbnails-pad] {
    padding: 0.525rem;
}

[data-css-preset] [responsive-layout] [thumbnails-gutter] {
    margin: -1.05rem;
}

.thumbnails .thumb_image {
    outline: 0px solid rgba(0, 0, 0, .12);
    outline-offset: -1px;
}

.thumbnails .title {
    margin-top: 1.2rem;
    margin-bottom: 0.1rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--highlight);
    font-family: "Space Grotesk", Icons;
    font-style: normal;
    line-height: 1.1;
}

.thumbnails .thumbnail .tags {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    margin-right: 0.5rem;
    font-size: 0.5rem;
    font-weight: 400;
    color: var(--text);
    font-family: "Space Mono", Icons;
    font-style: normal;
    line-height: 1.2;
    flex-shrink: 0;
}

.thumbnails .thumbnail {
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
}

.thumbnails .thumbnail::after {
    content: "";
    background: var(--mid);
    width: 2px;
    height: 1.2em;
    flex-shrink: 0;
    margin-left: auto;
    transition: all 0.25s ease-out;
    transition-delay: 0.25s;
}

.thumbnails .thumbnail:hover::after {
    background: var(--highlight);
    flex-grow: 1;
    transition: all 0.125s ease;
    transition-delay: 0s;
}

.thumbnails .tags a {
    color: var(--mid);
    text-transform: uppercase;
    letter-spacing: 0.125rem;
    padding-bottom: 1px;
    border-bottom: 0px solid;
    transition: all 0.5s ease, color 0.25s step-end;
}

.thumbnails .tags a:hover {
    color: var(--highlight);
    border-bottom: 2px solid;
    transition: all 0.125s ease, color 0.125s step-start;
}

.thumbnails .has_title .tags {
    margin-top: .25rem;
}

.thumbnails .thumbnail > a {
    position: relative;
    width: 100%;
}

.thumbnails .thumbnail .title {
    background-color: var(--background);
    padding: 0.5rem 0 0.75rem;
    margin: 0;
    align-content: flex-start;
    display: flex;
    overflow: hidden;
    position: absolute;
    left: 0rem;
    right: 0rem;
    bottom: 0rem;
    z-index: 9;
    width: 0;
    white-space: nowrap;
    transition: all 0.5s ease;
}

.thumbnails .title span {
    display: flex;
    color: var(--highlight);
}

.thumbnails .thumbnail:hover .title {
    width: 100%;
    padding: 0.5rem 1rem 0.75rem;
    transition: all .125s ease;
}

body.mobile .thumbnails .thumbnail .title {
	width: 100%;
    padding: 0.5rem 1rem 0.75rem;
}

body.mobile .thumbnails .thumbnail .tags {
    border-right: 2px solid;
}

/* ========================================
   Site Menu
   ======================================== */
[data-css-preset] #site_menu_button {
    color: rgba(-1, 0, 0, 0.75);
    line-height: 1;
    font-size: 28px;
    padding: 6px;
    background: rgba(33, 32, 46, 0);
    position: fixed;
    top: 3rem;
    right: 3rem;
}

body.mobile #site_menu_button {
    margin: -6px;
    font-size: 24px;
}

#site_menu_button.custom_icon {
    width: 40px;
    height: auto;
}

#site_menu_button.active {
    display: none;
}

#site_menu {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, "Sans Serif", Icons;
    background: rgba(20, 20, 20, 0.95);
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    padding: 20px 30px 90px;
    max-width: 400px;
    min-width: 300px;
    text-align: left;
    display: flex;
    justify-content: flex-start;
}

body.mobile #site_menu {
    width: 100%;
}

#site_menu .page-link a,
#site_menu .set-link > a {
    color: rgba(255, 255, 255, 0.75);
}

#site_menu .set-link > a {
    font-weight: bold;
}

#site_menu a:active {
    opacity: .7;
}

#site_menu a.active {
    opacity: .4;
}

#site_menu .close {
    display: none;
    color: rgba(255, 255, 255, 0.4);
    line-height: .85em;
    font-size: 45px;
}

body.mobile #site_menu .close {
    display: block;
    font-size: 50px;
    line-height: 1em;
}

#site_menu .break {
    height: 28px;
}

#site_menu .indent {
    margin-left: 28px;
}

/* ========================================
   Quick View
   ======================================== */
[data-css-preset] .quick-view {
    padding: 2.5rem;
    height: 100%;
    width: 100%;
}

body.mobile .quick-view {
    width: 100%;
    height: 100%;
    margin: 0;
}

[data-css-preset] .quick-view-background {
    background: rgba(0, 0, 0, 0.90);
}

.quick-view-caption {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    transition: 100ms opacity ease-in-out;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 2rem 0;
    text-align: center;
    font-size: 1.8rem;
}

.quick-view-caption span {
    padding: 0.5rem 1rem;
    display: inline-block;
    background: rgba(0, 0, 0, 0.4);
    color: white;
}

/* ========================================
   Navigation Arrows
   ======================================== */
.quick-view-navigation .left-arrow {
    left: 10px;
}

.quick-view-navigation .right-arrow {
    right: 10px;
}

.quick-view-navigation .left-arrow,
.quick-view-navigation .right-arrow {
    height: 36px;
    width: 36px;
}

.quick-view-navigation .left-arrow .inner-color,
.quick-view-navigation .right-arrow .inner-color {
    stroke: var(--light);
    stroke-width: 1.5px;
}

.quick-view-navigation .left-arrow .outer-color,
.quick-view-navigation .right-arrow .outer-color {
    stroke: var(--dark);
    stroke-width: 2.5px;
    opacity: 0.6;
}

.quick-view-navigation .close-button {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
}

.quick-view-navigation .close-button .inner-color {
    stroke: var(--light);
    stroke-width: 1.5px;
}

.quick-view-navigation .close-button .outer-color {
    stroke: var(--dark);
    stroke-width: 2.5px;
    opacity: 0.6;
}

.image-gallery-navigation .left-arrow,
.image-gallery-navigation .right-arrow {
    height: 36px;
    width: 36px;
}

.image-gallery-navigation .left-arrow .inner-color,
.image-gallery-navigation .right-arrow .inner-color {
    stroke: var(--dark);
    stroke-width: 1.5px;
}

.image-gallery-navigation .left-arrow .outer-color,
.image-gallery-navigation .right-arrow .outer-color {
    stroke: var(--dark);
    stroke-width: 2.5px;
}

.wallpaper-navigation .left-arrow,
.wallpaper-navigation .right-arrow {
    width: 36px;
    height: 36px;
}

.wallpaper-navigation .left-arrow .inner-color,
.wallpaper-navigation .right-arrow .inner-color {
    stroke: var(--light);
    stroke-width: 1.5px;
}

.wallpaper-navigation .left-arrow .outer-color,
.wallpaper-navigation .right-arrow .outer-color {
    stroke: var(--dark);
    stroke-width: 2.5px;
    opacity: 0.6;
}