*, *:after, *:before {
  font-size: unset;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Nunito Sans', sans-serif; }

html {
  font-size: 14px; }

body {
  font-size: 12px;
  background: radial-gradient(circle, #e0d8d6 0%, #ced0d6 100%);
  width: 100vw;
  padding: 5vmin;
  overflow: hidden; }

#contents.loaded1 {
  opacity: 1;
  visibility: visible; }

#contents {
  opacity: 0;
  transition: opacity 0.5s linear 0s;
  visibility: hidden;
  height: 100%;
  width: 100%;
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; }

#loader {
  width: 50%;
  max-width: 300px;
  height: 12px;
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform: translate(-50%, 50%);
  z-index: 2000;
  background: white;
  border: 2px solid black;
  padding: 2px;
  border-radius: 3px;
  transition: bottom 0.1s ease-in-out; }
  #loader .progress {
    transition: transform 0.1s linear;
    height: 100%;
    width: 0%;
    background: black;
    transform-origin: left;
    transform: scaleX(2%);
    display: block; }

.loaded2 #loader {
  bottom: 9.375%; }

#loader.loaded3 {
  display: none; }

#projects {
  position: relative;
  max-height: 800px;
  max-width: 800px;
  width: 100%;
  flex-shrink: 0; }
  #projects canvas {
    width: 100%;
    height: unset;
    display: block;
    display: block; }

header {
  width: max-content; }

.verticalH #projects {
  height: 10px;
  flex: 1;
  width: max-content; }
  .verticalH #projects canvas {
    height: 100%;
    width: unset;
    display: block; }

.horizontalH #contents {
  flex-direction: row; }
.horizontalH #projects {
  height: 100%;
  width: unset;
  flex: 0; }
  .horizontalH #projects canvas {
    height: 100%;
    width: unset;
    display: block; }

.horizontalW #contents {
  flex-direction: row; }
.horizontalW #projects {
  width: 10px;
  flex: 1;
  height: max-content; }
  .horizontalW #projects canvas {
    width: 100%;
    height: unset;
    display: block; }

header {
  z-index: 200;
  position: relative;
  padding: 40px 30px 20px 30px;
  text-align: center; }
  header h1, header h2 {
    width: max-content;
    margin: auto;
    margin-bottom: 2px; }
  header h1 {
    font-weight: 900;
    letter-spacing: 0.3rem;
    background: black;
    padding: 0 1.5rem;
    color: white;
    font-size: 2rem; }
  header h2 {
    font-weight: 700;
    letter-spacing: 0.06rem;
    font-style: italic;
    font-size: 1.4rem; }

.loaded1 #contact .form, .loaded1 #contact label, .loaded1 #contact input, .loaded1 #contact textarea, .loaded1 #contact button, .loaded1 #contact div, .loaded1 #contact div:after {
  transition: all 0.17s cubic-bezier(0.42, 0, 0.37, 1.2); }

.loaded1 #contact.thanks .form .thanks, .loaded1 #contact.thanks .form .thanks:after {
  opacity: 1;
  visibility: visible; }

#contact {
  position: relative;
  height: 2rem;
  z-index: 210;
  margin-top: 0.4rem;
  font-size: 1rem; }
  #contact .form, #contact label, #contact input, #contact textarea, #contact button, #contact div, #contact div:after {
    transition: none; }
  #contact .form {
    border-radius: 2px;
    width: 110%;
    padding: 5%;
    padding-top: 2%;
    margin-left: -5%;
    position: absolute;
    bottom: 0;
    background: white; }
    #contact .form div.thanks {
      opacity: 0;
      visibility: hidden;
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      z-index: 5;
      bottom: 120%;
      filter: drop-shadow(0px 2px 8px #0000006b);
      background: #48d694;
      color: black;
      font-weight: 300;
      border-radius: 5px;
      width: max-content;
      padding: 10px 50px; }
      #contact .form div.thanks:after {
        content: "";
        width: 16px;
        height: 16px;
        background: #48d694;
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(45deg); }
    #contact .form div.message, #contact .form input {
      height: 2rem;
      margin: 0 auto;
      text-align: left;
      background: #ebebeb;
      border-radius: 3px 3px 0 0;
      padding: 0.3rem;
      outline: none;
      border: none;
      border-bottom: 1px solid #000; }
    #contact .form button {
      margin: 1.5rem 0 0 auto;
      padding: 0.3rem 1.5rem;
      height: auto;
      outline: none;
      border: none;
      background: #000;
      border-radius: 0px;
      font-weight: 600;
      color: white; }
      #contact .form button:hover {
        background: #5f5f5f; }
    #contact .form label {
      margin-top: 1rem;
      text-align: left;
      color: #000b; }
    #contact .form label, #contact .form input, #contact .form textarea, #contact .form button, #contact .form div.message {
      display: block;
      opacity: 1;
      visibility: visible; }
    #contact .form textarea {
      display: none; }
    #contact .form div.message {
      resize: none;
      height: auto;
      width: 100%;
      padding-bottom: 1.5rem;
      position: relative;
      overflow-y: auto;
      max-height: 30vh; }
    #contact .form label, #contact .form input, #contact .form textarea {
      width: 100%; }
  #contact:not(.open) label:not([type="text"]), #contact:not(.open) input, #contact:not(.open) button {
    visibility: hidden;
    opacity: 0;
    height: 0px;
    padding: 0;
    margin: 0px;
    border: 0; }
  #contact:not(.open) button {
    margin: 0px 0 0px auto; }
  #contact:not(.open) .form {
    margin-left: 0%;
    width: 100%;
    padding: 0%;
    bottom: 0;
    background: Transparent; }
  #contact:not(.open) div.message {
    min-height: 2rem;
    padding: 0.3rem;
    padding-left: 1rem;
    height: 0px;
    width: 75%;
    background: #f8f7f7;
    overflow: hidden; }
    #contact:not(.open) div.message:hover {
      background: #efefef; }
    #contact:not(.open) div.message:before {
      content: "";
      display: block;
      position: absolute;
      right: 0.1rem;
      top: 0.4rem;
      height: 1.2rem;
      width: 2rem;
      background-image: url("/img/write.svg");
      pointer-events: none;
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
      border-right: 0px solid #aaa; }
    #contact:not(.open) div.message:not(.filled):after {
      content: "contactez-moi";
      display: block;
      color: #0008;
      pointer-events: none; }

.horizontalH header, .horizontalW header {
  padding-right: 0; }
.horizontalH #contact.open .form, .horizontalW #contact.open .form {
  bottom: 50%;
  transform: translateY(50%); }

#overlay.open .media, #overlay.open .top, #overlay.open .bottom, #overlay.open .left, #overlay.open .right {
  box-shadow: 0px 6px 13px #2d23234d; }
#overlay.open .top, #overlay.open .bottom, #overlay.open .left, #overlay.open .right {
  transition: all 0.05s ease-out; }

#overlay:not(.open) .media .top, #overlay:not(.open) .media .bottom, #overlay:not(.open) .media .left, #overlay:not(.open) .media .right {
  opacity: 0;
  visibility: hidden;
  transition: none; }
#overlay:not(.open) .media .top {
  bottom: 95%; }
#overlay:not(.open) .media .bottom {
  top: 95%;
  z-index: 1; }
#overlay:not(.open) .media .left {
  right: 95%; }
#overlay:not(.open) .media .right {
  left: 95%; }

.top, .bottom, .left, .right {
  position: absolute;
  visibility: visible;
  opacity: 1; }

.top {
  bottom: 100%; }

.bottom {
  top: 100%; }

.left {
  right: 100%; }

.right {
  left: 100%; }

.top {
  width: 100%; }

.bottom {
  width: 100%; }

.right, .left {
  top: 50%;
  transform: translateY(-50%); }

.noleft .left {
  display: none; }

.noright .right {
  display: none; }

.prev, .next {
  display: block;
  width: 35px;
  height: 45px;
  background: #fff; }
  .prev:after, .prev:before, .next:after, .next:before {
    opacity: 1;
    content: "";
    display: block;
    background: #677577;
    width: 10px;
    height: 1px;
    position: absolute;
    top: 50%; }

.prev {
  border-radius: 2px 0 0 2px; }
  .prev:before, .prev:after {
    transform-origin: 0% center;
    right: 10px; }
  .prev:before {
    transform: translateY(-50%) rotate(45deg); }
  .prev:after {
    transform: translateY(-50%) rotate(-45deg); }

.next {
  border-radius: 0 2px 2px 0; }
  .next:before, .next:after {
    transform-origin: 100% center;
    left: 10px; }
  .next:before {
    transform: translateY(-50%) rotate(45deg); }
  .next:after {
    transform: translateY(-50%) rotate(-45deg); }

.top, .bottom {
  background: white; }

.top {
  border-radius: 2px 2px 0 0;
  display: flex;
  justify-content: space-between;
  padding: 0 10px; }

.titre {
  display: flex;
  padding-right: 10px;
  text-align: left;
  align-items: flex-start; }
  .titre h4 {
    margin: 10px 0px;
    flex-grow: 1;
    font-weight: 600;
    flex-basis: 10px; }
  .titre h3 {
    margin: 10px 10px 0 0;
    padding-right: 10px;
    border-right: 1px solid #677577;
    color: #677577;
    flex-grow: 0;
    font-weight: 800; }

.top .nav {
  flex-grow: 0;
  flex-shrink: 0;
  min-width: 24px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between; }
  .top .nav .close {
    height: 30px;
    width: 100%;
    display: block;
    position: relative;
    cursor: pointer;
    margin-top: 8px; }
    .top .nav .close:after, .top .nav .close:before {
      content: "";
      display: block;
      background: #677577;
      width: 15px;
      height: 1px;
      position: absolute;
      transform-origin: center;
      right: 0%;
      top: 10px; }
    .top .nav .close:before {
      transform: rotate(-45deg); }
    .top .nav .close:after {
      transform: rotate(45deg); }
  .top .nav .image-project {
    padding: 3px 10px 1px 10px;
    background: #d9dfe0;
    border-radius: 2px 2px 0 0;
    font-weight: 300;
    width: max-content; }
    .top .nav .image-project.hidden {
      display: none; }

.bottom {
  display: none; }

.has-desc .bottom {
  display: flex; }

#overlay .media .bottom {
  transition: all 0.17s ease-in-out, z-index 0s linear 0.17s;
  width: 100%;
  min-height: 100%;
  top: 0%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  opacity: 0.94;
  background: #8d92a4;
  text-align: left;
  padding: 0 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center; }
  #overlay .media .bottom div {
    top: 5px;
    right: 50%;
    display: flex;
    align-items: center;
    transform: translateX(50%);
    width: min-content;
    height: min-content;
    position: absolute; }
    #overlay .media .bottom div a {
      cursor: pointer; }
    #overlay .media .bottom div .more {
      display: none;
      font-size: 0.8em; }
    #overlay .media .bottom div .close {
      width: 30px;
      height: 30px;
      display: block;
      position: relative; }
      #overlay .media .bottom div .close:after, #overlay .media .bottom div .close:before {
        content: "";
        display: block;
        position: absolute;
        height: 10px;
        width: 1px;
        left: 50%;
        background: white;
        transform-origin: 50% 100%;
        top: 10px; }
      #overlay .media .bottom div .close:before {
        transform: rotate(-45deg); }
      #overlay .media .bottom div .close:after {
        transform: rotate(45deg); }
  #overlay .media .bottom p {
    letter-spacing: 0.02em;
    font-weight: 300;
    color: #fff;
    line-height: 1.8em;
    margin-right: auto;
    height: 100%;
    overflow: hidden;
    max-height: 500px;
    display: block;
    transition: all 0.17s linear 0.17s;
    max-height: 70%; }

#overlay .media .bottom:not(.more) {
  min-width: min-content;
  height: 30px;
  min-height: 0%;
  padding: 0 0 0 5px;
  width: 25%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 1;
  background: #fff;
  top: 100%;
  border-radius: 0 0 2px 2px; }
  #overlay .media .bottom:not(.more) p {
    visibility: hidden;
    height: 0%;
    max-height: 0px;
    transition: all 0.17s linear 0s; }
  #overlay .media .bottom:not(.more) div {
    width: 100%;
    height: min-content;
    top: 0px;
    transform: translateX(0%);
    right: 0%;
    width: max-content;
    position: relative; }
    #overlay .media .bottom:not(.more) div .more {
      display: block;
      margin-right: 0.5em;
      margin: 0px 0 3px 0;
      font-weight: 300; }
    #overlay .media .bottom:not(.more) div .close {
      margin: 0;
      right: 0;
      top: -2px;
      height: 24px; }
      #overlay .media .bottom:not(.more) div .close:after, #overlay .media .bottom:not(.more) div .close:before {
        top: -2px;
        background: black; }
      #overlay .media .bottom:not(.more) div .close:before {
        transform: rotate(-135deg); }
      #overlay .media .bottom:not(.more) div .close:after {
        transform: rotate(135deg); }

#overlay {
  width: 62.5%;
  height: 62.5%;
  background: Transparent;
  position: absolute;
  left: 18.75%;
  top: 18.75%;
  pointer-events: none;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center; }
  #overlay > .media {
    display: block;
    width: max-content;
    height: max-content;
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto;
    position: relative;
    pointer-events: none; }
    #overlay > .media img, #overlay > .media video {
      max-width: 100%;
      max-height: 100%;
      height: 0;
      display: block;
      opacity: 0;
      box-shadow: 0px 0px 6px -2px #0020;
      transition: box-shadow 0.2s cubic-bezier(0.61, 0.2, 0.57, 1.22) 0.02s;
      z-index: 2;
      position: relative; }
      #overlay > .media img.open, #overlay > .media video.open {
        display: block;
        height: 100%;
        visibility: visible;
        opacity: 1;
        box-shadow: 0px 5px 6px 0px #0020; }
  #overlay.open .media {
    pointer-events: all; }

@media screen and (max-width: 300px) {
  html {
    font-size: 10px; } }
@media screen and (max-height: 500px) {
  header {
    padding: 20px 20px 0 20px; }

  .bottom p {
    font-size: 10px; }

  .bottom div a.more {
    font-size: 10px; }

  .top {
    padding: 0 5px;
    font-size: 10px; }

  .titre {
    flex-wrap: wrap;
    padding: 5px;
    padding-left: 0;
    display: inline; }
    .titre h3, .titre h4 {
      display: inline;
      padding: 0;
      border: none;
      margin-right: 0; }
    .titre h3:after {
      content: " - "; }

  .top .nav {
    margin-right: 0; }
    .top .nav .close {
      margin-top: 3px;
      height: 24px; }
    .top .nav .image-project {
      padding: 1px 4px 0px 4px; }

  html {
    font-size: 10px; } }
@media screen and (max-height: 200px) {
  .top {
    font-size: 5px; }

  body {
    font-size: 5px; }

  header {
    padding: 10px 10px 0 10px; }

  .titre h3 {
    display: none; } }
canvas:not(#view) {
  display: none; }

/*# sourceMappingURL=main.css.map */
