@charset "UTF-8";

/*-------------------------------------------- TYPOGRAPHIE SETUP -----------------------------------------------*/
@font-face {
  font-family: 'TEXTE';
  src: url('fonts/TEXTE.woff2') format('woff2'), url('fonts/to/TEXTE.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'TITRE';
  src: url('fonts/TITRE.woff2') format('woff2'), url('fonts/TITRE.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

p,
h3,
a,
h4 {
  -moz-font-feature-settings: "kern" 1;
  -ms-font-feature-settings: "kern" 1;
  -o-font-feature-settings: "kern" 1;
  -webkit-font-feature-settings: "kern" 1;
  font-feature-settings: "kern" 1;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  /* Chrome, Safari */
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}


p,
h3,
h2 {
  font-family: TEXTE, arial;
  padding: 0px !important;
  margin: 0px !important;
  font-weight: normal;
  letter-spacing: -0.01em;
  line-height: 1.3;
  vertical-align: top;
}

h1,
h2,
h3 {
  font-family: TITRE, arial;
  letter-spacing: -0.025em;
  padding: 0px !important;
  margin: 0px !important;
  font-weight: normal;
  vertical-align: top;
}

/*-------------------------------------------- GENERAL SETUP -----------------------------------------------*/
* {
  padding: 0px;
  margin: 0px;
}

.container {
  margin: 6px 12px;
  position: relative;
}

li {
  list-style: none;
}

.pure-g>div {
  box-sizing: border-box;
}

.p5Canvas {
  width: 100% !important;
  height: 100% !important;
  object-fit: scale-down;
}
body {
  overflow-y: hidden !important;
  cursor: crosshair !important;
}

/*---------------------------------------------FIREFOX SHIT--------------------------------------------------*/
@-moz-document url-prefix() {

  /* Firefox-specific CSS */
  nav a:link,
  nav a:visited {
    /* adjust the positioning as needed */
    padding: 5px 3px 3px 3px !important;
  }

  nav {
    padding-top: 2px;
    padding-bottom: 0px;
    height: 25px !important;
  }

  p,
  h3,
  h2 {
    line-height: 1.2 !important;
  }

  h1 {
    top: 24px !important;
  }
  .liste a:link,
  .liste a:visited {
    top: 0px !important;
}
.filtres .sectionFiltre a:link,
.filtres a:visited {
padding-top: 7px !important;
}

}

/*------------------------------------------------- NAV -----------------------------------------------------------*/
nav {
  border-bottom: 1px solid #000000;
  padding-bottom: 0px;
  height: 28px;
  position: relative;
  z-index: 123456;
}

nav ul {
  display: flex;
  justify-content: space-between;
  height: 100%;
  width: 100%;
}

nav ul .nav-right {
  display: flex;
  justify-content: space-between;
}

nav a:link,
nav a:visited {
  color: black;
  text-decoration: none;
  padding: 1px 3px 3px 3px;
  font-size: 2.804vw !important;
  font-family: TEXTE, arial;
  margin: 0px;
  line-height: 0;
  vertical-align: middle;
  height: 100%;
  width: 100%;
}

.nav-right a:hover,
.nav-right a:active {
  background-color: white;
filter:invert();
}
nav #logo:hover, nav #logo:active {
  background-color: white;
  filter: invert();
}
.nav-right a.isActive, .nav-right a.up-current {
  background-color: white;
  filter: invert();
}
/*----------------------- MOBILE -------------------------*/
#logo {
  width: 24vw;
  margin-top: 2px;
}

/*-------------------------------------------- MEDIA QUERIES -------------------------------------------------*/
h2,
p {
  font-size: 4.103vw !important;
}

h1 {
  font-size: 13.1vw !important;
  line-height: 1.2;
  position: relative;
  left: -9px;
  margin-bottom: 10px !important;
}

.imagePlaceHolder img {
  max-width: 100%;
  height: auto;
  display: block;
}
#mobileText {
  display: block;
  padding: 3vw;
}
#mobileText h1 {
  font-size: 10vw !important;
  left:-2px!important;
}
#mobileText p {
  font-size: 3vw !important;
  line-height: 1.3;
}
.container {
  display: none;
}


/*768px and up*/
@media screen and (min-width: 41.25em) {

  #mobileText {
    display: none;
  }
  .container {
    display: block;
  }
  
  
  .typoPlaceHolder {
    height: 35px;
    display: flex;
    align-content: end !important;
  }
  /*------------------------------------------HOME PAGE---------------------------------------------------------*/
  #logo {
    width: 170px;
    position: relative;
    left: -4px;
  }

  nav a:link,
  nav a:visited {
    font-size: 1.127vw !important;
  }

  h2,
  p {
    font-size: 1.6vw !important;
  }

  h1 {
    font-size: 6.4375em !important;
    line-height: 0.6;
    left: -3px;
  }

  section.top {
    height: 150px;
    position: relative;
    display: flex;
    align-content: start;
    flex-wrap: wrap;
  }

  section.bottom {
    border-top: 1px solid black;
    padding-top: 6px;
  }

  section.bottom div:first-child {
    border-right: 1px solid black;
    padding-right: 6px;
  }

  section.bottom div:last-child {
    padding-left: 6px;
  }

  .infoPlaceHolder {
    overflow: scroll;
    height: calc(100vh - 235px);
  }

  .imagePlaceHolder {
    height: calc(100vh - 235px);
  }

  .imagePlaceHolder img {
    object-fit: cover;
    max-width: 100%;
    height: 100%;
    width: 100%;
  }

  .gridSizeDisplayy {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 26px;
    text-transform: uppercase;
  }

  /*---------------------------------------------------- TOOL ------------------------------------------------*/

  /*--------------------------------- liste --------------------------------*/
  .liste li {
    border-bottom: 1px solid black;
    height: 2vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .liste a:link,
  .liste a:visited {
    text-decoration: none;
    color: black;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1px;
    position: relative;
    top: -1.5px;
}
  }

  .liste a:hover,  .liste a:active  {
    background-color: black;
    color: white;
  }

  .liste ul li {
    font-size: 1.127vw !important;
    font-family: TITRE, arial;
  }

  .trashImage {
    width: calc(50% - 6px);
    background-color: rgba(255, 255, 255, 0.8);
    position: absolute;
    right: 0;
    display: none;
    z-index: 10000;
  }

  .trashImage img {
    object-fit: contain;
    width: 100%;
    position: relative;
    top: -10px;

  }
  .zoneTagFiltre {
    text-transform: uppercase;
    font-size: 0.9vw !important;
    font-family: TEXTE, arial;
    letter-spacing: 0.03em !important;
  }
  .liste ul li a div {
    border: none !important;
  }

  /*-------------------------- Infos ---------------------------*/
  .infos ul li {
    background-color: white;
    width: 33.333%;
    height: 6.3vw;
    margin-bottom: 0px;
  }

  .infos ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .infos {
    padding-right: 0px !important;
  }

  .infos a {
    display: block;
    height: 100%;
  }

  .infos ul li a img {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }

  .infos ul li a img:hover {
    filter: invert();
  }

  .infos ul li a div {
    padding: 0px !important;
    border: none !important;
    width: 96%;
    height: 95%;
  }

  #infosImage {
    width: calc(50% - 6px);
    background-color: rgba(255, 255, 255, 0.8);
    position: absolute;
    left: 0;
    bottom: 0;
    display: none;
  }

  #infosImage img {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }
  .overlayInfo p {
     width: 83%;
  }
/*---------------------------------------- INFO INSIDE TRASH ------------------------------*/

  /*-------------filtres----------------------------------*/
  .filtres {
    width: 48% !important;
    padding-left: 2px !important;
    padding-right: 0px !important;
  }

  .filtres h3 {
    font-size: 1.127vw !important;
    margin-bottom: 5px !important;
    margin-top: 25px !important;
    text-transform: uppercase;
  }

  .filtres h3:first-child {
    margin-top: 0px !important;
  }
.sectionFiltre {
  margin:0px !important;
  padding: 0px !important;
}
  .filtres .sectionFiltre a:link,
  .filtres a:visited {
    font-size: 0.9vw !important;
    color: black;
    font-family: TEXTE, arial;
    letter-spacing: 0.03em !important;
    text-decoration: none;
    border: 1px solid black;
    padding: 5px;
    display: inline-block;
    margin-bottom: 5px;
    text-transform: uppercase;
  }

  .filtres .sectionFiltre a:hover,
  .filtres .sectionFiltre a:active {
    background-color: black;
    color: white;
    letter-spacing: 0.03em !important;
  }
  .filtres a.active {
    background-color: #000000;
    color: white;
    letter-spacing: 0.03em !important;
  }
  .poidsButton {
    filter: opacity(0.7);
    background-color: rgba(240, 240, 240, 1) !important;
    z-index: -100000;
  }
  .poidsButton:hover,   .poidsButton:active {
    background-color: rgba(240, 240, 240, 1) !important;
    color: black !important;
    cursor:not-allowed;
  }

  /*----TEINTE-----*/
  #teinteSelector {
    width: calc(25vw - 15px);
    position: absolute;
    right: 0;
    bottom: 0;
    display: none;
  }

  /*----------------------------------------------COLOR SELECTOR--------------------------------------*/

  .gradient {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, #000000, #ffffff);
    width: calc(25vw - 15px);
    height: calc(100vh - 235px);
    cursor: crosshair;
  }
  
  #color-code {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    margin: 5px;
    border: none;
    text-align: center;
    font-weight: normal;
    font-size: 0.9vw !important;
    font-family: TEXTE;
    text-transform: uppercase;
    padding-bottom: 2px;
  }
  .color-selector {
    height: 100%;
  }
  

  /*-------------FragInfos---------*/

  up-modal[size=medium] {
    width: 50%;
    position: absolute;
    left:auto;
    right: 0;
    top: 226px;
  } 
  up-modal-viewport {
    padding: 0px !important;
    height: calc(100vh - 235px);
  }
  up-modal-box {
    width: 100% !important;
    box-shadow: none;
    padding: 6px !important;
  }
  body > up-modal > up-modal-backdrop {
    opacity: 0 !important;
  }
  up-modal h3 {
    font-size: 1.6vw !important;
    text-transform: uppercase;
    font-family: TEXTE, arial;
    letter-spacing: 0.03em !important;
  }


#closeBtn:link, #closeBtn:visited  {
  font-family: TITRE, arial;
  font-size: 1.127vw !important;
  text-decoration: none;
  color: black;
  position: absolute;
  top:6px;
  right: 0;
  text-transform: uppercase;
  display: none;
}
up-modal-dismiss {
  display: none;
}
/*------ FragDechet -------*/
up-modal[size=small]{
  width: 50%;
  position: absolute;
  left:0;
  right: auto;
  top: 226px;
}

up-modal[size=small] up-modal-box {
  width: 100% !important;
  box-shadow: none;
  padding-left: 12px !important;
  padding-top: 0px !important;
  padding-right: 6px !important;
}
up-modal[size=small] up-modal-viewport {
  border-right: 1px solid black;
}
.overlayInfo p{
  width: 0.83%;
}

/*------------------------------------ DECHET TEMPLATE --------------------------*/
.overlayDechet {
  overflow-x: scroll;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  scroll-snap-type: x mandatory;
}
.overlayDechet div {
  width: 33.3333vw;
  margin-right: 6px;
  padding-right: 6px;
  border-right: 1px black dotted;
  height: calc(100vh - 235px);
  display: inline-block;
  scroll-snap-align: start;  scroll-snap-stop: always;
}
.magnetized img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.magnetized h4 {
  font-size: 2.9vw !important;
  font-family: TITRE, arial;
  font-weight: normal;
  position: relative;
  top:-8px;
}
.magnetized p {

  font-size: 1vw !important;
}

/*1024px and up*/
@media screen and (min-width: 64em) {}

/*1280px and up*/
@media screen and (min-width: 80em) {
  h1 {
    font-size: 7.9vw !important;
  }

  .infoPlaceHolder {
    overflow: scroll;
    height: calc(100vh - 235px)
  }

  .imagePlaceHolder {
    height: calc(100vh - 235px);
  }
  h2, p {
    font-size: 1.5vw !important;
  }
  up-modal h3 {
    font-size: 1.5vw !important;
    letter-spacing: 0.03em !important;
  }
  .zoneTagFiltre {
    font-size: 0.85vw !important;
  }
  .filtres .sectionFiltre a:link{
    font-size: 0.85vw !important;
  }
}

/*1920px and up*/
@media screen and (min-width: 120em) {}







/* width */
::-webkit-scrollbar {
  width: 6px;
  display: none;
}

/* Track */
::-webkit-scrollbar-track {
background-color: gray
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: black; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: blue; 
}

/*---------- CURSOR --------------*/

html {
  background-color: white;
}
body {
  background-color: white;
}
body .cursor {
  pointer-events: none;
}

body a {
   cursor: crosshair;
}

.cursor {
  position: fixed;
  border-radius: 50%;
  transform: translateX(-50%) translateY(-50%);
  pointer-events: none;
  left: -100px;
  top: 50%;
  mix-blend-mode: difference;
  background-color: white;
  z-index: 1000000;
  height: 30px;
  width: 30px;
}
