@charset "UTF-8";
@font-face {
  font-family: "LeifSN-Regular";
  src: url("../fonts/Store-Norske-Leif-Book/LeifSN-Book.woff2") format("woff2");
}
@font-face {
  font-family: "LeifSN-Italic";
  src: url("../fonts/Store-Norske-Leif-Book-Italic/LeifSN-BookItalic.woff2") format("woff2");
}
@font-face {
  font-family: "A030-Reg";
  src: url("../fonts/A030/A030-Reg.woff2") format("woff2"), url("../fonts/A030/A030-Reg.woff") format("woff"), url("../fonts/A030/A030-Reg.ttf") format("truetype");
}
@font-face {
  font-family: "A030-Ita";
  src: url("../fonts/A030/A030-Ita.woff2") format("woff2"), url("../fonts/A030/A030-Ita.woff") format("woff"), url("../fonts/A030/A030-Ita.ttf") format("truetype");
}
@font-face {
  font-family: "glyphs";
  src: url("../fonts/GlyphsFont/GlyphsFont-Regular.otf") format("opentype");
}
:root {
  --font-size: 2vw;
  --line-height: calc(var(--font-size) * 1.15);
  --small-font-size: 16px;
  --small-line-height: 20px;
  --border-distance: var(--small-line-height);
  --light-yellow: #ffffa8;
  --background-about: rgba(255, 255, 255);
  --background-context: rgba(100, 100, 100);
}

a:visited,
a {
  color: blue;
  text-decoration: none;
}

em {
  font-family: "LeifSN-Italic", "Times", "Times New Roman", serif;
}

.image,
body {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
}

body {
  font-family: "LeifSN-Regular", "Times", serif;
  font-size: var(--font-size);
  line-height: var(--line-height);
  color: white;
  background-color: gray;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  padding: var(--border-distance) calc(var(--border-distance) * 1);
  padding-bottom: calc(var(--line-height) * 1);
  transition: opacity 1s;
}

body.playing.realseeking {
  cursor: wait;
}

body.playing.realseeking .sound.playing .audio {
  color: lightgrey;
  opacity: 0.5;
}

body > * {
  vertical-align: top;
}

h1 {
  display: inline-block;
  margin-right: calc(var(--border-distance) * 3);
  position: sticky;
  top: var(--border-distance);
  margin-bottom: var(--line-height);
}

/* RIGHT MENU */
#menu {
  position: fixed;
  right: var(--border-distance);
  top: var(--border-distance);
  font-family: "A030-Reg", "Arial", sans-serif;
  text-align: right;
}
#menu .menu-trigger::before {
  font-family: "glyphs";
  content: "⚬";
  display: inline-block;
  text-align: left;
}
#menu .menu-trigger.on::before {
  content: "×";
}
#menu div.direction {
  display: inline;
  text-transform: uppercase;
}
#menu div.direction .place {
  display: block;
  text-decoration: underline;
  display: none;
}
#menu div.direction .title {
  display: none;
}
#menu #position > div > span::before,
#menu #position > div #destination::before {
  content: "▼";
  font-family: "glyphs";
  display: inline-block;
}
#menu #position svg {
  display: none;
  width: calc(var(--font-size) / 1.5);
  height: calc(var(--font-size) / 1.2);
  margin-right: calc(var(--font-size) / -6);
  vertical-align: bottom;
  padding-bottom: calc(var(--font-size) / 5);
}
#menu #position svg path, #menu #position svg circle {
  stroke: white;
}
#menu #position svg path {
  stroke-width: 35;
}
#menu #position svg circle {
  fill: white;
}
#menu #position #destination {
  display: none;
}
#menu #position .extra {
  display: none;
}
#menu #language {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
}

main {
  display: inline-block;
  max-width: calc(var(--font-size) * 30);
  margin-right: 15%;
}

/* WORKS */
.next a::before {
  content: "*";
}

#work {
  display: inline-block;
}

#works #currentWork,
#work #currentWork {
  display: inline-block;
}
#works #supposedWork,
#work #supposedWork {
  display: none;
}
#works .title::after,
#works .place::after,
#work .title::after,
#work .place::after {
  content: ",";
}
#works .year::after,
#work .year::after {
  content: ".";
}
#works .project,
#work .project {
  display: inline-block;
}
#works h2,
#work h2 {
  margin-bottom: calc(var(--small-line-height) / 2);
}
#works .project.child,
#work .project.child {
  margin-top: calc(var(--small-line-height) / 2);
}
#works .project.child ~ .project.child,
#work .project.child ~ .project.child {
  margin-top: 0;
}
#works .project > .project,
#works .worklink.child,
#work .project > .project,
#work .worklink.child {
  margin-left: calc(var(--font-size) * 0.95);
}
#works .worklink.current > .name,
#works .worklink.child.current,
#work .worklink.current > .name,
#work .worklink.child.current {
  color: darkgrey;
}
#works .child,
#work .child {
  display: block;
}
#works .project > .project h2::before,
#works .child::before,
#work .project > .project h2::before,
#work .child::before {
  content: "↳";
  font-family: "glyphs";
  position: absolute;
  margin-left: calc(var(--font-size) * -1);
  width: calc(2 * var(--font-size));
}
#works .worklink,
#work .worklink {
  display: none;
}
#works .text,
#work .text {
  max-width: calc(var(--small-font-size) * 40);
  font-size: var(--small-font-size);
  line-height: var(--small-line-height);
  color: #000;
  border-radius: 10rem;
}
#works .commands,
#work .commands {
  display: none;
  justify-content: flex-end;
  padding-bottom: calc(var(--line-height) / 4);
  padding-right: calc(var(--line-height) / 4);
  background: var(--background-about);
}
#works .commands .button,
#work .commands .button {
  display: inline-block;
  font-size: 2rem;
  color: blue;
}
#works .commands .button:hover,
#work .commands .button:hover {
  cursor: pointer;
}
#works .commands .button::after,
#work .commands .button::after {
  content: "+";
  display: inline-block;
}
#works .text.hasPreview .commands,
#work .text.hasPreview .commands {
  display: flex;
}
#works .text.hasPreview .full,
#work .text.hasPreview .full {
  display: none;
}
#works .text.hasPreview .details .about, #works .text.hasPreview .details .context,
#work .text.hasPreview .details .about,
#work .text.hasPreview .details .context {
  padding-bottom: 0;
}
#works .text.hasPreview.showAll .preview,
#work .text.hasPreview.showAll .preview {
  display: none;
}
#works .text.hasPreview.showAll .full,
#work .text.hasPreview.showAll .full {
  display: block;
}
#works .text.hasPreview.showAll .details .about,
#work .text.hasPreview.showAll .details .about {
  padding-bottom: var(--border-distance);
}
#works .text.hasPreview.showAll .commands,
#work .text.hasPreview.showAll .commands {
  background: var(--background-context);
  color: white;
}
#works .text.hasPreview.showAll .commands .button::after,
#work .text.hasPreview.showAll .commands .button::after {
  transform: rotate(45deg);
}
#works .details,
#work .details {
  font-family: "A030-Reg", "Arial", sans-serif;
  color: black;
  position: relative;
  z-index: 1;
}
#works .details a:visited,
#works .details a,
#work .details a:visited,
#work .details a {
  color: blue;
}
#works .details .about, #works .details .context,
#work .details .about,
#work .details .context {
  padding: calc(var(--small-line-height) * 1);
  padding-top: calc(var(--small-line-height) * 1);
}
#works .details .about,
#work .details .about {
  background: var(--background-about);
}
#works .details .context,
#work .details .context {
  color: whitesmoke;
  background: var(--background-context);
}
#works .details p:not(:last-child),
#work .details p:not(:last-child) {
  margin-bottom: var(--small-line-height);
}
#works .details em,
#work .details em {
  font-family: "A030-Ita";
}
#works .episodes,
#work .episodes {
  margin-top: calc(var(--line-height) / 4);
}

/* ABOUT GENERAL */
#works,
#about {
  display: none;
}

#about .content {
  min-height: calc(100vh - var(--border-distance) * 2);
  min-height: calc(100dvh - var(--border-distance) * 2);
  padding-bottom: var(--border-distance);
  position: relative;
}

#about .content > p:last-of-type {
  padding-bottom: var(--line-height);
}

#about .content p {
  margin-bottom: var(--line-height);
}

#about a.pdf::before {
  content: " ";
  background-image: url("/assets/favicons/pdf.svg");
  background-size: 100%;
  background-repeat: no-repeat;
  display: block;
  width: 6rem;
  height: 7.5rem;
}

#about a.pdf {
  display: inline-block;
  font-size: 1rem;
  text-align: center;
}

#about #credits {
  position: absolute;
  bottom: 0;
  font-size: var(--small-font-size);
  line-height: var(--small-line-height);
  font-family: "A030", "Arial", "Helvetica", sans-serif;
}

#about.menu-mode {
  display: inline-block;
}

.slider.mobile {
  display: none;
}

body:not(.home) .slider .image {
  transition: filter 1s, opacity 1s;
}

.slider .image {
  position: fixed;
  z-index: -4;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  opacity: 0;
}
.slider .image img {
  visibility: hidden;
}
.slider .image figcaption {
  position: fixed;
  bottom: 0;
  font-size: 1rem;
  font-family: "A030-Reg";
  color: black;
  background: var(--background-about);
  line-height: 1.2rem;
  padding: 0.5rem calc(var(--border-distance) * 0.75);
  padding-left: calc(var(--border-distance) * 1);
}
.slider .image .counter::before,
.slider .image .counter::after {
  display: inline-block;
}
.slider .image .counter::before {
  content: "(";
}
.slider .image .counter::after {
  content: ")";
}
.slider .image.show {
  opacity: 1;
}
.slider .image.show:not(.transition) {
  z-index: -3;
}
.slider .arrow {
  position: fixed;
  top: 45vh;
  top: 45dvh;
  font-size: calc(var(--font-size) * 2);
}
.slider .arrow#left-arrow {
  left: var(--border-distance);
}
.slider .arrow#right-arrow {
  right: var(--border-distance);
}
.slider .arrow#left-arrow::before {
  content: "←";
}
.slider .arrow#right-arrow::before {
  content: "→";
}

.figcaption {
  position: fixed;
  bottom: 0;
  left: 0;
  background: white;
  color: #000;
  font-family: sans-serif;
  font-size: 1rem;
  line-height: 1rem;
  padding: 4px 6px;
  z-index: 9999;
}

/* AUDIO */
h2.playing,
.episode.playing {
  color: yellow;
}
h2.playing .audio .play .lecture,
.episode.playing .audio .play .lecture {
  display: none;
}
h2.playing .audio .play .pause,
.episode.playing .audio .play .pause {
  display: inline-block;
  position: unset;
  z-index: unset;
  opacity: 1;
}
h2.playing .progress,
.episode.playing .progress {
  z-index: -1;
}
h2.playing .progress.move.moving,
.episode.playing .progress.move.moving {
  color: grey;
  display: block;
}

.sound {
  color: var(--light-yellow);
}

.audio.played .progress {
  opacity: 1;
}

.episodes {
  margin-left: 3rem;
  counter-reset: episode;
}
.episodes .episode::before {
  counter-increment: episode;
  content: counter(episode) ".";
  position: absolute;
  margin-left: calc(var(--font-size) * -1);
}

.audio.loading {
  color: lightgrey;
  opacity: 0.5;
}

.audio > *:not(.counter) {
  position: absolute;
}
.audio .counter .currentTime::after {
  content: " / ";
}
.audio .play {
  display: inline-block;
}
.audio .sign {
  font-family: "glyphs";
}
.audio .sign.lecture::before {
  content: "▶";
}
.audio .sign.pause::before {
  content: "█";
}
.audio .sign {
  display: inline-block;
}
.audio .pause {
  opacity: 0;
  position: absolute;
  z-index: -3;
  opacity: 0;
}
.audio .progress {
  height: 100vh;
  height: 100dvh;
  left: 0;
  top: 0;
  z-index: -2;
  border-left: solid calc(var(--border-distance));
  position: fixed;
  opacity: 0;
  transition: opacity 1s;
}
.audio .progress .follow {
  position: absolute;
  width: 40rem;
  display: none;
  bottom: calc(var(--border-distance) * 2);
}
.audio .progress .follow .name {
  display: none;
}
.audio .progress .follow > * {
  display: inline-block;
  padding: 0 0.25rem;
}
.audio .progress.move {
  display: none;
}
.audio audio {
  display: none;
}

body.showing-menu.hasBackground #works,
body.showing-menu.hasBackground #about {
  background-color: rgba(100, 100, 100, 0.75);
}

body.showing-menu {
  overflow: hidden;
}
body.showing-menu #menu {
  z-index: 99999;
}
body.showing-menu main::-webkit-scrollbar,
body.showing-menu #works::-webkit-scrollbar,
body.showing-menu #about::-webkit-scrollbar {
  display: none;
}
body.showing-menu #works,
body.showing-menu #about {
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  padding: var(--border-distance);
  overflow: scroll;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
body.showing-menu #works:hover,
body.showing-menu #about:hover {
  cursor: w-resize;
}

body.showing-menu[data-openmenu=menu-about] #about {
  display: block;
}

body.showing-menu[data-openmenu=menu-works] #works {
  display: block;
}
body.showing-menu[data-openmenu=menu-works] #works .worklink {
  display: block;
}

body.on,
body.on .sound,
body.on.playing a:not(:hover) {
  transition: color 1s, background 1s;
}

body.playing {
  color: gainsboro;
  background-color: black;
}
body.playing .image {
  filter: grayscale(100%);
}
body.playing .images .image .figcaption {
  background: white;
}
body.playing .episode:not(.playing) {
  color: #fff;
}
body.playing .episode:not(.playing) .progress {
  opacity: 0;
}
body.playing .episode:not(.playing) .audio .sign {
  color: #fff;
}
body.playing h1 a,
body.playing #menu a,
body.playing #works a,
body.playing #work a,
body.playing .project > *:not(.sound, .project) a {
  color: grey;
}
body.playing h1 .details a,
body.playing #menu .details a,
body.playing #works .details a,
body.playing #work .details a,
body.playing .project > *:not(.sound, .project) .details a {
  color: blue;
}
body.playing #menu #position svg path, body.playing #menu #position svg circle {
  stroke: white;
}
body.playing #menu #position svg circle {
  fill: white;
}
body.playing .sound.playing .audio .progress:not(.still) .follow {
  display: block;
}

body.supposing:not(.arrival) {
  overflow: hidden;
}
body.supposing:not(.arrival) #menu #position .extra,
body.supposing:not(.arrival) #menu #position #currentPlace {
  display: none;
}
body.supposing:not(.arrival) #menu #position #destination {
  display: inline;
}

body.home > header .works .worklink,
body.home > header .works .worklink .title {
  font-size: inherit;
  font-family: inherit;
}

body.home #enter-the-site {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 3rem;
  width: 100%;
  height: 100vh;
  height: 100dvh;
}

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