/* RESET + BASE */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.site-centerer {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.pixel-frame {
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-image-source: url('repeatingpattern.png');
  border-image-slice: 10 fill; /* height of image */
  border-image-width: 10px;
  border-image-repeat: repeat;
  border-image-outset: 0;
}

#matrix-bg {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100vw;
  height: 100vh;
  background: #000000;
  pointer-events: none;
}


body {
  font-family: 'Courier New', monospace;
  color: #FF0000;
  font-size: 14px;
  line-height: 1.5;
}

/* BUTTONS + LINKS */
button, a {
  background: #FF0000;
  border: 1px solid #FF0000;
  padding: 4px 8px;
  text-decoration: none;
  color: #000000;
  box-shadow: none;
  display: inline-block;
}

a:hover {
  filter: brightness(1.2);
}

img {
  image-rendering: pixelated;
}

/* LAYOUT */
#page-wrapper {
  width: 1000px;
  margin: 0 auto;
  border: 3px double #FF0000;
  background-color: #000000;
  box-shadow: none;
  padding: 10px;
}

header {
  text-align: center;
  padding: 10px;
  border-bottom: 2px dashed #FF0000;
}

.header-logo {
  max-width: 100%;
  height: auto;
}

#main-content {
  display: flex;
  margin-top: 10px;
}

/* SIDEBAR */
.sidebar {
  width: 180px;
  background: #000000;
  border: 2px solid #FF0000;
  padding: 10px;
  font-size: 12px;
  color: #FF0000;
  
}

.sidebar.left {
  margin-right: 10px;
}

.sidebar.right {
  margin-left: 10px;
}

/* NAVIGATION */
.nav-section {
  margin-top: 20px;
}

.section-title {
  font-weight: bold;
  border-bottom: 1px solid #FF0000;
  margin-bottom: 5px;
  color: #FF0000;
  background: #000000;
  padding: 2px 4px;
}

.nav-section ul {
  list-style: none;
}

.nav-section li {
  margin: 5px 0;
}

.nav-section a {
  display: block;
  background: #000000;
  border: 1px solid #FF0000;
  padding: 2px 6px;
  text-align: center;
  color: #FF0000;
  box-shadow: none;
}

.nav-section a:hover {
  background: #FF0000;
  color: #000000;
}

.content {
  flex: 1;
  background-color: #000000;
  border: 2px solid #FF0000;
  padding: 10px;
  color: #FF0000;
  box-shadow: none;
}

/* CONTENT SECTIONS */
section {
  margin-bottom: 20px;
}

section img {
  display: block;
  max-width: 100%;
  margin-top: 5px;
}

/* ASCII */
.ascii {
  font-size: 24px;
  text-align: center;
  margin-bottom: 10px;
  color: #FF0000;
}

.sprite {
  width: 32px;
  height: auto;
  display: block;
  margin-top: 10px;
}

/* CHATBOX */
.chatbox {
  background: #000000;
  border: 1px solid #FF0000;
  padding: 5px;
  color: #FF0000;
}

.chat-embed {
  width: 100%;
  height: 200px;
  border: 1px solid #FF0000;
  background: #000000;
  color: #FF0000;
}

/* FOOTER */
footer {
  margin-top: 10px;
  text-align: center;
  font-size: 12px;
  color: #FF0000;
  border-top: 2px dotted #FF0000;
  padding-top: 5px;
  background: #000000;
}

/* ASCII BOX */
.ascii-box {
  font-family: monospace;
  background: #000000;
  padding: 5px;
  border: 1px solid #FF0000;
  text-align: center;
  margin: 10px 0;
  color: #FF0000;
}

/* ROTATABLE IMAGES */
img[style*="rotate"] {
  transition: transform 0.2s ease-in-out;
}

/* CONTENT BOX */
.content-box {
  background: #000000;
  border: 2px solid #FF0000;
  padding: 12px;
  margin-bottom: 12px;
  color: #FF0000;
  box-shadow: none;
}

.content-box h3 {
  margin-top: 0;
  font-size: 16px;
  color: #FF0000;
}

/* HELPERS */
.full {
  width: 100%;
}

.content-row {
  display: flex;
  gap: 10px;
}

.skinny {
  flex: 1;
  min-width: 200px;
}

.wide {
  flex: 2;
}

.inner-note {
  margin-top: 10px;
}

/* VARIANTS */
.warning-box {
  background: #000000;
  border-color: #FF0000;
  color: #FF0000;
}

.note-box {
  background: #000000;
  border-color: #FF0000;
  color: #FF0000;
}
* {
  color: #FF0000 !important;
  text-shadow: none !important;
  box-shadow: none !important;
  filter: none !important;
}
@keyframes levitate {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

#page-wrapper {
  animation: levitate 3s ease-in-out infinite;
}
