body {
  width: 100%;
  height: auto; /* is set in source/js/main.js */
  margin: 0;
  padding: 0;
}

.component-case {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  pointer-events: none;
}
.component-case:first-child {
  z-index: 1;
}
.component-case:not(:first-child) {
  z-index: 0;
}
.component-case .content-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 64px;
  pointer-events: none;
}
.component-case .content-wrapper.content-horizontal-left {
  justify-content: start;
}
.component-case .content-wrapper.content-horizontal-right {
  justify-content: end;
}
.component-case .content-wrapper .card-case {
  pointer-events: auto;
}
.component-case .content-wrapper .card-case .card-wrapper {
  display: flex;
  flex-direction: column;
}
.component-case .content-wrapper .card-case .card-wrapper .image-wrapper {
  margin: 0;
}
.component-case .content-wrapper .card-case .card-wrapper .image-wrapper img {
  max-width: 72vw;
  max-height: 72vh;
}
.component-case .content-wrapper .card-case .card-wrapper .heading {
  margin: 0;
  flex-grow: 2;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  padding: 16px;
  z-index: 1;
}
footer .menu-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 16px;
}

header {
  position: fixed;
  left: 0;
  top: 0;
  padding: 16px;
  z-index: 1;
}
header .menu-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 16px;
}

main {
  position: fixed;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 16px;
  z-index: 0;
}
main .viewport {
  width: 80%;
  height: 100%;
  perspective: 1000px;
  perspective-origin: 50% 50%;
  transform-style: preserve-3d;
}

* {
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

html {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}
