html,
body {
    width: 100%;
    height: 100%;
    font-family:'Primary';
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.2s;
    user-select: none;
    z-index: 5;
}

a,
p {
    color: var(--primary);
    text-decoration: none;
    pointer-events: auto;
    font-size: 14px;
    font-weight: 600;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    user-select: none;
}

.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;
}

.nav_menu a {
  font-size: 1rem;
  opacity: 0.5;
}

.nav_menu a:hover {
  opacity: 1;
  text-decoration: underline var(--primary);
}

.section {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: var(--background);
}

.section_info {
    position: absolute;
    bottom: 46vh;
    left: 3em;
    display: flex;
    z-index: 4;
}

.section_info p {
    font-family:'Secondary';
    color: var(--secondary);
    font-size: 3vw;
    font-weight: 100;
}

.section_sticky {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    height: 75%;
    overflow: hidden;
    z-index: 5;
}

.section_sticky img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.section_minimap {
    position: absolute;
    top: 50%;
    right: 6em;
    width: 80px;
}

.section_minimap_indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    border: 1px solid var(--primary);
    opacity: 0.4;
    z-index: 2;
}

.section_line {
  position: absolute;
  transform: translateY(30px);
  top: 50%;
  left: 0;
  width: 100vw;
  height: 1px;
  background-color: var(--primary);
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
}

.section_minimap_indicator_items {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0px;
    will-change: transform;
}

.minimap_item {
    width: 100%;
    height: 60px;
    padding: 5px;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    body {
        overflow: hidden;
        touch-action: none;
    }

    .section {
        touch-action: none;
    }

    .section_info {
        top: 2rem;
        left: 50%;
        transform: translateX(-50%);
    }

    .section_info p {
        font-size: 2rem;
    }

    .section_minimap {
        top: auto;
        right: auto;
        bottom: 5em;
        left: 45%;
        width: auto;
        height: 80px;
        touch-action: none;
    }

    .section_minimap_indicator {
        top: 0;
        left: 0;
        width: 60px;
        height: 100%;
    }

    .section_line {
        visibility: hidden;
    }

    .section_minimap_indicator_items {
        flex-direction: row;
        width: max-content;
        height: 100%;
        touch-action: none;
    }

    .minimap_item {
        width: 60px;
        height: 100%;
        padding: 5px;
    }

    .section_sticky {
        top: 45%;
        width: 75%;
        height: 50%;
    }
}