@font-face {
    font-family: "AC_H";
    src: url("../fonts/AC_H.woff2") format("woff2"),
        url("../fonts/AC_H.woff") format("woff");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "AC_B";
    src: url("../fonts/AC_B.woff2") format("woff2"),
        url("../fonts/AC_B.woff") format("woff");
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

.responsive {
    width: 100%;
}

.lazy-image-wrapper {
    position: relative;
    overflow: hidden;
}

.lazy-image {
    width: 100%;
    filter: blur(100px);
    transition: filter 0.6s ease, transform 0.6s ease;
}

.lazy-image.loaded {
    filter: blur(0);
    transform: scale(1.01);
}

html,
body {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #0b0b0b;
    color: #ffffff;
    font-family: "AC_B", Helvetica, sans-serif;
    font-weight: bold;
    font-style: normal;
    scroll-behavior: smooth;
    overscroll-behavior-y: none;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    user-select: none;
    -webkit-user-select: none;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

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

body::-webkit-scrollbar-track {
    background: transparent;
}

body::-webkit-scrollbar-thumb {
    background: transparent;
}

body::-webkit-scrollbar-thumb:hover {
    background: transparent;
}

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

.scrollbar-hidden {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

a {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.5;
    transition: all 0.15s linear;
}

a:hover {
    color: #ffffff;
    opacity: 1;
}

a.active-link {
    color: #ffffff;
    text-decoration: underline;
    opacity: 1;
}

::-moz-selection {
    color: #0b0b0b;
    background: #ffffff;
}

::selection {
    color: #0b0b0b;
    background: #ffffff;
}

/* TYPOGRAPHY SETTINGS *******************************************************/

h1 {
    font-size: 1.875vw;
    line-height: 110%;
    letter-spacing: -0.02em;
    margin: 0;
}

h2 {
    font-size: 1.14vw;
    line-height: 125%;
    letter-spacing: -0.02em;
    margin: 0;
}

h3,
.filter-button {
    font-size: 0.72vw;
    line-height: 125%;
    letter-spacing: -0.02em;
    margin: 0;
}

p {
    font-size: 0.52vw;
    line-height: 120%;
    letter-spacing: -0.02em;
    margin: 0;
}

@media (max-width: 1919px) {
    h1 {
        font-size: 2.5vw;
    }

    h2 {
        font-size: 1.5vw;
    }

    h3,
    .filter-button {
        font-size: 0.9vw;
    }

    p {
        font-size: 0.7vw;
    }
}

@media (max-width: 1024px) {
    h1 {
        font-size: 3.51vw;
    }

    h2 {
        font-size: 2.1vw;
    }

    h3,
    .filter-button {
        font-size: 1.3vw;
    }

    p {
        font-size: 1vw;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 6.1vw;
    }

    h2 {
        font-size: 4.1vw;
    }

    h3,
    .filter-button {
        font-size: 2.9vw;
    }

    p {
        font-size: 2.4vw;
    }
}

/* ANIMATIONS SETTINGS *******************************************************/
main {
    opacity: 1;
    transition: opacity 1s ease-in-out;
}

main.preload {
    opacity: 0;
}

main.fade-out {
    opacity: 0;
}


/* WORK PAGE / HOMEPAGE STYLE *******************************************************/
header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    z-index: 100;
}

header a {
    display: inline-block;
    text-transform: uppercase;
}

.logo-menu-link {
    width: calc(33.3333333% - 13.3333333px);
    line-height: 90%;
}

.logo-menu-link a {
    opacity: 1;
}

.logo-menu-link h2 {
    font-family: "AC_H", Helvetica, sans-serif;
    font-weight: 800;
    font-style: normal;
}

.logo-menu-link a:hover {
    text-decoration: none;
}

.logo-menu-link h2,
.work-menu-links h3,
.info-menu-link h3 {
    line-height: 90%;
}

.work-menu-links {
    width: calc(58.3333333% - 13.3333333px);
    display: flex;
    justify-content: flex-start;
    align-items: baseline;
    column-gap: 20px;
    line-height: 90%;
}

.filter-menu .filter-button::after {
    content: ", ";
    opacity: 0.5;
}

.filter-menu .filter-button:last-child::after {
    content: none;
}

.filter-button {
    font-family: "AC_B", Helvetica, sans-serif;
    font-weight: bold;
    font-style: normal;
    line-height: 90%;
    text-transform: uppercase;
    color: #ffffff;
    opacity: 0.5;
    background: none;
    outline: none;
    border: none;
    padding: 0;
    margin: 0;
    transition: all 0.15s linear;
    cursor: pointer;
}

.filter-button.active,
.filter-button:hover {
    opacity: 1;
}

.info-menu-link {
    width: calc(8.3333333% - 13.3333333px);
    text-align: right;
    line-height: 90%;
}

main.work-main-wrapper {
    width: 100%;
    padding: 300px 20px;
}

.project-index-list-wrapper {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    column-gap: 20px;
    row-gap: 100px;
    flex-wrap: wrap;
}

a.project-block-link-wrapper {
    width: calc(16.6666667% - 16.6666667px);
    text-transform: uppercase;
    opacity: 0.5;
    position: relative;
    z-index: 1;
    transition: all 0.3s linear;
}

a.project-block-link-wrapper:hover,
a.project-block-link-wrapper.active {
    opacity: 1;
}

a.project-block-link-wrapper.hidden {
    opacity: 0.15;
    pointer-events: none;
}

a.project-block-link-wrapper p {
    margin-bottom: 2px;
}

a.project-block-link-wrapper:hover p {
    text-decoration: none !important;
}

a.project-block-link-wrapper p::before {
    content: "[ ";
}

a.project-block-link-wrapper p::after {
    content: " ]";
}

a.project-block-link-wrapper:hover h3,
a.project-block-link-wrapper.active h3 {
    text-decoration: underline;
}

.background-video {
    display: none;
}

.background-video-global {
    display: none;
    width: 100vw;
    height: 100dvh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    transform: translateZ(0);
    will-change: opacity;
    backface-visibility: hidden;
}

.background-video-global video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 1024px) {
    main.work-main-wrapper {
        padding: 50vh 20px;
    }

    .project-index-list-wrapper {
        row-gap: 50px;
    }

    a.project-block-link-wrapper {
        width: 100%;
        padding-left: calc(33.3333333% + 6px);
    }

    .project-block-link-wrapper.active {
        opacity: 1;
    }

    .project-block-link-wrapper.active h3 {
        text-decoration: underline;
    }
}

@media (max-width: 576px) {
    header {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 0;
        padding: 10px;
    }

    .logo-menu-link {
        width: 40%;
        line-height: 110%;
    }

    .logo-menu-link h2 {
        width: 70%;
        line-height: 105%;
    }

    .work-menu-links {
        width: 50%;
        display: block;
    }

    .filter-menu {
        width: 100%;
        margin-top: 10px;
    }

    .filter-button {
        line-height: 120%;
    }

    .info-menu-link {
        width: 10%;
        line-height: 110%;
    }

    main.work-main-wrapper {
        padding: 50vh 10px;
    }

    .project-index-list-wrapper {
        column-gap: 10px;
        row-gap: 30px;
    }

    a.project-block-link-wrapper {
        padding-left: 40%;
    }
}

/* SHOWCASE WORK PAGE STYLE *******************************************************/
a.close-button {
    display: inline-block;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2;
    text-transform: uppercase;
}

.project-video-wrapper {
    position: sticky;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.project-title-wrapper {
    width: 83.3333333%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 20px;
    z-index: 1;
}

.project-title-wrapper h3 {
    margin-bottom: 7px;
}

.project-title-wrapper h3::before {
    content: "[ ";
}

.project-title-wrapper h3::after {
    content: " ]";
}

.project-title-wrapper h1 {
    text-transform: uppercase;
}

.project-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.video-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    padding: 0 20px;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: "AB_B", Helvetica, sans-serif;
    font-weight: bold;
    font-style: normal;
    z-index: 1;
}

.progress-bar {
    flex-grow: 1;
    height: 1px;
    background-color: #FFFFFF;
    margin: 0 20px;
    position: relative;
    cursor: pointer;
}

.progress-filled {
    background: white;
    height: 100%;
    width: 0%;
}

.progress-handle {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 20px;
    background: #FFFFFF;
    cursor: grab;
}

.video-controls h3 {
    opacity: 1;
    cursor: pointer;
    transition: all .15s linear;
}

.video-controls h3:hover {
    opacity: .5;
}

h3#mute-toggle,
h3#fullscreen-toggle {
    margin-right: 20px;
}

div#project-info {
    width: 100%;
    position: relative;
    background-color: rgba(11, 11, 11, .95);
    backdrop-filter: blur(10px);
    padding: 20px 20px 300px 20px;
}

.project-description-wrapper h3 {
    text-transform: uppercase;
    opacity: .5;
}

.project-description-wrapper h2 {
    margin: 100px 0;
}

.aditional-info-project-wrapper {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    column-gap: 20px;
    row-gap: 50px;
    flex-wrap: wrap;
    border-top: 1px solid #858585;
    padding: 100px 0;
}

.info-project-block {
    width: calc(16.6666667% - 16.6666667px);
}

.info-project-block p {
    opacity: .5;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.info-project-block p::before {
    content: "[ ";
}

.info-project-block p::after {
    content: " ]";
}

.info-project-block h3 {
    text-transform: uppercase;
}

.stills-project-wrapper {
    width: 100%;
    padding: 20px 0 300px 0;
    border-top: 1px solid #858585;
    border-bottom: 1px solid #858585;
}

.stills-project-wrapper h3 {
    text-transform: uppercase;
    opacity: .5;
}

.stills-images-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    column-gap: 11.1111111%;
    row-gap: 100px;
    margin-top: 100px;
}

.stills-images-wrapper img {
    width: calc(16.6666667% - 16.6666667px);
}

.stills-images-wrapper img:hover {
    transform: scale(1.1);
}

a.next-project-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    padding-top: 20px;
    opacity: 1;
}

.next-project-title {
    display: inline-block;
    text-transform: uppercase;
}

.next-project-title h3 {
    text-transform: uppercase;
    opacity: .5;
    margin-bottom: 10px;
}

.next-project-title h1 {
    opacity: 1;
    transition: all .15s linear;
}

.next-project-title:hover h1 {
    opacity: .5 !important;
}

.next-project-image {
    width: calc(33.333333% - 10px);
    line-height: 0;
}

@media (max-width: 1024px) {
    .info-project-block {
        width: calc(25% - 15px);
    }

    .stills-images-wrapper img:hover {
        transform: scale(1);
    }
}

@media (max-width: 576px) {
    a.close-button {
        top: 10px;
        right: 10px;
    }

    .project-video-wrapper {
        height: 55vh;
    }

    .project-title-wrapper {
        padding: 10px;
    }

    .project-title-wrapper h3 {
        margin-bottom: 4px;
    }

    .video-controls {
        bottom: 10px;
        padding: 0 10px;
        flex-wrap: wrap;
    }

    .progress-bar {
        margin: 0 10px;
    }

    .progress-handle {
        height: 12px;
    }

    h3#mute-toggle{
        margin-right: 10px;
    }

    h3#fullscreen-toggle {
        margin-right: 0;
    }

    h3#info-toggle {
        display: none;
    }

    div#project-info {
        padding: 10px;
    }

    .project-description-wrapper h2 {
        margin: 50px 0;
    }

    .aditional-info-project-wrapper {
        column-gap: 10px;
        row-gap: 30px;
        padding: 50px 0;
    }

    .info-project-block {
        width: calc(50% - 5px);
    }

    .stills-project-wrapper {
        padding: 10px 0 150px 0;
    }

    .stills-images-wrapper {
        column-gap: 10px;
        row-gap: 10px;
        margin-top: 50px;
    }

    .stills-images-wrapper img {
        width: calc(50% - 5px);
    }

    a.next-project-wrapper {
        padding-top: 10px;
    }

    .next-project-title {
        width: 100%;
        margin-bottom: 7px;
    }

    .next-project-title h3 {
        margin-bottom: 4px;
    }

    .next-project-image {
        width: 100%;
    }
}

/* INFO PAGE STYLE *******************************************************/
main.info-main-wrapper {
    position: relative;
    width: 100%;
    height: 100dvh;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    column-gap: 20px;
    padding: 150px 20px 20px 20px;
}

.bio-contacts-services-wrapper {
    width: calc(66.6666667% - 10px);
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    column-gap: 20px;
    row-gap: 100px;
    flex-wrap: wrap;
    margin-right: 16.6666667%;
}

.contacts-wrapper,
.services-wrapper {
    width: calc(50% - 10px);
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.contacts-wrapper p,
.services-wrapper p,
.showreel-wrapper p,
.website-credits-wrapper p {
    text-transform: uppercase;
    opacity: .5;
    margin-bottom: 10px;
}

.contacts-wrapper p::before,
.services-wrapper p::before,
.showreel-wrapper p::before,
.website-credits-wrapper p::before {
    content: "[ ";
}

.contacts-wrapper p::after,
.services-wrapper p::after,
.showreel-wrapper p::after,
.website-credits-wrapper p::after {
    content: " ]";
}

.contacts-wrapper a {
    display: inline-block;
    text-transform: uppercase;
    opacity: 1;
    transition: all .15s linear;
}

.contacts-wrapper a:hover {
    opacity: .5;
    cursor: pointer;
}

.contacts-wrapper h2 {
    line-height: 110%;
}

.services-wrapper h2 {
    text-transform: uppercase;
    line-height: 110%;
}

.portrait-wrapper {
    width: calc(16.6666667% - 10px);
}

.footer-info-wrapper {
    width: calc(100% - 40px);
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    column-gap: 20px;
    position: absolute;
    bottom: 20px;
}

.showreel-wrapper {
    width: calc(16.6666667% - 13.3333333px);
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    position: relative;
    margin-right: 16.6666667%;
}

.showreel-thumbnail-wrapper {
    width: 100%;
    position: relative;
    display: flex;
    cursor: pointer;
}

.showreel-thumbnail-wrapper img:nth-child(1) {
    opacity: 1;
    transition: all .15s linear;
}

.showreel-thumbnail-wrapper img:nth-child(2) {
    position: absolute;
    width: 25px;
    height: 25px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
    transition: all .15s linear;
}

.showreel-thumbnail-wrapper:hover img {
    opacity: .5;
}

.website-credits-wrapper {
    width: calc(33.3333333% - 13.3333333px);
    margin-right: 8.33333333%;
}

.website-credits-wrapper a {
    display: inline-block;
    text-transform: uppercase;
    opacity: 1;
}

.website-credits-wrapper a:hover {
    opacity: .5;
}

.copyright {
    width: calc(25% - 13.3333333px);
    text-align: right;
    text-transform: uppercase;
    opacity: .5;
}

.showreel-video-wrapper {
    display: none;
    transform-origin: bottom left;
    transform: scale(0);
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    transition: transform 0.75s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.75s cubic-bezier(0.65, 0, 0.35, 1);
    background: #0b0b0b;
    z-index: 110;
}

.showreel-video-wrapper.active-video {
    display: block;
    transform: scale(1);
    opacity: 1;
}

h3.close-showreel {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1;
    text-transform: uppercase;
    cursor: pointer;
    opacity: .5;
    transition: all .15s linear;
}

h3.close-showreel:hover {
    opacity: 1;
}

.showreel-video-wrapper h3#fullscreen-toggle {
    margin-right: 0;
}

@media (max-width: 576px) {
    main.info-main-wrapper {
        height: 100%;
        column-gap: 10px;
        padding: 120px 10px 10px 10px;
    }

    .portrait-wrapper {
        width: 50%;
        margin-left: 50%;
        margin-bottom: 15px;
        order: 1;
    }

    .bio-contacts-services-wrapper {
        width: 100%;
        column-gap: 10px;
        row-gap: 50px;
        margin-right: 0;
        order: 2;
    }

    .footer-info-wrapper {
        width: 100%;
        flex-wrap: wrap;
        column-gap: 10px;
        position: relative;
        bottom: 0;
        margin-top: 100px;
        order: 3;
    }

    .contacts-wrapper p,
    .services-wrapper p,
    .website-credits-wrapper p {
        margin-bottom: 5px;
    }

    .contacts-wrapper h2,
    .services-wrapper h2 {
        line-height: 125%;
    }

    .showreel-wrapper {
        width: calc(50% - 5px);
        margin-right: calc(50% - 5px);
        margin-bottom: 120px;
    }

    .website-credits-wrapper {
        width: calc(50% - 5px);
        margin-right: 0;
    }

    .copyright {
        width: calc(50% - 5px);
    }

    h3.close-showreel {
        top: 10px;
        right: 10px;
    }
}