:root {
  --primary-color: #00ff99;
  --secondary-color: #000;
  --tertiary-color: #ffff33;
  --background-color: #111;
  --font-family: "Courier New", Courier, monospace;
  --font-size: 16px;

  --max-container-width: 800px;
  --transition-speed: 0.3s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
}

html {
  scroll-behavior: smooth;
  font-size: var(--font-size);
}

body {
  font-family: var(--font-family);
  background-color: var(--background-color);
  color: var(--primary-color);
  padding-top: 140px;
  line-height: 1.4;
}

a {
  color: var(--tertiary-color);
  font-weight: bold;
  text-decoration: none;
  transition: text-decoration var(--transition-speed), color var(--transition-speed);
}

a:hover,
a:focus {
  text-decoration: underline;
}

h1 {
  font-size: 2rem;
  text-transform: uppercase;
  border-bottom: 2px solid var(--primary-color);
}

h1,
h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.page-wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--secondary-color);
  border-bottom: 2px solid var(--primary-color);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.8rem 0;
}

.site-header .logo-container pre {
  font-size: 0.55rem;
  line-height: 1;
  margin: 0;
  text-align: center;
  display: block;
  white-space: pre;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.8rem;
  font-size: 0.8rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: bold;
  text-transform: uppercase;
  transition: color var(--transition-speed);
}

.main-nav a:hover {
  text-decoration: underline;
}

.container {
  max-width: var(--max-container-width);
  margin: 1rem auto;
  padding: 1rem;
  background-color: var(--secondary-color);
  display: grid;
  gap: 2rem;
  border: 2px solid var(--primary-color);
}

.container p {
  overflow-wrap: break-word;
  text-align: left;
  padding: 0.5rem 0;
}

.container hr {
  border: none;
  border-top: 2px solid var(--primary-color);
}

.acknowledgment-section h2,
.acknowledgment-section p {
  text-align: center;
}

.acknowledgment-section p {
  padding: 0.5rem 1rem;
}

.about-section pre {
  font-family: var(--font-family);
  white-space: pre-wrap;
  overflow-wrap: break-word;
}

.donate-section .wallet {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.donate-section .wallet h2 {
  margin-bottom: 0.5rem;
}

.donate-section .wallet-row {
  border: 0.5px dashed var(--primary-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.donate-section .wallet-address {
  background: var(--secondary-color);
  color: var(--primary-color);
  font-family: var(--font-family);
  font-size: 0.95rem;
  padding: 0.75rem;
  word-break: break-all;
  flex: 1 1 auto;
  min-width: 250px;
}

.donate-section .wallet-row button {
  margin: 0.75rem;
  padding: 0.5rem 1rem;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color var(--transition-speed);
  flex-shrink: 0;
}

.donate-section .wallet-row button:hover {
  background-color: #00cc7a;
}

.faq-section dl.faq-list dd {
  padding-bottom: 1.3rem;
}

.contact-section code {
  background: var(--secondary-color);
  color: var(--primary-color);
  font-family: var(--font-family);
  font-size: 0.95rem;
  word-break: break-all;
}

.contact-section ul {
  list-style: none;
  padding: 0;
}

.contact-section li {
  margin-top: 0.7rem;
  margin-bottom: 0.7rem;
}

.site-footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  background-color: var(--secondary-color);
  margin-top: 2rem;
  border-top: 2px solid var(--primary-color);
}

@media ((max-width: 767px) or (max-height: 767px)) {
  body {
    padding-top: unset;
  }

  .site-header {
    position: unset;
  }

  .wallet-row {
    flex-direction: column;
    align-items: center;
  }

  .wallet-address {
    text-align: center;
  }
}

@media (max-width: 767px) {
  .site-header {
    align-items: flex-start;
  }

  .site-header .logo-container {
    width: 100%;
  }

  .site-header .logo-container pre {
    font-size: 0.33rem;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0.75rem;
    padding-left: 1rem;
  }

  .container {
    margin: 1rem;
    padding: 1.5rem;
  }
}

@media (min-width: 2000px) {
  html {
    font-size: 18px;
  }
}

@media (min-width: 4000px) {
  html {
    font-size: 20px;
  }
}