:root {
  --greetingMargin: 15vh;
  --fontSizeFirst: 3.75rem;
  --fontSizeSecond: 6rem;
  --padding: 1.2rem;
  --spacing: 1.5rem;
}

.greeting-container {
  margin: var(--greetingMargin) 0;
  text-align: center;
  font-family: "Roboto", "Helvetica", "Arial", sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  pointer-events: none;
  user-select: none;
}

.greeting-container h1 {
  margin: var(--padding) 0;
  line-height: 1;
}

.greeting-container .hello {
  font-size: var(--fontSizeFirst);
}

.greeting-container .introduction-container {
  display: flex;
  justify-content: center;
}

.greeting-container .my-name {
  position: relative;
  margin-left: var(--spacing);
  color: transparent;
  text-align: left;
}

.greeting-container .my-name::before {
  content: attr(data-alt-name);
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  -webkit-text-fill-color: transparent;
  background: linear-gradient(
    180deg,
    rgb(235, 41, 105) 0%,
    rgba(242, 242, 44, 0.816) 100%
  );
  -webkit-background-clip: text;
  overflow: hidden;
  filter: drop-shadow(0 0 5px rgba(240, 105, 27, 0.408))
    drop-shadow(0 0 10px rgba(223, 231, 20, 0.704));
  animation: type-name-1 10s infinite;
}

.greeting-container .my-name::after {
  content: attr(data-name);
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  -webkit-text-fill-color: transparent;
  background: linear-gradient(
    180deg,
    rgba(143, 86, 223, 0.878) 0%,
    rgba(234, 26, 196, 0.76) 100%
  );
  -webkit-background-clip: text;
  overflow: hidden;
  filter: drop-shadow(0 0 5px rgba(201, 53, 227, 0.408))
    drop-shadow(0 0 10px rgba(233, 94, 30, 0.704));
  animation: type-name-2 10s infinite;
}

@keyframes type-name-1 {
  0% {
    border-right: 0.3rem solid #fff;
    width: 0%;
  }
  5% {
    width: 25%;
  }
  9% {
    width: 50%;
  }
  13% {
    width: 75%;
  }
  16% {
    width: 100%;
  }
  40% {
    width: 100%;
  }
  42% {
    width: 75%;
  }
  45% {
    width: 50%;
  }
  47% {
    border-right: 0.3rem solid #fff;
    width: 25%;
  }
  49% {
    border-right: 0 solid #fff;
    width: 0%;
  }
  100% {
    border-right: 0 solid #fff;
    width: 0%;
  }
}

@keyframes type-name-2 {
  0% {
    border-right: 0 solid #fff;
    width: 0%;
  }
  52% {
    border-right: 0 solid #fff;
    width: 0%;
  }
  56% {
    border-right: 0.3rem solid #fff;
    width: 25%;
  }
  59% {
    width: 50%;
  }
  62% {
    width: 75%;
  }
  65% {
    width: 100%;
  }
  85% {
    width: 100%;
  }
  87% {
    width: 75%;
  }
  90% {
    width: 50%;
  }
  92% {
    border-right: 0.3rem solid #fff;
    width: 25%;
  }
  95% {
    width: 0%;
    border-right: 0 solid #fff;
  }
  100% {
    width: 0%;
    border-right: 0 solid #fff;
  }
}

.greeting-container .introduction {
  font-size: var(--fontSizeSecond);
}

.greeting-container .post {
  font-size: var(--fontSizeSecond);
}

.greeting-container .silder-text {
  font-weight: 600;
  font-size: var(--fontSizeSecond);
  -webkit-text-fill-color: transparent;
  background: linear-gradient(
    90deg,
    rgb(181, 228, 25) 0%,
    rgb(101, 238, 123) 35%,
    rgb(21, 207, 244) 100%
  );
  -webkit-background-clip: text;
  filter: drop-shadow(0 0 5px rgba(182, 246, 164, 0.604))
    drop-shadow(0 0 10px rgba(234, 242, 4, 0.448));
}

.silder {
  list-style: none;
  margin: 0;
  padding: 0;
  height: calc(var(--fontSizeSecond) * 1.2 + 2 * var(--padding));
  overflow-y: hidden;
}

.silder li {
  animation: silde-up 6s infinite;
  padding: var(--padding);
}

@keyframes silde-up {
  0%,
  40% {
    transform: translateY(0%);
  }
  45%,
  70% {
    transform: translateY(-100%);
  }
  75%,
  90% {
    transform: translateY(-200%);
  }
}

.button-container {
  text-align: center;
  margin-top: 30px;
}

@media screen and (max-width: 800px) {
  :root {
    --padding: 1rem;
    --fontSizeFirst: 2rem;
    --fontSizeSecond: 4rem;
    --greetingMargin: 20vh;
    --spacing: 1rem;
  }
}

@media screen and (max-width: 512px) {
  :root {
    --fontSizeFirst: 1.5rem;
    --fontSizeSecond: 3rem;
    --spacing: 0.7rem;
  }
}

@media screen and (max-width: 400px) {
  :root {
    --fontSizeSecond: 2rem;
    --spacing: 0.5rem;
  }
}

