@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Fira+Code&family=Playfair+Display:ital@0;1&display=swap");
@font-face {
  font-family: "HB-Icons";
  src: url("../fonts/HB_Icons.woff2") format("woff2"), url("../fonts/HB_Icons.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* Colors */
/* Transition effects */
/* Define a transition duration during page visits */
html.is-changing .transition-fade {
  transition: opacity 0.25s;
  opacity: 1;
}

/* Define the styles for the unloaded pages */
html.is-animating .transition-fade {
  opacity: 0;
}

#layer-1.is-changing {
  transition: opacity 500ms;
}

#layer-1.is-animating {
  opacity: 0;
}

#layer-2.is-changing {
  transition: opacity 500ms;
}

#layer-2.is-animating {
  opacity: 0;
}

/* Core Stuff */
:root {
  --plyr-color-main: rgba(0, 51, 102, .5);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  outline: none;
}

html {
  font-size: 100%;
  font-size: clamp(10px, 1vw, 20px);
  width: 100%;
  height: 100%;
}

body {
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  line-height: 1.4;
  width: 100%;
  height: 100%;
  color: #000;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #000;
}

h3 {
  margin: 1rem 0 2rem;
  font-size: 1.2rem;
}

a {
  color: #036;
  text-decoration: none;
}

a:hover {
  color: #175E91;
}

i {
  display: inline-block;
  font-family: "HB-Icons";
  font-style: normal;
}
i.arrow {
  font-size: 1.8rem;
  line-height: 1.2;
  margin-right: 0.5rem;
}
i.arrow:before {
  content: "→";
}
i.arrow.left:before {
  content: "←";
}

pre {
  background: #F0F0F0;
  margin: 1rem 0;
  border-radius: 2px;
}

blockquote {
  border-left: 10px solid #eee;
  margin: 0;
  padding: 0 2rem;
}

/* Content Styling */
header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
}

main {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}
main img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

#layer-1 {
  z-index: 10;
  position: absolute;
  top: 1.5rem;
  left: 3rem;
  padding: 0;
  margin: 0;
  border-bottom: 0;
  overflow: hidden;
  min-height: calc(100vh - 4.5rem);
  height: auto;
  max-height: calc(100vh - 1.5rem);
  width: calc(100vw - 4.5rem);
  border: 1px solid #036;
  background: #f5f5f5;
}
#layer-1.default {
  height: calc(100vh - 4.5rem);
}
#layer-1 .sections {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  width: calc(100% - 6rem);
  height: 100%;
  max-height: calc(100vh - 1.5rem);
  overflow-y: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
#layer-1 .sections .section {
  padding: 1.5rem;
  max-height: 65vh;
  width: 50%;
  margin-bottom: 3rem;
}
#layer-1 .sections .section img {
  display: block;
  max-width: 100%;
  max-height: 100%;
}
#layer-1 .sections .section.video {
  max-height: calc(100vh - 3.5rem);
}
#layer-1 .sections.default {
  flex-wrap: nowrap;
  width: 100%;
  height: calc(100vh - 4.5rem);
  font-size: 1.375rem;
}
#layer-1 .sections.default .image {
  max-width: 30vw;
  margin: 5rem 3rem 0 0;
}
#layer-1 .sections.default .image img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: top;
     object-position: top;
}
#layer-1 .sections.default .content {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  width: 100%;
  padding: 4.5rem 0 1.5rem 1.5rem;
  height: 100%;
  max-height: calc(100vh - 1.5rem);
  overflow-y: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
#layer-1 .sections.default .content p {
  margin: 0 0 1rem;
}
#layer-1.color-reverse {
  border-color: #f5f5f5;
  background-color: #036;
  color: #f5f5f5;
}
#layer-1.color-reverse a {
  color: whitesmoke;
}
#layer-1.color-reverse h1, #layer-1.color-reverse h2, #layer-1.color-reverse h3, #layer-1.color-reverse h4, #layer-1.color-reverse h5, #layer-1.color-reverse h6 {
  color: whitesmoke;
}
#layer-1.color-reverse svg line {
  stroke: whitesmoke;
}

#layer-2 {
  z-index: 20;
  position: absolute;
  top: 3rem;
  left: 1.5rem;
  height: calc(100vh - 4.5rem);
  min-height: calc(100vh - 4.5rem);
  max-height: calc(100vh - 4.5rem);
  box-shadow: 0.75rem 1rem rgba(0, 51, 102, 0.25);
  width: calc(100vw - 4.5rem);
  border: 1px solid #036;
  background: #f5f5f5;
}
#layer-2 .swiper {
  margin-right: 6rem;
  max-height: 100%;
}
#layer-2 .swiper .swiper-slide {
  background: #f5f5f5;
  max-width: 100%;
  height: calc(100vh - 4.5rem);
  max-height: calc(100% - 2px);
}
#layer-2 .swiper .swiper-slide .title-and-desc {
  position: absolute;
  top: 0;
  left: 0;
  padding: 4.5rem 4.5rem 1.5rem 1.5rem;
  background: rgba(245, 245, 245, 0.9);
  height: 100%;
  max-width: 52rem;
}
#layer-2 .swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: left;
     object-position: left;
}
#layer-2 .swiper-button-prev,
#layer-2 .swiper-button-next {
  top: auto;
  bottom: 6rem;
  right: 1.5rem;
  left: auto;
  margin-top: 0;
  outline: none;
}
#layer-2 .swiper-button-next {
  top: auto;
  bottom: 1.5rem;
}

.close-icon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 11;
}

svg line {
  stroke-width: 5px;
}

/* Menu Settings */
.main-nav ul {
  font-family: "Fira Code", monospace;
  text-transform: uppercase;
  width: calc(100vw + 1px);
  text-align: center;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  font-size: 2rem;
  color: whitesmoke;
}

.main-nav ul li {
  display: inline-block;
  flex-grow: 1;
  letter-spacing: normal;
  min-width: 30vw;
  border-bottom: 1px solid whitesmoke;
  border-right: 1px solid whitesmoke;
  transition: background-color 250ms;
}
.main-nav ul li:hover {
  background-color: rgba(0, 51, 102, 0.25);
}
.main-nav ul li:last-of-type {
  border-right: none;
}

.main-nav ul li a {
  position: relative;
  width: 100%;
  padding: 5rem 10rem;
  display: block;
  white-space: nowrap;
  text-decoration: none;
  color: whitesmoke;
}

@media only screen and (max-width: 834px) {
  /* Vos styles pour les petits écrans */
  #layer-1 {
    left: 1.5rem;
    width: calc(100vw - 3rem);
  }
  #layer-1 .sections .section {
    width: 100%;
  }
  #layer-1 .sections.default {
    flex-direction: column;
  }
  #layer-1 .sections.default .content {
    flex-wrap: nowrap;
    padding: 1.5rem;
  }
  .close-icon {
    width: 3rem;
    height: 3rem;
  }
  .close-icon svg {
    width: 100%;
    height: 100%;
  }
  #layer-2 .swiper {
    margin-right: 0;
  }
  #layer-2 .swiper-button-prev,
  #layer-2 .swiper-button-next {
    width: 3rem;
    height: 3rem;
  }
}/*# sourceMappingURL=custom.css.map */