/* body {
  font-family: "Montserrat", sans-serif;
  background: #1e293b;
  color: #f8fafc;
} */

.app {
  min-width: 100vw;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 1rem;
  text-align: center;
}
header h1 {
  font-weight: 600;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
@media (min-width: 768px) {
  header h1 {
    font-size: 3rem;
  }
}
header p {
  color: #94a3b8;
}

.tag-list {
  margin-top: 70px;
  width: 100%;
  height: auto;
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  gap: 1.3rem 0;
  position: absolute;
  left: 0;
  padding: 1.5rem 0;
  overflow: hidden;
  z-index: 0;
  opacity: 20%;
}

.loop-slider .inner {
  display: flex;
  width: fit-content;
  animation-name: loop;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-direction: var(--direction);
  animation-duration: var(--duration);
}

.tag {
  display: flex;
  align-items: center;
  gap: 0 0.2rem;
  color: black;
  font-size: 1.5rem;
  background-color: transparent;
  border-radius: 0.4rem;
  padding: 0.7rem 1rem;
  margin-right: 1rem;
  width: max-content;
  box-shadow: 0 0.1rem 0.2rem rgba(0, 0, 0, 0.2), 0 0.1rem 0.5rem rgba(0, 0, 0, 0.3), 0 0.2rem 1.5rem rgba(0, 0, 0, 0.4);
}

.tag span {
  font-size: 1.2rem;
  color: #64748b4f;
}

/* .fade {
  pointer-events: none;
  background: linear-gradient(90deg, #f5f2eb, transparent 30%, transparent 70%, #f5f2eb);
  position: absolute;
  inset: 0;
} */

@keyframes loop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media screen and (width<=1000px) {
  .tag-list {
    margin-top: 0;
  }
}