html,
body {
  width: 100%;
  height: 100%;
  font-family: 'Primary';
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a,
p {
  color: var(--background);
  text-decoration: none;
  font-size: 0.875rem;
  pointer-events: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.nav_top {
  position: fixed;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 2rem;
  color: var(--primary);
  z-index: 2;
}

.nav {
  top: 0;
}

.nav_menu {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.nav_logo p {
  font-family: 'Kanji';
  font-size: 2.5rem;
  letter-spacing: -10px;
  font-weight: 600;
}

.nav_menu a {
  font-size: 1rem;
  opacity: 0.5;
}

.nav_menu a:hover {
  opacity: 1;
  text-decoration: underline var(--background);
}

.nav_menu a#active {
  opacity: 1;
  text-decoration: underline;
}

.section {
  background-color: var(--primary);
  position: relative;
  overflow: hidden;
  width: 100vw;
  /*height: 100vh;*/
  height: var(--app-height);
}

.section_image {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.75;
}

.img {
  position: absolute;
  width: 100%;
  height: 100%;
}

.section_title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 64px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.section_title_wrapper {
  position: relative;
  width: 100%;
  top: 0px;
  text-align: center;
  will-change: transform;
}

.section_title_wrapper p {
  font-size: 3.125rem;
  line-height: 3.75rem;
}

.section_title_wrapper_link {
  display: inline-block;
  width: auto;
  height: auto;
}

.section_elements {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 75%;
  display: flex;
  justify-content: space-between;
}

.section_elements p {
  position: relative;
  font-size: 2rem;
  font-weight: 800;
  will-change: transform;
}

.section_preview {
  display: flex;
  position: absolute;
  bottom: 1rem;
  right: 32%;
  width: 35%;
  height: 75px;
  gap: 0.4rem;
}

.section_preview_image {
  cursor: pointer;
  position: relative;
  flex: 1;
}

.section_preview_image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  transition: 0.4s ease-in-out;
}

.section_preview_image.active::after {
  background-color: rgba(0, 0, 0, 0);
}

@media screen and (max-width: 768px) {
  html,
  body {
    width: 100%;
    height: 100%;
  }

  .section_elements {
    width: 90%;
  }

  .section_preview {
    right: 1em;
    width: 94%;
    bottom: 3em;
    padding-bottom: 0;
  }

  .section_title_wrapper p {
    font-size: 7vw;
  }
}