body {
  font-family: 'Montserrat', sans-serif;
  background: #1e293b;
  color: #f8fafc;
}

.app {
  min-width: 80vw;
  min-height: auto;
  padding-top: 10px;
  padding-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

headerz { 
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  
  h1 {
    font-weight: 600;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    
    @media (min-width: 768px) {
      font-size: 3rem;
    }
  }
  
  p {
    color: #94a3b8;
    margin-bottom: 0.5rem;
  }
  
  a {
    color: #7393c1;
  }
}

.tag-list {
  width: 80vw;
  max-width: 80vw;
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  gap: 1rem 0;
  position: relative;
  overflow: hidden;
}

.loop-slider {
  display: flex;
  animation: scroll var(--duration) linear infinite;
  .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: #e2e8f0;
  font-size: 0.9rem;
  background-color: #334155;
  border-radius: 0.4rem;
  padding: 0.7rem 1rem;
  margin-right: 1rem; // Must used margin-right instead of gap for the loop to be smooth
  box-shadow: 
    0 0.1rem 0.2rem rgb(0 0 0 / 20%),
    0 0.1rem 0.5rem rgb(0 0 0 / 30%),
    0 0.2rem 1.5rem rgb(0 0 0 / 40%);
  
  span {
    font-size: 1.2rem;
    color: #64748b;
  }
}

.fade {
  pointer-events: none;
  background: linear-gradient(90deg, #111827, transparent 30%, transparent 70%, #111827);
  position: absolute;
  inset: 0;
}

@keyframes loop {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* Adjust based on the number of tags */
  }
}

nav img {
  transition: transform 0.3s; /* Smooth scaling effect */
}

nav img:hover {
  transform: scale(1.1); /* Slightly enlarge the logo on hover */
}

@keyframes wobble {
  0% {
    transform: rotate(0deg);
  }
  15% {
    transform: rotate(5deg);
  }
  30% {
    transform: rotate(-5deg);
  }
  45% {
    transform: rotate(3deg);
  }
  60% {
    transform: rotate(-3deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.wobble {
  animation: wobble 1s infinite; /* Adjust duration and iteration as needed */
}

/* Apply Luckiest Guy font to header elements with letter spacing */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Luckiest Guy', cursive; /* Use the Luckiest Guy font */
  letter-spacing: 0.05em; /* Adjust the value as needed */
}

button {
  transition: background-color 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s; /* Smooth transition for multiple properties */
}

button:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); /* Add shadow on hover */
  transform: scale(1.05) rotate(2deg); /* Scale and slightly rotate */
}