.DisabledPagination {
  display: inline-block;
  background-color: var(--card-color);
  color: var(--font-color);
  padding: 4px 20px;
  pointer-events: none;
  margin: 0 4px;
}

.EnabledPagination {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 4px 20px;
  margin: 0 4px;
}

.EnabledPagination:hover {
  background-color: var(--secondary-color);
}

.pagination-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.pagination-container a {
  text-decoration: none;
}

.pagination-container a:hover {
  background-color: var(--secondary-color);
}



/* Solves the list style of the rendered markdown */
ol {
  list-style-position: inside;
}




#scrollToTopBtn {
  display: none; 
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99; 
  border: none;
  outline: none;
  background-color: #777;
  color: white;
  cursor: pointer;
  padding: 6px 10px;
  opacity: 0.6;
}

#scrollToTopBtn:hover {
  background-color: var(--secondary-color);
  opacity: 1;
}




img.post-image {
  max-width: 100%;
  width: auto;
  height: auto;

}





/* Apply styles to all tables */
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 1em;
}

/* Apply border and padding to table cells */
th, td {
  border: 1px solid var(--primary-color);
  padding: 8px;
}

/* Apply background color to header row */
th {
  background-color: var(--primary-color);
}

/* Apply alternate background color to rows */
tr:nth-child(even) {
  background-color: var(--card-color);
}
