h1,
h2,
h3,
h4,
h5 {
  color: #ddd;
  font-family: "Verdana", sans-serif;
  margin-top: 1.4rem;
  margin-bottom: 0.5rem;
}

html {
  display: block;
}

body {
  margin: 0 auto;
}

b,
strong {
  color: #fff;
}

a {
  color: #eee;
}

html {
  color: #f9c509;
  font-family: "Georgia", serif;
  font-size: 1.5em;
  display: flex;
  flex-direction: row;
  justify-content: center;
  background-color: #332402;
}

body {
  max-width: 800px;
  overflow-x: hidden;
  padding: 15px;
  display: flex;
  flex-direction: column;
}

.site-title {
  font-size: 2.5em;
  margin-bottom: 10px;
  text-align: center;
}

nav {
  display: flex;
  flex-direction: row;
  justify-content: left;
  font-size: 1.2em;
  margin-bottom: 20px;
}

pre {
  overflow-x: auto;
}

img {
  max-width: 100vw;
}

.block {
  border: 1px dotted white;
  padding: 5px 15px;
  margin: 0 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.block h1 {
  font-size: 1em;
  text-align: center;
  margin-bottom: 0;
}

.small {
  font-size: 0.8em;
}

.wave {
  background: #111;
  color: #fff;
  text-shadow: 1px 1px 10px #fff, 1px 1px 10px #ccc;
}

footer {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

footer hr {
  width: 100%;
  border: none;
  border-top: 1px solid #333;
}

.footer-links {
  display: flex;
  flex-direction: row;
  gap: 5px;
  font-size: 0.9em;
  margin: 10px 0;
}

.footer-links a {
  color: #9999996a;
}

.footer-links a:hover {
  color: #eee;
}

.footer-copy {
  font-size: 0.8em;
  color: #666;
  margin: 5px 0 0;
}

.footer-buttons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
}

.footer-buttons img {
  border: none;
  display: block;
}

/* Dynamic Content Styles */
#dynamic-content {
  margin-top: 20px;
  padding: 15px;
  border: 1px solid #333;
  background-color: #1a1a1a;
  border-radius: 8px;
  min-height: 100px;
}

.dynamic-posts article {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #333;
}

.dynamic-posts article:last-child {
  border-bottom: none;
}

.dynamic-post h2 {
  color: #eee;
  font-size: 1.5em;
  margin-bottom: 10px;
}

.dynamic-post p {
  line-height: 1.6;
  margin-bottom: 15px;
  color: #ccc;
}

.dynamic-post a {
  color: #4af;
}

.dynamic-post a:hover {
  color: #8cf;
  text-decoration: underline;
}

.dynamic-post ul,
.dynamic-post ol {
  margin-left: 20px;
  margin-bottom: 15px;
}

.dynamic-post blockquote {
  border-left: 4px solid #555;
  padding-left: 15px;
  margin: 15px 0;
  color: #999;
}

.dynamic-post pre {
  background-color: #222;
  padding: 10px;
  overflow-x: auto;
  border-radius: 4px;
  margin: 10px 0;
}

.dynamic-post code {
  background-color: #222;
  padding: 2px 4px;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  color: rgb(107, 253, 107);
}

.post-error {
  color: #f00;
  background-color: #300;
  padding: 10px;
  border-radius: 4px;
  margin: 10px 0;
}

.error {
  color: #f00;
  text-align: center;
  padding: 20px;
}

#applause {
  margin: 2rem 0;
  text-align: center;
}

#applause applause-button {
  display: inline-block;
  width: 72px;
  height: 72px;
  vertical-align: middle;
}

#applause applause-button .style-root {
  width: 72px;
  height: 72px;
}

#applause applause-button .shockwave {
  width: 60px;
  height: 60px;
}

/* Post prev/next navigation */
.post-nav {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 0.75rem;
  margin: 2.5rem 0 2rem;
  padding: 1rem 0;
  flex-wrap: wrap;
  border-top: 2px solid #b58b4c;
  border-bottom: 2px solid #b58b4c;
  position: relative;
}

.post-nav-card {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.9rem 1rem;
  border: 2px solid #596b3d;
  border-radius: 0;
  background: #172414;
  box-shadow: inset 0 0 0 2px #26391d, 3px 3px 0 #0d160b;
  text-decoration: none;
  transition: border-color .12s steps(2, end), background .12s steps(2, end), transform .12s steps(2, end);
  min-width: 0;
}

.post-nav-card:hover {
  border-color: #e2b866;
  background: #243a1e;
  transform: translate(-2px, -2px);
  box-shadow: inset 0 0 0 2px #3f542c, 5px 5px 0 #0d160b;
}

.post-nav-card:active {
  transform: none;
}

.post-nav-disabled {
  opacity: .55;
  background: #121b10;
  border-style: dashed;
  cursor: default;
}

.post-nav-disabled:hover {
  transform: none;
  border-color: #596b3d;
  background: #121b10;
  box-shadow: inset 0 0 0 2px #26391d, 3px 3px 0 #0d160b;
}

.post-nav-dir {
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #e2b866;
  font-weight: 700;
  font-family: monospace;
}

.post-nav-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #f0dfb0;
  line-height: 1.35;
  font-family: monospace;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-nav-date {
  font-size: 0.72rem;
  color: #91a477;
  font-family: monospace;
}

.post-nav-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0 0.4rem;
  gap: 2px;
}

.post-nav-center a {
  font-size: 0.78rem;
  color: #e2b866;
  text-decoration: none;
  border: 1px solid #3d536b;
  padding: 0.45rem 0.85rem;
  border-radius: 0;
  font-family: monospace;
  font-weight: 600;
  white-space: nowrap;
}

.post-nav-center a:hover {
  color: #172414;
  border-color: #91e266;
  background: #8be266;
}

@media (max-width: 640px) {
  .post-nav {
    flex-direction: column;
  }

  .post-nav-center {
    order: 3;
    justify-content: center;
    width: 100%;
  }
}

@media print {
  .post-nav {
    display: none;
  }
}

/* /Dynamic Content Styles */
