html {
  min-height: 100%;
  background: linear-gradient(0deg, rgba(153, 153, 153, 0.3), rgba(153, 153, 153, 0.3)), url(bg.png);
  background-attachment: fixed;
  background-color: #1a1a1a;
  color: #f0f0f0;
  font-family: Verdana;
}

a {
  color: #bfbfbf;
  text-decoration: wavy underline;
  transition: color 0.3s ease;
}
a:hover { color: #a6a6a6; }
a:visited { color: #666666; }
a:active { color: #8c8c8c; }

.animated-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: linear-gradient(0deg, rgba(153, 153, 153, 0.3), rgba(153, 153, 153, 0.3)), url('../img/bg.png');
  background-repeat: repeat;
  background-size: auto;
  z-index: -1;
  animation: scrollBG 10s linear infinite;
  pointer-events: none;
}
@keyframes scrollBG {
  from { background-position: 0 0; }
  to { background-position: 164px 199px; }
}

#feed {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.item-card {
  background-color: #2a2a2e;
  border: 1px solid #444;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 16px;
  position: relative;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  display: flex;
  gap: 12px;
}

.item-thumbnail {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 4px;
}

.item-name {
  font-size: 1.1em;
  font-weight: bold;
  color: #e0e0e0;
  margin-bottom: 4px;
}

.item-description {
  font-size: 0.95em;
  color: #aaa;
}

.post-content {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  background-color: #2a2a2e;
  border: 1px solid #444;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

#feed {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.item-card {
  background-color: #2a2a2e;
  border: 1px solid #444;
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: background-color 0.3s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.item-card:hover {
  background-color: #353538;
}

.item-thumbnail {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 12px;
}

.item-name {
  font-weight: bold;
  font-size: 1.1em;
  color: #e0e0e0;
  margin-bottom: 6px;
}

.item-description {
  font-size: 0.95em;
  color: #aaa;
}

.card {
  width: 600px;
  margin: 40px auto;
  padding: 20px;
  border: 2px solid white;
  border-radius: 10px;
  background-color: #1e1e20;
  color: #f0f0f0;
  text-align: center;
  align-items: center;
  height: 80vh;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

