/**
 * @license
 * MyFonts Webfont Build ID 4148950, 2021-08-16T21:30:05-0400
 *
 * The fonts listed in this notice are subject to the End User License
 * Agreement(s) entered into by the website owner. All other parties are
 * explicitly restricted from using the Licensed Webfonts(s).
 *
 * You may obtain a valid license at the URLs below.
 *
 * Webfont: NeueHaasUnicaW1G-Bold by Linotype
 * URL: https://www.myfonts.com/fonts/linotype/neue-haas-unica/bold/
 *
 * Webfont: NeueHaasUnicaW1G-Regular by Linotype
 * URL: https://www.myfonts.com/fonts/linotype/neue-haas-unica/regular/
 *
 *
 * Webfonts copyright: Copyright &amp;#x00A9; 2016 Monotype Imaging Inc. All rights reserved.
 *
 * © 2021 MyFonts Inc
*/


/* @import must be at top of file, otherwise CSS will not work */

@import url("//hello.myfonts.net/count/3fd5d2");

@font-face {
  font-family: "Jun-Jung";
  font-style: normal;
  font-weight: bold;
  font-stretch: normal;
  src: url('webFonts/NeueHaasUnica/normal_normal_bold.woff2') format('woff2'), url('webFonts/NeueHaasUnica/normal_normal_bold.woff') format('woff');
}
@font-face {
  font-family: "Jun-Jung";
  font-style: normal;
  font-weight: normal;
  font-stretch: normal;
  src: url('webFonts/NeueHaasUnica/normal_normal_normal.woff2') format('woff2'), url('webFonts/NeueHaasUnica/normal_normal_normal.woff') format('woff');
}
@font-face {
  font-family: "Jun-Jung";
  font-style: italic;
  font-weight: normal;
  font-stretch: normal;
  src: url('webFonts/NeueHaasUnica/italic_normal_normal.woff2') format('woff2'), url('webFonts/NeueHaasUnica/italic_normal_normal.woff') format('woff');
}


:root {
  --margin: 25px;
  --desktopImgMargin: 15px;
  --padImgMargin: 8px;
  --mobileMargin: 20px;
  --mobileImgMargin: 3px;
}

body {
  font-family: "Jun-Jung";
  font-size: 16px;
  line-height: 22px;
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
}

#loading {
  position: fixed;
  color: white;
  background: black;
  top: 0;
  width: 100%;
  height: 100%;
  /* transition: 0.3s; */
  opacity: 0;
  z-index: 99;
}

#loading > p {
  /* font-family: "Jun-Bold"; */
  text-align: center;
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-transform: uppercase;
  letter-spacing: 2px;
  animation-duration: 1s;
  animation-name: blinking;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  /* transform-origin: 50% 50%; */
}

.dot {
  height: 20px;
  width: 20px;
  background-color: white;
  border-radius: 50%;
  display: inline-block;
}

@keyframes blinking {
  from {
  /* transform: rotate(0); */
  letter-spacing: 10px;
    /* font-family: "Jun-Bold"; */
  }
  to {
    /* transform: rotate(360deg); */
    letter-spacing: 30px;
    /* font-family: "Jun-Regular"; */
  }
}

#header {
  position: fixed;
  left: var(--margin);
  top: 11px;
  color: #212121;
  z-index: 3;
  transition: 0.5s left;
  padding-right: var(--margin);
}

#headerClick:hover {
  cursor: zoom-in;
}

#intro, #contact {
  display: none;
  opacity: 0;
}

a {
  color: grey;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

#name {
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#container {
  /* display: flex; */
  /* justify-content: center; */
  /* align-items: center; */
  /* flex-direction: column; */
  /* margin-top: 19px; */
  z-index: 1;
  overflow-x: hidden;
  overflow-y: hidden;
  /* overflow-x: hidden; */

  /* width: 100vw; */

}

#container > div {
  margin-bottom: var(--desktopImgMargin);
  background: white;
  border: none;
 /* width: 100%; */
 /* max-height: 100vh; */
}

#container div {
}

img {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  display: none;
  transition: opacity 1s;
}

.video {
  display: none;
}

iframe {
  border: none!important;
  /* pointer-events: none!important; */
}

.caption-container {
  position: fixed;
  background: white;
  transition: 0.5s;
  width: 100%;
  top: 0;
  left: 0;
  height: 50px;
  filter: drop-shadow(0 -5px 10px #404040);
  z-index: 2;
  cursor: s-resize;
  /* padding-left: 15px; */
  /* padding-bottom: 1em; */
}

#index {
  position: fixed;
  top: 11px;
  right: var(--margin);
  z-index: 3;
}

#index:hover {
  cursor: s-resize;
}


.caption {
  display: flex;
  flex-direction: row;
  position: fixed;
  right: 100px;
  width: 700px;
  padding-bottom: calc(1em + 2px);
  opacity: 0;
  transition: top 0.5s, opacity 0.5s;
  z-index: 3;
}

.caption-open {
  opacity: 1;
}

#title {
  width: 30%;
  /* min-width: 200px; */
  padding-right: 30px;
}

#caption-contents {
  width: 70%;
}

#spec {
  margin-top: 1em;
  display: block;
  color: rgb(100, 100, 100)
  /* font-size: 0.8em; */
}

#spec p {
  text-indent: -20px;
  margin: 0 0 0 20px;
}

td {
  vertical-align: top;
}

.navi {
  display: none;
  background-color: white;
}

.spec {
  margin-top: 1em;
}

.spec p {
  margin: 0;
}

.closing {
  display: none;
  background: white;
  /* text-align: center;
  line-height: 36px; */
  border-top: 1px solid #969696;
  border-bottom: 1px solid #969696;
  cursor: pointer;
}

.closing img {
  position: relative;
  opacity: 1;
  left: 50%;
  transform: translate(-50%, -100%);
  display: block;
  width: 100%;
}

.slide-reveal {
  display: block;
}

.two-slides {
  cursor: url('index.svg'), auto;
}

.one-slide > .navi {
  padding-bottom: 2.5em;
}

#container > .slide-open {
  margin-bottom: 0;
}

.slide-open > img:last-of-type {
  margin-bottom: 0;
}

#credit {
  position: absolute;
  text-align: center;
  width: 100%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.9em;
  padding-bottom: var(--desktopImgMargin);
  line-height: 17px;
}

@media only screen and (min-width: 1025px) and (max-width: 1200px) {

  .caption {
    flex-direction: column;
    justify-content: flex-end;
    width: 500px;
  }

  #title {
    width: 50%;
  }

  #caption-contents {
    margin-top: 1em;
    width: 100%;
  }



}


@media only screen and (min-width: 600px) and (max-width: 1024px) {

  body {
    line-height: 21px;
  }

  .caption {
    display: none;
  }

  .caption-container {
    height: 45px;
  }

  #container > div {
    margin-bottom: var(--padImgMargin);
    cursor: default;
  }

  #container > .slide-open > .navi {
    display: flex;
  }

  #container > div > img:first-child, #container > div > div:first-child {
    cursor: pointer;
  }

  img {
    margin-bottom: var(--padImgMargin);
    width: 100%;
  }

  .closing {
    height: var(--padImgMargin);
  }

  .closing img {
    width: 60%;
  }

  .navi {
    padding: calc(var(--margin) - var(--padImgMargin) - 5px) var(--margin) var(--margin) var(--margin);
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    justify-content: flex-start;
    width: calc(100% - var(--margin)*2);
    flex-wrap: wrap;
    align-content: flex-start;
    flex-direction: row;
  }

  .title {
    padding-right: 50px;
    width: calc(50% - 50px);
  }

  .description {
    width: 50%;
  }

  .spec {
    margin-left: calc(50% + 30px);
    text-indent: -30px;
  }

  #index {
    display: none;
  }

  #container:first-child {
    margin-top: 45px;
  }

  iframe {
    pointer-events: none!important;
  }

}

@media only screen and (max-width:599px) {

  body {
    line-height: 21px;
  }

  #header {
    left: var(--mobileMargin);
  }

  .title {
    margin-left: 30px;
    margin-right: 30px;
  }

  .spec {
    text-indent: -30px;
    margin-left: 30px;
  }

  .closing {
    height: calc(var(--mobileImgMargin) * 2);
  }

  .caption {
    display: none;
  }

  .caption-container {
    height: 45px;
  }

  #container > div {
    margin-bottom: var(--mobileImgMargin);
    cursor: default;
  }

  #container > div > img:first-child {
    cursor: pointer;
  }

  img {
    margin-bottom: var(--mobileImgMargin);
    width: 100%;
    left: 0;
    transform: translateX(0);
  }

  .navi {
    padding: 1em var(--mobileMargin) calc(1em + 8px) var(--mobileMargin);
  }

  #index {
    display: none;
  }

  #container:first-child {
    margin-top: 45px;
  }

  iframe {
    pointer-events: none!important;
  }


}
