@charset "utf-8";

/* VARIABLES */
:root {
  /* colours */
  --black: #0f0f0f;
  --white: #ffffff;
  --red: #00ffff;     /* original #ff0000 */
  --orange: #0080ff;  /* original #ff7f00 */
  --yellow: #0000ff;  /* original #ffff00 */
  --green: #ff00ff;   /* original #00ff00 */
  --blue: #ffff00;    /* original #0000ff */
  --purple: #74ff00;  /* original #8b00ff */
  --pink: #00964b;    /* original #ff69b4 */
  --brown: #a6c2ff;   /* original #593d00 */
  --grey: #7f7f7f;    /* original #808080 */
  /* paddings */
  --padding_large: 5vh;
  --padding_medium: 2vh;
  --padding_small: 0.5vh;
}

/* FONTS */
@font-face {
  font-family: "neue bold";
  src: url("../assets/fonts/HelveticaNeueLTStd-Bd.otf") format("opentype");
}

@font-face {
  font-family: "neue roman";
  src: url("../assets/fonts/HelveticaNeueLTStd-Roman.otf") format("opentype");
}

@font-face {
  font-family: "exposure";
  src: url("../assets/fonts/ExposureTrialVAR.ttf") format("truetype");
}

/* BASE */
html {
  box-sizing: border-box;
  width: 100%;
  background-color: var(--white);
  margin: 0;
}

body { 
    margin: 0; 
}

header {
    position: fixed;
    z-index: 999;
    background-color: var(--white);
    top: 0;
    left: 0;
    width: 100%;
    padding: 1vw;
}

header > a:last-child {
    grid-column: 6/7;
}


main {
    padding: 1vw;
    margin: 0;
    min-height: 100vh;
}

nav {
    display: flex;
    justify-content: space-between;
    grid-column: 3/5;
    gap: 3vw;
}

footer {
    padding-left: 1vw;
    padding-top: var(--padding_large);
    position: relative; 
}

/* TYPOGRAPHY */
h1 {
  position: fixed;
  z-index: 50;
  bottom: 2vw;
  text-align: center;
  width: 98vw;
  font-family: "neue roman";
  color: var(--black);
  font-size: 18.8vw;
  line-height: 8vw;
  margin: 0;
  text-transform: uppercase;
}

.h1_about {
  position: absolute !important;
}

h2 {
  color: var(--black);
  font-size: 2vw;
  line-height: 2vw;
  margin: 0;
  text-align: center;
  grid-column: 3/5;
}

h3 {
  font-family: "exposure";
  font-variation-settings: "EXPO" 0;
  transition: font-variation-settings 0.3s ease;
  color: var(--black);
  font-size: 1vw;
  line-height: 1vw;
  margin: 0;
  text-transform: uppercase;
}

a:hover h3 ,h3:hover, #scroll_top:hover h3 {
  font-variation-settings: "EXPO" -70;
}

.selected {
    font-variation-settings: "EXPO" -70;
}

a {
  text-decoration: none;
  display: flex;
  align-items: center;
}

h4 {
  font-family: "neue bold";
  color: var(--black);
  font-size: 1vw;
  line-height: 1vw;
  margin: 0;
}

h5 {
  font-family: "neue roman";
  color: var(--black);
  font-size: 1vw;
  line-height: 1vw;
  text-transform: uppercase;
  margin: 0;
}

h6 {
  font-family: "neue roman";
  color: var(--black);
  font-size: 3vw;
  line-height: 3.5vw;
  margin: 0;
}

p {
  font-family: "neue roman";
  color: var(--black);
  font-size: 1vw;
  line-height: 1vw;
  margin: 0;
}


/* MENU */
#menu_mobile {
   display: none; 
}

#about_mobile {
   display: none; 
}


.hightlight_container {
    mix-blend-mode: difference; 
}

.hightlight_element {
    /* text-shadow:
        0 0 8px var(--white),
        0 0 8px var(--white),
        0 0 8px var(--white),
        0 0 8px var(--white); */
    color: var(--white);
}

#logo {
    display: flex;
    align-items: end;
    height: auto;
    border: 0;
    background: none;
}

#logo img {
    width: 1vw;
    padding-right: 0.1vw;
    height: auto;
}

#logo h5 {
    line-height: 0.65;
}

button {
    border: 0;
    padding: 0;
    margin: 0;
    background: none;
    cursor: pointer;
    text-align: left;
    align-self: left;
}


/* GRIDS */
.grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1vw;
  width: 98vw;
}

.grid_relative {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1vw;
  padding-top: var(--padding_large);
  width: 100%;
}


/* INDEX PAGE */
.info_center {
    position: fixed;
    top: 40%;
    z-index: 200;
}

.info_center video {
    position: fixed;
    width: 16%;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.info_center a:first-of-type {
    grid-column: 5/6;
}


/* WORKS VFINAL PAGE */
.info_align_right {
    justify-self: end;
}

#filters_container {
    display: grid;
    pointer-events: none;
    z-index: 50;
    mix-blend-mode: difference;
}


.type_of_filter {
   width: fit-content;
   height: fit-content;
   z-index: 200;
}

.filter_btn {
    pointer-events: auto;
}

.filters_options {
    display: flex;
    flex-direction: column;
    width: fit-content;
}

.filters_circle {
    border: 1px solid var(--white);
    border-radius: 50%;
    width: 1vw;
    height: 1vw;
    background: transparent;
}

.filters_options button {
    display: flex;
    align-items: center;
    gap: 0.5vw;
    padding-bottom: var(--padding_small);
    width: fit-content;
}

.filters_options button p {
   padding-top: var(--padding_small);
   color: var(--white);
}

.type_of_filter h5 {
    color: var(--white);
    padding-bottom: var(--padding_medium);
    width: fit-content;
}

.filter_btn.active .filters_circle {
    background: var(--white);
    border-color: var(--white);
}

.filter_btn:not(.active) .filters_circle {
    background: transparent;
    border-color: var(--white);
}

.filter_btn.active p,
.filter_btn:not(.active) p {
    color: var(--white);
}

.grid_projects {
  padding-top: var(--padding_large);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(10, auto); 
  gap: 1vw;
  width: 100%;
}

.grid_relative img {
    width: 100%;
    height: auto;
}

.project_link {
    position: relative;
    display: block;
    overflow: hidden;
}

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

.project_next {
    grid-column: 4/7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: var(--padding_medium);
}

.project_next a {
    gap: 0.3vw;
}

#scroll_top {
    grid-column: 3/5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3vw;
    z-index: 999;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
}

#scroll_top h3 {
    font-family: "exposure";
    font-variation-settings: "EXPO" 0;
    transition: font-variation-settings 0.3s ease;
    color: var(--black);
    font-size: 1vw;
    line-height: 1vw;
    margin: 0;
    text-transform: uppercase;
}


/* PROJECT PAGE */
.info_center a h3 {
    grid-column: 1/2;
}

#project_info {
    width: 48.5vw;
    display: flex;
    position: fixed;
    justify-content: space-between;
    bottom: 1vh;
}

#project_details {
    width: 32%;
}

#project_details div {
    padding-bottom: var(--padding_medium);
}

#project_details div div {
    padding-bottom: 0;
}

#project_details div div a {
    gap: 0.15vw;
}

#project_sinopse {
    width: 65%;
}

#project_sinopse p {
    padding-bottom: var(--padding_medium);
}

#back_button {
    grid-column: 1/2 !important;
    width: fit-content;
    gap: 0.3vw;
}

#back_button h3 {
    color: var(--white);
}

a svg, #scroll_top svg {
    fill: none;
    width: 1vw;
    height: auto;
}

a svg path, #scroll_top svg path {
    stroke-width: 2;
    transition: stroke-width 0.3s ease;
}

a:hover svg path, #scroll_top:hover svg path  {
    stroke-width: 4;
}

#project_imgs {
    grid-column: 4/7;
    display: block;
    position: relative;
}

#project_imgs img, #project_imgs video { 
    padding-bottom: var(--padding_medium);
}

.custom-cursor-project {
    position: fixed;
    width: 32px;
    height: 32px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-16px, -16px);
}


/* COLOR PROFILE PAGE */
#color_mode {
    height: 100%;
  overflow: hidden
}

#color_mode_info {
    display: block;
}

#sub_menu {
    display: none;
}

#cmyk_title {
    grid-column: 4/7;
}

#rgb_content {
    grid-column: 1/4;
    height: 100vh;
    overflow-y: auto;
}

#cmyk_content {
    grid-column: 4/7;
    height: 100vh;
    overflow-y: auto;
}

#rgb_content::-webkit-scrollbar,
#cmyk_content::-webkit-scrollbar {
  display: none;
}

#rgb_content,
#cmyk_content {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

video {
    display: block;
    width: 100%;
    height: auto;
}

.grid_projects img {
    width: 100%;
    height: auto;
}

#rgb_content div,
#cmyk_content div {
  display: flex;
  justify-content: space-between;
  padding-top: 1vh;
  padding-bottom: var(--padding_large);
}

#rgb_content div:last-of-type,
#cmyk_content div:last-of-type {
  padding-bottom: 10vh;
}


/* SHOP SHOP PAGE */
#shopshop_title {
    letter-spacing: -0.9vw;
}

#shopshop_description {
    position: fixed;
    width: 30vw;
    top: 7vh;
}

#shopshop_description p {
    padding-bottom: var(--padding_medium);
}

.shopshop_container {
    position: relative;
    align-items: end;
    padding-bottom: 30vh;
}

.shopshop_img {
    position: relative;
    grid-column: 3/5;
}

.slider_container {
  width: 100%;
  overflow: hidden;
}

.slider_track {
  display: flex;
  transition: transform 1s ease; 
}

.slider_image {
  width: 100%;
  height: auto;
    display: block;
  flex-shrink: 0;
}

.shopshop_arrows  {
    position: absolute;
    display: flex;
    justify-content: space-between;
    align-items: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    mix-blend-mode: difference;
    pointer-events: auto;
    cursor: pointer;
}

.shopshop_arrows a {
    pointer-events: auto;
    padding: 0 0.5vw;
}

.shopshop_arrows svg {
    display: block;
}

.shopshop_details {
    grid-column: 5/6;
}

.shopshop_details div {
    padding-top: var(--padding_medium);
}

.shopshop_buy {
    grid-column: 6/7;
}




/* ABOUT PAGE */
.info_about {
    position: absolute !important;
}

.details_about {
  position: absolute;
  top: 101vh;
  padding-bottom: var(--padding_medium);
}

.details_about h6 {
  grid-column: 1/7;
}

.details_about article {
  grid-column: span 1;
  padding-top: var(--padding_large);
}

.details_about article div {
  padding-top: var(--padding_medium);
}



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

    header, main, footer {
        padding: 2vw;
    }

    nav {
        grid-column: 2/6;
    }

    h1 {
        font-size: 18.2vw;
        bottom: 2.5vw;
        width: 96vw;
    }

    h2 {
        font-size: 6vw;
        line-height: 6vw;
    }

    h3, h4, h5, p, #scroll_top h3 {
        font-size: 1.8vw;
        line-height: 2vw;
    }

    a svg, #scroll_top svg {
        width: 1.8vw;
    }

    .grid {
        width: 96vw;
        row-gap: 0;
    }

    /* MENU */
    #logo h5 {
    line-height: 0.7;
}

    #logo img {
        width: 1.8vw;
        padding-right: 0.2vw;
    }

    #sub_menu {
        padding-top: 10vh;
        width: 96vw;
        display: flex;
        position: fixed;
        justify-content: space-between;
        z-index: 900;
        background: transparent;
        mix-blend-mode: difference;
    }

    #sub_menu a h3.selected {
        font-variation-settings: "EXPO" -70;
    }

    #sub_menu a h3 {
        font-variation-settings: "EXPO" 0;
    }

    
    /* INDEX PAGE */
    #index {
        overflow-y: hidden;
    }

    .info_center {
        display: block;
        position: absolute;
        text-align: center; 
        top: 75%;
    }

    .info_center video {
        position: fixed;
        width: 32%;
        top: 40%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .info_center a:first-of-type, footer > a:first-of-type {
        padding-top: var(--padding_medium);
    }

    main .info_align_right {
        justify-self: center;
    }


    /* WORKS VFINAL PAGE */
    #works #sub_menu {
        mix-blend-mode: difference;
    }

    #works #sub_menu:has(h3.selected) {
        background: var(--white);
        mix-blend-mode: normal;
    }

    #works #sub_menu a h3 {
        color: var(--white);
    }

    #works #sub_menu a h3.selected {
        color: var(--black);
    }

    .grid_projects {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-rows: repeat(16, auto); 
        row-gap: 2vw;    
        column-gap: 2vw; 
    }

    .grid_projects > a:first-of-type {
        padding-top: 9vh;
    }

    #filters_container.grid {
        background-color: var(--white);
        mix-blend-mode: normal;
        position: fixed;
        top: 0 !important;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        z-index: 200;
        overflow-y: auto !important;
        overflow-x: hidden;
        padding-left: 2vw;
        display: none;
        flex-direction: column;
        pointer-events: auto !important;
        grid-template-columns: none !important;
        gap: 0 !important;
    }
    
    body.filters-open {
        overflow: hidden;
        height: 100vh;
        position: fixed;
        width: 100%;
    }
    
    body.filters-open #filters_container.grid {
        display: flex !important;
        pointer-events: auto !important;
    }
    
    #filters_container.grid > .type_of_filter:first-of-type {
        padding-top: 13vh;
    }
    
    #filters_container.grid > .type_of_filter:last-of-type {
        padding-bottom: var(--padding_medium);
    }
    
    body.filters-open .grid_projects {
        display: none !important;
    }
    
    #filters_container.grid .filters_circle {
        width: 2vw;
        height: 2vw;
    }
    
    #filters_container.grid .type_of_filter h5 {
        color: var(--black);
        padding-bottom: var(--padding_small);
        padding-top: var(--padding_medium);
    }
    
    #filters_container.grid .filter_btn.active .filters_circle {
        background: var(--black);
        border-color: var(--black);
    }
    
    #filters_container.grid .filter_btn:not(.active) .filters_circle {
        border-color: var(--black);
    }
    
    #filters_container.grid .filter_btn.active p,
    #filters_container.grid .filter_btn:not(.active) p {
        color: var(--black);
    }

    footer {
        position: relative; 
        padding-top: var(--padding_large);
        padding-bottom: 12vw;
        padding-left: 2vw;
    }

    footer > p {
        grid-column: 1/7;
        text-align: center;  
    }

    footer > a {
        grid-column: 1/7;
        text-align: center;
        justify-self: center !important;
    }

    #scroll_top {
        position: absolute;
        bottom: 2vw;
        justify-self: center;
    }


    /* PROJECT PAGE */
    #project-container .info_center {
        display: block;
        position: relative;
        padding-top: 10vh;
        align-items: center;
    }

    #project-container .info_center h2 {
        padding-top: var(--padding_medium);

    }

    #back_button {
        padding-top: 0 !important;
    }

    #project_details {
        padding-bottom: var(--padding_large);
    }

    #project_details div:last-of-type {
        padding-bottom: 0;
    }

    #project_info {
        position: relative;
        width: 96vw;
        display: block;
        padding-top: var(--padding_large);
    }

    #project_sinopse {
        position: relative;
        width: 100%;
    }

    #project_details {
        position: relative;
        width: 100%;
        text-align: center;
    }

    #project_details a {
        justify-self: center;
    }

    #project_imgs {
        position: relative;
        grid-column: 1/7;
    }

    .project_next {
        grid-column: 1/7;
    }

    
    /* COLOR PROFILE PAGE */
    .grid_relative {
        padding-top: 0vh;
    }

    #color_mode {
        overflow: scroll;
    }

    #color_mode_info {
        display: none;
    }

    #rgb_content > video:first-of-type {
        padding-top: 14vh;
    }

    #cmyk_content > img:first-of-type {
        padding-top: 14vh;
    }

    #rgb_content,
    #cmyk_content {
        grid-column: 1/7;
        height: 100vh;
        overflow-y: auto;
    }


    /* SHOP SHOP PAGE */
    .shopshop_container {
        padding-top: 10vh;
        padding-bottom: 15vh;
    }

    #shopshop_description {
        top: 12vh;
    }

    #rgb_content div:last-of-type, #cmyk_content div:last-of-type {
        padding-bottom: var(--padding_medium);
    }
}



@media screen and (max-width: 765px){ 
    :root {
        --padding_small: 0.75vh;
    }

    header, main, footer {
        padding: 3vw;
    }

    header {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
    }

    h1 {
        font-size: 18vw;
        bottom: 3vw;
        width: 94vw;
    }

    h2 {
        font-size: 6.2vw;
        line-height: 6.2vw;
    }

    h3, h4, h5, p, #scroll_top h3 {
        font-size: 4vw;
        line-height: 4.3vw;
    }

    a svg, #scroll_top svg {
        width: 4vw;
    }

    .grid {
        width: 94vw;
         display: block; 
    }

    .grid_relative {
        display: block; 
    }

    /* MENU */
    #logo h5 {
    line-height: 0.65;
    }

    #logo img {
        width: 4vw;
        padding-right: 0.5vw;
    }

    #sub_menu {
        width: 94vw;
        padding-top: 14vh;
    }

    header > .info_align_right {
        display: none;
    }
    
    #menu_mobile {
        display: block;
        cursor: pointer;
        z-index: 1001;
        position: relative;
        width: 5vw;
        height: 5vw;
        transition: transform 0.3s ease;
    }

    #about_mobile {
        display: block; 
    }

    nav {
        display: none;
        gap: var(--padding_small);
    }

    #menu_mobile svg path {
        stroke: var(--black);
        stroke-width: 2;
        transition: stroke 0.3s ease;
    }

    #menu_mobile.open {
        transform: rotate(45deg);
    }

    .menu_overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--white);
        z-index: 950;
        overflow-y: auto;
        padding-left: 3vw;
        padding-top: 16vh;
    }

    .menu_overlay.show {
        display: block;
    }

    .menu_overlay nav {
        display: flex;
        flex-direction: column;
    }

    .menu_overlay nav a {
        text-decoration: none;
        display: block;
    }

    .menu_overlay nav a h3 {
        font-variation-settings: "EXPO" 0;
    }

    .menu_overlay nav a:hover h3,
    .menu_overlay nav a h3.selected {
        font-variation-settings: "EXPO" -70;
    }

    .menu_overlay nav #about_mobile {
        display: block;
    }

    


    /* INDEX PAGE */
    .info_center video {
        top: 47%;
        width: 50%;
    }


    /* WORKS VFINAL PAGE */
    .grid_projects {
        display: block; 
    }

    .grid_projects > a:first-of-type {
        padding-top: 15vh;
    }

    .grid_projects > a {
        padding-bottom: var(--padding_medium);
    }

    #filters_container.grid {
        padding-left: 3vw;
    }

    #filters_container.grid > .type_of_filter:first-of-type {
        padding-top: 17vh;
    }

    #filters_container.grid .filters_circle {
        width: 4vw;
        height: 4vw;
    }

    .filters_options button {
        gap: 2vw;
    }

    #filters_container.grid .type_of_filter h5 {
        padding-top: var(--padding_large);
    }

    footer {
        padding-top: var(--padding_large);
        padding-bottom: 11vh;
    }


    /* PROJECT PAGE */
    #project_info {
        width: 94vw;
    }

    #back_button {
        padding-top: 4vh !important;
        gap: var(--padding_small);
    }

    .project_next a, #scroll_top {
        gap: var(--padding_small);
    }

    #project_details div div a {
        gap: 0.3vw;
    }

    #project-container .info_center h2 {
        padding-top: 3.5vh;
    }


    /* COLOR PROFILE PAGE */
    #rgb_content > video:first-of-type {
        padding-top: 20vh;
    }

    #cmyk_content > img:first-of-type {
        padding-top: 20vh;
    }

    #rgb_content h5, #cmyk_content h5, #rgb_content p, #cmyk_content p {
        font-size: 2.3vw !important;
        line-height: 2.3vw !important;
    }
    

    /* SHOP SHOP PAGE */
    #shop_container {
        display: flex;
        flex-wrap: wrap;
        gap: 0;
    }

    .shopshop_container {
        padding-bottom: 10vh;
    }

    .shopshop_img {
        width: 100%;
    }

    .shopshop_details {
        width: 50%;
        padding-bottom: var(--padding_large);
    }

    .shopshop_buy {
        width: 50%;
        padding-bottom: var(--padding_large);
    }

    .shopshop_buy a {
        justify-self: end;
    }

    .shopshop_arrows a {
        padding: 0 2vw;
    }


    #shopshop_description {
        position: relative;
        width: 94vw;
        padding-bottom: var(--padding_medium);
    }
}