@charset "utf-8";

@font-face{
    font-family: NeueHaas;
    src:url(../font/NeueHaasDisplayLight.ttf);
    font-weight: normal;
    font-display: swap;
}

@font-face{
    font-family: bingo;
    src:url(../font/bingo.ttf);
    font-weight: normal;
    font-display: swap;
}

*{
    padding:0px;
    margin:0px; 
}

  video::-webkit-media-controls {
    display:none !important;
}

body{
    overflow-y: hidden;
    overflow-x: hidden;
    margin: 0px;
    padding: 0px;
    width: 100%;
    height: 100%;
}

body.work{
    overflow-y: scroll;
}

h1{
    font-family: bingo;
    font-weight: normal;
    font-size: 50px;
    line-height: 80%;
}

h2{
    font-family: NeueHaas, helvetica, sans-serif;
    font-weight: 300;
    font-size: 28px;
}

h3{
    font-family: NeueHaas, helvetica, sans-serif;
    font-size: 14px;
    line-height: 17px;
    text-transform: uppercase;
    font-weight: 300;
}
a{
    font-family: NeueHaas, helvetica, sans-serif;
    font-size: 20px;
    text-decoration: underline;
    color:black
}

a:hover, #modal-toggler:hover{
    color:#0068ff !important;
    cursor: pointer;

}

#modal-toggler{
    display: block;
}

a:visited {
    color:black;
}

a.work{
    text-decoration: none;
    color:black;
}


.title{
    margin-left: 20px;
    font-size: 100px;
    line-height: 90%;
}

p{
    font-family: NeueHaas, helvetica, sans-serif;
    font-size: 20px;
    line-height: 21px;
}

#modal-toggler, a:visited{
    color: black;
}

#more{
    font-family: NeueHaas, helvetica, sans-serif;
    font-size: 16px;
    line-height: 17px;
    text-decoration: underline;
}

#more:hover{
    color:#0068ff;
    cursor: n-resize;
}



div.content{
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

div.info-container{
    position: absolute; 
    bottom: 0;
    display: flex;
    flex-direction: row;
    width: 100%;
    z-index: 10;
    justify-content: space-between;
}

div.info-container.locked{
    position: fixed;
}

div.info-column{
    padding: 0 20px 20px;
    display: flex;
    width: 25%;
    flex-direction: column;
    justify-content:flex-end;
}

div.info-row{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 20px;
}

a h1{
    font-size: 75px;
}

a h1:hover{
    color:#0068ff;
}


div.link-row{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

canvas{
    max-width: 100%;
    overflow: clip;
    z-index: 0;
    transition: opacity 0.3s ease-in-out;
}

div.lottie{
    display: flex;
    position: absolute;
    width: 30vw;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    align-items: center;
    z-index: 2;
    transition: opacity 0.3s ease-in-out;
}

div.lottie.light{
    display: block;
}

div.lottie.dark{
    display: none;
    overflow: hidden;
}


div.modal-body{
    position: absolute;
    width: 900px;
    height: 600px;
    background: rgba(217, 217, 217, 0.83);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8.9px);
    -webkit-backdrop-filter: blur(8.9px);
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: none;
    padding: 20px;
    z-index: 11;
    overflow: hidden;
    overflow-y: scroll;
}

div.filter-bar{
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
}

div.works-page div.modal-header{
    margin: 0 20px;
}

div.filter-bar a{
    text-decoration: none !important;
}

div.filter-bar a:hover{
    color:#0068ff;
}

/* Hide scrollbar for Chrome, Safari and Opera */
div.modal-body::-webkit-scrollbar {
    display: none;
  }

  div.modal-body::-webkit-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  }

div.modal-header{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 20px;
    position: sticky;
    gap:20px;
    top: 0;
    z-index: 5;
}

div.modal-body span{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
}

div.modal-body span:hover{
    cursor: pointer;
    color:#0068ff
}

div.works-container{
    display: flex;
    align-items: flex-start;
    align-content: flex-start;
    gap: 20px;
    align-self: stretch;
    flex-wrap: wrap;
    flex: 0 0 100%;
    transition: width 0.5s ease-in-out;
    transition: height 0.5s ease-in-out;
}

div.single-work{
    display: flex;
    flex-direction: column;
    width: 440px;
    overflow: hidden;
    justify-content: space-between;
}



.web, .video, .motion, .identity{
    filter: blur(0px);
    transition: filter 0.5s ease-in-out;
}

a.filter.active{
    color:white;
}

div.mini-cover{
    display: flex;
    background: black;
    justify-content: center;
    margin-bottom: 10px;
    aspect-ratio: 16/9;
    align-items: center;
    overflow: hidden;
}

div.mini-cover img{
    max-width: 90%;
    margin: 10px 10px;
    justify-self: flex-start;
}

div.mini-cover video{
    justify-self: flex-start;
    height: 90%;
    width: 90%;
}

div.works-btn-container{
    position: absolute;
    top: 0;
    right: 0;
    padding: 20px 20px 0 0;
    z-index: 1;
}

#works-btn{
    display: none;
}

.mobile{
    display: none;
}

div.work-page{
    width: 80%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 60px;
    max-width: 1400px;
}

div.img-data{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 3px;
}

div.work-img{
    padding: 20px;
    display: flex;
    overflow:hidden;
    background: black;
    justify-content: space-around;
}

div.work-line{
    display: flex;
    gap:20px;
}

div.work-col{
    flex:1 !important;
    display: flex;
    flex-direction: column;
}

.wide{
    
    aspect-ratio: 16/9;
}

.wide:has(iframe){
    align-items: center;
}

.square{
    aspect-ratio: 1/1 !important;
    
}

.portrait{
    aspect-ratio: 9/16 !important
}

div.work-img img{
    width: 100%;
    object-fit: contain;
}

div.work-img video{
    width: 100%;
    
    object-fit: contain;
}

div.work-img iframe{
    height: 100%;
    width: 100%;
    object-fit: contain !important;
}

div.work-desc{
    display:flex;
    width: 50%;
    align-self: flex-end;
    margin-right: 20px;
}



div.work-line, div.work-col{
    margin-left: 20px;
}

div.work-line div.work-col{
    margin-left: 0;
}

/* width */
::-webkit-scrollbar {
    width: 10px;
  }
  
/* Track */
::-webkit-scrollbar-track {
background: #d1d1d1;
}

/* Handle */
::-webkit-scrollbar-thumb {
background: #0068ff;
}

div.work-navigation{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 0 20px 130px;
    align-items: flex-end;
}

div.work-navigation a{
    font-size: 80px;  
}

div.works-page{
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 180px;
    align-items: stretch;
}

div.works-page div.works-container{
    margin:0 20px;
}



div.works-page a.filter.active{
    color: #0068ff;
}

div.works-page div.modal-header{
    top: 20px;
}

video{
    pointer-events: none;
}

div.faulty{
    display: none;
}

div.single-work-works{
    display: flex;
    flex-direction: column;
    overflow: hidden;
    justify-content: space-between;
}

div.credits{
    display: flex; 
    flex-direction: row;
    gap: 20px;
    margin-left: 20px;
}


@media screen and (min-width: 1100px) {
    div.single-work-works{
        max-width: 540px;
    }

    div.works-page{
        max-width: 1140px;
    }
}

@media screen and (min-width: 1460px) {
    div.single-work-works{
        max-width: 460px;
    }

    div.works-page{
        max-width: 1460px;
    }
}

@media screen and (max-width:1280px) {
    div.faulty{
        display: flex;
    }
    
    div.fix{
        display: none;
    }

}

@media screen and (max-width:550px){
    div.info-row{
        flex-direction: column;
        align-items:flex-start;
    }

    div.info-row a h1{
        font-size: 30px;
    }
}

@media screen and (max-width: 1150px){
    div.link-row{
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }

    div.modal-body{
        width: 700px;
        height: 500px;
        transition: width 0.5s ease-in-out;
        transition: height 0.5s ease-in-out;
    }

    div.single-work{
        width: 340px;
    }

    div.work-navigation a{
        font-size: 60px;  
    }
}


@media screen and (max-width: 768px){

    h1{
        font-size: 35px;
    }

    h2{
        font-size: 24px;
    }

    #modal-toggler{
        display: none;
    }

    #works-btn{
        display: block;
    }
    
    div.info-column{
        width: 50%;
    }

    .title{
        font-size: 70px;
        margin-right: 20px;
    }

    a h1{
        font-size: 60px;
    }

    div.work-page{
        width: 100%;
    }

    div.work-line, div.work-col, div.work-desc{
        margin-right: 20px !important;
    }

    div.work-line div.work-col{
        margin-right: 0 !important;
    }

    div.modal-body{
        display: none!important;
    }

    div.work-line{
        flex-direction: column;
    }

    div.work-navigation{
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 180px;
    }

    .reel{
        aspect-ratio: 9/16 !important;
    }

    div.lottie{
        width: 250px;
    }

}


@media only screen and (max-width: 431px){
    .lottie{
        display: none;
    }
    
    .mobile{
        display: block;
    }

    .title{
        font-size: 50px;
    }

    div.info-row{
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    div.info-row div{
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    div.info-column{
        gap: 10px;
    }

    .desktop{
        display: none;
        overflow:hidden
    }

    p{
        font-size: 16px;
        line-height: 17px;
    }

    h1{
        font-size: 30px;
    }

        h2{
        font-size: 24px;
    }

    .year{
        display:none;
    }

    
    div.work-navigation a{
        font-size: 40px;  
    }

}

@media only screen and (max-width: 360px){
    a{
        font-size: 18px !important;
    }

    div.work-navigation{
        gap:10px;
    }

    h2{
        font-size: 20px !important;
    }

    h2.title{
        font-size: 40px !important
    }

    div.img-data{
        gap:10px;
    }

}

@media only screen and (max-width: 300px){
    div.info-container{
        flex-direction: column;
    }

    div.link-row{
        align-items: flex-start;
    }

    p{
        font-size: 14px;
        line-height: 16px;
    }

    #more{
        display: none;
    }

    #desc{
        max-height: 0 !important;
     }

     div.work-navigation{
        margin-bottom: 250px;
    }
}

@media screen and (max-height: 380px) and (max-width: 300px){
    div.info-column.watch{
        display: none !important;
    }
}

@media screen and (max-height: 250px){
    h1{
        font-size: 30px;
    }

    h2{
        font-size: 24px;
    }
}

@media screen and (max-height: 650px){
    div.modal-body{
        height: 400px;
        transition: width 0.5s ease-in-out;
        transition: height 0.5s ease-in-out;
    }

    #more{
        display: none;
    }

    #desc{
       max-height: 0 !important;
    }
}

@media screen and (max-height: 430px){
    div.modal-body{
        height: 200px;
    }

    #modal-toggler{
        display: none;
    }

    #works-btn{
        display: block;
    }

    div.link-row{
        display: flex;
        flex-direction: column;
        align-items:flex-end
    }
}

@media (prefers-color-scheme: dark){
    html, body {
        background-color: #1e1e1e;
        color: white;
    }



    #more:hover, #modal-toggler:hover, a:hover, div.modal-body span:hover, a h1:hover, div.works-page a.filter.active{
        color: #f3fd30!important;
    }

    #modal-toggler, a:visited, a,div.single-work-works, div.works-page div.filter-bar a{
        color: white;
    }

    div.modal-body h2,span, a div.single-work, div.filter-bar a{
        color:black;
    }

    div.lottie.dark{
        display: block;
    }

    div.lottie.light{
        display: none;
        overflow: hidden;
    }

    /* Handle */
    ::-webkit-scrollbar-thumb {
    background: #f3fd30;
    }
}