@charset "UTF-8";

html {
  scroll-behavior: smooth;
  scroll-padding: 5em;
}

@media screen and (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

*,
*:after,
*:before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --content-width: 65rem;
}

/* OUTILS - ne génèrent pas de css
========================================================================= = */
/* BASE - partie générique du site
========================================================================= = */
a {
  color: currentColor;
  text-decoration: none;
}

li {
  list-style: none;
}

h1 {
  font-size: 36px;
  line-height: 44px;
  font-weight: bold;
  text-transform: uppercase;
}

h2 {
  font-size: 24px;
  line-height: 32px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

h3 {
  font-size: 18px;
  line-height: 20px;
  text-transform: uppercase;
}

p {
  font-size: 18px;
  line-height: 26px;
  margin-bottom: 20px;
}

p strong {
  color: #767F8A;
}

.logo {
  font-size: 18px;
  line-height: 32px;
}

.logo p {
  font-size: 14px;
  margin-top: 6px;
  margin-bottom: 0px;
}

i {
  border: solid #14365E;
  border-width: 0 1.5px 1.5px 0;
  display: inline-block;
  padding: 6px;
}

.right {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.left {
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}


video {
  width: 100%;
}
.vimeovideo iframe {
  flex-grow: 1;
  width: 100% !important;
  min-height: 350px;
}

iframe {
  flex-grow: 1;
  width: 100% !important;
}

.vimeovideo {
  min-width: 450px;
  overflow: hidden;
  margin-bottom: 50px;
  width: 70%;
  position: relative;
}

.vimeovideo iframe {
  height: 100%;
  width: 100%;
}

figcaption {
  color: #767F8A;
  font-size: 12px;
  text-align: right;
}

.projet-cover figcaption {
  text-align: right;
}


figure img {
  width: 100%;
  height: 100%;
  max-height: 80vh;
  object-fit: cover;
}

.gallery {
  margin-top: 92px;
}

.gallery figure img {
  max-height: unset;
}

img {
  width: 100%;
  display: block;
}


/* LAYOUT - Mise en page, framework structure des éléments
========================================================================= = */
nav {
  font-size: 16px;
  text-transform: uppercase;
}

nav a {
  margin-right: 28px;
}

nav a:last-child {
  margin-right: 0px;
}

/* Webfont: Noway */@font-face {
  font-family: 'Noway';
  src: url('../Noway-Regular.woff2') format('woff2'), /* Modern Browsers */
       url('../Noway-Regular.otf') format('opentype'); /* Safari, Android, iOS */
           font-style: normal;
  font-weight: normal;
  text-rendering: optimizeLegibility;
}

@font-face {
  font-family: 'noway_roundregular';
  src: url('../nowayround-regular-webfont.eot');
  src: url('../nowayround-regular-webfont.eot?#iefix') format('embedded-opentype'),
       url('../nowayround-regular-webfont.woff2') format('woff2'),
       url('../nowayround-regular-webfont.woff') format('woff'),
       url('../nowayround-regular-webfont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;

}

body {
  font-family: 'noway_roundregular', serif;
  background-color: #FCFDFF;
  color: #14365E;
  font-size: 18px;
  line-height: 24px;
  max-width: 100%;
  margin: 0 auto;
  padding: 20px 24px;
}

.header {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  z-index: 999;
  align-items: baseline;
  position: sticky;
  top: 0;
  background-color: #FCFDFF;
  margin: -24px -24px 0 -24px;
  padding: 20px 24px !important;
}

.home-wrapper {
  margin-top: 87vh;
}

.home-cover {
  margin: -24px;
  margin-bottom: 368px;
  left: 0;
}

.grid-medias {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25%, 1fr));
  grid-column-gap: 12px;
  margin-bottom: 48px;
  justify-items: center;
}

.media {
  height: 100%
}

.media figure {
  height: 100%
}

.flex-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 14px;
  margin-bottom: 48px;
}

.col {
  flex: 1;
}

.col:first-child {
  padding-right: 24px;
}

.flex-grid-halves {
  display: flex;
  margin-bottom: 48px;
  justify-content: space-between;
}

.flex-grid-halves .col {
  flex: none;
  flex: unset;
}

.width-1 {
  width: 40%;
}

.width-2 {
  width: 55%;
  margin-right: 44px;
}

.leave {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
}

.come {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  animation: come 0.7s ease-in-out-circ forwards 1;
}

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

.project-content {
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 14px;
  margin-top: 48px;
  flex-direction: row;
  display: flex;
  flex-wrap: wrap;
}

.descriptions {
  max-width: 675px;
}

.traduction {
  margin-top: 48px;
}

.traduction p strong {
  color: #14365E;
}

.traduction p {
  color: #767F8A;
}

.project-details p {
  text-align: right;
}

.works-wrapper {
  margin-top: 2vh;
}

.arrows {
  margin-top: 5px;
  margin-right: 3px;
}


.works {
  display: flex;
  flex-direction: column;
  margin-bottom: 48px;
  gap: 12px;
  max-width: clamp(40vw, 45vh, 70vw);
  margin: 0 auto;
}

.work {
  position: relative;
}

.work-cover img {
  width: 100%;
  height: 35vh;
  display: block;
  object-fit: cover;
}

.work-name {
  transition: all .3s ease-in-out;
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.work:hover .work-name {
  background-color: rgb(26 42 58 / 50%);
}
.work:hover .work-name p{
  opacity: 1;
  transition: all .3s ease-in-out;
  transform: translateY(0rem);
}

.work-name p {
  font-size: 18px;
  line-height: 22px;
  color: white;
  padding: 8px;
  opacity: 0;
  transform: translateY(2rem);
  margin-bottom: unset;
}

.langs {
  margin-top: 24px;
}

.lozad {
  opacity: 0
}

.fade {
  animation-name: fade;
  animation-fill-mode: forwards;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.portrait,
.portrait img {
  margin-bottom: 24px;
}

.portrait img {
  width: 80%;
}

.biotxt {
  margin-top: -4px;
  margin-bottom: 82px;
  width: 90%;
}

.biotxt em {
  text-align: right;
  color: #767F8A;
}

.etiquettes ul {
  -webkit-column-count: 3;
  -moz-column-count: 3;
  column-count: 3;
  -webkit-column-gap: 2em;
  -moz-column-gap: 2em;
  column-gap: 2em;
  margin-bottom: 42px;
}

.cventry {
  display: flex;
  flex-wrap: wrap;
}

.cventry .dates {
  margin-right: 48px;
  width: 12%;
}

.cventry .details {
  width: 75%;
}

.cventry .details p {
  color: #767F8A;
}

.cventry .details a {
  color: #14365E;
}

@media screen and (max-width: 500px) {
  .etiquettes ul {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
    -webkit-column-gap: 1em;
    -moz-column-gap: 1em;
    column-gap: 1em;
  }
}

.fadein {
  opacity: 1;
}

.show-in {
  opacity: 1;
  right: 16px;
}

/* transition active state (same for leave and enter) */
.barba-leave-active,
.barba-enter-active {
  transition: opacity .6s ease;
}

/* initial state */
.barba-leave {
  opacity: 1;
}

.barba-enter {
  opacity: 0;
}

/* ending state */
.barba-leave-to {
  opacity: 0;
}

.barba-enter-to {
  opacity: 1;
}

/* Note that this code can be refactored for optimization */
/* once: active state, define the transition */
.barba-once-active {
  transition: opacity .6s ease;
}

/* once: initial state */
.barba-once {
  opacity: 0;
}

/* once: ending state */
.barba-once-to {
  opacity: 1;
}

/* @media screen and (max-width: 1400px) {
  .gallery figure img {
    max-height: 260px;
  }
} */

@media screen and (max-width: 1050px) {
  .project-content {
    flex-direction: column;
  }

  .project-details p {
    text-align: left;
  }

  /* .gallery figure img {
    max-height: 190px;
  } */
}


@media screen and (max-width: 768px) {
  body {
    padding: 0 12px;
  }

  .work-name {
    font-size: 24px;
    line-height: 28px;
  }

  .vimeovideo {
    width: 100%;
  }
}

@media screen and (max-width: 660px) {
  .grid-medias {
    display: flex;
    gap: 12px;
    flex-direction: column;
    /* margin: 0; */
  }

  .media {
    padding: 0;
  }

  figure img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}

@media screen and (max-width: 500px) {
  .work-name {
    font-size: 18px;
    line-height: 22px;
  }
  .works {
    width: 100%;
    max-width: 100%;
  }

  .work-cover {
    padding: 0%;
  }

  .work-cover img {
    margin-bottom: 12px;
  }

  .width-1,
  .width-2 {
    width: 100%;
  }

  .flex-grid-halves {
    flex-direction: column;
  }

  .logo {
    font-size: 18px;
    line-height: 18px;
  }

  .logo p {
    font-size: 14px;
  }

  nav {
    font-size: 16px;
  }

  nav a {
    margin-right: 20px;
  }

  .vimeovideo {
    min-width: auto;
  }

  .home-cover {
    margin: -12px;
    margin-bottom: 268px;
    left: 0;
  }

  .home-wrapper {
    margin-top: 50vh !important;
  }

  .home-cover figure img {
    max-height: 275px;
  }

  .header {
    margin: 0 -12px;
    padding-right: 12px !important;
    padding-left: 12px !important;
    padding-top: 12px !important;
  }

  h2 {
    font-size: 20px;
  }

  .vimeovideo > div:first-of-type {
    padding: 70% 0 0 0 !important;
  }

}
@media screen and (max-width: 430px) {
  .vimeovideo > div:first-of-type {
    padding: 80% 0 0 0 !important;
  }
}

:focus {
  outline: transparent auto 0px;
  outline: none;
}

button {
  background: transparent;
  border: none;
  color: grey;
  font-size: 18px;
  cursor: pointer;
}

/* fade image in after load */
/* .lazyload,
.lazyloading {
	opacity: 0;
}
.lazyloaded {
	opacity: 1;
	transition: opacity 800ms;
} */

.swiper-autoheight, .swiper-autoheight .swiper-slide  {
  height: 100% !important;
}

.swiper-button-next,
.swiper-container-rtl .swiper-button-prev,
.swiper-button-prev,
.swiper-container-rtl .swiper-button-next{
    background-image: none;
}

.swiper-button-next::after {
  display: none;
}

.swiper-button-prev::after {
  display: none;
}

.swiper-button-next,
.swiper-button-prev,
.swiper-container-rtl .swiper-button-prev,
.swiper-container-rtl .swiper-button-next{
    fill: #fff;
}

.flex { display: flex; }
.socials a:first-of-type {
  margin-right: 1rem;
}

.flex-medias {
  display: flex;
  gap: 12px;
  flex-direction: column;
  margin-bottom: 48px;
  justify-items: center;
}

.flex-medias .media {
  width: 100%;
}
