@charset "UTF-8";

/* ===== Tumblr Pastel Boxy Aesthetic ===== */
@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

:root {
  --bg: #f8f7fb;
  --mint: #d1f2eb;
  --lilac: #e6d4f6;
  --purple: #6a4c93;
  --text: #2a2a2a;
  --link: #6a4c93;
  --link-hover: #9b59b6;
}

/* ===== Reset & Base ===== */
* {
  box-sizing: border-box;
}

body {
  font-family: 'VT323', monospace;
  background-color: var(--bg);
  color: var(--text);
  margin: 0;
  padding: 0;
  background-image: url('/images/bg_tile.png');
  background-repeat: repeat;
  font-size: 18px;
  line-height: 1.6;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  color: var(--purple);
  font-weight: normal;
  letter-spacing: 1px;
}

a {
  color: var(--link);
  text-decoration: none;
  border-bottom: 1px dashed var(--link);
  transition: all 0.2s ease;
}

a:hover {
  color: var(--link-hover);
  border-bottom: 1px solid var(--link-hover);
}

/* ===== Container Layout ===== */
.wrapper {
  max-width: 600px;
  margin: 3rem auto;
  background-color: var(--mint);
  padding: 2rem;
  border: 2px solid var(--purple);
  box-shadow: 5px 5px var(--lilac);
}

.container {
  padding: 1rem;
}

main {
  margin-top: 2rem;
}

/* ===== Navigation ===== */
.site-navigation {
  background: var(--lilac);
  border-top: 2px solid var(--purple);
  border-bottom: 2px solid var(--purple);
}

.site-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.site-navigation li {
  border-right: 1px solid var(--purple);
  padding: 0;
}

.site-navigation li:last-child {
  border-right: none;
}

.site-navigation a {
  display: block;
  padding: 0.75rem 1.25rem;
  font-size: 18px;
}

/* ===== Image Styling ===== */
img {
  max-width: 100%;
  height: auto;
  border: 2px solid var(--purple);
  margin: 1rem 0;
}

/* ===== Notes / Quotes / Meta ===== */
.p-note {
  background: var(--lilac);
  padding: 1rem;
  border-left: 4px solid var(--purple);
  font-style: italic;
  margin-bottom: 1.5rem;
}

/* ===== List Styling ===== */
ul {
  padding-left: 1.25em;
  list-style-type: square;
}

/* ===== Forms (Search etc.) ===== */
input[type="search"] {
  font-family: 'VT323', monospace;
  padding: 0.5rem;
  border: 2px solid var(--purple);
  background-color: var(--mint);
  width: 100%;
}

/* ===== Footer ===== */
.site-footer {
  text-align: center;
  margin-top: 3rem;
  font-size: 16px;
  color: var(--text);
}

/* ===== Responsive Layout ===== */
@media (max-width: 768px) {
  .wrapper {
    margin: 1rem;
    padding: 1.5rem;
  }

  .site-navigation ul {
    flex-direction: column;
  }

  .site-navigation li {
    border-right: none;
    border-bottom: 1px solid var(--purple);
  }

  .site-navigation li:last-child {
    border-bottom: none;
  }
}

.site-header {
  padding: 2rem 2rem 1rem;
}

.site-header h2,
.site-header h3 {
  margin-left: 0.5rem;
}

.site-navigation {
  padding: 1rem 2rem;
}

.site-navigation ul {
  padding-left: 0;
  margin: 0;
}

.site-navigation li {
  margin-right: 1rem;
}

.article-list li,
.article {
  background-color: var(--mint);
  border: 2px solid var(--purple);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 4px 4px var(--lilac);
  list-style: none;
}

.floating-gif {
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 9999;
  width: 300px;
  height: auto;
  image-rendering: pixelated;
  pointer-events: none;

}

#splash-screen {
  position: fixed;
  z-index: 999999;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: var(--lilac);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'VT323', monospace;
  font-size: 2rem;
}

.splash-content {
  text-align: center;
}

body.loaded #splash-screen {
  display: none;
}

/* Firefox */
html {
  scrollbar-color: var(--purple) var(--mint);
  scrollbar-width: thin;
}

/* WebKit (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 14px;
  background: var(--mint);
}

::-webkit-scrollbar-thumb {
  background-color: var(--purple);
  border: 3px solid var(--mint); /* for pixel-style effect */
  image-rendering: pixelated;
}

::-webkit-scrollbar-track {
  background-color: var(--mint);
  border-left: 2px dashed var(--lilac);
}