@font-face {
    font-family: 'sans';
    src: url('font/sans.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'serif';
    src: url('font/serif.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'serif';
    src: url('font/serif-bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'mono';
    src: url('font/mono.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}



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

html {
}

a {
    color: #fff;
}

body {
    font-family: 'mono', monospace;
    background: #000000;
    color: #fff;
    font-size: 15px;
    line-height: 1.2;
    /* overflow: hidden; */
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 2;
    mix-blend-mode: difference;
    pointer-events: none;
}

.intro {
    position: fixed;
    filter: brightness(80%) grayscale(0%) contrast(5000%) invert(1);    
    /* mix-blend-mode: multiply; */
}

.media-display {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    z-index: -1;
    filter: brightness(100%) grayscale(100%);    
    /* mix-blend-mode: multiply; */
}

.media-display img,
.media-display video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.title-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    pointer-events: none;
    text-transform: uppercase;
}

.title-overlay h1 {
    font-family: 'serif', Times, serif;
    font-size: 13.2vw;
    line-height: 0.8;
    font-weight: bold;
    color: white;
    color:rgb(0, 255, 255);
    text-shadow: -1px -1px 4px rgba(0, 255, 255, 0.8), 3px 3px 6px rgba(0, 255, 255, 0.8);
    /* letter-spacing: 0.2em; */
    text-align: center;
    padding: 10px;
    margin: 0;
    word-break: break-all;
}


.console-text {
    color: #fff;
    pointer-events: auto;
}

.console-output {
    font-family: 'Courier New', monospace;
    font-size: 16px;
    line-height: 1.2;
    color: #fff;
    pointer-events: auto;
}

.console-output-red {
    font-family: 'Courier New', monospace;
    font-size: 16px;
    line-height: 1.2;
    color: #ff0000;
    /* padding: 8px 10px; */
    max-height: 40vh;
    overflow-y: auto;
    /* position: fixed; */
    z-index: 1001;
    pointer-events: none;
}

.console-output-red:nth-of-type(1) {
    top: 20%;
    right: 5%;
    width: 300px;
}

.console-output-red:nth-of-type(2) {
    bottom: 20%;
    left: 5%;
    width: 300px;
}

.console-line {
    position: relative;
}

.console-line::after {
    content: '|';
    color: #fff;
    animation: blink 1s infinite;
    margin-left: 2px;
}

.console-output-red .console-line::after {
    color: #ff0000;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-gap: 10px;
    box-sizing: border-box;
}

.grid--double {
    grid-template-columns: 1fr 1.5fr 0.5fr;
}

.grid--footer {
    grid-template-columns: 1fr 1fr 1fr;
}

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

.grid--6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

header.grid {
    padding: 8px 10px;
}

.colophon.grid {
    padding: 288px 10px 8px;
}

section .grid {
    padding: 0 10px 72px;
}

main {
    padding-top: 100vh;
    position: relative;
}

section {
    /* background-color: black; */
    color: white;
    position: relative;
}

section .grid {
    position: relative;
    z-index: 1;
}

.text-content {
    font-family: 'sans', Arial-Black sans-serif;
    line-height: 1.4;
}

p {
    padding: 0;
    margin: 0;
}

.double {
    grid-column-start: 2;
    grid-column-end: span 4;
}

.bigger {
    font-family: 'serif', Times, serif;
    font-size: 3.1vw;
    line-height: 1.2;
    text-align: center;
}

.product-section {
    background: #000;
    padding: 0;
    z-index: 1000000;
}

.product-section .container {
    padding: 10px;
}

.section-title {
    font-family: 'serif', Times, serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: white;
}

.product-image img,
.product-image video {
    width: 100%;
    display: block;
    /* border: 1px solid #ff0000; */
    /* filter: brightness(105%) grayscale(100%) contrast(5000%) invert(0);     */
    /* mix-blend-mode: multiply; */
}

.product-image.invert img,
.product-image.invert video {
    /* filter: brightness(105%) grayscale(100%) contrast(5000%) invert(1);    */
    /* mix-blend-mode: multiply; */
}

.right {
    display: flex;
    justify-content: flex-end;
    text-align: right;
}

.product-image.small img,
.product-image.small video {
    max-width: 80%;
}

.product-image .mobile {
    display: none;
}

.lighten {
    /* filter: brightness(105%) grayscale(100%) contrast(5000%) invert(0);     */
    /* mix-blend-mode: multiply; */
    mix-blend-mode: lighten;
}

.credits span {
    font-family: 'serif', monospace;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
}

.links {
    margin-bottom: 20px;
    mix-blend-mode: difference;
}

.links div {
    display: flex;
    gap: 10px;
}

.links a img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    display: block;
}

.links a:hover {
    filter: invert(1);
}

.credits {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.credits .bigger {
    text-align: left;
    line-height: 1;
    margin-bottom: 10px;
}


@media (max-width: 1000px) {
    .grid--double {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .grid--footer {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .grid--6 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .double {
        grid-column-start: 1;
        grid-column-end: span 2;
    }
    .grid--1 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .empty {
        height: 0;
        display: none;
    }
}

@media (max-width: 700px) {
    body {
        font-size: 14px;
    }
    .links h3,
    .credits h3 {
        font-size: 15px;
    }

    .grid {
        grid-template-columns: 1fr;
        grid-gap: 72px;
    }
    .grid.grid--double {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-gap: 10px;
    }
    .grid.grid--footer {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-gap: 10px;
    }
    .grid--6 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .grid.grid--gallery {
        grid-gap: 10px;
    }

    .title {
        font-size: 2.5rem;
    }
    
    .title-overlay h1 {
        font-size: 14vw;
    }
    .powered {
        grid-column: 1 / 2;
        grid-row: 2;
    }

    header .console-output {
        grid-column: 2 / 3;
    }

    header .console-text {
        grid-column: 1 / 3;
    }

    .console-output-red {
        width: 90%;
        max-width: none;
    }
    
    .console-output-red:nth-of-type(1) {
        top: 10%;
        right: 5%;
        width: 90%;
    }
    
    .console-output-red:nth-of-type(2) {
        bottom: 10%;
        left: 5%;
        width: 90%;
    }

    .colophon.grid {
        padding: 144px 10px 8px;
    }

    .links {
        margin-bottom: 18px;
    }

    .double {
        grid-column-start: 1;
        grid-column-end: span 1;
    }

    .bigger {
        /* font-size: 5.6vw; */
        font-size: 6.6vw;
    }
    .product-image .desktop {
        display: none;
    }
    .product-image .mobile {
        display: block;
    }
} 