@font-face {
  font-family: "Unica";
  src: url("/assets/font/Unica77LL-Medium.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Unica-Italic";
  src: url("/assets/font/Unica77LL-MediumItalic.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

body {
  animation: fadeInAnimation ease-in-out 1.2s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

.about-mobile {
  display: none;
}
video::-webkit-media-controls {
  display: none !important;
}
*::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
}
/* ::-webkit-media-controls {
  display: none !important;
} */
/* 
::-moz-range-track {
  display: none !important;
}
::-moz-range-thumb {
  display: none !important;
} */

@keyframes fadeInAnimation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

:root {
  --home_duration_transition: 750ms;
  --home_timing_transition: cubic-bezier(0.59, 0, 0.17, 0.8);
  /* --home_timing_transition: cubic-bezier(0.88, 0, 0.2, 1); */
  --lower_font: 12px;
}
body::-webkit-scrollbar {
  display: none;
  visibility: hidden;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.hide {
  display: none;
}

body {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth !important;
  height: 100vh;
  overflow-y: scroll;
}
li {
  height: 2vh;
}
.size-project {
  position: absolute;
  right: 1vh;
  transition: 0ms;
  /* transition: var(--home_duration_transition);
  transition-timing-function: var(--home_timing_transition); */
}
.size-project > li {
  text-align: right;
}
html {
  overflow-x: hidden;
  font-size: 1.05em;
  color: white;
  font-family: "Unica";
  background-color: rgb(255, 254, 244);
}

.state-top-1 {
  top: -0.25vh !important;
}
.state-top-2 {
  top: -2.25vh !important;
}
.state-top-3 {
  top: -4.25vh !important;
}
.state-top-4 {
  top: -6.25vh !important;
}
.state-top-5 {
  top: -8.25vh !important;
}
.state-top-6 {
  top: -10.25vh !important;
}
.state-top-7 {
  top: -12.25vh !important;
}
.state-top-8 {
  top: -14.25vh !important;
}
.state-top-9 {
  top: -16.25vh !important;
}
.state-top-10 {
  top: -18.25vh !important;
}
.block {
  overflow: hidden !important;
}
a {
  text-decoration: none;
  /* color: white; */
  color: white;
}
a:hover {
  opacity: 0.7;
}
.video-timer {
  display: flex;
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 3.7vh;
  align-items: flex-end;
  mix-blend-mode: difference;
  margin-right: 5vh;
}

.vids {
  /* opacity: 0; */
  transition: var(--home_duration_transition);
  transition-timing-function: var(
    --home_timing_transition
  ); /* transform: translateX(100%); */
  transform: translate(50%, -50%);
}

.video-timer > * {
  color: white;
}

.home-container {
  transition: 1000ms ease-in-out;
}
.project {
  height: 100vh;
  width: 100vw;
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  /* display: flex; */
  justify-content: center;
  background-color: rgb(255, 254, 244);
  align-items: center;
}
.home-project:nth-child(1) {
  background-color: rgb(255, 254, 244);
}
.home-project:nth-child(2) {
  background-color: rgb(255, 254, 244);
}
.home-project:nth-child(3) {
  background-color: rgb(207, 225, 173);
}
.home-project:nth-child(4) {
  background-color: rgb(158, 162, 140);
}

.home-nav-container {
  position: fixed;
  z-index: 999999;
  top: 1.8vh;
  color: black;
  display: flex;
  width: 50%;
  justify-content: space-between;
  mix-blend-mode: difference;
  color: white;
  transition: 750ms ease;
}
.rest-info-container {
  position: fixed;
  z-index: 9999;
  top: 1.8vh;
  color: white;
  display: flex;
  width: 100%;
  right: 0;
  justify-content: space-between;
  mix-blend-mode: difference;
  /* color:white; */
  transition: 750ms ease;
}
.rest-info-container > ul > li > a {
  opacity: 0.15;
  color: rgb(255, 254, 244);
  transition: 400ms ease;
}
.home-nav-container > ul > li > a {
  opacity: 0.15;
  color: rgb(255, 254, 244);
  transition: 400ms ease;
}

.rest-info-container > ul:nth-child(5) > li {
  /* padding-right: 5vh; */
}

.home-nav-container > ul > li > a:hover {
  opacity: 1 !important;
  transition: 100ms ease;
}
.rest-info-container > ul > li > a:hover {
  opacity: 1 !important;
  transition: 100ms ease;
}
.rest-info-container > ul > li:nth-child(1) > a {
  opacity: 1;
}
.home-nav-container > ul > li:nth-child(1) > a {
  opacity: 1;
}
.home-nav-container ul:nth-child(1) {
  padding-left: 40vh;
  transition: var(--home_duration_transition);
  transition-timing-function: var(--home_timing_transition);
}
.title {
  mix-blend-mode: difference;
  color: white;
  position: absolute;
  top: 1.8vh;
  left: 1.5vh;
  z-index: 99999;
  transition: var(--home_duration_transition);
  transition-timing-function: var(--home_timing_transition);
}
.home-nav-container ul:nth-child(4) {
  padding-right: 1.5vh;
}

.home-nav-container > ul > li {
  transition: var(--home_duration_transition);
  transition-timing-function: var(--home_timing_transition);
}
.rest-info-container > ul > li {
  transition: var(--home_duration_transition);
  transition-timing-function: var(--home_timing_transition);
}
.cv-info-container {
  position: fixed;
  overflow: scroll;
  bottom: 0vh;
  margin-bottom: 5vh;
  top: 100vh;
  mix-blend-mode: difference;
  z-index: 9999;
  /* padding-top: 1.5vh; */
  flex-direction: column;
  display: flex;
  width: 100%;
  /* background-color: blueviolet; */
  justify-content: space-between;
  transition: var(--home_duration_transition);
  transition-timing-function: var(--home_timing_transition);
}

.quit-about:hover {
  opacity: 0.3;
  cursor: pointer;
}
.quit-about {
  padding-left: 1.5vh;
  padding-bottom: 2vh;
  position: fixed;
  display: none;
  bottom: -4vh;
  z-index: 999999;
  color: white;
  transition: var(--home_duration_transition);
  transition-timing-function: var(--home_timing_transition);
}

.legal {
  position: fixed;
  bottom: 1.5vh;
  opacity: 0.3;
  font-size: 0.7em;
  display: none;
  z-index: 9999999999999;
  justify-content: space-between;
  width: 86%;
  flex-direction: row;
  left: 14%;
  opacity: 0;
  transition: var(--home_duration_transition);
  transition-timing-function: var(--home_timing_transition);
}

.fr-desc p {
  margin-bottom: 1vh;
}
.en-desc p {
  margin-bottom: 1vh;
}
.legal span:nth-child(2) {
  margin-right: 1.5vh;
}
.copyright {
  margin-right: 0.5vh;
}

.quit-info:hover {
  opacity: 0.3;
  cursor: pointer;
}
.quit-info {
  margin-top: 0.5vh;
  margin-left: 1.5vh;
  margin-bottom: 1.5vh;
  position: absolute;
  right: 0;
  bottom: -1vh;
  margin-right: 1.5vh;
  color: white;
}

.cv-contain {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  line-height: 2.2vh;
  line-height: normal;
}
.cv-left {
  width: 14%;
  height: 100vh;
  background-color: black;
}

.cv-left > .cv-info-1 > span:nth-child(2) {
  margin-top: 2vh;
}
.cv-info-1 {
  color: white;
  width: 100%;
  margin: 1.5vh;
  margin-top: 4vh;
  display: flex;
  flex-direction: column;
  position: fixed;
  /* font-size: 0.7em; */
  /* line-height: 1.2em; */
  opacity: 0.3;
}

.cv-info-1 span a {
  color: white;
}

.cv-info {
  /* background: blue; */
  width: 100%;
  height: auto;
  margin: 1.5vh;
  margin-top: 4vh;
}

.cv-info:last-child > .cv-line {
  display: flex;
  flex-direction: column;
}

.cv-right > .about-desktop > .cv-info:last-of-type > div {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 80%;
}
.cv-right
  > .about-desktop
  > .cv-info:last-of-type
  > div
  > .cv-line
  > .cv-line-title {
  width: 75%;
  padding-left: 3.5px;
  padding-right: 3.5px;
}
.cv-right > .about-desktop > .cv-info:last-of-type > div > .cv-line {
  white-space: nowrap;
}
.cv-line {
  display: flex;
  /* padding-right: 3vh; */
  justify-content: left;
}

.cv-line-info-title {
  font-family: Unica-Italic;
}
.cv-line-sujet-title {
  opacity: 0.3;
}
.cv-line-title {
  width: 80%;
}
.mob-about {
  width: 20%;
  display: flex;
  justify-content: space-between;
}

.cv-line-place {
  /* width: 12.5%; */
  text-align: left;
}
.cv-line-date {
  /* width: 7%; */
  text-align: right;
  padding-right: 1.5vh;
}
.cv-info-1 span:nth-child(1) {
  /* margin-top: 1.9vh; */
}

.cv-pic {
  width: 100%;
  justify-content: center;
  mix-blend-mode: difference;
  display: flex;
  margin-top: 3vh;
}

.cv-pic img {
  width: 75%;
}

.cv-categ {
  margin-bottom: 2vh;
}
.cv-right {
  width: 85%;
  height: 100vh;
  background-color: black;
}

.cv-info-container > ul > li > a {
  color: white;
}
.project-desc {
  margin-left: 1.5vh;
  margin-right: 1.5vh;
  line-height: 2.1vh;
  margin-top: 1.75vh;
  display: flex;
  flex-direction: column;
}

.sub-desc {
  position: absolute;
  bottom: 5vh;
  font-size: 0.7em;
  opacity: 0.3;
  line-height: 1.1em;
  display: flex;
  flex-direction: column;
}

.sub-desc a {
  color: black;
}
.project-desc span:nth-child(2) {
  /* padding-top: 1vh; */
}

.project-desc span:nth-child(1) span {
  margin-left: 10vh;
}

.project-lang {
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: 0vh;
  height: 3.5vh;
  display: flex;
  flex: 1 0 auto;
  flex-direction: row;
  color: rgb(255, 254, 244);
  /* mix-blend-mode: difference; */
  background-color: black;
  justify-content: left;
}
.project-lang > span {
  opacity: 0.3;
}
footer {
  position: fixed;
  mix-blend-mode: difference;
  z-index: 9999;
  top: 96.5vh;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transition: 500ms ease-in-out;
  /* transition: var(--home_duration_transition);
  transition-timing-function: var(--home_timing_transition); */
}

footer > div:nth-child(2) {
  padding-right: 1.5vh;
}
footer > div:nth-child(1) {
  padding-left: 1.5vh;
}

video {
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hide-nav {
  position: fixed;
  z-index: 99999999999;
  width: 100%;
  height: 2.3vh;
  /* background-color: rgb(255, 254, 244); */
  background-image: linear-gradient(
    180deg,
    rgb(255, 254, 244) 85%,
    transparent
  ); /* background-color: red; */
  transition: 500ms ease;
}

.top-load {
  position: fixed;
  z-index: 50;
  width: 100%;
  height: 3.5vh;
  background-color: rgb(255, 254, 244);
  transition: var(--home_duration_transition);
  transition-timing-function: var(--home_timing_transition);
}
.left-load {
  position: fixed;
  z-index: 1;
  height: 100%;
  left: 0;
  width: 3.5vh;
  background-color: rgb(255, 254, 244);
}
.right-load {
  position: fixed;
  z-index: 1;
  height: 100%;
  right: 0;
  width: 3.5vh;
  background-color: rgb(255, 254, 244);
}
.bottom-load {
  position: fixed;
  bottom: 0;
  z-index: 999;
  width: 100%;
  height: 0vh;
  background-color: rgb(255, 254, 244);
  transition: var(--home_duration_transition);
  transition-timing-function: var(--home_timing_transition);
}

.later-btn {
  cursor: pointer;
}

.about-btn {
  cursor: pointer;
}
.btn-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0%;
  left: 0%;
  z-index: 999;
  color: black;
  mix-blend-mode: difference;
  transition: 750ms ease;
}
.btn-container-print {
  /* position: absolute;
  width: 100%;
  height: 100%;
  top: 0%;
  left: 0%;
  z-index: 16; */
  /* mix-blend-mode: difference; */
}
.btn-container-slide {
  position: relative;
  width: 100%;
  height: 0;
  top: 50%;
  z-index: 3;
  mix-blend-mode: difference;
}

.style-play {
  position: absolute;
  cursor: pointer;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: 500ms;
  mix-blend-mode: difference;
}

.style-enter {
  position: absolute;
  cursor: pointer;
  z-index: 999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: 500ms;
  mix-blend-mode: difference;
}
.style-info {
  position: absolute;
  display: none;
  opacity: 0;
  right: 1.5vh;
  bottom: 1.5vh;
  transition: 525ms;
  transition-timing-function: var(--home_timing_transition);
  color: black;
  z-index: 9999;
}
.style-info:hover {
  opacity: 0.7;
  cursor: pointer;
}
.style-info-print {
  position: absolute;
  display: none;
  opacity: 0;
  z-index: 99999;
  right: 1.5vh;
  bottom: 1.5vh;
  /* transition: var(--home_duration_transition);
  transition-timing-function: var(--home_timing_transition); */
  color: black;
}
.style-info-print:hover {
  opacity: 0.7;
  cursor: pointer;
}
.style-pause {
  position: absolute;
  mix-blend-mode: difference;
  color: rgb(255, 254, 244);
  cursor: pointer;
  right: 0;
  z-index: 9999999;
  top: 4vh;
  margin-right: 1vh;
}
.style-fullscreen {
  position: absolute;
  cursor: pointer;
  left: 1.5vh;
  color: rgb(255, 254, 244);
  z-index: 9999999;
  top: 4vh;
}

.slider-nav {
  position: relative;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  mix-blend-mode: difference;
  cursor: pointer;
}
.slider-nav div:nth-child(1) {
  padding-left: 1.5vh;
}
.slider-nav div:nth-child(2) {
  padding-right: 1.5vh;
}

.about-btn:hover {
  opacity: 0.7;
}

.style-project-info {
  position: absolute;
  z-index: 999;
  /* z-index: 100; */
  height: 100%;
  top: 0;
  right: -120%;
  width: 50vh;
  color: black;
  background-color: rgb(255, 254, 244);
  cursor: pointer;
  /* background-color: blue; */
  /* transition: var(--home_duration_transition);
  transition-timing-function: var(--home_timing_transition); */
}

/* PLAYER */

.style-slider {
  position: absolute;
  z-index: 99999;
  width: 100%;
  height: 3.5vh;
  right: 0;
  opacity: 0;
  margin-right: 0em;
  /* background: red; */
  /* opacity: 0; */
  mix-blend-mode: difference;
  /* display: none; */
  transition: var(--home_duration_transition);
  transition-timing-function: var(--home_timing_transition);
}
.style-back {
  position: absolute;
  display: none;
  opacity: 0;
  cursor: pointer;
  color: rgb(255, 254, 244);
  left: 1.5vh;
  bottom: 1.5vh;
  transition: 500ms ease;
}
.style-back-print {
  position: absolute;
  display: none;
  opacity: 0;
  z-index: 9;
  cursor: pointer;
  color: rgb(255, 254, 244);
  left: 1.5vh;
  bottom: 1.5vh;
  transition: 500ms ease;
  mix-blend-mode: difference;
}

.slide-up-preview {
  transform: translateY(-130%);
  transition: 500ms ease-in-out !important;
}
.slide-up {
  transform: translateY(-100%);
  /* transition: 750ms !important; */
  transition-timing-function: var(--home_timing_transition);
}
.slide-up-plus {
  transform: translateY(-200%);
  /* transition: 0ms !important; */
  transition-timing-function: var(--home_timing_transition);
}
.slide-down {
  transform: translateY(5%);
  transition: 1000ms ease !important;
}
.slide-down-bottom-load {
  transform: translateY(100%);
  transition: 1000ms ease !important;
}
.slide-down-bottom-load-2 {
  transform: translateY(200%);
  transition: 1000ms ease !important;
}

.slide-out {
  transform: translateX(-100%) !important;
}
.slide-in {
  transform: translateX(0%) !important;
}
.slide-in-vid {
  transform: translate(-50%, -50%) !important;
}

.slide-slider {
  transform: translateX(100%) !important;
}
.preview-project {
  position: absolute;
  width: 100%;
  height: 100%;
  align-items: center;
  display: flex;
  display: flex;
  z-index: 1;
  justify-content: center;
  transition: var(--home_duration_transition);
  transition-timing-function: var(--home_timing_transition);
  transform: translateX(0%);
}

.preview-project img {
  width: 100%;
}

.style-bar {
  cursor: pointer;
  height: 3.5vh;
  background-color: transparent;
  /* transition: 500ms; */
  /* outline: thin solid white; */
  overflow: hidden;
  /* position: absolute; */
  right: 0;
  bottom: 0;
  width: 100%;
  /* box-shadow: 0px -2px 20px 0px rgba(0, 0, 0, 0.1); */
}
.style-bar span {
  /* background-color: var(--allColors); */
  background-color: white;
  position: absolute;
  top: 0;
  left: 0;
  height: 3.5vh;
  width: 0px;
  width: 100%;
  transition: 0ms ease;
}
.slider-container {
  top: 0%;
  z-index: 30;
}
.slider-container2 {
  top: 0%;
  z-index: 29;
  display: none;
}

.play {
  margin-left: 1em;
  height: 3vh;
}

.is-video {
  height: 100%;
  background-color: rgb(255, 254, 244);
  overflow: hidden;
}
.is-print {
  overflow: hidden;
}

.btn-pause-2 {
  opacity: 0;
}
.img-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: 0.2ms ease-in-out;
}

.img-preview.lazyloaded {
  opacity: 1;
}
.img-preview.loaded {
  opacity: 1;
}

.img-wrapper img {
  opacity: 0;
  transition: 0.25s ease-in-out;
}
.img-wrapper img.lazyloaded {
  opacity: 1;
}
.img-wrapper img.loaded {
  opacity: 1;
}
/* CAROUSEL */

.img-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  position: absolute;
  top: 0;
}

.img-wrapper img {
  height: 100%;
}

.style-slider-print {
  position: fixed;
  width: 100%;
  z-index: 999;
  height: 3.5vh;
  right: 0;
  top: 0;
  margin-right: 0em;
  mix-blend-mode: difference;
  transition: var(--home_duration_transition);
  transition-timing-function: var(--home_timing_transition);
}

.style-bar-print {
  cursor: pointer;
  height: 3.5vh;
  background-color: transparent;
  /* outline: thin solid white; */
  overflow: hidden;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  /* box-shadow: 0px -2px 20px 0px rgba(0, 0, 0, 0.1); */
}
.style-bar-print span {
  /* background-color: var(--allColors); */
  /* background-color: black; */
  position: absolute;
  top: 0;
  left: 0;
  height: 3.5vh;
  width: 0px;
  background-color: white;
}

.fr-desc {
  padding-top: 0.5vh;
}

.col-date {
  position: absolute;
  right: 43.8vh;
  transition: var(--home_duration_transition);
  transition-timing-function: var(--home_timing_transition);
}
.en-desc {
  padding-top: 0.5vh;
}
.print-project {
  display: block;
}
.carousel {
  height: 100%;
  position: relative;
  z-index: 0;
  opacity: 1;
  transition: var(--home_duration_transition);
  transition-timing-function: var(--home_timing_transition);
  background-color: rgb(255, 254, 244);
  transform: translateX(100%);
}
.nav-carousel {
  position: absolute;
  z-index: 999;
  width: 100%;
  top: 4.3vh;
  color: rgb(255, 254, 244);
  display: flex;
  justify-content: space-between;
  mix-blend-mode: difference;
  opacity: 0;
  display: none;
  transition: 500ms ease;
}
.nav-carousel > div:nth-child(1) {
  margin-left: 1.5vh;
  cursor: pointer;
}
.nav-carousel > div:nth-child(2) {
  margin-right: 1.5vh;
  cursor: pointer;
}
.carousel-cell {
  width: 100%;
  height: 100%;
  margin-right: 10px;
  /* background: #8c8; */
  border-radius: 5px;
  /* counter-increment: carousel-cell; */
}

/* cell number */
.carousel-cell:before {
  display: block;
  text-align: center;
  /* content: counter(carousel-cell); */
  line-height: 200px;
  font-size: 80px;
  color: white;
}

ul {
  white-space: nowrap;
}

.progress-bar {
  height: 20px;
  width: 0;
  background: #333;
}

.flickity-page-dots {
  bottom: -40px;
}

.button-fr {
  opacity: 1;
  margin-top: 1vh;
  margin-left: 1.5vh;
}
.button-en {
  margin-top: 1vh;
  padding-left: 1vh;
}

.selected-lang {
  /* text-decoration: underline; */
  opacity: 1 !important;
}
.button-fr:hover {
  /* text-decoration: underline; */
  opacity: 1;
}
.button-en:hover {
  /* text-decoration: underline; */
  opacity: 1;
}

.style-fullscreen:hover {
  opacity: 0.3;
}
.style-pause:hover {
  opacity: 0.3;
}
.style-info:hover {
  opacity: 0.3 !important;
}
.style-back:hover {
  opacity: 0.3 !important;
}
.style-play:hover {
  opacity: 0.3;
}

video {
  pointer-events: none;
}
video:-webkit-full-screen {
  max-width: 100% !important;
  max-height: 100% !important;
  min-height: 50px !important;
  margin: auto !important;
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  transform: translate(0%, 0%) !important;
}

/* video:-webkit-full-screen::-webkit-media-controls-panel,
video:-webkit-full-screen::-webkit-media-controls,
video:-webkit-full-screen::-webkit-media-text-track-container {
  display: none !important;
  opacity: 0;
  pointer-events: none;
}
.videoContainer:fullscreen,
.videoContainer:-ms-fullscreen,
.videoContainer:-moz-full-screen,
.videoContainer:-webkit-full-screen {
  width: 100%;
  height: 100%;
} */
.style-fullscreen:hover {
  mix-blend-mode: difference;
}
.fade-out {
  opacity: 0 !important;
  transition: var(--home_duration_transition);
  transition-timing-function: var(--home_timing_transition);
}

.home-nav-container ul > li {
  /* opacity: 0; */
}
.selected {
  opacity: 1 !important;
  display: block !important;
  visibility: unset !important;
}

.selected-ab {
  opacity: 1 !important;
}

.hided {
  display: none;
}
