  *, *::before, *::after {
    box-sizing: border-box;
  }
body {
  background-color: black;
  color: white;
  font-family: 'Courier Prime', monospace;
  font-size: 12px;
  margin: 0px;
  width: 100%;
}

a {
  color: #ff0006;
  text-decoration: none;
}

.content-wrap {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 1em 0;
  box-sizing: border-box;
}

header {
  background: transparent;
  text-align: center;
}

nav {
  background: black;
  padding: 1em;
  text-align: center;
}

.main {
  text-align: center;
  
}
.bottom {
  background: transparent;
  text-align: center;
}

footer {
  background: transparent;
  padding: 1em;
  text-align: center;
}

.layout {
  display: flex;
  gap: 1em;
  box-sizing: border-box;
  justify-content: center;  /* <-- center the columns horizontally */
  max-width: 100%;          /* ensure it fits inside .content-wrap */
}

aside, main {
  padding: 4px;
  border: 1px solid #ccc;
  min-height: 300px;
  box-sizing: border-box;
}

.left  { flex: 0 0 15%; background: #000000; }
.main  { flex: 0 0 60%; background: #000000; }
.right { flex: 0 0 15%; background: #000000; }

@media (max-width: 768px) {
  .layout {
    flex-direction: column;
  }
  .left, .main, .right {
    flex: 1 1 100%;
  }
}