@import url('https://fonts.googleapis.com/css2?family=Liter&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  font-family: "liter", serif;
  font-weight: 400;
  font-style: normal;
}

header a {
    color: grey;
}

.navbar a {
  font-size: 18px;
  text-decoration: none;
  margin-left: 40px;
}

.logo {
  font-size: 30px;
  text-decoration: none;
  color: black;
}

body {
    background-color: #c8c8c8;
}

p{
    -webkit-font-smoothing: antialiased;
}
body {
  font-family: "Neue Haas Grotesk Display Pro";
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s;
  user-select: none;
}

p {
  font-size: 14px;
  font-weight: 600;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  user-select: none;
}

.container {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: #FFFF;
}

.site-info {
  position: absolute;
  top: 25%;
  left: 6.5em;
  gap: 4px;
}

.site-info p span {
  color: #9a9994;
}

.img-preview {
  position: absolute;
  top: 55%;
  left: 60%;
  transform: translate(-50%, -50%);
  width: 50%;
  height: 75%;
  overflow: hidden;
}

.img-preview img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  object-fit: contain;
}

.minimap {
  position: absolute;
  top: 50%;
  right: 8em;
  width: 100px;
}

.indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  border: 1px solid #000;
  z-index: 2;
}

.items {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0px;
  will-change: transform;
}

.item {
  width: 100%;
  height: 80px;
  padding: 5px;
  cursor: pointer;
}

@media (max-width: 900px) {
  body {
    overflow: hidden;
    touch-action: none;
  }

  .container {
    touch-action: none;
  }

  .site-info {
    top: 1.5em;
    left: 50%;
    transform: translateX(-50%);
  }

  .minimap {
    top: auto;
    right: auto;
    bottom: 5em;
    left: 50%;
    width: auto;
    height: 80px;
    touch-action: none;
  }

  .indicator {
    top: 0;
    left: 0;
    width: 60px;
    height: 100%;
  }

  .items {
    flex-direction: row;
    width: max-content;
    height: 100%;
    touch-action: none;
  }

  .item {
    width: 60px;
    height: 100%;
    padding: 5px;
  }

  .img-preview {
    top: 45%;
    width: 75%;
    height: 50%;
  }
}
