:root {
    --white: #fff;
    --black: #070707;
    --green: #00ff00;
    --opacity-level: 0.9;
    --logo-height: calc(100vw / 3.153);
    --padding: 20px;
}

@font-face {
    font-family: AkiraExpanded;
    src: url('assets/AkiraExpandedDemo.otf') format('opentype');
    font-style: normal;
}

* {
    /* Hide scrollbar for Webkit browsers */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

::-webkit-scrollbar {
    display: none;
}

::selection {
  background-color: var(--green);
  color: var(--black);              
}

body {
    margin: 0;
    padding: 0;
    /* max-width: 100vw; */
    /* change this height if there are more or less then 8 images on the page */
    min-height: 800vh;
    background: var(--black);
    color: var(--white);
    font-size: 14px;
    font-family: AkiraExpanded, 'Arial Black', 'Arial', sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
    cursor: none;
}

@media (max-width: 900px) {
    body {
        font-size: 14px;
    }
}


.magazine-root {
    position: absolute;
    top: 0px;
    width: 100vw;
    /* min-height: 800px; */
    font-family: AkiraExpanded, 'Arial Black', 'Arial', sans-serif;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-auto-rows: minmax(100px, auto);
    gap: 0;
    padding-bottom: 100vh;
    scroll-behavior: smooth;
}

/* Logo SVG background */
.logo-bg {
    position: sticky;
    top: 0;
    padding: 0 var(--padding) 0 var(--padding);
    /* margin-top: calc(50svh - var(--logo-height) / 2 - var(--logo-height) / 8); */
    /* margin-bottom: 50vh; */
    width: calc(100vw - 2* var(--padding));
    z-index: 100;
    /* mix-blend-mode: difference; */
    opacity: var(--opacity-level);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.logo-bg img {
    width: 100%;
    aspect-ratio: 1478 / 469;
    display: block;
}

/* magazine logo addition*/

.magazine-text {
    position: sticky;
    top: 32vw;
    margin-top: 140vh;
    padding: 0 var(--padding) 0 var(--padding);
    width: calc(100vw - 2* var(--padding));
    z-index: 5;
    color: var(--white);
    background: none;
    /* mix-blend-mode: difference; */
    opacity: var(--opacity-level);

}

.magazine-text img {
    width: 100%;
    display: block;

}

/* Main text block */
.description-text {
    position: sticky;
    top: 37vw;
    margin-top: 280vh;
    padding: 0 calc(1.2 * var(--padding)) 0 calc(1.2 * var(--padding));
    width: calc(100vw - 2* var(--padding));
    z-index: 5;
    color: var(--white);
    background: none;
    font-family: AkiraExpanded, 'Arial Black', 'Arial', sans-serif;
    font-size: 1em;
    line-height: 1.3;
    /* mix-blend-mode: difference; */
    opacity: var(--opacity-level);

    /* margin-bottom: 40px; */
}

@media (max-height: 770px) {
    .description-text {
        font-size: 0.8em;
        line-height: 1.2;
    }
}

@media (max-height: 670px) {
    .description-text {
        font-size: 0.6em;
        line-height: 1.2;
    }
}

@media (max-height: 620px) {
    .description-text {
        font-size: 0.4em;
        line-height: 1.2;
    }
}


@media (max-width: 900px) {
    .description-text {
        font-size: 0.9em;
        line-height: 1.4;
    }
}

@media (max-width: 450px) {

    .description-text {
        font-size: 0.8em;
        line-height: 1.4;
        padding-top: 1px;
        padding-left: calc(var(--padding));
    }

}

.description-text p {
    margin-bottom: 0;
    text-transform: uppercase;
}


.nav a,
span {
    font-family: AkiraExpanded, 'Arial Black', 'Arial', sans-serif;
    font-size: 4em;
    color: var(--white);
    /* mix-blend-mode: difference; */
    opacity: var(--opacity-level);
    letter-spacing: 2px;
    z-index: 3;
    text-decoration: none;
    letter-spacing: 0px;
    /* transition: letter-spacing 0.4s cubic-bezier(0.4, 0, 0.2, 1); */
}

@media (max-width: 900px) {

    .nav a,
    span {
        font-size: 2.5em;
    }
}

@media (max-width: 450px) {

    .nav a,
    span {
        font-size: 1.8em;
        padding-bottom: 10px;
    }
}

@media (max-height: 700px) {
    .nav a,
    span {
        font-size: 2.2em;
        line-height: 1.2;
    }
}

@media (max-height: 600px) {
    .nav a,
    span {
        font-size: 1.8em;
        line-height: 1.2;
    }
}

.nav a:hover {
    cursor: pointer;
    color: var(--green);
    /* letter-spacing: -40px;
    transition: letter-spacing 0.4s cubic-bezier(0.4, 0, 0.2, 1); */

}

/* Navigation visibility */
.nav.nav-hidden {
    transform: translateY(100px) !important;
    pointer-events: none;
}

.nav {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

/* SHOP left bottom */
.shop-label {
    position: fixed;
    left: var(--padding);
    display: flex;
    flex-direction: row;
    gap: 5em;
    bottom: 0px;
    z-index: 10;
    background: none;
    /* mix-blend-mode: difference; */
}

@media (max-width: 700px) {
    .shop-label {
        gap: 1.5em;
    }
}

/* IG and FB right bottom */
.social-labels {
    position: fixed;
    right: var(--padding);
    bottom: 0px;
    z-index: 10;
    display: flex;
    /* mix-blend-mode: difference; */
    gap: 44px;
}


/* Imprint center bottom */
.imprint-label {
    position: fixed;
    left: 50%;
    bottom: 0px;
    transform: translateX(-50%);
    /* mix-blend-mode: difference; */
    z-index: 10;
}


/* Magazine images as backgrounds */
.mag-img {
    width: 100vw;
    height: 100svh;
    grid-column: span 8;
    background-repeat: no-repeat;
    position: relative;
    display: block;
    object-fit: cover;
    z-index: 1;
}

/* Crop marks */
.crop-marks {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.1s ease-out;
    width: 0;
    height: 0;
    mix-blend-mode: difference;
}

/* Cursor mode - stack all crop marks in center */
.crop-marks.cursor-mode .crop-mark {
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%);
}

/* Show normal cursor on links */
a {
    cursor: pointer !important;
}

.crop-mark {
    position: absolute;
    width: 10px;
    height: 10px;
    opacity: 0.7;
}

.crop-mark::before,
.crop-mark::after {
    content: '';
    position: absolute;
    background: var(--white);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.crop-mark::before {
    width: 10px;
    height: 1px;
    box-shadow: -6px 0 0 var(--white), 6px 0 0 var(--white);
    background: transparent;
}

.crop-mark::after {
    width: 1px;
    height: 10px;
    box-shadow: 0 -6px 0 var(--white), 0 6px 0 var(--white);
    background: transparent;
}

.crop-mark-tl {
    top: -7px;
    left: -7px;
}

.crop-mark-tr {
    top: -7px;
    right: -7px;
}

.crop-mark-bl {
    bottom: -7px;
    left: -7px;
}

.crop-mark-br {
    bottom: -7px;
    right: -7px;
}

.crop-marks-active .crop-mark {
    opacity: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.crop-marks-active .crop-mark::before,
.crop-marks-active .crop-mark::after {
    box-shadow: -6px 0 0 var(--green), 6px 0 0 var(--green);
}

.crop-marks-active .crop-mark::after {
    box-shadow: 0 -6px 0 var(--green), 0 6px 0 var(--green);
}


/* Imprint page styles */
.imprint-container {
    padding: 0 calc(1.2 * var(--padding)) 0 calc(1.2 * var(--padding));
    width: calc(100vw - 2* var(--padding));
    margin-bottom: 10svh;
    background: var(--black);
}

.imprint-container h1 {
    font-size: 16.4vw;
    margin: 0;
    letter-spacing: 2px;
    color: var(--white);
    font-family: AkiraExpanded, 'Arial Black', 'Arial', sans-serif;
}

@media (max-width: 4500px) {
    .imprint-container h1 {
        font-size: 14.5vw;
    }

}

.imprint-text {
    font-size: 1.1em;
    line-height: 1.7;
    color: var(--white);
    font-family: AkiraExpanded, 'Arial Black', 'Arial', sans-serif;
}

@media (max-width: 450px) {

    .imprint-text {
        font-size: 0.9em;
    }

    .imprint-container {
        margin-top: 20px;
        margin-bottom: 40px;
    }

}

.magazine-root img {
  filter: url(#cursor-displacement);
  transition: filter 0.2s ease;
  will-change: filter;
  pointer-events: none; /
}