@property --spot-size {
    syntax: '<number>';
    inherits: false;
    initial-value: 180;
}
@property --spot-edge {
    syntax: '<number>';
    inherits: false;
    initial-value: 380;
}
@property --spot-x {
    syntax: '<number>';
    inherits: false;
    initial-value: 1;
}
@property --spot-y {
    syntax: '<number>';
    inherits: false;
    initial-value: 1;
}

@font-face {
    font-family: 'Meuga';
    src: url('/assets/font/meuga.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'DINEngschriftStd';
    src: url('/assets/font/DINEngschriftStd.otf') format('opentype');
}

@font-face {
    font-family: 'San Francisco';
    src: url('/assets/font/SFUITextCondensed-Medium.otf') format('opentype');
}

@font-face {
    font-family: 'San Francisco Bold';
    src: url('/assets/font/SFUITextCondensed-Bold.otf') format('opentype');
}

@font-face {
    font-family: 'Akony';
    src: url('/assets/font/AKONY.otf') format('opentype');
}

body {
    background-color: rgb(0, 0, 0);
    width: 100%;
    padding: 0;
    margin: 0;
    font-family: 'San Francisco Bold', sans-serif;
    color: white;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;

}

/* Prevent videos from capturing touch/click events */
video {
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    background-color: black;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader video {
    width: 100%;
    height: auto;
    object-fit: contain;
}

#preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.noise {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/img/noise.png');
    background-repeat: repeat;
    mix-blend-mode: multiply;
    opacity: 0.7;
}

.old_screen {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background:
    /* Scanlines */
    repeating-linear-gradient(
      to bottom,
      rgba(255,255,255,0.03) 0px,
      rgba(255,255,255,0.03) 2px,
      rgba(0, 0, 0, 0.3) 3px,
      rgba(0, 0, 0, 0.3) 5px
    ),
    /* Screen glow */
    radial-gradient(
      ellipse at center,
      #3a3a3a 0%,
      #111 70%
    );

    border-radius: 6px;
    overflow: hidden;
    mix-blend-mode: screen;
}

h1 {
    font-family: 'Meuga';
}

.akony {
    font-family: 'Akony';
    font-style: normal;
    text-transform: uppercase;
    font-size: clamp(90px, 5.8vw, 110px);
    line-height: 0.9;
    max-width: 12ch;
    color: #e8e8e8;
    text-shadow: 0px 0px 10px #c6c6c6;
    filter: blur(0.5px);
}

.akony span:first-of-type  {
    color: white;
    filter: blur(1px);
}

.akony span:nth-of-type(2) {
    color: white;
    filter: blur(1.5px);
}

#website_navbar {
    display: none;
}

.glow {
    color: #e8e8e8;
    text-shadow: 0px 0px 7px #c6c6c6;
    filter: blur(0.5px);
    text-decoration: none
}

#header {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 99;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    height: 110px;
}

#header img {
    filter: invert(100%) sepia(0%) saturate(18%) hue-rotate(358deg) brightness(105%) contrast(105%);
}

.logo {
    margin-left: auto;
    display: flex;
    justify-content: flex-end;
}

.home_body {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cont {
    position: relative;
    display: flex;
    width: 100%;
    height: 100vh;
    background-color: rgb(0, 0, 0);
}

.cont::before {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    background: radial-gradient(circle, rgba(255, 255, 255, 0) 33%, rgba(0, 0, 0, 1) 82%);
}

.grain {
    position: fixed;
    z-index: 3;
    width: 100%;
    height: 100vh;
    background-image: url('/assets/img/noise.png');
    background-repeat: repeat;
    opacity: 0.8;
    mix-blend-mode: overlay;
}

.grain.works {
    z-index: 4;
    opacity: 0.4;
}

.bg-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain; 
    z-index: 1;
    transform: none;
    display: block;
}

.mobile-middle-section {
    display: none;
}

.left-section {
    position: relative;
    z-index: 4;
    width: 38.6%;
    height: 100%;
}

.ls-field-up {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 41%;
}

.ls-tv-box-up {
    position: absolute;
    bottom: 7%;
    right: 5%;
    width: 37%;
    height: 40%;
    z-index: 1;
    border-radius: 4px;
    overflow: hidden;
}

.ls-field-down {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 59%;
}

.ls-tv-box-down {
    position: absolute;
    top: 17%;
    right: 21%;
    width: 38%;
    height: 32%;
    z-index: 1;
    overflow: hidden;
    -webkit-mask-image: url('/assets/img/about-mask.png');
    mask-image: url('/assets/img/about-mask.png');
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: cover;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: cover;
}

.middle-section {
    position: relative;
    z-index: 4;
    width: 22%;
    height: 100%;
}

.ms-field-up {
    width: 100%;
    height: 62%;
    position: relative;
    top: 0;
    left: 0;
}

.ms-tv-box-up {
    position: absolute;
    bottom: 3%;
    left: 9%;
    width: 83%;
    height: 40.5%;
    border-radius: 2px;
    overflow: hidden;
}

#main_page_video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: 0.7s all;
}

.ms-field-down {
    width: 100%;
    height: 38%;
    top: 0;
    position: relative;
}

.ms-tv-box-down {
    position: absolute;
    top: 18%;
    left: 9%;
    width: 85%;
    height: 60%;
    clip-path: polygon(100% 0, 100% 97%, 70% 100%, 50% 100%, 36% 100%, 0 98%, 0 0);
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    overflow: hidden;
}

.right-section {
    position: relative;
    z-index: 4;
    width: 39.3%;
    height: 100%;
}

.rs-field-up {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 43%;
}

.rs-tv-box-up {
    position: absolute;
    width: 36%;
    height: 74%;
    bottom: 6.5%;
    left: 7%;
    overflow: hidden;
    -webkit-mask-image: url('/assets/img/works-mask.png');
    mask-image: url('/assets/img/works-mask.png');
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: cover;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: cover;
}

.rs-field-middle {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 29%;
}

.rs-tv-box-middle {
    position: absolute;
    width: 36%;
    height: 57%;
    top: 14%;
    left: 5%;
    border-radius: 5px;
    overflow: hidden;
}

.rs-field-down {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 28%;
}

.rs-tv-box-down {
    position: absolute;
    width: 39%;
    height: 73%;
    top: 15%;
    left: 5%;
    border-radius: 4px;
    overflow: hidden;
}

.ls-tv-box-up:hover .tv-text,
.ls-tv-box-down:hover .tv-text,
.ms-tv-box-up:hover .tv-text,
.ms-tv-box-down:hover .tv-text,
.rs-tv-box-up:hover .tv-text,
.rs-tv-box-middle:hover .tv-text,
.rs-tv-box-down:hover .tv-text {
    opacity: 1;
}

.tv-text {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0;
    display: flex;
    flex-direction: row;
    padding: 9%;
    filter: drop-shadow(0px 0px 5px #ffffff91);
    transition: .3s all;
}

.tv-text::after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.35);
    z-index: -1;
}

#footer {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 99;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

#footer, span, span a {
    color: #c6c6c6;
}

.mobile_footer_link {
    display: none;
}

footer {
    height: 60px;
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer p {
    font-family: 'San Francisco';
    color: #d9d9d9;
    font-size: 0.8rem;
    margin-bottom: 0px;
    padding-bottom: 0px;
    letter-spacing: 3px;
}

/* PAGES */
.fade_out {
    position: fixed;
    z-index: 999;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    opacity: 1;
    transition: 0.8s all;
}

.fade_out.hidden {
    background: #000000;
    background: radial-gradient(circle, rgba(255, 255, 255, 0) 33%, rgba(0, 0, 0, 1) 82%);
    opacity: 0;
    visibility: hidden;
}

.page-background {
    width: 100%;
    height: 100vh;
}

.page-bg-video {
    position: fixed;
    width: 100%;
    object-fit: cover; 
    z-index: -1;
    display: block;
}

.overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.70);
}

.overlay.works {
    background-color: rgba(0, 0, 0, 0.8);
}

.page-body {
    position: relative;
    z-index: 4;
    font-size: 22px;
}

.page-heading {
    transform: translateY(-200px);
    transition: 0.7s transform;
}
.page-heading.show {
    transform: translateY(0px);
}

.page-heading h1 {
    color: white;
    font-size: 12rem;
    line-height: 133px;
    text-align: center;
    filter: blur(0.8px);
}

.page-heading h1 span {
    color: white;
    filter: blur(0.8px);
    text-shadow: 0px 0px 7px #c6c6c6;
    position: relative; 
    left: 5px; 
    top: 10px;
    display: block; 
    letter-spacing: 8px; 
}

.promo-text {
    text-transform: uppercase;
    letter-spacing: 30px;
    font-size: 20px;
}

.smaller {
    letter-spacing: 10px;
}

.film_tape {
    position: relative;
    z-index: 10;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 112%;
    height: 253px;
    background-image: url('/assets/img/film-tape.png');
    background-repeat: repeat-x;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    filter: brightness(1.5);
    opacity: 0.9;
}

.tape {
    width: 12.5%;
}

.tape-container {
    position: relative;
    top: 16%;
    left: 2%;
    width: 95%;
    height: 69%;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    isolation: isolate;
}

.tape_overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    cursor: pointer;
    background-image: var(--tape-img);
    background-size: cover;
    background-position: center;
    mix-blend-mode: difference;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s;
    filter: brightness(0.7);
}

.tape-container:hover .tape_overlay {
    opacity: 1;
}

.tape-container img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    object-fit: cover;
    width: 100%;
    height: 100%;
    filter: brightness(0.7);
}

.tape_placeholder, .tape_link {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    font-family: 'Meuga';
    /* font-size: 10rem; */
    font-size: clamp(7rem, 8vw, 10rem);
    text-decoration: none;
    color: white;
    text-shadow: 0px 0px 20px #595959;
    filter: blur(0.5px);
    transition: 0.6s all;
    width: 100%;
    height: 100%;
    line-height: normal;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tape-container:hover .tape_placeholder {
    top: -180%;
    transform: rotate(-90deg);
}

.tape_link {
    top: 180%;
    transform: rotate(90deg);
    letter-spacing: 1px;
}

.tape-container:hover .tape_link {
    top: 0;
    transform: rotate(0deg);
}

.footer {
    position: relative;
    z-index: 10;
    height: 480px;
    background-color: #121212;
    background-image: url('/assets/img/tekst-white.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position-y: 200%;
}

.footer::before {
    content: "";
    position: absolute;
    z-index: 3;
    inset: 0;
    background: url('/assets/img/grain.svg') center/contain;
    pointer-events: none;
    mix-blend-mode: multiply;
    opacity: 0.7;
}

.footer-text {
    padding-top: 80px;
    color: white;
    text-shadow: 0px 0px 7px #c6c6c6;
}

.footer-text h4 {
    font-family: 'San Francisco Bold';
    font-size: 22px;
    margin-bottom: 15px;
}

.footer-text a {
    font-family: 'San Francisco';
    font-size: 20px;
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 15px;
    transition: 0.3s all;
    width: fit-content;
}

.footer-text a:hover {
    color: #18827d;
    text-shadow: 0px 0px 7px #18827d;
}

/* SELECTED WORKS VIDEO */
.works-video-col {
    padding-left: 4rem; 
    padding-right: 4rem;
}

.works-video-cont {
    position: relative;
    width: 100%;
}

.works-video-cont video {
    position: absolute;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: cover;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: cover;
}

.works-video-cont .main {
    position: relative;
    z-index: 3;
    width: 100%;
    -webkit-mask-image: url('/assets/img/mask.png');
    mask-image: url('/assets/img/mask.png');
}

.front {
    z-index: 2;
    transform: scale(0.7);
    opacity: 0.8;
    transform-origin: center 50%;
    -webkit-mask-image: url('/assets/img/mask1.png');
    mask-image: url('/assets/img/mask1.png');
}
.front.left {
    right: 33%;
}
.front.right {
    left: 33%;
}

.back {
    z-index: 1;
    transform: scale(0.5);
    opacity: 0.4;
    -webkit-mask-image: url('/assets/img/mask2.png');
    mask-image: url('/assets/img/mask2.png');
}
.back.left {
    right: 60%;
}
.back.right {
    left: 60%;
}

.video-header {
    position: relative;
    top: -15px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 1.25rem;
    padding: 0px;
    margin: 0 auto;
    justify-content: center;
}

.video-title h1 {
  font-size: clamp(3rem, 10vw, 6.5rem);
  line-height: 1;
  white-space: nowrap;
}

.video-subtitles {
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  line-height: 1.2;
}

.video-subtitles p {
  margin: 0.25rem 0;
}


/* .video-1-title h1 {
    font-size: clamp(85px, 12vh, 6.5rem);
    line-height: 60px;
}

.video-1-subtitles {
    line-height: 13px;
    font-size: 20px;
} */

.content-text p {
    font-family: 'San Francisco';
    color: #e8e8e8;
    text-shadow: 0px 0px 7px #c6c6c6;
    font-size: 21px;
    line-height: 25px;
}

.content-text h2 {
    font-family: 'DINEngschriftStd';
    color: #e8e8e8;
    text-shadow: 0px 0px 7px #c6c6c6;
    font-size: 35px;
    margin-bottom: 2px;
}

.content-link {
    text-decoration: underline;
    color: white;
}

/* TSC */
/* Lock page scroll when the container is zoomed */
body.no-scroll {
    overflow: hidden;
}

.cont {
    overflow: hidden;
    transition: transform 0.8s cubic-bezier(0.45, 0.05, 0.55, 0.95), transform-origin 0.8s ease;
    will-change: transform, transform-origin;
}

/* 2. Horizontal movement layer */
.flashlight-x-wrapper {
    position: absolute;
    inset: 0;
    z-index: 10;
    pointer-events: none;
    will-change: transform;
    /* Unified transition for movement */
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.flashlight-overlay {
    position: absolute;
    width: 250%; 
    height: 250%;
    top: -125%;
    left: -125%;

    --spot-size: 180;
    --spot-edge: 380;
    --spot-x: 1;  
    --spot-y: 1;  

    /* The key change: We add --spot-size, --spot-x, and --spot-y 
       to the transition list so the shape morphs while it moves.
    */
    background: radial-gradient(
        ellipse calc(var(--spot-size) * var(--spot-x) * 1px) calc(var(--spot-size) * var(--spot-y) * 1px) at center,
        transparent 0,
        transparent calc(var(--spot-size) * 1px),
        rgba(0, 0, 0, 0.97) calc(var(--spot-edge) * 1px)
    );

    opacity: 0;
    will-change: transform, --spot-size, --spot-x, --spot-y;
transition: 
        transform 0.8s cubic-bezier(0.25, 1, 0.5, 1),
        --spot-size 0.8s cubic-bezier(0.25, 1, 0.5, 1),
        --spot-edge 0.8s cubic-bezier(0.25, 1, 0.5, 1),
        --spot-x 0.8s cubic-bezier(0.25, 1, 0.5, 1),
        --spot-y 0.8s cubic-bezier(0.25, 1, 0.5, 1),
        opacity 0.5s ease;
}

/* No wiggle here - just clear focus */
.cont.spotlight-active .flashlight-overlay {
    opacity: 1;
}

.tv-text {
    z-index: 20 !important;
}

/* This class will be toggled via JavaScript */
.cont.zoomed-in {
    z-index: 100; /* Ensure it stays above header/footer if desired */
}
/* Add this to the bottom of your style.css */

.cont.shrinking .flashlight-overlay {
    opacity: 1 !important; /* Keep it visible while shrinking */
    --spot-size: 0 !important;
    --spot-edge: 0 !important;
    transition: 
        --spot-size 0.6s cubic-bezier(0.4, 0, 1, 1),
        --spot-edge 0.6s cubic-bezier(0.4, 0, 1, 1);
}

/* Ensure the background stays black during shrink */
.cont.shrinking {
    background-color: black;
}

/* SMALL DESKTOPS */
@media (min-width: 1202px) and (max-width: 1700px) {
    .works-video-col {
        padding: 0px;
    }

    .front.left {
        right: 28%;
    }

    .front.right {
        left: 28%;
    }
    .video-header {
        top: 0px;
        padding-left: 5px;
        z-index: 10;
    }

    .video-title h1 {
        font-size: 6rem;
    }

    .video-subtitles p {
        font-size: clamp(0.9rem, 5.8vw, 1.2rem);
    }

    .works_subtitle {
        letter-spacing: 12px;
    }
}

/* MOBILE */
@media (min-width: 320px) and (max-width: 1201px) {
    #header {
        height: 80px;
    }

    #website_navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.555);
        z-index: 98;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.7s all;
        opacity: 0;
        visibility: hidden;
    }

    #website_navbar.show {
        opacity: 1;
        visibility: visible;
    }

    #website_navbar a {
        font-family: 'Meuga';
        text-decoration: none;
        font-size: 4rem;
        line-height: normal;
        margin-bottom: 15px;
    }

    .mobile_logo {
        width: 100%;
    }
    
    .logo a img {
        width: 30px;
    }

    .home_body {
        overscroll-behavior: none;
        overflow: hidden;
    }

    .cont {
        -webkit-overflow-scrolling: touch;
    }

    .cont::before {
        background: #000000;
        background:   
        radial-gradient(
            ellipse 50% 80% at center,
            rgba(0, 0, 0, 0) 60%,
            rgba(0, 0, 0, 1) 100%
        ),
        linear-gradient(
            to top,
            black 0%,
            rgba(255, 255, 255, 0) 40%
        );
    }

    .cont.blurred {
        filter: blur(20px);
        transition: filter 0.7s ease;
    }

    .grain {
        background-image: url('/assets/img/noise.png');
        background-size: 40px;
        background-repeat: repeat;
    }

    .glow {
        text-shadow: 0px 0px 5px #c6c6c6;
        filter: blur(0.3px);
    }

    .left-section, .middle-section, .right-section {
        display: none;
    }

    .mobile-middle-section {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-around;
        position: relative;
        z-index: 4;
        width: 100%;
        height: 100%;
    }

    .left-arrow, .right-arrow {
        position: relative;
        top: 1%;
        left: 0;
    }

    .left-arrow {
        transform: rotate(180deg);
    }

    .left-arrow img, .right-arrow img {
        width: 35px;
    }

    .mms-tv-box {
        position: relative;
        top: 3%;
        left: -1%;
        width: 61%;
        height: 31%;
        background-color: black;
        -webkit-mask-image: url('/assets/img/mobile-tv-mask.png');
        mask-image: url('/assets/img/mobile-tv-mask.png');
        -webkit-mask-repeat: no-repeat;
        -webkit-mask-position: center;
        -webkit-mask-size: cover;
        mask-repeat: no-repeat;
        mask-position: center;
        mask-size: cover;
    }

    .mms-tv-row {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
    }

    .tv {
        position: relative;
        display: block;
        width: 100%;
        height: 100%;
        transition: 0.5s all cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .tv video {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: -1;
    }

    .tv-text {
        opacity: 1;
        justify-content: center;
    }

    .tv-text::after {
        background-color: rgba(0, 0, 0, 0.25);
    }

    #footer {
        justify-content: center;
        height: 150px;
    }

    #footer .col-3 {
        display: none;
    }
 
    .mobile_footer_link {
        display: inline-block;
    }

    #nav_btn {
        position: relative;
        border: none;
        outline: none;
        background-color: transparent;
        overflow: hidden;
        cursor: pointer;
    }

    #nav_btn span {
        display: inline-block;
        font-family: 'Akony';
        font-style: normal;
        text-transform: uppercase;
        font-size: 24px;
        color: white;
        text-shadow: 0px 0px 10px #c6c6c6;
        filter: blur(0.5px);
        transition: 0.5s all
    }
   
    /* PAGES */

    .page-background {
        width: 100%;
        height: auto;
    }

    .page-background.contact {
        height: 100vh;
    }

    .page-bg-video {
        height: 100%;
        object-fit: cover; 
    }

    .page-body {
        font-size: 18px;
    }

    .page-body.contact {
        height: 72% !important;
    }

    .page-heading h1 {
        padding-top: 20px;
        font-size: 7rem;
        line-height: normal;
        filter: blur(0.4px);
    }

    .page-heading h1 span {
        left: 0; 
        top: 0;
        display: inline; 
        letter-spacing: 1px; 
        filter: blur(0.4px);
        text-shadow: 0px 0px 3px #c6c6c6;
    }

    .promo-text {
        letter-spacing: 13px;
        font-size: 13px;
    }

    .promo-text.smaller {
        letter-spacing: 5px;
    }

    .akony {
        font-size: 2rem;
        text-shadow: 0px 0px 7px #c6c6c6;
        filter: blur(0.2px);
        line-height: normal;
    }

    .akony span:first-of-type  {
        filter: blur(0.4px);
    }

    .akony span:nth-of-type(2) {
        filter: blur(0.6px);
    }

    .akony.little {
        font-size: 1.8rem;
    }

    .content-text p {
        font-family: 'San Francisco';
        text-shadow: 0px 0px 5px #c6c6c6;
        font-size: 16px;
        line-height: 20px;
    }

    .content-text h2 {
        text-shadow: 0px 0px 5px #c6c6c6;
        margin-bottom: 8px;
    }

    .tape_margin {
        margin-top: 20px !important;
    }

    .film_tape {
        width: 1344px;
        height: 160px;
        background-size: 12.5%;
    }

    .tape-container {
        top: 16.3%;
        left: 2.5%;
        width: 94.7%;
        height: 68.5%;
        border-radius: 4px;
    }

    .tape_placeholder, .tape_link {
        font-size: 5.5rem;
        filter: blur(0.3px);
        transform: translateY(-4px);
    }

    .footer {
        height: auto;
        padding-bottom: 150px;
        background-image: url('/assets/img/tekst-white.svg');
        background-size: 200%;
        background-position-y: 105%;
        background-position-x: 90%;
    }

    .footer::before {
        background-size: 20%;
        background-repeat: repeat;
        opacity: 1;
    }

    .footer-text {
        padding-top: 50px;
        text-shadow: 0px 0px 4px #c6c6c6c4;
    }

    .footer-text h4 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .footer-text a {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .footer-text a:hover {
        color: #b3b3b3;
        text-shadow: 0px 0px 4px #b3b3b3;
    }

    .works-video-col {
        padding-left: 0px; 
        padding-right: 0px;
        padding-bottom: 50px;
    }

    .front {
        transform: scale(0.4);
        opacity: 0.5;
        transform-origin: center 10%;
    }
    .front.left {
        right: 0%;
    }
    .front.right {
        left: 0%;
    }

    .back {
        display: none;
    }
    
    .video-header {
        grid-template-columns: auto;
        text-align: center;
        max-width: 600px;
        top: 0px;
        justify-items: center;
        gap: 0px;
    }
    
    /* KAD ODGOVORE OVI IZ WAV3 */
    /* .video-header {
        grid-template-columns: auto 1fr;
        text-align: left;
        max-width: 330px;
        top: -5px;
        justify-items: center;
        gap: 0px;
    } */

    /* .video-title h1 {
        font-size: 3rem;
    } */

    /* .video-subtitles {
        font-size: 0.52rem;
        font-family: 'San Francisco';
    } */

    .video-subtitles {
        font-size: 0.9rem;
    }

    .video-title h1 {
        font-size: 4rem;
    }


    /* .video-1-title h1 {
        font-size: 4rem;
        line-height: 0.6;
        margin-bottom: 0px;
    }

    .video-1-subtitles {
        line-height: normal;
        font-size: 13px;
    } */

    .works_subtitle {
        letter-spacing: 7px;
    }
}

/* TABLETS */
@media (min-width: 600px) and (max-width: 1201px) {
    #preloader video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    #header {
        height: 90px;
    }

    .mobile_logo {
        width: 80%;
    }
    
    .logo a img {
        width: 50px;
    }

    #website_navbar {
        left: 0;
    }

    #website_navbar a {
        font-size: 6rem;
    }

    .page-heading h1 {
        padding-top: 30px;
        filter: blur(0.6px);
    }

    .page-heading h1 span {
        filter: blur(0.6px);
    }

    .akony {
        font-size: 3rem;
        filter: blur(0.3px);
    }

    .akony span:first-of-type  {
        filter: blur(0.6px);
    }

    .akony span:nth-of-type(2) {
        filter: blur(0.9px);
    }

    .akony.little {
        font-size: 2.5rem;
    }

    .promo-text {
        letter-spacing: 18px;
        font-size: 18px;
    }

    .content-text p {
        text-shadow: 0px 0px 6px #c6c6c6;
        font-size: 18px;
        line-height: 25px;
    }

    .content-text h2 {
        text-shadow: 0px 0px 6px #c6c6c6;
        font-size: 35px;
        margin-bottom: 5px;
    }

    .works-video-cont {
        display: flex;
        justify-content: center;
    }

    .works-video-cont .main {
        width: 80%;
    }

    .tape_margin {
        margin-top: 20px !important;
    }

    .film_tape {
        width: 1800px;
        height: 215px;
    }

    .tape_placeholder, .tape_link {
        font-size: 7.5rem;
        filter: blur(0.5px);
        transform: translateY(-7px);
    }

    .footer-text h4 {
        font-size: 25px;
    }

    .footer-text a {
        font-size: 18px;
        margin-bottom: 13px;
    }

    .works-video-col {
        padding-left: 0px; 
        padding-right: 0px;
        padding-bottom: 50px;
    }

    .front {
        transform: scale(0.4);
        opacity: 0.7;
        transform-origin: center 10%;
    }
    .front.left {
        right: 13%;
    }
    .front.right {
        left: 13%;
    }

    .back {
        transform: scale(0.3);
        display: initial;
        transform-origin: center 18%;
    }

    .back.left {
        right: 26%;
    }
    .back.right {
        left: 26%;
    }

    .video-1-title h1 {
        font-size: 5rem;
    }

    .video-1-subtitles {
        line-height: normal;
        font-size: 13px;
    }

    .video-1-subtitles p {
        margin-bottom: 0;
    }

    .works_subtitle {
        letter-spacing: 7px;
    }
}

/* LANDSCAPE TABLETS */
@media (min-width: 1023px) and (max-width: 1400px) {
    .front {
        transform: scale(0.6);
        transform-origin: center 20%;
    }

    .front.left {
        right: 16%;
    }

    .front.right {
        left: 16%;
    }

    .back {
        transform: scale(0.4);
        transform-origin: center 30%;
    }

    .back.left {
        right: 38%;
    }
    
    .back.right {
        left: 38%;
    }

    .page-body.contact {
        height: 90% !important;
    }

    #footer {
        height: 74px;
    }
}

/* WORKS VIDEO */
@media (min-width: 1201px) and (max-width: 1400px) {
    .front {
        transform: scale(0.65);
    }

    .back {
        transform: scale(0.55);
    }
}