:root{
    --background:#000000;
    --main: #fff;
    --anim-timer: 1s;

}
@font-face {
    font-family: 'Grotesque MTS';
    src: url('fonts/GrotesqueMTStd.woff2') format('woff2'),
         url('fonts/GrotesqueMTStd.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Helvetica Neue';
    src: url('fonts/helveticaneue-medium.woff2') format('woff2'),
        url('fonts/helveticaneue-medium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
html{
    box-sizing: border-box;
    background-color: var(--background);
    font-family: 'Helvetica Neue', sans-serif;
    color: var(--main);
    font-size: 12px;
    letter-spacing: 0.5px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
html::-webkit-scrollbar{
    display: none;
}
body{margin: 0;}
body > *{
    margin: 0;
    scrollbar-width: none;
}
*, *:before, *:after{
    box-sizing: inherit;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
p{margin: 0;}

a{all:unset}
a:hover{cursor: pointer;}
.color{display: none;}
p{line-height: 1.5;}
/* HEADER */
header{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 15px;
    height: 70px;
    position: sticky;
    top: 0;
    background-color: black;
    z-index: 2;
}
ul{
    display: flex;
    justify-content: center;
}
ol{ margin: 10px; line-height: 1.5;}
ol, ol li{padding: 0;}

.menu{padding: 0; margin: 0; gap: 15px;}
li{list-style-type: none; padding: 0 10px; text-transform: capitalize;}
.sub-menu {text-align: right;}
.sub-menu .menu{justify-content: flex-end;}
.menu li{padding: 0;}

/* HOME PAGE */
.content.home{
    /* overflow: hidden;
    height: calc(100vh - 70px); */
    position: fixed;
    width: 100%;
}
.content.home .fifi{
    position: relative;
    transition: transform 0.5s;
}
/* .content.home .fifi .static{ position: absolute; text-align: left; z-index: 2; bottom: 15px;} */
.proj-info {
    position: absolute;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    bottom: 15px;
}
.content.home .fifi .static *{ margin: 0; text-shadow: 0px 0px 2px black; text-align: left;}
.content.home .fifi .landscape .static *{ max-width: 55vw;}
/* .content.home .fifi .left-col.static{ position: absolute;} */
/* .content.home .fifi .right-col.static{ right: 0;} */
/* FEATURED */
.featured{
    position: fixed;
    top: 0;
    width: 100vw;
    height: 100vh;
}
.featured .gallery-image{
    position: absolute;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    height: auto;
}
.featured .gallery-image .image{
    object-fit: cover;
}
.featured .gallery-image .image.landscape {height: 100%;}
.featured .gallery-image .image.portrait { width: 100%;}
/* WORK MENU */
.content{padding: 0; scrollbar-width: none;}
.content::-webkit-scrollbar{display: none;}
.content.flex, .content.about, .content.clients{padding: 15px; padding-top: 0;}
.content.flex{
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-evenly;
    gap: 50px;
}
.content .project{position:relative; width: 180px; overflow: hidden; /*transition: all 0.8s;*/}
.client{text-align: center;}
.icon-description{position: absolute; transition: all 0.8s; text-shadow: 1px 1px 3px #000; opacity: 0;}
.icon-description{top: 0; pointer-events: none;}
.icon-image img{
    height: 100%;
    position: absolute;
    top: -9999px;
    bottom: -9999px;
    left: -9999px;
    right: -9999px;
    margin: auto;
}
 .icon-image{position: relative; height: 25vh;} 
.icon-image:before {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: var(--main);
    mix-blend-mode: color;
    z-index: 3;
}
.project:hover .icon-description{opacity: 1;}
.icon-image:hover{opacity: 0.3;}
.icon-image:hover:after, .icon-image:hover:before{opacity: 0;}

/* projects  */
.gallery{text-align: center; position: relative; margin: 0 15px;}
.gallery-image{
    /* display: none;  */
    height: calc(100vh - 70px); width: 100%;}
.gallery-image.shown{display: block;}
.gallery-image .vimeo{pointer-events: none;}
.gallery-image .vimeo, .gallery-image .vimeo iframe{height: 100vh; width: 100vw;}
.gallery-image .image, .gallery-image .vimeo iframe{
    max-height: 100%;
    max-width: 100%;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.image.video.cover{height: 100%;}

.flickity-button {
    background: none !important;
    color: var(--main) !important;
}
.flickity-button:disabled{display: none;}
.flickity-prev-next-button{width: fit-content !important; padding: 0;}
.flickity-prev-next-button .flickity-button-icon {display: none;}
.flickity-prev-next-button.previous{left: 0 !important;}
.featured .flickity-prev-next-button.previous{left: 15px !important;}
.flickity-prev-next-button.previous::after{content: 'Y';}
.flickity-prev-next-button.next{right: 0 !important;}
.featured .flickity-prev-next-button.next{right: 15px !important;}
.flickity-prev-next-button.next::after{content: 'Z';}
.caption, .more-images{display: none;}

/* About & Clients */
.content.about, .content.clients{ height: 90vh;}
.content.clients{display: flex; flex-flow: wrap column;}
.content.about{ display: grid; grid-template-columns: repeat(4, 1fr); overflow-x: scroll;}
.content.about .column{min-width: 250px;}
.column {
    max-height: 100%;
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.column::-webkit-scrollbar {
    display: none;
}
.content p{
    margin: 10px;
    max-width: 20vw;
}
.column h1 {
    font-size: 1rem;
    font-weight: normal;
    letter-spacing: 0.3rem;
    margin: 10px;
}
.menu.about-mobile-footer{display: none;}

/* FOOTER */
.footer{
    display: flex;
    justify-content: space-between;
    margin: 0 10px;
    position: fixed;
    width: calc(100% - 20px);
    bottom: 15px;
    align-items: flex-start;
}
.footer.about {justify-content: center;}
.mobile-description{display: none;}
/* mobiles */
@media screen and (max-width: 500px) {
    li{padding: 0;}
    header{
        /* position: fixed;
        width: 100%; */
        grid-template-columns: auto; 
        z-index: 4; height: auto; 
        padding: 0 10px 5px;
    }
    header.home{
        position: fixed;
        width: 100%;
    }
    header *{margin: 0;}
    header .menu{justify-content: flex-start;}
    header .main-menu.menu li:last-child, footer .menu.about-mobile-footer li:last-child {
        flex-grow: 2;
        text-align: right;
    }
    /* .description{grid-row-start: 2; text-align: center; margin: 0;} */
    .description{display: none;}

    .sub-menu{margin: 0}
    header .main-menu.menu, .arrows, .menu.about-mobile-footer{font-size: 4rem; gap: 0;}
    .sub-menu .menu {
        justify-content: flex-start;
        gap: 10px;
        font-size: 1.1rem;
        flex-wrap: wrap;
    }
    .sub-menu .menu.client-list {display: none;}
    /* .sub-menu .menu li a:before { content: 'x'; font-size: 0.8rem;} */
    .fifi .gallery{height: calc(100vh - 70px);}
    /* .fifi .gallery{height: calc(100vh - 145px);} */
    /* .proj-info {flex-direction: column; align-items: flex-start; bottom: 85px;} */
    .proj-info {flex-direction: column; align-items: flex-start; bottom: 10px;}
    .proj-info .static > *:not(.more-images){display: none;}
    .static ul {justify-content: flex-start;}
    .content.home{
        top: 10%;
        height: 90%;
    }
    .content.about{display: block; flex-direction: column; font-size: 1.1rem; overflow-x: auto;}
    .content.flex{justify-content: space-between; gap: 15px 0;}
    .content .project{width: 150px;}
    .content.about .column{height: fit-content; max-height: initial;}
    .column > *{margin: 15px 0 !important;}
    .column h1{font-size: 4rem; line-height: 1; font-weight: normal;}
    .content p{max-width: fit-content;}
    .gallery{ margin: 0 10px;}
    .gallery-image{height: calc(100vh - 120px);}
    /* .gallery-image .image{
        max-height: 80%;
        max-width: 100%;
        top: 40%;
    } */
    .gallery .gallery-image .image{
        position: relative;
        top: 0;
        left: 0;
        transform: none;
    }
    .gallery-image .vimeo iframe{top: 135px;}
    .flickity-prev-next-button{display: none;}
    .image.cover{
        height: 100%; 
        /* top: 50%;  */
        /* max-width: inherit; */
    }
    .mobile-description{display: block;}
    .mobile-description .menu{justify-content: flex-start;}
    .more-images{display: block; margin: 0; line-height: 0.5;}
    .right-col.static {
        display: flex;
        justify-content: flex-end;
        width: 100%;
        align-items: flex-end;
    }
    .right-col .more-images {display: inline;}
    .menu.about-desktop-footer{display: none;}
    .menu.about-mobile-footer{display: flex; justify-content: flex-start; padding: 0 15px; width: 100%;}
}