@charset "UTF-8";
@import url("fonts.css");

: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;
}

#title {
  margin: 0;
  font-weight: normal;
  display: inline;
  font-size: inherit;
  top: 9px;
  left: 1.2vw;
  background: black;
  color: white;
  font-family: "PxCondensed_Bold";
  z-index: 20;
}

section#tagList li#clear {
  cursor: pointer;
  padding: 0 2px;
  background-color: white;
  position: fixed;
  font-family: "PxCondensed_Bold";
  right: 3px;
}

section#tagList li#clear.selectable {
  font-family: "PxCondensed_Bold";
}

#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;
  background-color: darkgray;
  filter: grayscale(1) invert(100%) contrast(1.5);
}

section#pictures .next-project:hover {
  filter: grayscale(0) opacity(1);
}

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

.close {
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  position: fixed;
  right: 4vw;
}

.box {
  margin: 2px;
  min-height: 50px;
  min-width: 50px;
  transform: scale(.5);
  transform-origin: top right;
  /* border: 1px solid white; */
  position: relative;
}

.box:after {
  content: "";
  height: 4px;
  width: 141.421%;
  background-color: white;
  position: absolute;
  left: -1px;
  top: 0px;
  transform: rotate(45deg);
  transform-origin: 1px 1px;
}

.box:before {
  content: "";
  height: 4px;
  width: 141.421%;
  background-color: white;
  position: absolute;
  left: 20px;
  top: 0px;
  transform: rotate(-45deg);
  transform-origin: 49px 49px;
}

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

.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: 18px;
  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;
}

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 .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;
}

section#pictures .project .mediaContainer .non-image span {
  margin: auto;
  display: inline-block;
  transform: scaleY(var(--scale));
}

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 {
  background: white;
  position: sticky;
  top: 0;
  margin-bottom: 0;
  padding: 2px;
  z-index: 4;
  max-height: 25vh;
  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;
  font-size: calc(var(--unity) * 1.5);
}

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

section#tagList li.not-selectable,
section#tagList li#clear.not-selectable {
  font-family: "PxCondensed_Regular_09";
  color: lightgray;
}

section#tagList li.not-selectable:hover,
section#tagList li#clear.not-selectable:hover {
  font-family: "PxCondensed_Regular_02";
  cursor: no-drop;
}

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;
  font-family: "PxCondensed_Bold";
}

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;
  height: 2vh;
  background-color: black;
  z-index: 10;
  color: white;
  text-align: center;
  display: none;
}

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

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

