

*::-webkit-scrollbar {
  display: none;
}* {
  -ms-overflow-style: none;
  scrollbar-width: none;
  box-sizing: border-box;
}

/* --- Fonts --- */
@font-face {
  font-family: 'Adelphe-Trouble-Germinal';
  src: url('../fonts/Adelphe-Trouble-GerminalRegular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Adelphe-Trouble-Germinal';
  src: url('../fonts/Adelphe-Trouble-GerminalBold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Adelphe-Trouble-Germinal';
  src: url('../fonts/Adelphe-Trouble-GerminalItalic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'Adelphe-Trouble-Germinal';
  src: url('../fonts/Adelphe-Trouble-GerminalSemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
}

:root {
  --color0: white;
  --color1: blue;
  --color2: rgb(219, 191, 130);
  --color3: rgb(166, 0, 255);
  --unit: 1vw;
}

/*-----------------------*/

body{
  overflow: auto;
  font-size: calc(var(--unit) * 1.5);
  line-height: calc(var(--unit) * 2);
  background: var(--color0);
  font-family: 'Adelphe-Trouble-Germinal';
}

/*-----------------------*/

.projets{
  min-height: 100vh;
  display: flex;
  flex-direction: row;
}

/*-----------------------*/

.navigation{
  display: flex;
  flex-direction: column;
  height: fit-content;
  width: 20vw;
  height: 100vh;
  position: sticky;
  top: 0;
  color: var(--color1);
  padding: calc(var(--unit) * 1);
}.navigation > *{
  cursor: pointer;
  display: inline-flex;
}.navigation > *:hover{
  text-decoration: underline;
}.navigation > *::before{
  content: ">\00a0";
}.nom{
  font-style: italic;
}.nom::before{
  font-style: normal;
}
.position{
  color: var(--color3);
}

.contenus{
  background: var(--color0);
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  height: 100vh;
  overflow-y: auto;
}

/*-----------------------*/

.presentation{
  background: var(--color0);
  display: flex;
  flex-shrink: 0;
  padding: calc(var(--unit) * 3) calc(var(--unit) * 1) calc(var(--unit) * 1) calc(var(--unit) * 32);
  min-height: 80vh;
  position: sticky;
  flex-direction: column;
  top: calc(var(--unit) * 4);
  gap: calc(var(--unit) * 2);
}

.projet {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  flex:1;
  z-index: 2;
}

/*-----------------------*/

.textes {
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  padding: calc(var(--unit) * 1) 0 calc(var(--unit) * 1) calc(var(--unit) * 1);
  align-self: flex-start;
  flex:1;
  gap:calc(var(--unit) * 2);
}.mots_cles{
  display: flex;
  flex-wrap: wrap;
  gap: 0px calc(var(--unit) * 1);
}.mots_cles > *{
  box-shadow: var(--box-shadow-inset);
  color: var(--color2);
  display:block;
}.mots_cles > *::before{
  content: "*\00a0";
}

/*-----------------------*/

.figures {
  display: flex;
  flex-direction: column;
  position: sticky;
  align-self: flex-start;
  width: 50vw;
}.figure{
  top: 0;
  position: sticky;
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background-color: var(--color0);
  padding: calc(var(--unit) * 1) calc(var(--unit) * 1) calc(var(--unit) * 10) calc(var(--unit) * 1);
}.parent > *:last-child {
  padding: calc(var(--unit) * 1);
}

img{
  object-fit: contain;
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 80vh;
  align-self: flex-start;
  background: var(--color0);
}

/* --- Mobile --- */
@media (max-width: 1000px) {
  .projets {
    display: none;
  }

  body::before {
    content: "Version téléphone à venir...";
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 100px;
    line-height: 125px;
    width: 100vw;
    height: 100vh;
    text-align: center;
  }
}

