/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

@font-face {
  font-family: "Continental";
  src: url("/fonts/Continental\ Book.otf");
  font-weight: 200;
  font-style: normal;
}
@font-face {
  font-family: "Continental";
  src: url("/fonts/Continental\ Medium.otf");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Continental";
  src: url("/fonts/Continental\ Heavy.otf");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "NotoSansKR";
  src: url("/fonts/NotoSansKR-Regular.otf");
  font-weight: 200;
  font-style: normal;
}
@font-face {
  font-family: "NotoSansKR";
  src: url("/fonts/NotoSansKR-Medium.otf");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "NotoSansKR";
  src: url("/fonts/NotoSansKR-Black.otf");
  font-weight: 700;
  font-style: normal;
}

:root {
  --title-size: 5rem;
  --highlight-color: rgb(0, 250, 145);
  --indent: 5rem;

  --font-small: 1.4rem;
  --font-medium: 4rem;
  --font-header: 2.5rem;
  --font-big: 8rem;

  --margin-article: 17rem;

  --arrow-size: ;
}

@media screen and (max-width: 1200px) {
  :root {
    --font-big: 6rem;
    --title-size: 3rem;
    --font-header: 2rem;
    --margin-article: 5rem;
  }
  .article {
    min-width: 700px !important;
  }
}

@media screen and (max-width: 800px) {
  #mobile {
    box-sizing: border-box;
    position: absolute;
    width: 100vw;
    height: 100vh;
    background-color: black;
    top: 0;
    left: 0;
    z-index: 10;
    color: white;
    display: flex;
    font-size: var(--font-medium);
    font-family: "Continental";
    font-weight: 700;
    justify-content: center;
    align-items: center;
    padding: 2rem;
  }
  #mobile::after {
    max-width: 20rem;
    text-align: center;
    content: ":( THIS WEBSITE IS NOT MOBILE FRIENDLY YET";
  }
}

body {
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  overscroll-behavior-y: none;
}
html {
  overscroll-behavior-y: none;
}

::-moz-selection {
  background-color: var(--highlight-color);
  color: white;
}

::selection {
  background-color: var(--highlight-color);
  color: white;
}

h1 {
  font-family: "Continental";
  font-weight: normal;
  padding: 0;
  margin: 0;
}
#contentwrapper {
  -webkit-transition: -webkit-transform 1s ease-in-out;
  transition: -webkit-transform 1s ease-in-out;
  -o-transition: transform 1s ease-in-out;
  transition: transform 1s ease-in-out, -webkit-transform 1s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
}
#contentwrapper.off {
  -webkit-transform: translateY(100vh);
  -ms-transform: translateY(100vh);
  transform: translateY(100vh);
}

#splash {
  background-color: black;
  height: 100vh;
  width: 100vw;
  position: fixed;
  z-index: 8;
  top: 0;
  left: 0;
  cursor: pointer;
}
#splash.closed {
  top: -10%;
  height: 0vh;
  -webkit-transition: 1s ease-in-out;
  -o-transition: 1s ease-in-out;
  transition: 1s ease-in-out;
}
#splash img {
  height: 100%;
  width: 100%;
}

#header {
  display: flex;
  align-items: flex-start;

  flex-direction: row;
  width: 100vw;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  position: fixed;
  background-color: white;
  overflow: visible;
  justify-content: center;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding-top: 1rem;
  padding-left: 1rem;
  padding-right: 1rem;
  -webkit-font-kerning: none;
  font-kerning: none;
  letter-spacing: -0.1em;
  vertical-align: bottom;
  z-index: 5;
}
#header * {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
#header h1 {
  line-height: 3.7rem;
  -webkit-transform: translateY(0.5rem);
  -ms-transform: translateY(0.5rem);
  transform: translateY(0.55rem);
  -ms-flex-item-align: end;
  align-self: flex-end;
}
#header div {
  font-family: "Continental";
  font-size: var(--font-header);
  font-weight: 200;
  line-height: 2.5rem;
}

#mainTitle {
  font-weight: 700;
  font-size: var(--title-size);
  line-height: var(--title-size);

  vertical-align: sub;
  text-wrap: nowrap;
  white-space: nowrap;
}

#mainTitle:hover {
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  color: var(--highlight-color);
}
#navBtn {
  cursor: pointer;
  width: 100%;
  text-align: right;
}
#navBtn:hover {
  color: var(--highlight-color);
}
#langSwitch {
  width: 100%;
  opacity: 1;
  -webkit-transition: opacity 0.8s ease-in-out;
  -o-transition: opacity 0.8s ease-in-out;
  transition: opacity 0.8s ease-in-out;
}
#langSwitch span:hover {
  color: var(--highlight-color);
  cursor: pointer;
}
#langSwitch.off {
  opacity: 0.1;
  pointer-events: none;
}

#langSwitch .active {
  border-bottom: 2px solid black;
}

#menu-artists {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  overflow-y: scroll;
  -ms-scroll-snap-type: y mandatory;
  overscroll-behavior-y: none;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

#menu-artists::-webkit-scrollbar {
  width: 0;
}
#menu-artists .menu-entry {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-size: var(--font-big);
  max-height: 7rem;
  text-align: center;
  scroll-snap-align: center;
  font-family: "Continental";
  font-weight: 200;
  padding: 0;
  margin: 0;
  cursor: pointer;
  -webkit-font-kerning: none;
  font-kerning: none;
  letter-spacing: -0.35rem;
  vertical-align: center;
}

#menu-artists .menu-entry:first-child {
  margin-top: 100vh;
}

#menu-artists .menu-entry:last-child {
  margin-bottom: 50vh;
}

#menu-artists .menu-entry.selected {
  font-weight: 700;
}

.menu-entry::after,
.menu-entry::before {
  content: "";
  background-color: black;
  width: 20px;
  height: 2px;
}

#footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-family: "Continental";
  font-weight: 200;
  font-size: var(--font-small);
  line-height: 1em;
  width: 100vw;
  height: 3rem;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  bottom: 0;
  overflow: hidden;
  position: fixed;
  background-color: white;
  padding: 0 1rem 0 1rem;
  z-index: 4;
}

#flag {
  height: 100%;
}
#dateTime {
  font-weight: 700;
  width: 100%;
  opacity: 1;
  transition: opacity 0.2s ease-in-out;
}
#dateTime span:last-child {
  font-weight: 200;
}

#dateTime.hidden {
  opacity: 0;
}

#location {
  font-weight: 200;
  width: 100%;
  text-align: right;
  opacity: 1;
  transition: opacity 0.2s ease-in-out;
}
#location span:not(:first-child) {
  font-weight: 700;
}

#location.hidden {
  opacity: 0;
}

#overlay {
  position: absolute;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-transition: -webkit-transform 1s ease-in-out;
  transition: -webkit-transform 1s ease-in-out;
  -o-transition: transform 1s ease-in-out;
  transition: transform 1s ease-in-out;
  transition: transform 1s ease-in-out, -webkit-transform 1s ease-in-out;
  z-index: 3;
}
#overlay.active {
  pointer-events: all;
}
#overlay.off {
  -webkit-transform: translateY(100vh);
  -ms-transform: translateY(100vh);
  transform: translateY(100vh);
}

.arrows {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  width: calc(100% - 2rem);
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin-left: 1rem;
  margin-right: 1rem;
  z-index: 1;
  border-right: 7px solid black;
  border-left: 7px solid black;
  padding-bottom: 1rem;
}

.arrows:first-child {
  padding-top: 1rem;
  padding-bottom: 0.5rem;
}

.arrows img {
  width: var(--font-big);
  padding-right: 0.5rem;
}
.arrows img:first-child {
  scale: -1 1;
}

#articleContainer {
  background-color: white;
  height: 0;
  width: 100%;
  -webkit-transition: height 0.6s ease;
  -o-transition: height 0.6s ease;
  transition: height 0.6s ease;
  overflow-y: scroll;
  display: flex;
  justify-content: center;
}
#articleContainer::-webkit-scrollbar {
  width: 0;
}

#articleContainer.open {
  height: 100vh;
}

.article {
  font-size: var(--font-header);
  font-family: "Continental";
  font-weight: 200;
  padding: 0.38rem var(--margin-article) 0 var(--margin-article);
  margin: 0;
  letter-spacing: -0.04rem;
  max-width: 1300px;
  min-width: 1100px;
}
.article p {
  line-height: 2.7rem;
}

.article h1 {
  margin-bottom: 16rem;
  font-size: var(--font-big);
  line-height: 8rem;
  text-align: center;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
}

.article.kr {
  font-family: "NotoSansKR";
  letter-spacing: 0;
}

.article.kr p {
  line-height: 4.2rem;
}

.article.kr p span {
  font-family: "Continental";
}

.article.kr h1 {
  font-family: "NotoSansKR";
}
.article.off {
  display: none;
}

.article p img {
  display: inline-block;
  height: 4rem;
  -webkit-filter: saturate(0);
  filter: saturate(0);
  vertical-align: top;
  margin-left: 0.5rem;
}
.article p img:hover {
  -webkit-filter: saturate(1);
  filter: saturate(1);
  cursor: pointer;
}

.sub {
  display: inline;
  font-size: var(--font-small);
  line-height: var(--font-small);
  padding: 0;
  margin: 0;
  padding-left: var(--indent);
  border-bottom: 2px solid black;
}

.readtime {
  display: inline;
  font-size: var(--font-small);
  line-height: var(--font-small);
  background-color: black;
  color: white;
  padding-top: 0.2rem;
  padding-bottom: 0.05rem;
  padding-right: 0.2rem;

  padding-left: var(--indent);
}

section p {
  margin: 0;
  word-break: break-word;
  hyphens: auto;
  text-align: justify;
}

section p:not(:first-child) {
  text-indent: var(--indent);
}

section p.dialogue {
  text-indent: var(--indent);
}

.speaker {
  display: inline-block;
  width: 0;
  left: 0;
  text-indent: 0;
  -webkit-transform: translateX(calc(var(--indent) * -1));
  -ms-transform: translateX(calc(var(--indent) * -1));
  transform: translateX(calc(var(--indent) * -1));
  font-size: var(--font-small);
  word-break: keep-all;
  text-align: left;
  line-height: 0rem;
}

.link {
  border-bottom: 2px solid black;
  border-right: 1rem solid black;
  padding-right: 0.2rem;
  cursor: pointer;
}

a {
  text-decoration: none;
  color: black;
}

.link:hover {
  color: var(--highlight-color);
  border-color: var(--highlight-color);
}

#about {
  position: absolute;
  background-color: white;
  height: 100vh;
  width: 100vw;
  bottom: 100vh;
  -webkit-transition: bottom 0.8s ease-in-out;
  -o-transition: bottom 0.8s ease-in-out;
  transition: bottom 0.8s ease-in-out;
  overflow-y: scroll;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding-top: 50vh;
  padding-bottom: 2rem;
  z-index: 4;
  display: flex;
  justify-content: center;
}
#about::-webkit-scrollbar {
  width: 0;
}

#about.on {
  bottom: 0;
}

#about .article h1 {
  margin-top: 3.6rem;
}

#gallery {
  position: absolute;
  background-color: white;
  height: 100vh;
  width: 100vw;
  bottom: 100vh;
  -webkit-transition: bottom 0.8s ease-in-out;
  -o-transition: bottom 0.8s ease-in-out;
  transition: bottom 0.8s ease-in-out;
  overflow-y: scroll;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  z-index: 4;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 8rem;
}
#gallery.on {
  bottom: 0;
}

#gallery #viewer {
  height: 100%;
}
#gallery .arrow {
  width: 5rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#gallery #right {
  scale: -1 1;
}

#gallery .arrow.off {
  opacity: 0;
  pointer-events: none;
}

.article img {
  background-color: black;
}

#beta {
  position: fixed;
  display: block;
  right: 6rem;
  top: 5rem;
  height: 170px;
  width: 170px;
  background-color: var(--highlight-color);
  border-radius: 100px;
  z-index: 3;
  color: white;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-family: "Continental";
  font-size: 4rem;
  -webkit-transform: rotate(330deg);
  -ms-transform: rotate(330deg);
  transform: rotate(-330deg);
  font-weight: 700;
  letter-spacing: -5px;
  text-align: center;
  transition: transform 0.2s ease-in-out;
}
#beta::after {
  content: "Beta";
}

#beta:hover {
  -webkit-transform: rotate(0);
  -ms-transform: rotate(0);
  transform: rotate(0);
  cursor: pointer;
  font-size: 1rem;
  letter-spacing: 0;
  background-color: black;
}

#beta:hover::after {
  content: "Click here for more information";
}
@media screen and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: 0.001dpcm) {
}

.betaContent.off {
  display: none;
}
.aboutContent.off {
  display: none;
}
#about .link {
  border-right: none;
}

#sponsors {
  display: flex;
  padding-top: 10rem;
  padding-bottom: 10rem;
  height: 7rem;
}

#sponsors img {
  filter: saturate(0);
  height: 100%;
}
#sponsors img:hover {
  filter: saturate(1);
  cursor: pointer;
}
