* {
  box-sizing: border-box;
}

:root {
  --blue-bg: #202a38;
  --pink: #ef176f;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--blue-bg);
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding:
    max(18px, env(safe-area-inset-top))
    max(18px, env(safe-area-inset-right))
    max(18px, env(safe-area-inset-bottom))
    max(18px, env(safe-area-inset-left));
}

.page {
  width: 100%;
  max-width: 1180px;
}

.top-whatnot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 14px;
  color: #fff;
  text-decoration: none;
  font-family: "Courier New", Courier, monospace;
  font-weight: 700;
  font-size: clamp(16px, 4.2vw, 22px);
  line-height: 1.2;
  text-align: center;
}

.whatnot-icon {
  width: 2.05em;
  height: 2.05em;
  object-fit: contain;
  flex: 0 0 auto;
}

.top-whatnot .whatnot-icon {
  width: 2.35em;
  height: 2.35em;
}

.cards {
  width: 100%;
  max-width: 1180px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
  justify-items: center;
}

.card {
  position: relative;
  width: min(88vw, 390px);
  overflow: hidden;
  border-radius: 24px;
}

.card > img {
  display: block;
  width: 100%;
  height: auto;
}

.hotspot {
  position: absolute;
  display: block;
  z-index: 3;
  -webkit-tap-highlight-color: transparent;
}

.facebook {
  left: 21%;
  top: 73%;
  width: 17%;
  height: 10%;
}

.instagram {
  left: 42%;
  top: 72.5%;
  width: 17%;
  height: 10.5%;
}

.tiktok {
  left: 65%;
  top: 72%;
  width: 17%;
  height: 11%;
}

.whatnot-button {
  position: absolute;
  left: 10.8%;
  top: 87.2%;
  width: 78.4%;
  height: 7.9%;
  z-index: 4;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 16px;
  text-decoration: none;
  font-family: "Courier New", Courier, monospace;
  font-weight: 700;
  font-size: clamp(12px, 3.3vw, 20px);
  line-height: 1;
  white-space: nowrap;
}

.hotspot:focus-visible,
.whatnot-button:focus-visible,
.top-whatnot:focus-visible {
  outline: 4px solid #fff;
  outline-offset: 2px;
}

.copyright {
  margin-top: 12px;
  text-align: center;
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .32);
}

@media (min-width: 1000px) {
  body {
    padding: 20px 40px;
  }

  .page {
    width: 100%;
    max-width: 1000px;
  }

  .cards {
    width: 100%;
    max-width: 885px;
    margin: 0 auto;
    grid-template-columns: repeat(2, 430px);
    gap: 25px;
    align-items: stretch;
    justify-content: center;
  }

  .card {
    width: 430px;
    max-width: none;
    height: 735px;
  }

  .card > img {
    width: 100%;
    height: 100%;
    object-fit: fill;
  }

  .top-whatnot {
    font-size: 25px;
    margin-bottom: 22px;
  }

  .whatnot-button {
    font-size: 16px;
  }

  .copyright {
    margin-top: 20px;
  }
}
