@charset "UTF-8";

@font-face {
  font-family: "PxCondensed_Regular";
  src: url("fonts/PxCondensed15_Regular.ttf");
}

:root {
  --space: 1vw;
  --unity: 16px;
  --scale: 8;
}

html {
  height: auto;
  font-size: calc(var(--unity) * 1.5);
  margin: 0;
  padding: 0;
  color: black;
}

html,
body,
section {
  scroll-margin-top: 300px;
}

body {
  font-family: "PxCondensed_Regular";
  margin: 0;
  background: white;
}

section#tagList li.title-item {
  background: black;
  box-shadow: none;
}

#title {
  margin: 0;
  font-weight: normal;
  display: inline;
  font-size: inherit;
  top: 9px;
  left: 1.2vw;
  color: white;
  z-index: 20;
  text-transform: uppercase;
}

section#tagList li#clear {
  cursor: pointer;
  padding: 0 2px;
  background-color: white;
  right: 3px;
  position: fixed;
  top: 0;
  text-transform: uppercase;
}

#title:hover,
#clear.selectable:hover {
  color: white !important;
  background-color: black !important;
}

section#pictures {
  display: none;
  position: fixed;
  z-index: 10;
  width: 100vw;
  height: 100vh;
  left: 0;
  top: 0;
}

section#pictures.visible {
  display: flex;
  background: black;
}

section#pictures .next-project {
  width: 4vw;
  cursor: e-resize;
  filter: grayscale(1) invert(0%) contrast(1.5);
}

section#pictures .next-project:hover {
  filter: grayscale(0) invert(0%) contrast(1.5);
  background-color: darkgray;
}

section#pictures .project {
  height: 100vh;
  width: 96vw;
}

.close,
#next {
  display: flex;
  justify-content: center;
  align-items: center;
  top: 2px;
  position: fixed;
  right: 4vw;
  padding-right: 2px;
}

#next {
  display: none;
}


.box {
  margin: 2px;
  min-height: 50px;
  min-width: 50px;
  transform: scale(0.75);
  transform-origin: top right;
  position: relative;
}

.box:hover {
  background: white;
  border: 1px solid black;
  cursor: pointer;
}

.close .box:after,
.close .box:before {
  content: "";
  background-color: white;
  position: absolute;
}

.close .box:after {
  height: 4px;
  width: 141.421%;
  left: -1px;
  top: 0px;
  transform: rotate(45deg);
  transform-origin: 1px 1px;
}

.close .box:before {
  height: 4px;
  width: 141.421%;
  left: 20px;
  top: 0px;
  transform: rotate(-45deg);
  transform-origin: 49px 49px;
}

#next .box {
  border: solid white;
  border-width: 0px 5px 5px 0px;
  transform: scale(0.75) rotate(-45deg);
  transform-origin: center;
}

.box:hover:before,
.box:hover:after {
  background-color: black;
}

section#pictures .project .mediaContainer,
section#pictures .next-project .mediaContainer {
  width: 80vw;
  height: 100vh;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

section#pictures .project .mediaContainer h2 {
  color: black;
  background-color: white;
  font-size: inherit;
  font-weight: normal;
  height: auto;
  margin: 0;
  text-align: center;
  padding: 0 2px;
}

section#pictures .project .mediaContainer h2 + a {
  display: block;
  color: white;
  text-decoration: none;
  border: 1px solid white;
  margin-left: 2px;
  margin-top: 2px;
  text-align: center;
}

section#pictures .project .mediaContainer h2 + a:hover {
  color: black;
  background-color: white;
}

section#pictures .project .infos {
  max-height: 85vh;
  margin: 0;
  padding-left: 3px;
}

section#pictures .project .infos li {
  font-size: calc(var(--unity) * 1.5);
  color: white;
  cursor: pointer;
  letter-spacing: 0.1vw;
  list-style: none;
  padding-left: calc(var(--unity) * 0.5);
}
section#pictures .project .infos li:nth-of-type(odd) {
  /* margin-left: calc(var(--unity) * 2); */
}

section#pictures .project .infos li:hover {
  color: black;
  background-color: white;
  list-style-type: square;
}

section#pictures .project .mediaContainer img,
section#pictures .next-project .mediaContainer img,
section#pictures .project .mediaContainer video {
  max-height: 100%;
  max-width: 100%;

}

section#pictures .next-project .mediaContainer img[src=""]{
border: 2px solid white;
background-color: black;
min-width: 12vw;
min-height: 17vw;
}


section#pictures .project .mediaContainer object {
  width: 100%;
  height: 100vh;
  color: white;
}

section#pictures .project .mediaContainer .non-image {
  font-family: "PxCondensed_Regular";
  display: flex;
  text-align: center;
  width: 12vw;
  height: 17vw;
  outline: 1px solid;
  color: white;
  display: none;
  flex-wrap: nowrap;
  flex-direction: column-reverse;
  justify-content: space-between;
}

section#pictures .project .mediaContainer .non-image span {
  transform: scaleY(calc(var(--scale) / 2));
  word-break: break-all;
  transform-origin: center;
  margin: auto;
  padding: 0 10px;
}

section#thumbnails {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

section#thumbnails > * {
  width: 6.05%;
  height: 8.5547vw;
  margin: 0.1vw 0.1%;
  padding: 0;
  object-fit: cover;
  position: relative;
  box-sizing: border-box;
}

section#thumbnails > img {
  background-color: lightgray;
}

section#thumbnails > .invisible {
  display: none !important;
}

section#thumbnails > .backward {
  filter: grayscale(1);
  opacity: 0.1;
  transition: opacity 0.1s;
}
section#thumbnails > .notImage.backward {
  opacity: 0.1;
}

section#thumbnails .notImage {
  font-family: "PxCondensed_Regular";
  display: flex;
  text-align: center;
  border: 1px solid;
}

section#thumbnails .notImage span {
  margin: auto;
  display: inline-block;
  transform: scaleY(var(--scale));
}

section#thumbnails .notImage:hover,
section#thumbnails img:hover {
  cursor: pointer;
  background-color: black;
  color: white;
  outline: 1px solid black;
}

section#thumbnails img:hover {
  filter: grayscale(1) contrast(1.5) invert(100%);
}

section#tagList {
  position: sticky;
  top: 0;
  margin-bottom: 0;
  padding: 2px;
  z-index: 4;
  max-height: 33.33vh;
  overflow-y: auto;
}

section#tagList.expanded {
  max-height: none;
}

section#tagList ul {
  padding: 0;
  margin: 0;
}

section#tagList li {
  display: inline;
  position: relative;
  list-style: none;
  padding: 0 2px;
  color: black;
  background: white;
  box-shadow: black 2px 2px;
}

section#tagList li:nth-last-of-type(2) {
  margin-right: 25vw;
}

section#tagList li:hover {
  cursor: pointer;
}

section#tagList li.not-selectable,
section#tagList li#clear.not-selectable {
  color: black;
  background-color: black;
  box-shadow: none;
}

section#tagList li.not-selectable:hover,
section#tagList li#clear.not-selectable:hover {
  cursor: not-allowed;
}

section#tagList li.selectable {
  color: black;
  font-family: "PxCondensed_Regular";
}

section#tagList li.selectable:hover,
section#tagList li#clear.selectable:hover,
section#tagList li.selected,
section#tagList li.onward,
section#tagList #more:hover {
  background-color: black;
  color: white;
  box-shadow: none;
}

section#tagList #more:before {
  content: "↓";
}

section#tagList.expanded #more:before {
  content: "↑";
}

section#tagList #more {
  position: fixed;
  left: 0;
  text-align: center;
  background-color: white;
  border-right: 1px solid;
  border-top: 1px solid;
  width: calc(var(--unity) * 1.5);
}

section#tagList #more:hover {
  cursor: ns-resize;
}

#more-below {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: black;
  z-index: 10;
  color: white;
  text-align: center;
  display: none;
}

#more-below p {
  margin: 0;
}

#more-below.visible {
  display: block;
}

#image-title {
  background-color: white;
  color: black;
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 10;
}

/* About */

body#about {
  padding: var(--unity);
}

body#about h1 {
  font-size: inherit;
  font-weight: normal;
  margin: 0;
  padding: 0;
  box-shadow: black 2px 2px;
  display: inline-block;
  padding: 0 2px;
}

body#about p {
  max-width: calc(var(--unity) * 50);
  text-align: justify;
  margin: var(--unity) 0;
}

/* body#about p:nth-of-type(1) {
  margin-left: calc(var(--unity) * 2);
}

body#about p:nth-of-type(2) {
  margin-left: calc(var(--unity) * 4);
}

body#about p:nth-of-type(3) {
  margin-left: calc(var(--unity) * 6);
}

body#about p:nth-of-type(4) {
  margin-left: calc(var(--unity) * 8);
}

body#about p:nth-of-type(5) {
  margin-left: calc(var(--unity) * 10);
}

body#about p:nth-of-type(6) {
  margin-left: calc(var(--unity) * 12);
}

body#about p:nth-of-type(7) {
  margin-left: calc(var(--unity) * 14);
}

body#about p:nth-of-type(8) {
  margin-left: calc(var(--unity) * 16);
}

body#about p:nth-of-type(9) {
  margin-left: calc(var(--unity) * 18);
} */

body#about p a {
  background-color: black;
  color: white;
  text-decoration: none;
  padding: 0 2px;
}

body#about p a:hover {
  outline: 1px solid;
  background-color: white;
  color: black;
}

@media print {
  @page {
    size: A4;
    margin: 0.25cm;
  }

  body#about {
    font-size: calc(var(--unity));
  }

  body#about h1 {
    box-shadow: black 1px 1px;
  }

  body#about p {
    max-width: calc((20.5cm / 3) * 2);
  }

}

