*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: content-box;
}

:root {
    --green: #629640;
    --beige: #FEFEF4;
    --sectionHeight: 100lvh;
}

html {
    scroll-behavior: smooth;
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}


@font-face {
    font-family: 'Balto';
    font-weight: 300;
    src: url(../fonts/balto-thin-webfont.woff2);
    src: url(../fonts/balto-thin-webfont.woff);
}

@font-face {
    font-family: 'Balto';
    font-weight: 400;
    src: url(../fonts/balto-book-webfont.woff2);
    src: url(../fonts/balto-book-webfont.woff);
}

@font-face {
    font-family: 'Balto';
    font-weight: 500;
    src: url(../fonts/balto-medium-webfont.woff2);
    src: url(../fonts/balto-medium-webfont.woff);
}

@font-face {
    font-family: 'Balto';
    font-weight: 700;
    src: url(../fonts/balto-black-webfont.woff2);
    src: url(../fonts/balto-black-webfont.woff);
}

@font-face {
    font-family: 'Balto';
    font-weight: 800;
    src: url(../fonts/balto-ultra-webfont.woff2);
    src: url(../fonts/balto-ultra-webfont.woff);
}

@font-face {
    font-family: 'Futura';
    font-weight: 500;
    src: url(../fonts/futuraptmedium-webfont.woff2);
    src: url(../fonts/futuraptmedium-webfont.woff);
}

@font-face {
    font-family: 'Futura';
    font-weight: 600;
    src: url(../fonts/futuraptdemi-webfont.woff2);
    src: url(../fonts/futuraptdemi-webfont.woff);
}

@font-face {
    font-family: 'Futura';
    font-weight: 700;
    src: url(../fonts/futuraptheavy-webfont.woff2);
    src: url(../fonts/futuraptheavy-webfont.woff);
}

@font-face {
    font-family: 'Futura';
    font-weight: 800;
    src: url(../fonts/futuraptbold-webfont.woff2);
    src: url(../fonts/futuraptbold-webfont.woff);
}

body {
    background-color: #1E1E1E;
}

.snap_scroller_wrapper {
    scroll-snap-type: y mandatory;
    overflow: scroll;
    height: var(--sectionHeight);
    scroll-behavior: smooth;
}

section {
    scroll-snap-align: center;
    scroll-snap-stop: always;
    position: relative;
    height: var(--sectionHeight);
    overflow: hidden;
}

.background_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#directors_checkbox,
#service_production_checkbox {
    display: none;
}

.logo_anchor {
    position: relative;
    width: 10%;
    min-width: 80px;
    max-width: 140px;
    transition: transform 150ms linear !important;
}

.logo_anchor:hover {
    transform: scale(110%);
}

@media (max-width: 400px) {
    .logo_anchor:hover ~ label {
        color: var(--beige)
    }
}

.logo_anchor::after {
    content: "Let's talk!";
    position: absolute;
    left: 100%;
    top: 55%;
    font-family: arial;
    text-transform: none;
    font-size: 9px;
    font-weight: 200;
    white-space: nowrap;
    background-color: var(--green);
    padding: 6px;
    border-radius: 5px;
    border-top-left-radius: 0;
    color: var(--green);
    opacity: 0;
    transform: translateX(-10px);
    transition: color 150ms linear 200ms, opacity 250ms linear 50ms, transform 250ms linear 100ms;
}

.logo_anchor:hover::after {
    color: white;
    opacity: 1;
    transform: translateX(-4px);
}

.logo_anchor_img {
    width: 100%;
    object-fit: cover;
}

.directors_wrapper {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--beige);
    height: auto;
    overflow-y: scroll;
    opacity: 0;
    z-index: 20;
    pointer-events: none;
    transition: opacity 250ms ease-in;
}

#directors_checkbox:checked ~ .directors_wrapper {
    opacity: 1;
    pointer-events: all;
}

.directors_header {
    width: 100%;
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.directors_header * {
    text-decoration: none;
    color: var(--green);
    text-transform: uppercase;
    font-family: 'Balto';
    font-weight: 700;
    font-size: min(16px, 6vw);
    transition: color 150ms linear;
}

.directors_header *:hover {
    color: black;
}

.directors_header label,
.directors_header a {
    margin: auto;
}

.directors_wrapper .directors_list {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 40px ;
}

.directors_wrapper .directors_list h3 {
    font-family: 'Futura';
    text-transform: uppercase;
    margin: calc(5px + 1vw);
    font-weight: 600;
    font-size: clamp(20px, 2vw, 40px);
}

.directors_wrapper .directors_list ul {
    list-style: none;
    width: 100%;
    display: grid;
    gap: 2px;
}

.directors_wrapper .directors_list ul li {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;


    /* transition: background-color 200ms linear;
    opacity: 0;
    transform: translateX(-40%); */
}

/*
#directors_checkbox:checked ~ .directors_wrapper .directors_list ul li {
    animation: slideIn 350ms linear forwards;

}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(-40%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
} */

.directors_wrapper .directors_list ul li * {
    grid-column: 1;
    grid-row: 1;
}

.directors_wrapper .directors_list ul li video {
    width: 100%;
    aspect-ratio: 3 / 1;
    object-fit: cover;
}

.directors_wrapper .directors_list ul li a {
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Balto';
    font-size: clamp(15px, 5vw, 70px);
    font-style: italic;
    letter-spacing: .05rem;
    font-weight: 600;
    transition: color 200ms linear;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    mix-blend-mode: difference;
}

.directors_wrapper .directors_list ul li a:hover {
    mix-blend-mode: normal;
    text-decoration: underline currentColor 3px;
}


.section_header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: auto auto auto;
    margin: 0 auto;
    width: 100%;
    max-width: 1500px;
    height: 0;
    z-index: 2;
}

.section_header_item {
    padding: 18px;
    text-decoration: none;
    height: 20px;
    color: var(--green);
    text-transform: uppercase;
    font-family: 'Balto';
    font-weight: 500;
    font-size: min(16px, 6vw);
    transition: color 150ms linear;
    cursor: default;
    margin: auto;
}

.section_header_item:hover {
    color: var(--beige);
}

.directors_info_wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    box-sizing: border-box;
}

.directors_name {
    position: relative;
    margin-top: auto;
    text-transform: capitalize;
    font-family: 'Balto';
    font-style: italic;
    font-weight: 500;
    color: var(--green);
    font-size: clamp(25px, 4vw, 50px);
    text-align: center;
}

.directors_name::before {
    content: '';
    display: block;
    height: 60px;
    width: 100%;
}

.directors_info_logo_wild {
    width: 15%;
    max-width: 200px;
    margin: 2vh auto;
}

.directors_selected_works_text {
    font-family: 'Balto';
    font-size: clamp(12px, 2vw, 25px);
    font-weight: 300;
    letter-spacing: 1px;
    word-spacing: 1px;
    line-height: 1.5;
    width: 40ch;
    text-align: center;
    margin: auto;
    margin-top: 2vw;
}

.directors_selected_works_text strong {
    font-family: 'Futura';
    font-weight: 400;
}

.service_production_wrapper {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 100%;
    width: 100%;
    height: auto;
    overflow-y: scroll;
    z-index: 20;
    pointer-events: none;
    -webkit-transition: transform 700ms cubic-bezier(0.68, 0.43, 0.36, 0.51);
    transition: transform 700ms cubic-bezier(0.68, 0.43, 0.36, 0.51);
    background-color: rgba(0, 0, 0, 0.4);
    /* color: var(--beige);
    background-image: url(photo/service-production.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-blend-mode: darken; */

    background-color: var(--beige);
    color: black;
}

#service_production_checkbox:checked ~ .service_production_wrapper {
    transform: translateX(-100%);
    pointer-events: all;
}

.service_production_header {
    width: 100%;
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr;
}


.service_production_header > * {
    text-decoration: none;
    color: var(--green);
    text-transform: uppercase;
    font-family: 'Balto';
    font-weight: 700;
    padding: 20px 0;
    margin: auto;
    font-size: min(16px, 6vw);
    transition: color 150ms linear;
}

.service_production_header *:hover {
    color: black;
}

.service_production_info {
    font-family: 'Futura';
}

.service_production_h2 {
    width: 80%;
    max-width: 1000px;
    display: block;
    margin: auto;
    margin-top: 3vw;
    text-transform: uppercase;
    font-weight: 700;
    font-size: clamp(15px, 4vw, 28px);
}

.service_production_locations_list {
    width: 80%;
    max-width: 1000px;
    margin: 25px auto;
    list-style: none;
    font-size: clamp(12px, 3vw, 21px);
    display: flex;
    flex-wrap: wrap;
}

.service_production_locations_list li {
    position: relative;
    padding-top: 15px;
    line-height: 1.4;
    color: var(--green);
    margin-right: 15px;
}

.service_production_locations_list li::before {
    content: '';
    display: inline-block;
    height: 20px;
    width: 1px;
    margin: auto 15px;
    margin-left: 0;
    background-color: var(--green);
}

.service_production_locations_list li:last-of-type::after {
    content: '';
    display: inline-block;
    height: 20px;
    width: 1px;
    margin: auto 15px;
    background-color: var(--beige);

}

.service_production_info p {
    width: 80%;
    max-width: 1000px;
    margin: 30px auto;
    font-size: clamp(14px, 3.5vw, 25px);
}

.service_production_contact label {
    position: relative;
    text-decoration: none;
    color: var(--green);
    text-transform: capitalize;
    border-bottom: 1px transparent solid;
    transition: border 150ms linear, color 200ms linear;
}

.service_production_contact label:hover {
    color: black;
    border-bottom: 1px white solid;
}

.service_production_contact label::after {
    content: '';
    position: absolute;
    display: block;
    width: 0%;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: black;
    transition: width 200ms linear;
}

.service_production_contact label:hover::after {
    width: 100%;

}

.production_service_video {
    width: 80%;
    display: block;
    max-height: 90lvh;
    border-radius: 10px;
    margin: 3rem auto;
    object-fit: cover;
}

.layer_on_top {
    margin-top: auto;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.video_link {
    flex: 1;
    text-decoration: none;
    color: white;
    font-family: 'Futura';
    text-transform: uppercase;
    white-space: nowrap;
    display: flex;
}

.video_link_hover {
    position: relative;
    margin-top: auto;
    margin-left: auto;
    width: max-content;
    padding: 10px 15px;
    padding-right: 10vw;
    transform: translateX(100%);
    transition: transform 500ms ease-in-out;
    transition-delay: 250ms;
    cursor: pointer;
    background-color: black;
    border-top-left-radius: 10px;
}

.video_link_hover:hover {
    transform: translateX(0);
    transition-delay: 0ms;
}

.video_link_hover::before {
    content: 'play video';
    position: absolute;
    display: flex;
    right: 100%;
    top: 0;
    height: 100%;
    background-color: black;
    align-items: center;
    font-size: clamp(9px, 3vw, 21px);
    padding-left: 20px;
    padding-right: 10vw;
    border-top-left-radius: 10px;
    transition: color 300ms ease-in-out 400ms, transform 500ms ease-in-out 150ms;
    z-index: -1;
}

.video_link_hover:hover::before {
    color: black;
    transition: color 300ms ease-in-out 200ms, transform 500ms ease-in-out 150ms;
    transform: translateX(100%);
}

.is_wildboar::after {
    content: '';
    position: absolute;
    display: block;
    width: 40px;
    height: 40px;
    bottom: calc(100% - 15px);
    background-image: url(../photo/logo_wild_boar.svg);
    left: 10px;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
}


.video_link_client {
    font-size: clamp(12px, 4vw, 28px);
    font-weight: 900;
}


.down_scroll_arrow {
    position: relative;
    width: 100%;
    height: 50px;
    display: flex;
    cursor: s-resize;
    margin-top: auto;
}

.down_scroll_arrow::after {
    content: '';
    width: 20px;
    height: 20px;
    margin: auto;
    transform: translateY(-15px) rotate(45deg);
    border-right: 2px var(--beige) solid;
    border-bottom: 2px var(--beige) solid;
}

.down_scroll_arrow::before {
    position: absolute;
    content: '';
    width: 20px;
    height: 20px;
    margin: auto;
    border-right: 1px var(--beige) solid;
    border-bottom: 1px var(--beige) solid;
    left: 50%;
    top: 0;
    transform: translate(-50%, -15px) rotate(45deg);
    animation: arrowFade 3s linear infinite;
}

@keyframes arrowFade {
    0% {
        transform: translate(-50%, -15px) rotate(45deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    25%, 100% {
        transform: translate(-50%, 0) rotate(45deg);
        opacity: 0;

    }
}


@media (max-width: 480px) {

    section {
        scroll-snap-align: none;
        height: 40vh;
    }

    .video_link_hover {
        transform: translateX(0);
        transition-delay: 0ms;
    }

    .video_link_hover::before {
        color: black;
        transition: color 300ms ease-in-out 200ms, transform 500ms ease-in-out 150ms;
        transform: translateX(100%);
    }

    .down_scroll_arrow::after,
    .down_scroll_arrow::before {
        width: 15px;
        height: 15px;
    }
}

.full_screen_player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -30;
    display: flex;
    opacity: 0;
    pointer-events: none;
    background-color: black;
}


.video_player {
    width: 100%;
    height: auto;
    min-height: 200px;
    transition: transform 350ms ease-out 550ms;
}

.close_video {
    position: absolute;
    display: block;
    width: 40px;
    height: 40px;
    top: 15px;
    right: 15px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}

.close_video::after,
.close_video::before {
    content: '';
    width: 25px;
    height: 4px;
    background-color: white;
    margin: auto;
    grid-column: 1;
    grid-row: 1;
    transition: background-color 100ms linear;
}

.close_video::after {
    transform: rotate(45deg);
}

.close_video::before {
    transform: rotate(-45deg);
}

.close_video:hover::after,
.close_video:hover::before {
    background-color: grey;
}
