@import url('https://fonts.bunny.net/css2?family=Amiko');
@import url('https://fonts.bunny.net/css2?family=Beth+Ellen');
@import url('https://fonts.bunny.net/css2?family=Caveat');
@import url('https://fonts.bunny.net/css2?family=Huninn');

:root {
  --brown: #685243;
  --brown-dark: #4e3b31;
  --rose: #d8b7bd;
  --rose-soft: #fffafa;
  --rose-text: #7c4b56;
  --rose-strong: #c83349;
  --rose-muted: #bca1a7;
  --cream-border: #e7e1d7;
  --text-color: var(--text-color);
  --text-muted: #636262;
  --surface: #ffffff;
  --surface-soft: #fffafa;
  --page-bg: #e1dedf;
  --scrollbar-track: #ffffff;
  --scrollbar-thumb: #d89ea5;
  --gallery-border: #d8b7bd;
  --shadow: rgba(0, 0, 0, 0.20);
  --shadow-strong: rgba(0, 0, 0, 0.40);
}

html, a {
     cursor: url('/assets/cursors/tan_bow.png'), auto;
}
body {
  background: var(--page-bg) url('/assets/backgrounds/burberry.gif') repeat;
  line-height: 1.5;
  font-family: 'Amiko';
  font-size: 13px;
  text-align: justify;
  letter-spacing: 1px;
  color: var(--text-color);
}
::-webkit-scrollbar-thumb {
  background-color: var(--scrollbar-thumb);  
  border-radius: 0px;
  border:1px solid #999;
  border-radius: 6px;
}
::-webkit-scrollbar {
  width: 9px; height: 4px; 
  background: var(--scrollbar-track);
}
h1, h2, h3, h4 {
  font-family: 'Caveat';
}
h2 {
  background: var(--brown);
  box-shadow: 2px 2px 2px #ffffff;
  color: var(--surface);
  text-align: left;
  font-size: 12px;
  padding: 2px;
}
b {
  color: var(--rose-text);
}
i {
  color: var(--rose-muted);
}
.centering {
  text-align: center;
}
img {
  object-fit: contain;
  max-width: 100%;
}
img, video, iframe, audio {
  display: block;
  margin-inline: auto;
}

/*..........................
      layout
..........................*/

#blog-layout {
  display: grid;
  grid-template-columns: minmax(205px, 240px) minmax(0, 1fr);
  grid-template-areas: "left main";
  gap: 1.25em;
  width: min(1200px, 94svw);
  min-height: calc(100svh - 40px);
  height: auto;
  margin: 20px auto;
  align-items: start;
}
.sidebar, .blog-main {
  background-color: var(--surface);
  box-sizing: border-box;
  padding: 0.85em;
  border-radius: 1em;
  box-shadow: 0.25em 0.25em 0.5em var(--shadow);
  border: 3px solid var(--brown);
  min-height: 0;
  max-height: none;
}

/*..........................
	sidebar
..........................*/
.sidebar {
  color: #636262;
  position: sticky;
  top: 20px;
  align-self: start;
  max-height: calc(100svh - 40px);
  overflow-y: auto;
  overflow-x: hidden;
}
.blog-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1em;
}
.sidebar-card {
  margin-top: 0.7em;
  padding: 0.65em;
  border: 1px solid var(--cream-border);
  border-radius: 0.75em;
  background: var(--surface-soft);
  text-align: justify;
}
.sidebar-heading {
  margin: 0 0 0.55em;
  padding: 0.25em 0.5em;
  border-radius: 0.35em;
  background: var(--brown);
  color: var(--surface-soft);
  font-family: 'Caveat';
  font-size: 1.3em;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-align: center;
}
.sidebar-heading-links {
  font-size: 1.45em;
  letter-spacing: 0.10em;
}
.sidebar ul {
  margin: 0;
 }
.sidebar li::before {
  content: "\2661";
 }
.sidebar-left {
  grid-area: left;
}
.sidebar-topper {
  height: 1.25rem;
  margin: -0.85em -0.85em 0.85em;
  background: var(--brown);
  border-radius: 0.72rem 0.72rem 0 0;
}
.sidebar-portrait {
  margin: 0 auto 0.85em;
  text-align: center;
}
#burberry-img {
  width: min(155px, 100%);
  display: block;
  margin: 0 auto;
  max-height: none;
  border-radius: 0.55em;
  border: 1px solid #ecd1b2;
  box-shadow: 0.25em 0.25em 0.25em rgba(0,0,0,0.4);
}
.archive-box {
  display: inline-block;
  padding: 0.25em 0.75em;
  border: 1px solid var(--rose);
  border-radius: 999px;
  background: var(--scrollbar-track);
  color: var(--rose-text);
}
.archive-box:visited {
  color: var(--rose-text);
}
.progress-list {
  display: grid;
  gap: 0.75em;
  margin: 0;
  padding: 0;
}
.progress-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25em 0.5em;
  margin: 0;
  text-align: left;
}
.progress-list li::before {
  content: "";
}
.progress-label {
  line-height: 1.35;
}
.progress-percent {
  color: var(--rose-text);
  font-size: 0.9em;
  white-space: nowrap;
}
.progress-meter {
  grid-column: 1 / -1;
  height: 0.55em;
  overflow: hidden;
  border: 1px solid var(--rose);
  border-radius: 999px;
  background: var(--scrollbar-track);
}
.progress-meter span {
  display: block;
  width: var(--progress);
  height: 100%;
  border-radius: inherit;
  background: #d89ea5;
}

/*..........................
      links & sidebar
..........................*/
a {
    text-decoration: none;
    color: var(--rose-strong);
}
a:visited {
    color: var(--rose);
}
a:hover {
    font-style: italic;
}
a:active {
    font-style: italic;
}
#links {
  padding: 0;
  font-family: 'Huninn';
  font-size: 1em;
}
#links ul {
  margin: 0;
  padding: 0;
}
#links li {
  display: block;
  margin: 0.18em 0;
  line-height: 1.35;
}
#links li::before {
  content: "♡";
  color: var(--rose-text);
  padding-left: 1em;
}
#links a {
  display: inline-block;
  color: var(--text-color);
}
#links a:visited {
  color: var(--text-color);
}
#links a:hover {
  color: var(--rose-strong);
  font-style: italic;
}
#links a, #links a:visited {
  color: var(--text-color);
}

/*..........................
       header
..........................*/

.blog-main {
  display: grid;
  gap: 1em;
}
.blog-header {
  flex: 0 0 auto;
  margin: 0;
  padding: 0.75em 1.25em 0.9em;
  border: 1px solid var(--rose);
  border-radius: 0.75em;
  background: var(--surface-soft);
  text-align: center;
}
.blog-header img {
  height: 85px;
  width: auto;
  margin-bottom: -0.35em;
}
.blog-title-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}
.blog-logo {
  height: clamp(77px, 6vw, 78px);
  width: auto;
  margin: 0;
  transform: translateY(-0.28rem);
}
.blog-header h1 {
  margin: 0;
  padding: 0;
  background: transparent;
  text-align: center;
  font-family: 'Beth Ellen';
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1;
  color: var(--rose-text);
  transform: translateY(0.25rem);
}
.blog-tagline {
  max-width: 65ch;
  text-align: center;
  letter-spacing: 0.05em;
  font-size: 0.72rem;
  line-height: 1.55;
  padding: 0.35em 1em 0;
  font-family: 'Huninn';
}
.blog-tagline span {
  display: inline-block;
}
.blog-header p {
  max-width: none;
  margin: 0.35em auto 0;
  text-align: center;
  line-height: 1.45;
  letter-spacing: 0.06em;
}
.entry-stack {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  gap: 0.85em;
  overflow: visible;
  padding-right: 0;
}
.blog-entry {
  position: relative;
  padding: 0.75em;
  border: 1px solid var(--rose);
  border-radius: 0.85em;
  background: var(--rose-soft);
  box-shadow: inset 0 0 0 3px #fff;
}
.entry-toggle {
  margin: 0;
}
.entry-summary {
  display: block;
  cursor: pointer;
  list-style: none;
}
.entry-summary::-webkit-details-marker {
  display: none;
}
.entry-date {
  position: relative;
  margin: 0;
  padding: 0.32em 2.25em 0.32em 0.7em;
  border-radius: 0.35em;
  background: var(--brown);
  box-shadow: 2px 2px 2px #ffffff;
  color: #fffbf3;
  font-family: 'Caveat';
  font-size: 1.2rem;
  line-height: 1;
  text-align: left;
}
.entry-date::after {
  content: "open";
  position: absolute;
  right: 0.8em;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Huninn';
  font-size: 0.48em;
  letter-spacing: 0.08em;
  opacity: 0.8;
}
.entry-toggle[open] .entry-date::after {
  content: "close";
}
.entry-summary:hover .entry-date {
  background: var(--brown-dark);
}
.entry-body {
  margin-top: 0.75em;
  padding: 0.9em;
  border: 1px solid var(--cream-border);
  border-radius: 0.6em;
  background: var(--surface);
  max-height: none;
  overflow: visible;
}
.entry-toggle:not([open]) + .blog-entry::after {
  display: none;
}
.entry-body p {
  text-align: justify;
}
.entry-body > img {
  display: block;
  max-width: min(80%, 520px);
  max-height: 23rem;
  width: auto;
  height: auto;
  margin: 1em auto;
  object-fit: contain;
}
.blog-entry::after {
  content: "";
  display: none;
  margin: 1em auto 0;
  width: 100%;
  height: 1.3rem;
  pointer-events: none;
  opacity: 0.7;
  background: url('/assets/dividers/divider.gif') center / contain repeat-x;
}
.blog-entry:has(.entry-toggle[open])::after {
  display: block;
}
.photo-set {
    margin: 1.25em auto;
    text-align: center;
}
.photo-set img {
    max-height: 300px;
    max-width: 800px;
    width: auto;
    border: 2px solid var(--gallery-border);
    border-radius: 0.4em;
    box-shadow: 0.2em 0.2em 0.4em rgba(0,0,0,0.25);
}
.photo-set figcaption {
    max-width: 110ch;
    margin: 0.75em auto 0;
    font-size: 0.9em;
    color: var(--text-color);
    text-align: center;
}
.photo-set-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5em;
}
.photo-set-grid img, .photo-set-grid video, .photo-set-grid iframe {
    display: block;
    width: auto;
    height: auto;
    max-width: min(100%, 300px);
    max-height: 320px;
    object-fit: contain;
    border: 2px solid var(--gallery-border);
    border-radius: 0.4em;
    box-shadow: 0.2em 0.2em 0.4em rgba(0,0,0,0.25);
}

/*..........................
      extra things
..........................*/
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}
.gallery img {
  height: clamp(95px, 14vw, 150px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border: 2px solid black;
  margin: 0;
}

blockquote {
  margin: 1em auto;
  padding: 1em 1.25em;
  max-width: 80ch;
  background-color: var(--surface-soft);
  border: 1px solid var(--rose);
  border-radius: 0.65em;
  box-shadow: 1px 1px 2px rgba(0,0,0,0.12);
}

/*..........................
      mobile girls
..........................*/

@media (min-width: 821px) and (max-width: 1050px) {
  #blog-layout {
    grid-template-columns: 205px minmax(0, 1fr);
    width: 96vw;
    gap: 1em;
  }
  #burberry-img {
    width: min(145px, 100%);
  }
  #links {
    font-size: 0.95em;
  }
  .sidebar-card {
    padding: 0.6em;
  }
}

@media (max-width: 820px) {
  #blog-layout {
    display: flex;
    flex-direction: column;
    width: 95vw;
    min-height: 0;
    margin: 1em auto;
    gap: 1em;
  }
  .sidebar, .blog-main {
    width: 100%;
  }
  .sidebar {
    position: static;
    max-height: none;
    overflow: visible;
    text-align: center;
  }
  .sidebar-card {
    text-align: center;
  }
  .progress-list li {
    text-align: left;
  }
  .blog-title-row {
    gap: 0.25rem;
  }
  .blog-logo, .blog-header img {
    height: 48px;
    transform: none;
  }
  .blog-header h1 {
    font-size: 1.6rem;
    transform: none;
  }
  .blog-tagline {
    padding: 0.5em;
    font-size: 0.72rem;
    line-height: 1.55;
  }
  .entry-body p {
    text-align: left;
  }
  .gallery img {
    height: auto;
    max-width: 45%;
  }
}
@media (max-width: 950px) {
  .gallery img {
    width: 30%;
  }
}