/* Retro Web 1.0 styling */
body {
  font-family: 'Times New Roman', serif;
  background-color: #c0c0c0;
  margin: 0;
}

header {
  color: white;
  padding: 10px;
  border-bottom: 3px double white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

nav a {
  color: #ffff00;
  text-decoration: underline;
  margin: 0 5px;
}

main {
  padding: 20px;
}

article {
  background: white;
  border: 2px outset #808080;
  padding: 10px;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

/* Voting section */
.vote-divider {
  border: none;
  border-top: 1px solid #808080;
  margin: 10px 0;
}

.votes {
  display: flex;
  gap: 10px;
}

.votes .vote {
  display: flex;
  align-items: center;
  gap: 3px;
}

.votes button {
  background: none;
  border: none;
  cursor: pointer;
}

#pagination {
  text-align: center;
  margin-top: 20px;
}

#pagination button {
  margin: 0 5px;
}

footer {
  color: white;
  text-align: center;
  padding: 5px;
  border-top: 3px double white;
  font-size: 12px;
  position: relative;
  overflow: hidden;
}

.pin-icon {
  position: absolute;
  top: 5px;
  right: 5px;
}

.static-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  image-rendering: pixelated;
}

#bottom-icon {
  position: fixed;
  bottom: -600px;
  transition: bottom 0.3s ease;
  left: 0;
}

#bottom-icon.visible {
  bottom: 0px;
}

@media (max-width: 600px) {
  article {
    max-width: 100%;
  }
}
