@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
  font-family: 'Montserrat', sans-serif;
}

body {
  margin: 0;
  min-height: 100dvh;
  background-repeat: no-repeat;
  background-size: contain;
}

.hero {
  height: 100dvh;
  background-color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6vh;
}

.name {
  border-radius: calc(8vw/var(--names));
  padding: 2vw;
  margin-block: 0;
  font-size: clamp(calc(0vw/var(--names)), calc(20vw/var(--names)), calc(40vh/var(--names)));
  line-height: 1;
  display: grid;
  &:not(.border) {
    background-color: gray;
    position: relative;
    z-index: 1;
    .border {
      -webkit-user-select: none;
      -moz-user-select: none;
      user-select: none;
      position: absolute;
      inset: 0;
      z-index: -1;
    }
  }
}

.name .word {
  -webkit-background-clip: text;
  background-clip: text;
  background-image: linear-gradient(90deg, cyan, magenta, cyan);
  background-size: 400%;
  background-attachment: fixed;
  color: transparent;

  line-height: 1;
  text-align: center;
  font-size: 1lh;
}

.name .border .word {
  --str: 5px;
  -webkit-text-stroke: var(--str) white;
  text-stroke: var(--str) white;
  background: transparent;
}