.portfolio {
  max-width: 820px;
  margin: 0 auto;
  padding: 18vh 12px 12vh;
  position: relative;
  z-index: 1;
}

.portfolio h1 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  margin: 0 0 18px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.portfolio p {
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  line-height: 1.5;
  margin: 0;
}

.portfolio a {
  display: inline-block;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 2px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.portfolio a:hover,
.portfolio a:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 0 var(--lime);
}

@media (max-width: 640px) {
  .portfolio {
    padding-top: 16vh;
  }
}

.shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.shape {
  position: absolute;
  border: 2px dashed rgba(11, 11, 11, 0.45);
  border-radius: 999px;
  background: rgba(168, 255, 0, 0.1);
  mix-blend-mode: multiply;
  opacity: 0.5;
  transition: transform 0.2s ease;
  pointer-events: auto;
  touch-action: none;
}

.shape.one {
  width: 150px;
  height: 150px;
  top: 64vh;
  left: 10vw;
}

.shape.two {
  width: 220px;
  height: 220px;
  top: 8vh;
  left: 58vw;
  border-style: dashed;
  border-width: 4px;
  background: rgba(12, 44, 255, 0.07);
}

.shape.three {
  width: 120px;
  height: 120px;
  top: 34vh;
  left: 68vw;
  border-style: dashed;
  background: rgba(168, 255, 0, 0.12);
}

@media (min-width: 640px) {
  .shape.one {
    width: 220px;
    height: 220px;
    top: 16vh;
    left: 6vw;
  }

  .shape.two {
    width: 300px;
    height: 300px;
    top: 58vh;
    left: 60vw;
  }

  .shape.three {
    width: 140px;
    height: 140px;
    top: 30vh;
    left: 70vw;
  }
}
