/* style.css: made with the handy.moe homepage maker (https://handy.moe/homepage-maker/).
   Free to use, change and share (CC0). Edit the colours below to restyle the whole page. */

:root {
  --bg: #ffe9f3;          /* page background */
  --panel: #fff8fb;       /* boxes */
  --text: #5a3b4c;        /* writing */
  --accent: #ff7eb6;      /* headings and borders */
  --link: #c93a7c;        /* links */
  --radius: 18px;          /* round corners: 0 for square */
}

* { box-sizing: border-box; }

html {
  background-color: #ffe9f3;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2748%27%20height%3D%2748%27%3E%3Cpath%20d%3D%27M24%2034%20C10%2024%2014%2014%2020%2014%20c2.5%200%204%202%204%203%20c0-1%201.5-3%204-3%20c6%200%2010%2010%20-4%2020z%27%20fill%3D%27%23ffc9e1%27%2F%3E%3C%2Fsvg%3E");
  background-size: 48px 48px;
}

body {
  margin: 0;
  padding: 16px;
  color: var(--text);
  font-family: ui-rounded, "Hiragino Maru Gothic ProN", "Arial Rounded MT Bold", "Varela Round", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

/* the box that holds everything; change max-width to make the page wider */
#container {
  max-width: 960px;
  margin: 0 auto;
}

header.site {
  text-align: center;
  padding: 24px 16px;
  margin-bottom: 16px;
}
header.site h1 {
  margin: 0;
  font-family: ui-rounded, "Hiragino Maru Gothic ProN", "Arial Rounded MT Bold", "Varela Round", system-ui, sans-serif;
  font-size: 40px;
  color: var(--accent);
  text-shadow: 2px 2px 0 #fff;
}
header.site p { margin: 8px 0 0; }

nav.site ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  list-style: none;
  margin: 0 0 16px;
  padding: 10px;
}

/* the main grid: sidebars and content side by side */
#layout {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.box, header.site, nav.site ul, footer.site {
  background: var(--panel);
  border-radius: var(--radius);
  border: 2px dashed #ff7eb6;
}
.box { padding: 16px; margin-bottom: 16px; }
.box h2 {
  margin: 0 0 8px;
  font-family: ui-rounded, "Hiragino Maru Gothic ProN", "Arial Rounded MT Bold", "Varela Round", system-ui, sans-serif;
  font-size: 20px;
  color: var(--accent);
}

a { color: var(--link); }
a:hover { text-decoration: none; }

.avatar {
  display: block;
  width: 120px;
  height: 120px;
  object-fit: cover;
  margin: 0 auto 12px;
  border-radius: 50%;
  border: 3px solid var(--accent);
}

.links, .updates { list-style: none; padding: 0; margin: 0; }
.links li::before { content: "♡ "; color: var(--accent); }
.updates li { margin-bottom: 6px; }
.updates time { font-weight: bold; color: var(--accent); }

.button88 img { image-rendering: pixelated; }
.button88 textarea {
  width: 100%;
  font: 11px/1.3 ui-monospace, monospace;
  color: inherit;
  background: transparent;
  border: 1px dashed var(--accent);
  resize: vertical;
}

/* the scrolling message (it stays still for people who turn off motion) */
.marquee { overflow: hidden; white-space: nowrap; margin-bottom: 16px; padding: 6px 0; }
.marquee span { display: inline-block; padding-left: 100%; animation: scroll 18s linear infinite; }
@keyframes scroll { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .marquee span { animation: none; padding-left: 0; } }

footer.site { text-align: center; padding: 10px; margin-top: 16px; font-size: 0.85em; }

/* on phones the sidebars go under the main content */
@media (max-width: 720px) {
  #layout { grid-template-columns: minmax(0, 1fr); }
  #layout > main { order: -1; }
}
