@font-face {
  font-family: "Merett";
  src: url("./fonts/Merett-Variable.ttf") format("truetype");
}
* {
  box-sizing: border-box;
  vertical-align: top;
  font-family: "Merett", Helvetica, sans-serif;
  font-variation-settings: inherit;
  font-size: inherit;
  line-height: inherit;
  color: #000000;
}

html,
body {
  margin: 0;
  padding: 0;
  font-size: clamp(20px, 1.6vw, 32px);
  line-height: 1.25;
  overflow: hidden;
  font-variation-settings: "wght" 0;
}

.clearfix:before {
  display: table;
  content: " ";
}

.nowrap {
  white-space: nowrap;
}

.hyphenate {
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.inline-block {
  display: inline-block;
}

a {
  text-decoration: none;
}
a:hover, a.active {
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #000000;
  color: #ffffff;
}

body:hover div.parts-list * {
  transition: color 0.3s ease-in-out;
}
body:hover a {
  transition: color 0.3s ease-in-out;
}

.grey {
  color: #888888;
}

p {
  margin: 0.6em 0;
}

table {
  width: auto;
  border-collapse: collapse;
  border: none;
}

tr td {
  width: auto;
  padding-right: 12px;
  border: none;
}
tr td:first-child {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
tr td:last-child {
  padding-right: 0;
}
tr td p {
  margin: 0;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

@media all and (max-width: 1280px) {
  tr td {
    display: block;
  }
  tr td:last-child {
    padding-bottom: 0.6em;
  }
}
@media all and (max-width: 80vh) {
  tr td {
    display: table-cell;
  }
  tr td:last-child {
    padding-bottom: 0;
  }
}
@media all and (max-width: 640px) {
  tr td {
    display: block;
  }
  tr td:last-child {
    padding-bottom: 0.6em;
  }
}
div#layout {
  position: relative;
  margin: 0 auto;
  width: 100vw;
  height: 100vh;
}

div.nav-area {
  position: absolute;
  z-index: 10;
  top: 0;
  bottom: 0;
  left: 0;
  width: 50%;
  border-right: 1px solid #000000;
}

div.content-area {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  right: 0;
  width: 50%;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

div.nav-area svg, div.buttons svg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  padding: 40px 40px;
  overflow: visible;
}
div.nav-area svg line, div.nav-area svg path, div.buttons svg line, div.buttons svg path {
  stroke: #000000;
  stroke-width: 20;
  vector-effect: non-scaling-stroke;
  stroke-linecap: butt;
  stroke-linejoin: bevel;
}

div.nav-area > div {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  transition: opacity 0.3s ease-out;
}
div.nav-area > div:focus {
  -webkit-appearance: none;
  outline: none;
}
div.nav-area div#nav_burger {
  z-index: 5;
  opacity: 1;
}
div.nav-area div#nav_burger svg {
  padding: 50px 40px;
}
div.nav-area div#nav_burger:focus {
  opacity: 0;
}
div.nav-area div#nav_burger:focus ~ div#nav_close {
  pointer-events: all;
  opacity: 1;
}
div.nav-area div#nav_burger:focus ~ nav#nav_menu {
  pointer-events: all;
  opacity: 1;
}
div.nav-area div#nav_close {
  z-index: 10;
  pointer-events: none;
  opacity: 0;
}
div.nav-area div#nav_back {
  height: 50%;
  bottom: auto;
  pointer-events: none;
  opacity: 0;
}
div.nav-area nav#nav_menu {
  position: absolute;
  top: 0;
  bottom: 0;
  right: -100%;
  width: 100%;
  background-color: #ffffff;
  border-left: 1px solid #000000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease-out;
}
div.nav-area nav#nav_menu:hover, div.nav-area nav#nav_menu:focus {
  -webkit-appearance: none;
  outline: none;
  pointer-events: all;
  opacity: 1;
}
div.nav-area nav#nav_menu:hover ~ div#nav_close, div.nav-area nav#nav_menu:focus ~ div#nav_close {
  pointer-events: all;
  opacity: 1;
}
div.nav-area nav#nav_menu:hover ~ div#nav_burger, div.nav-area nav#nav_menu:focus ~ div#nav_burger {
  pointer-events: none;
  opacity: 0;
}
div.nav-area div#nav_info {
  display: none;
}
div.nav-area div#nav_info > div {
  position: absolute;
  top: 0;
  height: 100%;
  right: 0;
  left: 50%;
}
div.nav-area div#nav_info div#nav_plus {
  display: none;
  transition: opacity 0.3s ease-in-out;
}
div.nav-area div#nav_info div#nav_plus.disabled {
  opacity: 0.2;
}
div.nav-area div#nav_info div#nav_minus {
  display: none;
}

body:not(.home) div.nav-area div#nav_back {
  pointer-events: all;
  opacity: 1;
}
body:not(.home) div.nav-area div#nav_burger {
  top: 50%;
  height: 50%;
  border-top: 1px solid #000000;
}
body:not(.home) div.nav-area div#nav_close {
  top: 50%;
  height: 50%;
  border-top: 1px solid #000000;
}

nav#nav_menu {
  padding: 20px 0;
}
nav#nav_menu a {
  display: table;
  padding: 0 40px;
  font-size: 9vw;
  line-height: 1;
  color: #000000;
  -webkit-text-stroke-width: 2.5px;
  -webkit-text-stroke-color: #000000;
  transition: all 0.3s ease-in-out, font-size none;
}
nav#nav_menu a.active, nav#nav_menu a:hover {
  color: #ffffff;
}

div.content-area div.content-inset {
  padding: 40px;
  z-index: 9;
}
div.content-area h2 {
  margin: 0 0 1em 0;
  text-transform: uppercase;
  font-weight: normal;
}
div.content-area div.content-item div.text:first-child {
  position: relative;
  top: -0.3vw;
}
div.content-area div.content-item div.text p:first-child {
  margin-top: 0;
}
div.content-area div.content-item img {
  max-width: 100%;
  height: auto;
  margin-bottom: 0.6em;
}
div.content-area div.parts-list div.list-row {
  margin-bottom: 1em;
}
div.content-area div.parts-list div.list-row div.text p {
  margin: 0;
}

div.slideshow {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
div.slideshow div.slides {
  position: fixed;
  top: 0;
  left: 50%;
  right: 0;
  bottom: 0;
  overflow: hidden;
}
div.slideshow div.slides div.slide {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
}
div.slideshow div.slides div.slide div.image {
  position: relative;
  left: 80px;
  width: calc(50vw - 160px);
  top: calc(50vh - 25vw + 80px);
  height: calc(50vw - 160px);
  background-color: #ffffff;
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}
div.slideshow div.slides div.slide div.image img {
  max-width: 100%;
  height: auto;
  max-height: 100%;
  display: inline-table;
}
div.slideshow div.slides div.slide div.caption {
  display: none;
}
div.slideshow div.slides div.slide.current {
  z-index: 21;
}
div.slideshow div.overlay {
  position: fixed;
  top: 0;
  left: 50%;
  right: 0;
  bottom: 0;
  overflow: hidden;
}
div.slideshow div.overlay div.left, div.slideshow div.overlay div.right {
  position: absolute;
  top: 0;
  bottom: 0;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}
div.slideshow div.overlay div.left {
  left: 0;
  right: 50%;
}
div.slideshow div.overlay div.left:hover {
  cursor: url("./img/cursor_left.svg") 24 24, w-resize;
}
div.slideshow div.overlay div.right {
  left: 50%;
  right: 0;
}
div.slideshow div.overlay div.right:hover {
  cursor: url("./img/cursor_right.svg") 24 24, e-resize;
}
div.slideshow div.info-layer {
  position: absolute;
  left: 0;
  right: 0;
  background: none;
  margin-top: calc(100vh - 100px);
}
div.slideshow div.info-layer div.info-text {
  padding: 10px 80px 33px 80px;
  background-color: #ffffff;
}
div.slideshow div.info-layer div.info-text.empty {
  padding: 0 80px 0 80px;
}
div.slideshow div.info-layer div.info-text p:first-child {
  margin-top: 0;
}
div.slideshow div.info-layer div.info-text p:last-child {
  margin-bottom: 0;
}
div.slideshow div.number {
  position: absolute;
  top: 0;
  right: 40px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}
div.slideshow div.head, div.slideshow div.foot {
  position: fixed;
  height: 100px;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}
div.slideshow div.head {
  top: 0;
  left: 50%;
  right: 0;
}
div.slideshow div.head h1 {
  font-weight: normal;
  margin: 0 120px;
  text-align: center;
}
div.slideshow div.head div.number {
  display: none;
}
div.slideshow div.foot {
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  height: 0;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}
div.slideshow div.foot div.number {
  left: auto;
  height: auto;
  text-align: right;
  top: auto;
  bottom: 33px;
}
div.slideshow div.buttons {
  display: none;
}

@media all and (min-width: 200vh) {
  div.slideshow div.slides div.slide div.image {
    left: calc(25vw - 50vh + 100px);
    width: calc(100vh - 200px);
    top: 100px;
    height: calc(100vh - 200px);
  }
}
@media all and (max-width: 1200px) {
  nav#nav_menu a {
    -webkit-text-stroke-width: 2px;
  }

  div.slideshow div.slides div.slide div.image {
    left: 40px;
    width: calc(50vw - 80px);
    top: calc(50vh - 25vw + 40px);
    height: calc(50vw - 80px);
  }
  div.slideshow div.info-layer div.info-text {
    padding: 10px 40px 33px 40px;
  }
  div.slideshow div.info-layer div.info-text.empty {
    padding: 0 40px 0 40px;
  }
}
@media all and (max-width: 80vh) {
  div.nav-area {
    left: 0;
    right: 0;
    width: auto;
    top: 0;
    bottom: auto;
    height: 50vw;
    border-bottom: 1px solid #000000;
    border-right: none;
  }
  div.nav-area > div svg {
    padding: 25px;
  }
  div.nav-area div#nav_burger {
    width: 50%;
    border-right: 1px solid #000000;
  }
  div.nav-area div#nav_burger svg {
    padding: 35px 25px;
  }
  div.nav-area div#nav_close {
    border-bottom: 1px solid #000000;
  }
  div.nav-area nav#nav_menu {
    right: 0;
    top: 100%;
    bottom: calc(-100vh + 50vw);
    border-left: none;
  }
  div.nav-area nav#nav_menu a {
    font-size: 18vw;
    -webkit-text-stroke-width: 1.5px;
    padding: 0 30px;
  }
  div.nav-area div#nav_info {
    display: block;
  }

  body:not(.home) div.nav-area div#nav_burger {
    top: 0;
    height: 100%;
    right: 0;
    left: 50%;
    border-top: none;
    border-right: 0;
  }
  body:not(.home) div.nav-area div#nav_close {
    top: 0;
    height: 100%;
  }
  body:not(.home) div.nav-area div#nav_back {
    width: 50%;
    height: 100%;
    border-right: 1px solid #000000;
  }

  div.content-area {
    left: 0;
    right: 0;
    width: auto;
    top: calc(50vw);
    bottom: 0;
    height: auto;
  }
  div.content-area div.content-inset {
    padding: 25px;
  }

  body.home div.content-area {
    overflow-y: hidden;
  }

  div.slideshow div.slides, div.slideshow div.overlay, div.slideshow div.head {
    top: 50vw;
    left: 0;
  }
  div.slideshow div.slides {
    top: calc(50vw + 60px);
    bottom: 60px;
  }
  div.slideshow div.slides div.slide {
    bottom: 0;
  }
  div.slideshow div.slides div.slide div.image {
    left: 25px;
    width: calc(100vw - 50px);
    top: 0;
    height: calc(100vh - 50vw - 120px);
  }
  div.slideshow div.info-layer {
    margin-top: calc(100vh - 50vw);
    left: 0;
    right: 0;
    z-index: 3;
  }
  div.slideshow div.info-layer div.info-text {
    padding: 10px 25px 17px 25px;
  }
  div.slideshow div.info-layer div.info-text.empty {
    padding: 0 25px 0 25px;
  }
  div.slideshow div.head, div.slideshow div.foot {
    height: 60px;
  }
  div.slideshow div.head div.number {
    display: none;
  }
  div.slideshow div.foot {
    height: 60px;
  }
  div.slideshow div.foot div.number {
    right: 25px;
    left: 25px;
    bottom: 0;
    height: 60px;
    text-align: center;
  }
}
@media all and (max-width: 600px) {
  nav#nav_menu a {
    -webkit-text-stroke-width: 1px;
  }
}
a#preview_hint {
  position: fixed;
  z-index: 99;
  bottom: 8px;
  right: 8px;
  background-color: #ff2222;
  padding: 5px 8px 8px 8px;
  border: 1px solid #cc0000;
  border-radius: 5px;
  box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.6);
  color: #ffffff;
  font-family: sans-serif;
  font-size: 16px;
  text-align: center;
}
a#preview_hint div {
  font-size: inherit;
  line-height: 1;
  color: rgba(255, 255, 255, 0.7);
}
a#preview_hint * {
  font-family: sans-serif;
}
a#preview_hint:hover, a#preview_hint:active {
  -webkit-text-stroke-width: 0;
  -webkit-text-stroke-color: transparent;
  color: #ffffff;
}
