:root {
  /* Text & accent colors */
  --color-text-brown: #b58f71;
  --color-text-shadow-beige: #ddd1bc;
  --color-link-pink: #d88497;
  --color-accent-orange: #c37a43;
  --color-link-active-brown: #a76d3f;
  --color-text-olive: #a9b778;
  --color-glow-pink: #ffe2ee;

  /* Greens (scrollbar, borders, backgrounds) */
  --color-green-light: #d8e7ad;
  --color-green-pale: #eef7d9;
  --color-green-pale-alt: #f8fde8;
  --color-green-white: #fdfff2;
  --color-green-title: #f3fadf;
  --color-olive-green: #9cae73;
  --color-olive-dark: #8b9664;

  /* Creams / off-whites / tans */
  --color-cream-scrollbar: #fff8ee;
  --color-tan-hover: #e4b989;
  --color-off-white: #fffdf8;
  --color-pink-pale: #fff3f7;
  --color-tan-border: #d7ab7d;
  --color-white: #ffffff;
  --color-cream-light: #fff7ec;
  --color-peach-light: #f9e8d3;
  --color-tan-light: #eecaa0;
  --color-pink-pale-alt: #fff6fa;
  --color-cream-alt: #fff8f1;
  --color-pink-border: #f9e0e6;
  --color-brown-mini: #a77a5c;

  /* Images */
  --background-image: url("https://itinerae.neocities.org/bgs/beigefabric.png");
  --lace-image: url("https://itinerae.neocities.org/bgs/greencheck.jpg");
  --header-image: url("https://itinerae.neocities.org/img/greenpond.jpg");
}

/* Fonts, I recommend downloading these to your own web host. */

@font-face {
  font-family: "rainy";
  src: url("https://files.catbox.moe/r4oudq.ttf");
}

@font-face {
  font-family: "pixel";
  src: url("https://files.catbox.moe/i1y2x0.woff");
}

/* Basics */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 20px;
  background: var(--color-off-white) var(--background-image) repeat;
  font-family: "rainy", calibri, verdana, arial;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: 1px;
  text-align: left;
  text-shadow: 0 0 1px var(--color-text-shadow-beige);
  color: var(--color-text-brown);
}

a {
  color: var(--color-link-pink);
  text-decoration: none;
  transition: 0.2s ease;
}

a:hover {
  color: var(--color-accent-orange);
  text-shadow: 0 0 4px var(--color-glow-pink);
}

.navi-link a.active {
  color: var(--color-link-active-brown);
  border-bottom: 2px solid currentColor;
}

b {
  font-weight: bold;
  color: var(--color-accent-orange);
}

i {
  color: var(--color-text-olive);
}

/* Scrollbar */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-cream-scrollbar);
}

::-webkit-scrollbar-thumb {
  background: var(--color-green-light);
  border: 2px solid var(--color-cream-scrollbar);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-tan-hover);
}

/* Container */

.layout {
  max-width: 722px;
  margin: 40px auto;
  overflow: hidden;
  background: var(--color-off-white);
  border-radius: 10px;
}

/* Top decoration */

.lace {
  height: 36px;
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.45), rgba(255, 226, 238, 0.18)),
    var(--color-off-white) var(--lace-image) repeat-x;
}

/* Navi */

.navigation {
  padding: 7px 7px 0;
  background: linear-gradient(to bottom, var(--color-off-white), var(--color-pink-pale));
  border-bottom: 1px solid var(--color-tan-border);
  box-shadow:
    inset 0 1px 0 var(--color-white),
    inset 0 -1px 0 rgba(216, 231, 173, 0.45);
}

.navi-link {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
}

.navi-link a {
  flex: 1 1 0;
  position: relative;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  padding: 4px 7px 2px;
  background: linear-gradient(
    to bottom,
    var(--color-white) 0%,
    var(--color-cream-light) 48%,
    var(--color-peach-light) 100%
  );
  border-bottom: 1px solid var(--color-off-white);
  border-radius: 9px 9px 0 0;
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.95),
    inset -1px 0 0 rgba(255, 226, 238, 0.55),
    1px 0 0 rgba(255, 255, 255, 0.5);
  font-family: "Silkscreen", monospace;
  font-size: 10px;
  font-weight: normal;
  line-height: 14px;
  letter-spacing: 1px;
  text-align: center;
  white-space: nowrap;
  color: var(--color-olive-green);
  text-shadow: 0 1px 0 var(--color-white);
  transition: 0.22s ease;
}

.navi-link a::before {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  top: 3px;
  height: 1px;
  background: rgba(255, 255, 255, 0.95);
}

.navi-link a:hover {
  border-color: var(--color-tan-border);
  border-bottom-color: var(--color-tan-light);
  transform: translateY(-2px);
  z-index: 3;
}

.nav-icon {
  margin-right: 4px;
  opacity: 0.55;
  transition: 0.22s ease;
}

.navi-link a:hover .nav-icon {
  opacity: 1;
  transform: rotate(-8deg);
}

/* Banner */

.banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 150px;
  background: var(--header-image) center;
  background-size: cover;
  border-bottom: 1px dotted var(--color-green-light);
}

.banner::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 12px;
  bottom: 12px;
  border-radius: 18px;
  pointer-events: none;
  box-shadow:
    inset 0 0 15px rgba(255, 255, 255, 0.65),
    inset 0 0 20px rgba(222, 240, 189, 0.25);
}

.banner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  background: linear-gradient(to top, rgba(255, 253, 248, 0.9), transparent);
  pointer-events: none;
}

/* Site name */

.site-name {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 45px 12px;
  font-family: "ronda", pixel, sans-serif;
  font-size: 24px;
  letter-spacing: 3px;
  text-align: center;
  text-transform: lowercase;
  color: var(--color-olive-dark);
  text-shadow:
    0 1px 0 var(--color-white),
    0 0 8px rgba(255, 255, 255, 0.9),
    0 0 12px rgba(255, 226, 238, 0.7);
}

.site-name::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.65) 18%,
    rgba(255, 248, 238, 0.92) 50%,
    rgba(255, 255, 255, 0.65) 82%,
    rgba(255, 255, 255, 0)
  );
  border-top: 1px solid rgba(255, 255, 255, 0.65);
  border-bottom: 1px solid rgba(222, 240, 189, 0.7);
  filter: blur(0.2px);
}

.site-sparkle {
  opacity: 0.5;
}

/* Main columns */

.main {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 1px;
  background: var(--color-green-pale);
  border-bottom: 1px solid var(--color-green-light);
}

.main-1col {
  display: grid;
  gap: 1px;
  background: var(--color-green-pale);
  border-bottom: 1px solid var(--color-green-light);
}

.column {
  min-width: 0;
  padding: 8px;
  background: linear-gradient(to bottom, var(--color-off-white), var(--color-pink-pale-alt));
}

.column:first-child {
  background: linear-gradient(to bottom, var(--color-white), var(--color-cream-alt));
}

.column:last-child {
  background: linear-gradient(to bottom, var(--color-off-white), var(--color-green-pale-alt));
}

/* Sections */

.box {
  margin-bottom: 8px;
  padding: 6px;
  background: linear-gradient(to bottom, var(--color-white), var(--color-green-white));
  border: 1px solid var(--color-pink-border);
  border-radius: 8px;
}

.box:last-child {
  margin-bottom: 0;
}

.box p {
  margin: 0 0 7px;
}

.box p:last-child {
  margin-bottom: 0;
}

.intro-pixel {
  float: left;
  margin: 10px;
  opacity: 0.7;
  filter: grayscale(40%);
}

.user-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 10px;
}

.user-bar__icon {
  flex: 0 0 auto;
  width: 24px;
  height: auto;
}

.user-bar__img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Titles */

.title {
  margin-bottom: 5px;
  padding: 3px 5px;
  background: linear-gradient(to right, var(--color-white), var(--color-green-title));
  border-left: 5px solid var(--color-green-light);
  border-radius: 7px 7px 3px 3px;
  box-shadow: inset 0 0 6px rgba(255, 226, 238, 0.65);
  font-family: "Gaegu", arial;
  font-size: 15px;
  line-height: 12px;
  letter-spacing: 1px;
  text-transform: lowercase;
  color: var(--color-accent-orange);
}

.title-big {
  margin-bottom: 6px;
  padding: 4px 6px 3px;
  background: linear-gradient(to right, var(--color-green-title), var(--color-white), var(--color-green-title));
  border-radius: 10px;
  font-family: "Gaegu", arial;
  font-size: 17px;
  line-height: 13px;
  letter-spacing: 2px;
  text-align: center;
  text-transform: lowercase;
  color: var(--color-accent-orange);
}

/* Notes and Lists */

.note {
  margin-top: 6px;
  padding: 5px;
  border-left: 3px solid var(--color-green-light);
  border-radius: 0 6px 6px 0;
  font-size: 13px;
  line-height: 15px;
  color: var(--color-text-olive);
}

.tiny-list {
  margin: 5px 0 0;
  padding: 0;
  list-style: none;
}

.tiny-list li {
  padding: 2px 0;
  color: var(--color-text-olive);
}

.list-icon {
  opacity: 0.5;
}

/* Mini boxes (gallery) */

.mini-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-top: 7px;
}

.mini-box {
  padding: 5px 5px 0px;
  font-size: 13px;
  text-align: center;
  color: var(--color-brown-mini);
  border: 1px solid var(--color-green-light);
}

.mini-box-image {
  width: 100%;
  aspect-ratio: 1 / 1; /* or 4/3, 16/9, whatever ratio you want */
  overflow: hidden;
  border-radius: 7px;
  margin-bottom: 5px;
}

.mini-box-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Miniblog / updates */

.miniblog {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mini-post {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 7px;
  align-items: start;
  padding: 5px;
  background: var(--color-off-white);
  border-radius: 8px;
  box-shadow: inset 0 0 7px rgba(222, 240, 189, 0.45);
}

.mini-post img {
  width: 45px;
  height: 45px;
  object-fit: cover;
  border: 1px solid var(--color-green-light);
  border-radius: 7px;
  opacity: 0.9;
  filter: saturate(0.9) brightness(1.04);
}

.mini-post-content {
  min-width: 0;
}

.mini-post-title {
  display: block;
  margin-bottom: 2px;
  font-family: "Gaegu", "ronda", cursive;
  font-size: 15px;
  line-height: 14px;
  letter-spacing: 1px;
  color: var(--color-accent-orange);
}

.mini-post-meta {
  display: block;
  margin-bottom: 3px;
  font-size: 13px;
  color: var(--color-text-olive);
  opacity: 0.95;
}

.mini-post-text {
  line-height: 14px;
  color: var(--color-text-brown);
}

.micro-post-text {
  line-height: 14px;
  color: var(--color-text-brown);
}

a:hover {
  text-decoration: underline;
}

.mini-post-title:hover {
  text-decoration: underline;
}

/* Footer */

.footer {
  padding: 8px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  box-shadow:
    inset 0 1px 0 var(--color-white),
    inset 0 0 8px rgba(222, 240, 189, 0.65);
  line-height: 14px;
  letter-spacing: 1px;
  text-align: center;
  color: var(--color-text-brown);
}

.footer a {
  color: var(--color-link-pink);
}

.footer a:hover {
  color: var(--color-accent-orange);
  text-shadow: 0 0 4px var(--color-white);
}

/* Responsiveness */

@media (max-width: 768px) {
  body {
    padding: 10px;
  }

  .layout {
    margin: 20px auto;
  }

  .main {
    grid-template-columns: 1fr;
  }

  .column:last-child {
    border-left: 0;
  }

  .navigation {
    padding-bottom: 7px;
  }

  .navi-link {
    flex-wrap: wrap;
    align-items: stretch;
  }

  .navi-link a {
    flex: 1 1 calc(50% - 6px);
    border-radius: 8px;
    padding: 5px 7px 4px;
  }

  .navi-link a::before {
    display: none;
  }

  .banner {
    height: 130px;
  }

  .site-name {
    padding: 8px 14px 10px;
    font-size: 18px;
    line-height: 20px;
  }
}
