/* Entire scrollbar */
::-webkit-scrollbar {
  width: 14px;
}

/* Track (background) */
::-webkit-scrollbar-track {
  background: #111;
  border: 2px solid #E0943B;
}

/* Thumb (the draggable part) */
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #E0943B, #8a4f12);
  border-radius: 4px;
  border: 2px solid #000;
}

/* Hover effect */
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #ffd27a, #E0943B);
}

body {
  background-color: black;
  color: white;
  font-family: 'Press Start 2P', monospace;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  overflow-y: auto;
  overflow-x: hidden;
}

.page {
  min-height: 98vh;
  margin-top: 10px;
  margin-left: 0px;
  border: 5px solid #E0943B;
  border-radius: 8px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.page > * {
  position: relative;
  z-index: 2;
}

.filters {
  visibility: hidden;
  display: flex;
  flex-wrap: wrap;
  gap: 0px;
  align-items: center;
  margin: 0px 0px 0px 0px;
  padding: 0px;

  background-color: rgba(0, 0, 0, 0.7);
  border: 5px solid #E0943B;
  border-radius: 8px;
}

.filters select,
.filters input,
.filters button {
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  line-height: 1.6;
  padding: 6px;
  border: 2px solid #E0943B;
  border-radius: 4px;
  background-color: black;
  color: white;
}

.filters select,
.filters button {
  cursor: pointer;
}

.sortControls {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
}

.post {
  background-color: rgba(0, 0, 0, 0.7);
  margin: 10px 15px;
  border: 5px solid #E0943B;
  border-radius: 8px;
  padding: 12px;
}

.post h2 {
  margin: 0 0 10px 0;
}

.postDate {
  color: #E0943B;
}

.noPosts {
  margin-left: 15px;
  font-weight: bold;
}