:root {
  --acid: #c6ff00;
  --ink: #0a0a08;
  --blue: #113fdc;
  --red: #ed1616;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
  background: var(--acid);
  color: var(--ink);
  font-family: "DM Mono", monospace;
}

a { color: inherit; -webkit-tap-highlight-color: transparent; }

main {
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  position: relative;
  padding: 38px 28px 24px;
  overflow: hidden;
}

.collection-mark {
  position: absolute;
  top: 28px;
  left: 30px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .14em;
}

.hero {
  align-self: center;
  justify-self: center;
  width: min(92vw, 460px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(2vh);
}

.portrait-wrap {
  width: 158px;
  height: 158px;
  margin-bottom: 22px;
  border: 5px solid var(--ink);
  border-radius: 50%;
  overflow: hidden;
  background: var(--blue);
  box-shadow: 8px 8px 0 var(--red);
  transform: rotate(-3deg);
}

.portrait-wrap img {
  width: 500%;
  height: 500%;
  max-width: none;
  object-fit: cover;
  object-position: left top;
  display: block;
  transform: translate(-.2%, -.1%);
}

h1 {
  margin: 0;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(54px, 8vw, 82px);
  line-height: .78;
  letter-spacing: -.075em;
}

h1 span { color: var(--blue); -webkit-text-stroke: 2px var(--ink); }

.edition {
  margin: 20px 0 0;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .13em;
}

.mint-button {
  width: min(100%, 330px);
  min-height: 54px;
  margin-top: 22px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--ink);
  background: var(--ink);
  color: var(--acid);
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  transition: transform .15s ease, box-shadow .15s ease, color .15s ease;
}

.mint-button:hover,
.mint-button:focus-visible {
  color: white;
  transform: translate(-4px, -4px);
  box-shadow: 7px 7px 0 var(--blue);
  outline: none;
}

.mint-button:active { transform: translate(0); box-shadow: none; }

footer {
  justify-self: center;
  text-align: center;
  padding-top: 42px;
}

.badges { display: flex; justify-content: center; gap: 19px; }

.badges a {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 2px solid transparent;
  border-radius: 50%;
  text-decoration: none;
  font: 500 17px/1 Arial, sans-serif;
  transition: border-color .15s, transform .15s;
}

.badges a:hover,
.badges a:focus-visible { border-color: var(--ink); transform: translateY(-2px); outline: none; }

footer p {
  margin: 9px 0 0;
  font-size: 7px;
  line-height: 1.45;
  letter-spacing: -.02em;
}

@media (max-height: 720px) and (min-width: 600px) {
  main { padding-top: 22px; }
  .hero { transform: none; }
  .portrait-wrap { width: 118px; height: 118px; margin-bottom: 17px; border-width: 4px; }
  h1 { font-size: 58px; }
  .edition { margin-top: 15px; }
  .mint-button { margin-top: 17px; min-height: 48px; }
  footer { padding-top: 20px; }
}

@media (max-width: 520px) {
  main { padding: 28px 20px 20px; }
  .collection-mark { top: 20px; left: 20px; }
  .hero { transform: none; }
  .portrait-wrap { width: 142px; height: 142px; box-shadow: 6px 6px 0 var(--red); }
  h1 { font-size: clamp(50px, 17vw, 70px); }
  .mint-button { min-height: 58px; }
  footer { padding-top: 28px; }
}
