
@font-face {
  font-family: "Sound1";
  src: url("Sound1VF.ttf") format("truetype");
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: black;
}

.composition {
  position: relative;
  width: 100%;
  height:100vh;
  min-height: 600px;
  background: black;
  overflow: visible;
}


.top-bar {
  position: absolute;
  width: 28%;
  height: 13px;
  top: 3.1%;
  left: 50%;
  transform: translateX(-50%);
  background: #404040;
  border-radius: 20px;
}


.top-dots {
  position: absolute;
  top: 10.1%;
  left: 34.2%;
  width: 31.6%;
  display: flex;
  justify-content: space-between;
}


.middle-dots {
  position: absolute;
  top: 55%;
  left: 34.2%;
  width: 31.6%;
  display: flex;
  justify-content: space-between;
}


.top-dots span,
.middle-dots span,
.bottom-dots span {
  width: 12px;
  height: 12px;
  background: #404040;
  border-radius: 50%;
}


.rings {
  position: absolute;
  top: 10.7%;
  width: 29.5vw;
  height: 29.5vw;
  max-width: 430px;
  max-height: 430px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.left-rings {
  left: 18%;
  transform: translateX(-50%);
}

.right-rings {
  left: 82%;
  transform: translateX(-50%);
}

.ring {
  border: 1px dashed #eee;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ring-1 {
  width: 100%;
  height: 100%;
}

.ring-2 {
  width: 80%;
  height: 80%;
}

.ring-3 {
  width: 60%;
  height: 60%;
}

.ring-4 {
  width: 50%;
  height: 50%;
}


.cluster {
  position: absolute;
  top: 64.2%;
  display: grid;
  grid-template-columns: repeat(3, 62px);
  grid-template-rows: repeat(2, 62px);
  gap: 4px;
}

.cluster span {
  width: 62px;
  height: 62px;
  background: #404040;
  border-radius: 50%;
}

.left-cluster {
  left: 3.3%;
}

.left-cluster span:nth-child(4) {
  grid-column: 1;
  grid-row: 2;
}

.right-cluster {
  right: 2.6%;
}

.right-cluster span:nth-child(4) {
  grid-column: 3;
  grid-row: 2;
}


.bottom-dots {
  position: absolute;
  bottom: 1.3%;
  width: 25%;
  display: flex;
  justify-content: space-between;
}

.left-bottom {
  left: 3.3%;
}

.right-bottom {
  right: 2.6%;
}


.shape-center {
  position: absolute;
  top: 6%;
  left: 50%;
  transform: translateX(-50%);
  padding: 0 100px 50px;
  color: white;
  line-height: 1;
}


.shape-row {
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  font-family: "Sound1", sans-serif;
  color: white;
  line-height: 1;
}

.row-one {
  top: 63%;
}

.row-two {
  top: 80%;
}

.shape-row span {
  display: inline-block;
}


.test-animation {
  position: relative;
  z-index: 100;
  display: inline-block;
  font: 400px "Sound1", sans-serif;
  font-variation-settings: "SOND" 0;
  padding: 0.2em 0.5em;
  margin: -0.2em -0.5em;
  background: linear-gradient(
    180deg,
    #ff1144,
    #ff00f7,
    black,
    black
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 15px #ee00ff);
  animation: example-animation 1s ease-in-out infinite alternate;
}

@keyframes example-animation {
  0% {
    font-variation-settings: "SOND" 0;
  }
  25% {
    font-variation-settings: "SOND" 500;
 }
  50% {
    font-variation-settings: "SOND" 750;
  }
  75% {
   font-variation-settings: "SOND" 1000;
  }
  100% {
    font-variation-settings: "SOND" 0;
  }
}


.character {
  font-family: "Sound1", sans-serif;
  font-size: 145px;
  font-variation-settings: "SOND" 0;
  display: inline-block;
  cursor: crosshair;
  padding: 0.6em;
  margin: -0.6em;
  color: white;
  transition: font-variation-settings 0.2s ease;
}

.one:hover,
.two:hover,
.three:hover,
.four:hover,
.five:hover,
.six:hover,
.seven:hover,
.eight:hover {
  font-variation-settings: "SOND" 1000;
}

@keyframes pulse {
  0%, 100% {
    font-variation-settings: "SOND" 1000;
  }
  50% {
    font-variation-settings: "SOND" 0;
  }
}

.character:hover {
  animation: pulse 1s ease-in-out infinite;
}


@media (max-width: 700px) {
  .rings {
    width: 36vw;
    height: 36vw;
  }

  .cluster {
    grid-template-columns: repeat(3, 7vw);
    grid-template-rows: repeat(2, 7vw);
    gap: 3px;
  }

  .cluster span {
    width: 7vw;
    height: 7vw;
  }

  .top-dots span,
  .middle-dots span,
  .bottom-dots span {
    width: 7px;
    height: 7px;
  }

  .shape-row {
    gap: 8px;
  }

  .character {
    font-size: 100px;
  }
}

@media (max-width: 600px) {
  body,
  .composition {
    background: white;
  }

  .ring {
    border-color: black;
  }

  .shape-row,
  .shape-center,
  .character {
    color: black;
  }
}
