/*.......................... 

You are welcome to use my CSS to study or use to learn/edit your own. - B. 

part of this layout was inspired by repth's template (https://repth2.neocities.org/ & https://repth.neocities.org/themei) and tumblr/livejournal structure.

...........................*/

@import url('https://fonts.bunny.net/css2?family=Aleo');
@import url('https://fonts.bunny.net/css2?family=Amiko');
@import url('https://fonts.bunny.net/css2?family=Coustard');
@import url('https://fonts.bunny.net/css2?family=Huninn');

:root {
    --bg-color: #d6bbcb;
    --bg-image: url('/assets/backgrounds/pinkplaidbg.jpg');
    --cursor-image: url('/assets/cursors/pink_bow.png');

    --text-color: #4f484b;
    --text-muted: #c7a7b1;
    --link-color: #7a5660;
    --link-visited: #55484c;
    --link-bg: #f0d9df;

    /* Accent scale: strong -> soft border -> faint fill */
    --accent: #c45a75;
    --accent-soft: #e4aebe;
    --accent-faint: #f8e9ed;
    --italics: var(--text-muted);
    --bree-note: #c6536d;

    --box-bg: #fffdfd;
    --soft-bg: #f7e6eb;
    --extra-bg: #fbf1f4;
    --blockquote-bg: #fcf8f9;

    --border-color: #c96a80;
    --blockquote-border: #e7cad2;
    --blockquote-shadow: rgba(106, 63, 78, 0.22);
    --gallery-border: #69434e;

    --sidebar-text: #5c5154;
    --sidebar-link-bg: #eed4da;
    --scrollbar-track: #4e5052;
    --scrollbar-thumb: #dcbac3;

    --heading-color: #59474d;
    --heading-accent: #b64d67;
    --entry-border: #efd4db;
    --entry-date: #c97689;
    --entry-title: #724a54;

    --surface-base: var(--box-bg);
    --surface-soft: var(--blockquote-bg);
    --surface-tint: var(--soft-bg);
    --surface-alt: var(--extra-bg);
    --border-soft: var(--blockquote-border);
    --border-medium: var(--accent-soft);
    --border-strong: var(--border-color);
    --text-soft: var(--text-muted);

    --broider-trim-image:
    url("/assets/borders/minimal-trim-pink.png");
    --broider-heart-stitch-image:
    url("/assets/borders/heart-stitch-pink.png");
    --broider-ribbon-image:
    url("/assets/borders/ribbon-pink.png");
     --broider-heart-edge-image:
    url("/assets/borders/heart-edge-pink.png");
    --broider-lace-image:
    url("/assets/borders/thin-lace-pink.png");
}

html, a {
     cursor: var(--cursor-image), auto;
}
body {
     background: var(--bg-color) var(--bg-image) fixed;
     line-height: 1.6;
     font-family: 'Amiko';
     font-size: 14px;
     text-align: justify;
     letter-spacing: 0.045em;
     color: var(--text-color);
}
h1, h2, h3 {
     font-family: 'Coustard';
     text-shadow: 1px 1px 1px #fff;
     margin: 1em 0 0.5em;
     text-align: center;
}
h4 {
     font-family: 'Aleo';
     text-shadow: 1px 1px 1px #fff;
     margin: 1em 0 0.5em;
}
img {
     object-fit: contain;
     max-width: 100%;
}
.centering {
     text-align: center;
}
img, video, iframe, audio {
     display: block;
     margin-inline: auto;
}
strong, b {
     color: var(--entry-title);
}
em, i {
    color: var(--italics);
}
article, section {
    margin-bottom: 1em;
}
 ::-webkit-scrollbar {
     width: 11px;
}
 ::-webkit-scrollbar-track {
    background-color: var(--scrollbar-track);
}
 ::-webkit-scrollbar-thumb {
    background-color: var(--scrollbar-thumb);
}

/*---------------------------------------- 
	links 
----------------------------------------*/

a {
    text-decoration: none;
    color: var(--link-color);
}
a:visited {
    color: var(--link-visited);
}
a:hover, a:active {
    font-style: italic;
}
main a {
    display: inline;
    padding: 0.02em 0.3em;
    border: 1px solid var(--accent-soft);
    border-radius: 0.35em;
    background:
      linear-gradient(
         to bottom,
         var(--blockquote-bg),
         var(--link-bg)
        );
    line-height: 1.6;
}
main a:hover, main a:active {
    color: var(--heading-accent);
    border-color: var(--accent);
    font-style: italic;
}
#sidebar li a {
    display: block;
    padding: 0.1em 0;
    color: var(--link-color);
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
#sidebar li a:hover, #sidebar li a:active {
    font-style: italic;
}

/*---------------------------------------- 
	list styling
----------------------------------------*/

main ul {
    padding-left: 1.2em;
}
main li {
    margin: 0.2rem 0;
    list-style: none;
}
main li::before {
    content: "\279F";
    margin-right: 0.5ch;
}

/*---------------------------------------- 
	main body + splash image
----------------------------------------*/

#bigcontainer {
     display: flex;
     align-items: flex-start;
     gap: 2em;
     width: 89vw;
     margin: 20px auto;
     min-height: 90vh;
}
main {
     flex: 1;
     min-width: 0;
}
#content {
     flex: 1;
     min-width: 0;
     display: flex;
     flex-direction: column;
     gap: 2em;
}
#sidebar, main, #footer {
     box-sizing: border-box;
     padding: 1em;
     border-radius: 1em;
     box-shadow: 0.25em 0.25em 0.5em rgba(0,0,0,0.4);
     background-color: var(--box-bg);
     border: 2px solid var(--accent);
}
#paulblend-small-img {
     border-radius: 0.5em;
     display: block;
     margin: 0 auto;
     max-width: 100%;
     height: auto;
     border: 2px solid #644331;
     box-shadow: 0.25em 0.25em 0.5em rgba(0,0,0,0.4);
}
main hr {
     border: none;
     border-bottom: 2px solid var(--accent-soft);
     margin: 0.5em auto;
     width: 100%;
}

/*---------------------------------------- 
		sidebar
----------------------------------------*/

#sidebar {
     width: 17vw;
     color: var(--sidebar-text);
     position: sticky;
     top: 1em;
}
#sidebar p {
     font-size: 0.8em;
     max-width: 30ch;
     text-align: center;
     margin: 1em auto;
     line-height: 1.3;
}
#sidebar ul {
     padding-left: 0;
     margin: 0;
}
#sidebar li {
     display: flex;
     margin: 0.40em 0;
     line-height: 1.1em;
}
#sidebar li::before {
     content: url('/assets/graphics/ribbon.png');
     margin-right: 0.3ch;
}
#profimg {
     display: flex;
     justify-content: center;
}
#profimg img {
     max-width: 300px;
     width: 100%;
     border-radius: 0.5em 0.5em 0 0;
}
#sidebar .centering img {
     display: block;
     margin: 0.25em auto;
}
#sidebar hr {
     border: none;
     border-bottom: 2px solid var(--accent-soft);
     margin: 0.5em auto;
     width: 90%;
}
#links {
     display: flex;
     justify-content: center;
     padding: 0.75em 1em;
     font-family: 'Coustard';
     font-size: 1.1em;
     background-color: var(--sidebar-link-bg);
     border-bottom-left-radius: 0.5em;
     border-bottom-right-radius: 0.5em;
}

/*---------------------------------------- 
		headings
----------------------------------------*/

h1 {
     font-size: 36px;
     color: var(--heading-color);
     text-align: center;
}
h2 {
     font-size: 33px;
     color: var(--heading-color);
     text-decoration: underline;
}
h3 {
     font-size: 26px;
     color: var(--heading-accent);
     text-align: center;
     text-decoration: underline;
}
h4 {
     font-size: 23px;
     color: var(--heading-accent);
     text-align: center;
     text-decoration: underline;
}
.bree-note h2, .bree-note h3, .bree-note h4 {
     font-size: 23px;
     color: var(--bree-note);
     text-align: center;
     text-decoration: underline;
}

/*---------------------------------------- 
	LJ modernized: thank u repth
----------------------------------------*/

.entryhead {
     display: flex;
     align-items: flex-end;
     gap: 0.75em;
     border-bottom: 1px solid var(--entry-border);
     padding-bottom: 0.5em;
     margin-bottom: 1em;
}
.icon {
     flex: 0 0 100px;
}
.icon img {
     width: 100%;
     height: auto;
     display: block;
}
.date {
     display: flex;
     flex-direction: column;
     justify-content: flex-end;
     gap: 0.2em;
}
.date p {
     margin: 0;
     color: var(--entry-date);
     font-size: 0.9em;
}
.header {
    margin-left: auto;
    text-align: right;
    flex: 1;
    min-width: 0;
}
.header h1 {
    font-family: 'Aleo';
    font-size: clamp(16px, 2.2vw, 25px);
    color: var(--entry-title);
    margin: 0;
    transform: translateY(7px);
}

/*---------------------------------------- 

FANSITE SPECIFIC CSS

⠀⠀⠀⢸⣦⡀⠀⠀⠀⠀⢀⡄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⢸⣏⠻⣶⣤⡶⢾⡿⠁⠀⢠⣄⡀⢀⣴⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⣀⣼⠷⠀⠀⠁⢀⣿⠃⠀⠀⢀⣿⣿⣿⣇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠴⣾⣯⣅⣀⠀⠀⠀⠈⢻⣦⡀⠒⠻⠿⣿⡿⠿⠓⠂⠀⠀⢀⡇⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠉⢻⡇⣤⣾⣿⣷⣿⣿⣤⠀⠀⣿⠁⠀⠀⠀⢀⣴⣿⣿⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠸⣿⡿⠏⠀⢀⠀⠀⠿⣶⣤⣤⣤⣄⣀⣴⣿⡿⢻⣿⡆⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠟⠁⠀⢀⣼⠀⠀⠀⠹⣿⣟⠿⠿⠿⡿⠋⠀⠘⣿⣇⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⢳⣶⣶⣿⣿⣇⣀⠀⠀⠙⣿⣆⠀⠀⠀⠀⠀⠀⠛⠿⣿⣦⣤⣀⠀⠀
⠀⠀⠀⠀⠀⠀⣹⣿⣿⣿⣿⠿⠋⠁⠀⣹⣿⠳⠀⠀⠀⠀⠀⠀⢀⣠⣽⣿⡿⠟⠃
⠀⠀⠀⠀⠀⢰⠿⠛⠻⢿⡇⠀⠀⠀⣰⣿⠏⠀⠀⢀⠀⠀⠀⣾⣿⠟⠋⠁⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠋⠀⠀⣰⣿⣿⣾⣿⠿⢿⣷⣀⢀⣿⡇⠁⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠋⠉⠁⠀⠀⠀⠀⠙⢿⣿⣿⠇⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⢿⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠀
----------------------------------------*/

/*---------------------------------------- 
fansite meta: navigation, notes, disclaimer boxes
----------------------------------------*/
.translation-meta {
    font-size: 0.85em;
    color: var(--italics);
    margin-left: 0.35ch;
}
.disclaimer-note {
    max-width: 100ch;
    margin: 2em auto;
    padding: 1.25em;
    background-color: var(--blockquote-bg);
    border: 2px solid var(--blockquote-border);
    border-radius: 10px;
    box-shadow: 2px 2px 2px var(--blockquote-shadow);
}
.disclaimer-note h2, .disclaimer-note h3, .disclaimer-note h4 {
    margin-top: 0;
    text-align: center;
    color: var(--entry-title);
}
.disclaimer-note h2::before, .disclaimer-note h3::before, .disclaimer-note h4::before {
    content: "";
    flex: 0 0 1.15em;
    width: 1.10em;
    height: 1.10em;
    display: inline-block;
    background-color: var(--heading-accent);
    transform: translateX(-30%) translateY(20%);
}
.disclaimer-note h2::before, .disclaimer-note h3::before, .disclaimer-note h4::before {
    -webkit-mask: url('/assets/graphics/warning.svg') center / contain no-repeat;
    mask: url('/assets/graphics/warning.svg') center / contain no-repeat;
}
.bree-note {
    margin: 2rem 0;
    padding: 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 11px;
    background: var(--soft-bg);
    font-size: 13px;
    text-align: left;
}
.bree-note h2, .bree-note h3, .bree-note h4 {
    margin-top: 0;
    font-size: 20px;
    color: var(--bree-note);
    text-align: center;
    text-decoration: underline;
}
.bree-note h2::before, .bree-note h3::before, .bree-note h4::before {
    content: "";
    flex: 0 0 1.15em;
    width: 1.35em;
    height: 1.35em;
    display: inline-block;
    background-color: var(--heading-accent);
    transform: translateX(-30%) translateY(20%);
}
.bree-note h2::before, .bree-note h3::before, .bree-note h4::before {
    -webkit-mask: url('/assets/graphics/buni.svg') center / contain no-repeat;
    mask: url('/assets/graphics/buni.svg') center / contain no-repeat;
}
.research-nav {
    max-width: 105ch;
    margin: 1.5em auto;
    padding: 1.1em;
    text-align: left;
    background-color: var(--blockquote-bg);
}
.research-nav h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35em;
    margin: 0 0 0.75em;
    font-size: 28px;
    text-align: center;
}
.research-nav h2::before {
    content: "";
    flex: 0 0 1.1em;
    width: 1.1em;
    height: 1.1em;
    display: inline-block;
    background-color: var(--heading-accent);
    -webkit-mask: url('/assets/graphics/menu-board.svg') center / contain no-repeat;
    mask: url('/assets/graphics/menu-board.svg') center / contain no-repeat;
}
.research-nav ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 28ch), 1fr));
    gap: 0.45em 0.65em;
    margin: 0;
    padding: 0;
}
.research-nav li {
    display: grid;
    grid-template-columns: 1.1em minmax(0, 1fr);
    gap: 0.1em 0.35em;
    align-items: baseline;
    margin: 0;
    padding: 0.55em 0.65em;
    list-style: none;
    line-height: 1.35;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid var(--blockquote-border);
    border-radius: 0.5em;
}
.research-nav li::before {
    grid-column: 1;
    grid-row: 1 / span 2;
    content: "↳";
    margin: 0;
    color: var(--heading-accent);
    font-weight: bold;
}
.research-nav li a {
    grid-column: 2;
    justify-self: start;
    min-width: 0;
}
.research-nav .nav-note {
    grid-column: 2;
    display: block;
    margin-top: 0.05em;
    font-family: 'Huninn';
    font-size: 0.80em;
    line-height: 1.35;
    letter-spacing: 0.08em;
    color: var(--text-color);
    opacity: 0.85;
    font-style: italic;
}
.research-nav a, .research-nav a:visited {
    display: inline;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--link-color);
    line-height: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}
.research-nav a:hover, .research-nav a:active {
    color: var(--heading-accent);
    border: 0;
    font-style: italic;
}
.research-nav.broider-frame {
    border: var(--broider-width) solid transparent;
    border-image-source: var(--broider-image);
    border-image-slice: var(--broider-slice);
    border-image-width: var(--broider-width);
    border-image-outset: 0;
    border-image-repeat: round;
    border-radius: 9px;
    --broider-width: 6px;
    background: var(--blockquote-bg);
    background-clip: padding-box;
    border-image-outset: 0;
    box-shadow: none;
}
.research-top-grid {
    max-width: 115ch;
    margin: 1.5em auto;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
    gap: 1em;
    align-items: start;
}
.research-top-grid > .disclaimer-note, .research-top-grid > .research-nav, .research-top-grid > .bree-note {
    max-width: none;
    margin: 0;
}
.source-note h2, .research-nav h2 {
    margin-top: 0;
}

/*---------------------------------------- 
	fansite photos, figcaption, video display
----------------------------------------*/

.photo-set {
    margin: 1.25em auto;
    text-align: center;
}
.photo-set img {
    max-height: 350px;
    max-width: 800px;
    width: auto;
    border: 2px solid var(--gallery-border);
    border-radius: 0.4em;
}
.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%, 350px);
    max-height: 375px;
    object-fit: contain;
    border: 2px solid var(--gallery-border);
    border-radius: 0.4em;
}
.video-set {
  max-width: 640px;
  margin: 1rem auto;
  text-align: center;
}
.video-set-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}
.video-set-grid iframe {
  width: min(100%, 640px);
  max-width: none;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 2px solid var(--gallery-border);
  border-radius: 10px;
  box-shadow: 0.2em 0.2em 0.4em rgba(0, 0, 0, 0.25);
}
.video-set-grid video {
  width: min(100%, 350px);
  height: auto;
  max-height: 425px;
}
.video-set figcaption {
    max-width: 110ch;
    margin: 0.75em auto 0;
    font-size: 0.9em;
    color: var(--text-color);
    text-align: center;
}
.image-sequence {
    margin: 1.25em auto;
    text-align: center;
}
.image-sequence-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75em;
}
.image-panel {
    max-width: 260px;
    text-align: center;
}
.image-panel img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 399px;
    object-fit: contain;
    border: 2px solid var(--gallery-border);
    border-radius: 0.4em;
}
.image-panel p {
    margin: 0.35em 0;
    font-size: 0.9em;
    font-style: italic;
}
.image-sequence figcaption {
    max-width: 90ch;
    margin: 0.75em auto 0;
    font-size: 0.9em;
}

/*---------------------------------------- 
	fansite footnotes
----------------------------------------*/

sup {
    font-size: 0.75em;
    line-height: 0;
}
sup a {
    font-size: 1em;
    text-decoration: none;
}
.footnotes {
    margin-top: 2em;
    border-top: 1px solid var(--blockquote-border);
    padding-top: 1em;
    font-size: 0.9em;
}
.footnotes ol {
    counter-reset: footnotes;
    list-style: none;
    padding-left: 0;
}
.footnotes li {
    counter-increment: footnotes;
    margin: 0.65em 0;
    list-style: none;
    padding-left: 0;
}
.footnotes li::before {
    content: "\279F " counter(footnotes) ". ";
    margin-right: 0.4ch;
    font-weight: bold;
    color: var(--text-color);
}
.footnotes .back-link {
    margin-left: 0.5em;
    text-decoration: none;
    font-weight: bold;
}
.footnotes .back-link::before {
    content: " ";
}
.footnote-number {
     font-weight: bold;
}
.back-link {
     margin-left: 0.5em;
     text-decoration: none;
}

/*---------------------------------------- 
fansite blockquotes, back to top Les Paul, and mini gallery
----------------------------------------*/

blockquote {
  margin: 0px 45px;
  padding: 30px 30px 30px 50px;
  background-color: var(--blockquote-bg);
  border: 1px solid var(--blockquote-border);
  border-radius: 3.5px;
  box-shadow: 1px 1px 2px var(--blockquote-shadow);
  margin-bottom: 1.2rem;
}
.quote-cite {
  display: block;
  margin-top: 0.75em;
  font-size: 0.9em;
  text-align: right;
}
.quote-cite::before {
  content: "↳ ";
}
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px;
}
.gallery img {
    display: block;
    margin: 0;
    max-height: 130px;
    max-width: 100%;
    height: auto;
    width: auto;
    border: 2px solid var(--gallery-border);
    border-radius: 2px;
}
.decor {
    position: fixed;
    bottom: 0;
    right: 0;
}
.decor a {
    display: block;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    line-height: 0;
}
.decor img {
    max-width: 100px;
    height: auto;
    display: block;
}

/*---------------------------------------- 
extra stuff - code blocks, spoiler
----------------------------------------*/
.spoiler {
     background-color: black;
     color: transparent;
     user-select: none;
}
.spoiler:hover {
     background-color: inherit;
     color: inherit;
}
code {
    background-color: var(--extra-bg);
    padding: 2px 4px;
    border-radius: 4px;
    font-size: 0.9em;
}
pre {
    background-color: var(--extra-bg);
    border: 1px solid var(--blockquote-border);
    border-radius: 4px;
    padding: 1em;
    overflow: auto;
    margin: 1.5em auto;
    line-height: 1.5;
    max-width: 90%;
    word-wrap: break-word;
    white-space: pre-wrap;  
}
pre code {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    font-size: 0.9em;
    color: inherit;
    display: block;
}
.code-block {
    overflow-x: auto;
    white-space: pre;
    padding: 1rem;
    border: 1px solid var(--gallery-border);
    background: var(--blockquote-bg);
    border-radius: 6px;
    font-family: Consolas;
    font-size: 0.9rem;
    line-height: 1.5;
}

/*----------------------------------------
	borders
-----------------------------------------*/

.broider-frame {
  box-sizing: border-box;
  /*fallback if the image fails*/
  border-style: solid;
  border-color: var(--border-color);

  border-image-source: var(--broider-image);
  border-image-slice: var(--broider-slice);
  border-image-width: var(--broider-width);
  border-image-outset: 0;
  border-image-repeat: round;
  border-radius: 0;
}

.broider--trim {
  --broider-image: var(--broider-trim-image);
  --broider-slice: 7;
  --broider-width: 6px;
  border-width: var(--broider-width);
}
.broider--heart-stitch {
  --broider-image: var(--broider-heart-stitch-image);
  --broider-slice: 14;
  --broider-width: 11px;
  border-width: var(--broider-width);
}
.broider--ribbon {
  --broider-image: var(--broider-ribbon-image);
  --broider-slice: 14;
  --broider-width: 7px;
  border-width: var(--broider-width);
}
.broider--heart-edge {
  --broider-image: var(--broider-heart-edge-image);
  --broider-slice: 7;
  --broider-width: 7px;
  border-width: var(--broider-width);
}
.broider--lace {
  --broider-image: var(--broider-lace-image);
  --broider-slice: 7;
  --broider-width: 7px;
  border-width: var(--broider-width);
}

/*----------------------------------------
	theme switcher
----------------------------------------*/

#theme-switcher {
    border-top: 2px solid var(--accent-soft);
    text-align: center;
}
#theme-switcher button {
    margin: 0.2em;
    padding: 0.3em 0.6em;
    border-radius: 0.5em;
    border: 1px solid var(--accent);
    background: var(--link-bg);
    color: var(--text-color);
    font-family: inherit;
    font-size: 0.8em;
}
#theme-switcher button:hover {
    font-style: italic;
}

.theme-blue {
    --bg-color: #dce8ec;
    --bg-image: url('/assets/backgrounds/blueplaid.jpg');
    --cursor-image: url('/assets/cursors/blue_bow.png');

    --text-color: #263940;
    --text-muted: #5b7680;
    --link-color: #2d6175;
    --link-visited: #455962;
    --link-bg: #dcecf1;

    --accent: #267f9f;
    --accent-soft: #a9d2df;
    --accent-faint: #e8f4f7;
    --italics: var(--text-muted);
    --bree-note: #267f9f;

    --box-bg: #ffffff;
    --soft-bg: #e3f1f5;
    --extra-bg: #eef6f8;
    --blockquote-bg: #f7fbfc;

    --border-color: #2b86a6;
    --blockquote-border: #bdd9e2;
    --blockquote-shadow: rgba(45, 82, 96, 0.22);
    --gallery-border: #245d73;

    --sidebar-text: #315f70;
    --sidebar-link-bg: #d9edf3;
    --scrollbar-track: #34464d;
    --scrollbar-thumb: #b7cdd4;

    --heading-color: #2d4b55;
    --heading-accent: #1c7392;
    --entry-border: #c7e0e7;
    --entry-date: #5a8291;
    --entry-title: #285267;

    --broider-trim-image:
    url("/assets/borders/minimal-trim-blue.png");
    --broider-heart-stitch-image:
    url("/assets/borders/heart-stitch-blue.png");
    --broider-ribbon-image:
    url("/assets/borders/ribbon-blue.png");
     --broider-heart-edge-image:
    url("/assets/borders/heart-edge-blue.png");
    --broider-lace-image:
    url("/assets/borders/thin-lace-blue.png");
}

.theme-tan {
    --bg-color: #c8c1bd;
    --bg-image: url('/assets/backgrounds/burberry.gif');
    --cursor-image: url('/assets/cursors/tan_bow.png');

    --text-color: #504849;
    --text-muted: #7d6c65;
    --link-color: #775d61;
    --link-visited: #51494b;
    --link-bg: #eadbc9;

    --accent: #825d64;
    --accent-soft: #d3b8a8;
    --accent-faint: #f3e9de;
    --italics: var(--text-muted);
    --bree-note: #8a5d66;

    --box-bg: #fffdf9;
    --soft-bg: #f0e2d5;
    --extra-bg: #f7efe7;
    --blockquote-bg: #fbf7f2;

    --border-color: #89636a;
    --blockquote-border: #d9c4b2;
    --blockquote-shadow: rgba(92, 70, 61, 0.22);
    --gallery-border: #66494e;

    --sidebar-text: #655c5a;
    --sidebar-link-bg: #e5d5c2;
    --scrollbar-track: #f8f4ee;
    --scrollbar-thumb: #c89a9f;

    --heading-color: #554b49;
    --heading-accent: #78555c;
    --entry-border: #dac5b4;
    --entry-date: #986f76;
    --entry-title: #6b5449;

    --broider-trim-image:
    url("/assets/borders/minimal-trim-tan.png");
    --broider-heart-stitch-image:
    url("/assets/borders/heart-stitch-tan.png");
    --broider-ribbon-image:
    url("/assets/borders/ribbon-tan.png");
     --broider-heart-edge-image:
    url("/assets/borders/heart-edge-tan.png");
    --broider-lace-image:
    url("/assets/borders/thin-lace-tan.png");
}

/*---------------------------------------- 
people who design for mobile are insane
----------------------------------------*/

@media (max-width: 1180px) and (min-width: 1025px) {
    .entryhead {
        flex-wrap: wrap;
        align-items: flex-start;
    }
    .date {
        flex: 1 1 34ch;
        min-width: 0;
    }
    .header {
        flex: 1 1 100%;
        margin-left: 0;
        text-align: left;
    }
    .header h1 {
        transform: none;
        max-width: 100%;
        overflow-wrap: anywhere;
    }
}
 @media (max-width: 1024px) {
     body {
         font-size: 15px;
         text-align: left;
    }
     #bigcontainer {
         flex-direction: column;
         width: 95svw;
         gap: 1.5em;
    }
     #sidebar {
         width: 100%;
         position: relative;
         top: auto;
    }
     #sidebar p {
         font-size: 0.9em;
         max-width: 95%;
         margin: 0.5em auto;
    }
     #sidebar hr {
         width: 95%;
         margin: 0.5em auto;
    }
     #profimg {
         display: flex;
         justify-content: center;
         align-items: center;
         margin-bottom: 1em;
    }
     #profimg img {
         max-width: 300px;
         height: auto;
    }
     #sidebar li {
         margin: 0.1rem 0;
         list-style-type: none;
    }
     #sidebar li::before {
         margin-right: 0.3ch;
    }
     #sidebar a {
         font-size: 0.95em;
    }
     main {
         width: 100%;
         padding: 1em;
    }
     h1 {
         font-size: 25px;
    }
     h2 {
         font-size: 25px;
    }
     h3 {
         font-size: 21px;
    }
     h4 {
         font-size: 18px;
    }
     .entryhead {
         flex-direction: column;
         align-items: flex-start;
         gap: 0.5em;
         padding-bottom: 1em;
         margin-bottom: 1em;
    }
     .icon {
         width: 70px;
    }
     .date {
         flex-direction: row;
         justify-content: flex-start;
         gap: 0.5em;
         font-size: 0.85em;
         padding: 0;
    }
     .header {
         margin-left: 0;
         text-align: left;
         max-width: 100%;
    }
     .header h1 {
         font-size: 20px;
         transform: none;
         margin-top: 0.25em;
    }
     blockquote {
         margin: 1em;
         padding: 1em;
    }
     video, iframe {
         max-width: 100%;
         height: auto;
    }
     img {
         max-width: 100%;
         max-height: 85vh;
    }
     .gallery img {
         height: auto;
         max-width: 45%;
    }
    .photo-set-grid {
        gap: 0.4em;
    }
    /* keeps gallery thumbnails from turning into giant stacks */
    .photo-set .gallery img {
    max-width: min(45%, 180px);
    max-height: 35vh;
    width: auto;
    height: auto;
    }
    .photo-set .photo-set-grid img, .photo-set .photo-set-grid video, .photo-set .photo-set-grid iframe {
    max-width: min(48%, 300px);
    max-height: 35vh;
    width: auto;
    height: auto;
    }
     .decor {
         display: none;
    }
}
@media (max-width: 850px) {
    .research-top-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .photo-set .photo-set-grid img, .photo-set .photo-set-grid video, .photo-set .photo-set-grid iframe,.photo-set img {
        max-width: 100%;
    }
    .photo-set .gallery img {
        max-width: min(47%, 160px);
    }
}