@charset "UTF-8";
@font-face {
  font-family: 'ApfelGrotezk-Fett';
  src: url("../../fonts/ApfelGrotezk-Fett.woff2") format("woff2"), url("../../fonts/ApfelGrotezk-Fett.woff") format("woff");
}

@font-face {
  font-family: 'ApfelGrotezk-Regular';
  src: url("../../fonts/ApfelGrotezk-Regular.woff2") format("woff2"), url("../../fonts/ApfelGrotezk-Regular.woff") format("woff");
}

@font-face {
  font-family: 'ApfelGrotezk-Brukt';
  src: url('../../fonts/ApfelGrotezk-Brukt".woff2') format("woff2"), url("../../fonts/ApfelGrotezk-Brukt.woff") format("woff");
}

/* Copyright © 2022-now Flac Studio. All rights reserved. francois.lacruche.fr
<><><><><><><><><><><><><><><><> */
*::-moz-selection {
  color: #f5f5f5;
  background: #f5f5f5;
}

*::selection {
  color: #f5f5f5;
  background: #f5f5f5;
}

html,
body {
  height: 100%;
  background-color: #534d4a;
  font-size: 16px;
  line-height: 1.3;
  font-family: 'ApfelGrotezk-Regular';
  box-sizing: border-box;
}

h1 {
  font-family: 'ApfelGrotezk-Fett';
  text-transform: capitalize;
}

h2 {
  font-family: 'ApfelGrotezk-Fett';
}

strong {
  font-family: 'ApfelGrotezk-Fett';
}

em {
  font-family: 'ApfelGrotezk-Fett';
}

a {
  color: inherit;
  text-decoration: none;
  border-radius: 2px;
}

a:hover {
  background-color: #f5f5f5;
}

a:active {
  background-color: #534d4a;
}

figure {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
}

figure .container {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  width: 100vw;
  height: 2%;
}

figure .container .cell {
  height: 100%;
  width: 2.5vw;
  background-color: #534d4a;
}

figure .container .cell.activated {
  background-color: #f5f5f5;
}

.contact-info {
  z-index: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 16px);
  width: fit-content;
  margin: 0 0 10px 0;
  padding: 10px 0 0 16px;
  color: #f5f5f5;
  box-sizing: border-box;
}

@media only screen and (min-width: 995px) {
  .contact-info {
    flex-direction: row;
    margin: 0 16px 10px 0;
  }
}

.contact-info .info {
  width: 250px;
  position: relative;
  z-index: 1;
  padding: 0 32px 20px 0;
  height: fit-content;
}

.contact-info .info h2 {
  font-family: 'ApfelGrotezk-Regular';
}

.contact-info .info ul,
.contact-info .info p {
  padding-top: 10px;
}

.contact-info .info ul li,
.contact-info .info p li {
  width: fit-content;
  margin-left: 16px;
  background-color: transparent;
  cursor: pointer;
}

.contact-info .info ul li:hover,
.contact-info .info p li:hover {
  border-radius: 2px;
  background-color: #f5f5f5;
}

.contact-info .info ul li:active,
.contact-info .info p li:active {
  background-color: #534d4a;
}

.switch-cv .contact-info .info ul li.cv-button h2, .switch-cv .contact-info .info p li.cv-button h2 {
  font-family: 'ApfelGrotezk-Fett';
  background-color: #f5f5f5;
  color: #534d4a;
  padding: 0 5px 0 5px;
  border-radius: 2px;
}

.switch-cv .contact-info .info ul li.cv-button h2::before, .switch-cv .contact-info .info p li.cv-button h2::before {
  content: '× ';
}

.contact-info .info ul li.cv-button .cv-link,
.contact-info .info p li.cv-button .cv-link {
  display: none;
}

.switch-cv .contact-info .info ul li.cv-button .cv-link, .switch-cv .contact-info .info p li.cv-button .cv-link {
  display: inline-flex;
  border-left: 3px solid #534d4a;
  padding: 0 5px 0 5px;
}

.switch-cv .contact-info .info ul li.cv-button .cv-link:hover, .switch-cv .contact-info .info p li.cv-button .cv-link:hover {
  color: #f5f5f5;
}

.switch-about .contact-info .info ul li.about-button h2, .switch-about .contact-info .info p li.about-button h2 {
  font-family: 'ApfelGrotezk-Fett';
  background-color: #f5f5f5;
  color: #534d4a;
  padding: 0 5px 0 5px;
  border-radius: 2px;
}

.switch-about .contact-info .info ul li.about-button h2::before, .switch-about .contact-info .info p li.about-button h2::before {
  content: '× ';
}

.switch-projects .contact-info .info ul li.projects-button h2, .switch-projects .contact-info .info p li.projects-button h2 {
  font-family: 'ApfelGrotezk-Fett';
  background-color: #f5f5f5;
  color: #534d4a;
  padding: 0 5px 0 5px;
  border-radius: 2px;
}

.switch-projects .contact-info .info ul li.projects-button h2::before, .switch-projects .contact-info .info p li.projects-button h2::before {
  content: '× ';
}

.contact-info .cv,
.contact-info .about,
.contact-info .projects {
  display: none;
  position: relative;
  overflow-y: auto;
  max-height: 100%;
  padding: 0 16px 0 0;
  z-index: 1;
  scrollbar-width: thin;
  scrollbar-color: #756e69 #44403d;
  box-sizing: border-box;
}

.contact-info .cv .year-wrapper,
.contact-info .about .year-wrapper,
.contact-info .projects .year-wrapper {
  display: flex;
  flex-direction: column;
  margin: 0 0 30px 0;
}

@media only screen and (min-width: 725px) {
  .contact-info .cv .year-wrapper,
.contact-info .about .year-wrapper,
.contact-info .projects .year-wrapper {
    flex-direction: row;
  }
}

.contact-info .cv .year-wrapper .year,
.contact-info .about .year-wrapper .year,
.contact-info .projects .year-wrapper .year {
  z-index: 2;
  position: sticky;
  top: 0;
  margin: 0 0 10px 0;
  transition-duration: 200ms;
  flex-shrink: 0;
  width: 4.5ch;
  text-align: left;
}

@media only screen and (min-width: 725px) {
  .contact-info .cv .year-wrapper .year,
.contact-info .about .year-wrapper .year,
.contact-info .projects .year-wrapper .year {
    text-align: center;
    margin: 0 16px 0 0;
  }
}

.contact-info .cv .year-wrapper .year.hovered,
.contact-info .about .year-wrapper .year.hovered,
.contact-info .projects .year-wrapper .year.hovered {
  opacity: 1;
}

.contact-info .cv .year-wrapper .year.not-hovered,
.contact-info .about .year-wrapper .year.not-hovered,
.contact-info .projects .year-wrapper .year.not-hovered {
  opacity: 0.5;
}

.contact-info .cv .year-wrapper .year-content,
.contact-info .about .year-wrapper .year-content,
.contact-info .projects .year-wrapper .year-content {
  transition-duration: 200ms;
}

.contact-info .cv .year-wrapper .year-content.hovered,
.contact-info .about .year-wrapper .year-content.hovered,
.contact-info .projects .year-wrapper .year-content.hovered {
  opacity: 1;
}

.contact-info .cv .year-wrapper .year-content.not-hovered,
.contact-info .about .year-wrapper .year-content.not-hovered,
.contact-info .projects .year-wrapper .year-content.not-hovered {
  opacity: 0.5;
}

.contact-info .cv::-webkit-scrollbar,
.contact-info .about::-webkit-scrollbar,
.contact-info .projects::-webkit-scrollbar {
  width: 8px;
}

.contact-info .cv::-webkit-scrollbar-track,
.contact-info .about::-webkit-scrollbar-track,
.contact-info .projects::-webkit-scrollbar-track {
  background: #44403d;
}

.contact-info .cv::-webkit-scrollbar-thumb,
.contact-info .about::-webkit-scrollbar-thumb,
.contact-info .projects::-webkit-scrollbar-thumb {
  background: #756e69;
}

.contact-info .cv .year-element,
.contact-info .about .year-element,
.contact-info .projects .year-element {
  padding: 10px 0 0 0;
  transition: 100ms ease-out;
  width: 100%;
}

.contact-info .cv .year-element:first-of-type,
.contact-info .about .year-element:first-of-type,
.contact-info .projects .year-element:first-of-type {
  padding: 0 0 0 0;
}

.contact-info .cv .year-element.hovered,
.contact-info .about .year-element.hovered,
.contact-info .projects .year-element.hovered {
  opacity: 1;
}

.contact-info .cv .year-element.not-hovered,
.contact-info .about .year-element.not-hovered,
.contact-info .projects .year-element.not-hovered {
  opacity: 0.5;
}

.contact-info .cv h2,
.contact-info .about h2,
.contact-info .projects h2 {
  padding: 0 0 10px 0;
}

.contact-info .cv h2:first-of-type,
.contact-info .about h2:first-of-type,
.contact-info .projects h2:first-of-type {
  padding: 0 0 10px 0;
}

.contact-info .cv h3,
.contact-info .about h3,
.contact-info .projects h3 {
  width: fit-content;
  padding: 0 4px 0 4px;
  font-family: 'ApfelGrotezk-Fett';
  color: #534d4a;
  background-color: #f5f5f5;
  border-radius: 2px;
  margin-bottom: 2px;
}

.contact-info .cv h4,
.contact-info .about h4,
.contact-info .projects h4 {
  font-family: 'ApfelGrotezk-Fett';
}

.contact-info .cv table,
.contact-info .about table,
.contact-info .projects table {
  width: 100%;
  margin-left: 16px;
}

.contact-info .cv table td,
.contact-info .about table td,
.contact-info .projects table td {
  width: 200px;
  max-width: 50%;
  padding-right: 16px;
}

.contact-info .cv {
  width: 500px;
  max-width: 95vw;
}

.switch-cv .contact-info .cv {
  display: block;
}

.contact-info .cv span {
  opacity: 0.75;
  font-style: italic;
}

.contact-info .cv li {
  margin-left: 16px;
}

.contact-info .about {
  width: 500px;
  max-width: 95vw;
}

.contact-info .about h4 {
  margin-bottom: 10px;
}

.contact-info .about p {
  margin-bottom: 10px;
}

.contact-info .about p:last-of-type {
  margin-bottom: 20px;
}

.switch-about .contact-info .about {
  display: block;
}

.contact-info .about span {
  background-color: #f5f5f5;
  color: #534d4a;
  padding: 0 4px 0 4px;
  border-radius: 2px;
}

.contact-info .about span:hover {
  color: #f5f5f5;
}

.contact-info .about ul li {
  margin-bottom: 10px;
}

.contact-info .projects {
  width: 1000px;
  max-width: 95vw;
}

@media only screen and (min-width: 995px) {
  .contact-info .projects {
    width: calc(100vw - 510px);
  }
}

.switch-projects .contact-info .projects {
  display: block;
}

.contact-info .projects span {
  opacity: 0.75;
  font-style: italic;
}

.contact-info .projects h3 {
  margin-bottom: 10px;
}

.contact-info .projects ul {
  margin-bottom: 20px;
}

.contact-info .projects ul li {
  display: flex;
  flex-direction: column;
  margin: 0 0 20px 0;
}

@media only screen and (min-width: 995px) {
  .contact-info .projects ul li {
    margin: 0 0 20px 16px;
  }
}

.contact-info .projects ul li.no-img {
  margin-bottom: 10px;
}

.contact-info .projects ul li a {
  font-family: 'ApfelGrotezk-Fett';
  width: fit-content;
}

.contact-info .projects ul li p {
  margin-bottom: 10px;
}

.contact-info .projects ul li img {
  display: block;
  border-radius: 2px;
  object-fit: contain;
  width: 100%;
  height: auto;
  background-color: #534d4a;
}

.contact-info .projects ul li img:hover {
  opacity: 0.5;
  background-color: #f5f5f5;
}

.contact {
  display: block;
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 0 16px 10px 0;
  min-width: 200px;
  width: 10%;
  text-align: left;
  color: #f5f5f5;
  z-index: 3;
  box-sizing: border-box;
}

.switch-cv .contact, .switch-about .contact, .switch-projects .contact {
  display: none;
}

@media only screen and (min-width: 595px) {
  .switch-cv .contact, .switch-about .contact, .switch-projects .contact {
    display: block;
    transform: rotate(-90deg) translate(0%, 255%);
    transform-origin: 0% 80%;
  }
}

@media only screen and (min-width: 725px) {
  .switch-cv .contact, .switch-about .contact, .switch-projects .contact {
    transform: rotate(0);
  }
}

.contact .contact-element {
  display: flex;
  justify-content: space-between;
  pointer-events: all;
}

.contact .contact-element h3 {
  font-family: 'ApfelGrotezk-Fett';
}

.language {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  padding: 10px 16px 10px 0;
  width: fit-content;
  text-align: left;
  color: #f5f5f5;
  z-index: 3;
  box-sizing: border-box;
}
