/* ---------- GLOBAL ---------- */
* {
  box-sizing: border-box;
}

html {
  background: #110a03 url("background1.png") repeat;
  background-size: 64px;
  background-attachment: fixed;
  image-rendering: pixelated;
  cursor: url("cursor1.png"), auto;
  color: white;
  scrollbar-width: thin;
  scrollbar-color: #FBC531 #110A03;
}

body {
  font-family: "DotGothic16", cursive;
  max-width: 1100px;
  margin: 32px auto;
  padding: 24px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Press Start 2P", cursive;
}

a {
  color: #ffffff;
  font-weight: bold;
}
a:hover { filter: brightness(50%); }

hr { border: 0; border-top: 6px double #36454f; }
blockquote { border-left: 6px double #36454f; margin-left: 0; padding: 0 8px; }
ul { list-style-image: url("bullet1.png"); }
ol { list-style-type: upper-roman; }

button {
  background: #36454f;
  color: white;
  font-family: "Press Start 2P", cursive;
  border-image-source: url("border2.png");
  border-image-slice: 25%;
  border-image-width: 32px;
  border-image-outset: 8px;
  border-image-repeat: stretch;
  border-style: solid;
  padding: 7px;
  width: 240px;
}

/* ---------- ART PAGE CONTAINER ---------- */
#container {
  background-color: #36454f;
  padding: 16px;
  margin: 16px 0;
  border-image-source: url("border2.png");
  border-image-slice: 25%;
  border-image-width: 32px;
  border-image-outset: 8px;
  border-image-repeat: stretch;
  border-style: solid;
}

/* ---------- FLOAT GRID (FIXED) ---------- */
.responsive {
  float: left;
  width: 25%;
  padding: 16px; /* spacing moved HERE */
}

/* breakpoints */
@media (max-width: 700px) {
  .responsive { width: 50%; }
}

@media (max-width: 500px) {
  .responsive { width: 100%; }
}

/* clear floats */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}


/* ---------- SITE FRAME ---------- */
.border1 {
  border: 48px solid transparent;
  border-image-source: url("border1.png");
  border-image-slice: 25%;
  border-image-width: 32px;
  border-image-outset: 8px;
  border-image-repeat: stretch;
  padding: 24px;
}

/* ---------- NAV ---------- */
.nav-frame {
  padding: 6px !important;
}

.nav-frame button {
  margin: 4px 6px !important;
  width: 220px !important;
}

/* ---------- LAYOUT ---------- */
#layout-wrapper {
  display: flex;
  gap: 16px;
}

#sidebar {
  width: 300px;
  flex-shrink: 0;
}

#content-box {
  flex: 1;
  background: #36454f;
  padding: 16px;
}

* {
  box-sizing: border-box;
}

body {
 font-family: "DotGothic16", cursive;
  max-width: 1100px;
  margin: 32px auto;
  padding: 24px;
}

/* Header/Blog Title */
.header {
  padding: 30px;
  font-size: 20px;
  text-align: center;
  background-color: #36454f;
  padding: 16px;
  margin: 16px 0;
  border-image-source: url("border2.png");
  border-image-slice: 25%;
  border-image-width: 32px;
  border-image-outset: 8px;
  border-image-repeat: stretch;
  border-style: solid;
}

/* Create two unequal columns that floats next to each other */
/* Left column */
.leftcolumn {
  float: left;
  width: 75%;
  background-color: #36454f;
  padding: 16px;
  margin: 16px 0;
  border-image-source: url("border2.png");
  border-image-slice: 25%;
  border-image-width: 32px;
  border-image-outset: 8px;
  border-image-repeat: stretch;
  border-style: solid;
}

/* Right column */
.rightcolumn {
  float: left;
  width: 25%;
  padding-left: 20px;
  background-color: #36454f;
  padding: 16px;
  margin: 16px 0;
  border-image-source: url("border2.png");
  border-image-slice: 25%;
  border-image-width: 32px;
  border-image-outset: 8px;
  border-image-repeat: stretch;
  border-style: solid;
}

/* Fake image */
.fakeimg {
  background-color: #aaa;
  width: 100%;
  padding: 20px;
}

/* Add a card effect for articles */
.card {
  background-color:
  padding: 20px;
  margin-top: 20px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Footer */
.footer {
  padding: 20px;
  text-align: center;
  background: #ddd;
  margin-top: 20px;
}

/* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 800px) {
  .leftcolumn, .rightcolumn {
    width: 100%;
    padding: 0;
  }
}