
/* =======================
   Custom Fonts
========================== */
@font-face {
  font-family: 'Terminess';
  src: url('https://zeitgeist117.neocities.org/src/font/TerminessNerdFont-Regular.ttf');
}
@font-face {
  font-family: 'Terminess';
  src: url('https://zeitgeist117.neocities.org/src/font/TerminessNerdFont-Bold.ttf');
  font-weight: bold;
}
@font-face {
  font-family: 'Terminess';
  src: url('https://zeitgeist117.neocities.org/src/font/TerminessNerdFont-Italic.ttf');
  font-style: italic;
}
@font-face {
  font-family: 'Terminess';
  src: url('https://zeitgeist117.neocities.org/src/font/TerminessNerdFont-BoldItalic.ttf');
  font-style: italic;
  font-weight: bold;
}

/* =======================
   Variables
========================== */
:root {
  --accent: #4AF626;
  --bg-image: url('https://sadhost.neocities.org/images/tiles/stars2.gif');
}

/* =======================
   Base Styles
========================== */
body {
  margin: 0;
  font-family: 'Terminess', monospace;
  background-color: black;
  background-image: var(--bg-image);
  background-size: 65px;
  color: white;
}

* {
  box-sizing: border-box;
}

a {
  color: var(--accent);
  font-weight: bold;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: blue;
}

h1, h2, h3 {
  color: var(--accent);
}

strong {
  color: blue;
}

.note {
  font-style: italic;
}

/* =======================
   Layout
========================== */
#pageWrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 10px;
}

#header {
  text-align: center;
  padding: 10px;
  background-color: black;
  border: 5px solid var(--accent);
  background-image: var(--header-image);
  background-size: cover;
}

#navbar {
  background-color: black;
  border: 1px solid white;
  padding: 0;
}

#navbar ul {
  display: flex;
  justify-content: space-evenly;
  list-style: none;
  margin: 0;
  padding: 0;
}

#navbar li {
  padding: 10px 0;
}

#contentArea {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

main {
  flex: 1;
  background-color: black;
  border: 1px solid white;
  padding: 20px;
}

#sidebar {
  width: 265px;
  background-color: black;
  border: 1px solid white;
  padding: 20px;
  font-size: smaller;
}

/* cool box in sidebar */
.box {
  border: 1px solid var(--accent);
  background-color: black;
  padding: 10px;
  margin-bottom: 10px;
}

footer {
  background-color: black;
  text-align: center;
  padding: 10px;
  margin-top: 10px;
  border: 1px solid white;
}

/* =======================
   Quotes
========================== */
blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 10px;
  margin: 20px 0;
  font-style: italic;
}

blockquote footer {
  margin-top: 5px;
  text-align: right;
  font-style: normal;
}

/* =======================
   Responsive Layout
========================== */
@media (max-width: 800px) {
  #contentArea {
    flex-direction: column;
  }

  #sidebar {
    width: 100%;
  }

  #navbar ul {
    flex-wrap: wrap;
    justify-content: center;
  }
}
.post-content {
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid #4AF626;
  padding: 20px;
  background-color: rgba(0,0,0,0.85);
  box-sizing: border-box;
}
.back-button {
  background-color: black;
  border: 1px solid #4AF626;
  margin: 0 auto;
  color: #4AF626;
  padding: 4px 4px;
  font-family: 'Terminess', monospace;
  cursor: pointer;
  border-radius: 0px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.back-button:hover {
  background-color: #4AF626;
  color: black;
}
