body {
  margin: auto;
  padding: 0;
  text-align: center;
  background-color: black;
  color: white;
  font-family: 'Work Sans', sans-serif;
  letter-spacing: 0.3em;
}

a {
  margin: 0 -.25rem;
  padding: 0.5rem;
}

a:hover {
  color: white;
}

#aboutme a {
  --item-index: 1;
  --box-shadow-color: #A900A8;
}

#instagram a {
  --item-index: 2;
  --background-x: -235px;
  background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
  background-repeat: no-repeat;
  background-position: var(--background-x) 0;
}

#ig-personal a {
  --item-index: 3;
  --background-x: -250px;
  background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
  background-repeat: no-repeat;
  background-position: var(--background-x) 0;
}

#instagram a:hover {
  background-position: 0 0;
}

#ig-personal a:hover {
  background-position: 0 0;
}

#youtube a {
  --item-index: 4;
  --box-shadow-color: #ff0000;
}

#threads a {
  --text-color: black;
  --item-index: 6;
  --box-shadow-color: #FFFFFF;
}

#threads a:hover {
color: black;
}

#close_box a {
  --box-shadow-color: #a41800;
}

#medium a {
  --item-index: 5;
  --box-shadow-color: #aaa;
}

a:link, a:visited {
  color: white;
  text-decoration: none;
}

a:active {
  opacity: 120%;
}

@keyframes anim {
  0%, 30%, 100% {
    box-shadow: inset 0 0 0 0 var(--box-shadow-color);
    background-position: var(--background-x, 0) 0;
    color: white;
  }
  7% {
    box-shadow: inset 200px 0 0 0 var(--box-shadow-color);
    background-position: 0 0;
    color: var(--text-color, white);
  }
}

@keyframes starshine {
  0% {
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

@keyframes anim_slide {
  0% {
    opacity: 0;
    transform: translate(0, -50px);
  }
  100% {
    opacity: 100%;
    transform: translate(0);
  }
}

#star-container {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  z-index: 1;
}

#star-container div {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 1px;
  pointer-events: none;
  background-color: #f7f5f5;
  opacity: 0;
  animation: linear infinite none normal starshine;
}

#content-box {
  max-width: 400px;
  width: 90%; 
  margin: 20vh auto;
  animation-name: anim_slide;
  animation-duration: 1s;
}

#links {
  width: 100%;
  font-size: 1.3em;
  font-weight: 700;
}

#links p {
  text-align: left;
  padding: 0;
  margin: 20px 0;
  white-space: nowrap;
}

#hi {
  width: 100%;
  text-align: left;
  font-size: 4em;
  margin-bottom: 0;
  font-weight: 700;
  text-decoration-line: underline;
  text-decoration-thickness: 0.05em;
}

#description_box {
  width: 100%;
}

#description_content {
  font-size: 0.8em;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-align: justify;
  line-height: 1.6em;
}

#links.animatable p a {
  animation: 10s calc(1s + var(--item-index) * 1s) infinite backwards anim;
}

#links p a {
  transition: box-shadow 0.4s ease-in-out, background-position 0.4s ease-in-out;
  box-shadow: inset 0 0 var(--box-shadow-color);
}

#links p a:hover {
  box-shadow: inset 230px 0 0 0 var(--box-shadow-color);
}

#aboutme a {
  --item-index: 0;
  --box-shadow-color: #A900A8;
}