:root {
  color-scheme: dark;
  --studio-green: #1d3022;
  --cream: #f2e9d4;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  background: var(--studio-green);
}

body {
  overflow-x: hidden;
}

.landing {
  display: grid;
  min-height: 100svh;
  place-items: center;
  background: var(--studio-green);
}

.poster {
  position: relative;
  width: min(100vw, calc(100svh * 16 / 9));
  max-width: 1920px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  isolation: isolate;
}

.poster__art,
.poster__art img {
  display: block;
  width: 100%;
  height: 100%;
}

.poster__art img {
  object-fit: cover;
}

.hotspot {
  position: absolute;
  display: block;
  border-radius: 999px;
  outline: none;
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.hotspot:hover,
.hotspot:focus-visible {
  background: rgb(242 233 212 / 12%);
  box-shadow: 0 0 0 1px rgb(242 233 212 / 75%);
}

.hotspot--vk {
  left: 11.25%;
  top: 59.4%;
  width: 4.8%;
  height: 9.3%;
}

.hotspot--pinterest {
  left: 16.45%;
  top: 59.4%;
  width: 4.8%;
  height: 9.3%;
}

.hotspot--dzen {
  left: 21.65%;
  top: 59.4%;
  width: 4.8%;
  height: 9.3%;
}

.hotspot--contact {
  left: 33.55%;
  top: 63.95%;
  width: 10.1%;
  height: 5.5%;
}

.hotspot--site {
  left: 11.65%;
  top: 80.4%;
  width: 16.7%;
  height: 3.2%;
  border-radius: 0;
}

.hotspot--address {
  left: 11.65%;
  top: 78.2%;
  width: 19%;
  height: 2.7%;
  border-radius: 0;
}

@media (max-width: 767px) {
  .poster {
    width: min(100vw, calc(100svh * 9 / 16));
    max-width: 1080px;
    aspect-ratio: 9 / 16;
  }

  .hotspot--vk {
    left: 42.9%;
    top: 37.25%;
    width: 8.2%;
    height: 6.6%;
  }

  .hotspot--pinterest {
    left: 56.2%;
    top: 37.25%;
    width: 8.2%;
    height: 6.6%;
  }

  .hotspot--dzen {
    left: 69.5%;
    top: 37.25%;
    width: 8.2%;
    height: 6.6%;
  }

  .hotspot--contact {
    left: 43.7%;
    top: 48.25%;
    width: 25.5%;
    height: 4.2%;
  }

  .hotspot--site {
    left: 9.8%;
    top: 60%;
    width: 30%;
    height: 2.5%;
  }

  .hotspot--address {
    left: 9.8%;
    top: 56.5%;
    width: 36%;
    height: 4.2%;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .poster__art img {
    animation: poster-in 700ms ease-out both;
  }
}

@keyframes poster-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
