@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(15px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes moveLeft {
  0% {
    left: 100%;
  }
  100% {
    left: -50px;
  }
}

#animatedBackground {
  position: relative;
  width: 25px; 
  height: auto;
  bottom: 0;
  left: 100%;
  animation: moveLeft 25s linear infinite;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: #ffff;
  
}

body {
  font-family: system-ui, sans-serif;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  scroll-behavior: smooth;
  background: #222;
  overflow-x: hidden;
}

.loading-indicator {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: #f5c2e7;
  transition: width 0.3s ease, opacity 0.3s ease;
  z-index: 9999;
}

header {
  padding: 1rem 2rem;
  text-align: center;
}

.header-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo img {
  width: 50px;
  border-radius: 9999px;
}

.site-title h2 {
  font-size: 1.5rem;
  margin-left: 120px;
}

.nav-links a {
  margin: 0 0.5rem;
  text-decoration: none;
  color: #fff;
  position: relative;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background: #f5c2e7;
  bottom: -2px;
  left: 0;
  border-radius: 1px;
}

.nav-links a:hover {
  color: #f5c2e7;
}

main {
  flex-grow: 1;
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.article {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  animation: fadeInUp 0.5s ease forwards;
}

.article-title {
  font-size: 1.75rem;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
}

.article-title:hover {
  color: #f5c2e7;
}

.article-meta {
  font-size: 0.9rem;
  color: #666;
  display: flex;
  gap: 1rem;
}

.article-tags a {
  display: inline-block;
  margin-right: 0.5rem;
  padding: 0.25rem 0.5rem;
  border: 1px solid #f5c2e7;
  border-radius: 8px;
  font-size: 0.85rem;
  text-decoration: none;
  color: #f5c2e7;
  transition: all 0.2s ease;
}

.article-tags a:hover {
  background: #f5c2e7;
  color: #fff;
}

.walking {
    width: 20px;
    height: auto;
}

footer {
  
  text-align: center;
  
  color: #222;
}

.floor {
  background-color: #f5c2e7; 
  top: 0;
  width: 100%;
  height: 10px;
}

li {
  list-style-position: inside;
  margin-left: 20px;
}


@media (max-width: 768px) {
  html, body {
      overflow-x: hidden;
    }

    .header-container {
    justify-content: center;
  }
  .site-title h2 {
  margin-left: 0px;
}
}
