@import url('https://fonts.bunny.net/css2?family=Coustard');
@import url('https://fonts.bunny.net/css2?family=Amiko');

:root {
    --bg-color: #cda1bb;
    --bg-image: url('/assets/backgrounds/pinkplaidbg.jpg');
    --cursor-image: url('/assets/cursors/pink_bow.png');

    --text-color: #514e4f;
    --link-color: #6d6660;
    --link-visited: #201f1f;
    --link-bg: #e2c6c3;

    --accent: #e78394;
    --accent-soft: #f0c6cc;
    --italics: #caa9ac;

    --box-bg: #ffffff;
    --sidebar-text: #4f5457;
    --sidebar-link-bg: #dfc0c5;

    --scrollbar-track: #505455;
    --scrollbar-thumb: #e3c3c6;

    --heading-color: #524343;
    --heading-accent: #db7575;
    --entry-border: #f5d1e1;
    --entry-date: #fb9898;
    --entry-title: #6c3e3e;

    --blockquote-bg: #f7f5f5;
    --blockquote-border: #ead5d5;
    --blockquote-shadow: #e0bbbb;
    --gallery-border: #000000;
}

.home-layout {
  --landing-card-bg: #fffafa;
  --landing-card-border: #e78394;
  --landing-card-border-soft: #f0b8c2;

  --landing-head-top: #f8d8de;
  --landing-head-bottom: #fff4f6;

  --landing-inner-bg: #fff7f8;
  --landing-inner-bg-soft: #f6d8dc;
  --landing-inner-border: #e8bcc2;

  --landing-text-soft: #7d676b;
  --landing-heading: #8d5b64;
  --landing-heading-accent: #c85f72;

  --landing-link: #b8445e;
  --landing-link-visited: #8d5b64;
  --landing-link-hover: #3f3838;
}
.theme-blue .home-layout {
  --landing-card-bg: #fbfefe;
  --landing-card-border: #1689b8;
  --landing-card-border-soft: #8fc8d8;

  --landing-head-top: #d8eef3;
  --landing-head-bottom: #f7fbfb;

  --landing-inner-bg: #f1f7f8;
  --landing-inner-bg-soft: #dceff3;
  --landing-inner-border: #a6cfd8;

  --landing-text-soft: #435e64;
  --landing-heading: #2d6d7e;
  --landing-heading-accent: #1896c0;

  --landing-link: #2284b5;
  --landing-link-visited: #2d6d7e;
  --landing-link-hover: #142b35;
}
.theme-tan .home-layout {
  --landing-card-bg: #fffdf9;
  --landing-card-border: #815c62;
  --landing-card-border-soft: #c9ad9b;

  --landing-head-top: #eadcca;
  --landing-head-bottom: #faf4ec;

  --landing-inner-bg: #f8f0e8;
  --landing-inner-bg-soft: #ddc6ad;
  --landing-inner-border: #cbb49e;

  --landing-text-soft: #665957;
  --landing-heading: #70555a;
  --landing-heading-accent: #815c62;

  --landing-link: #936970;
  --landing-link-visited: #70555a;
  --landing-link-hover: #342f2d;
}

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: 1px;
     color: var(--text-color);
}
h1, h2, h3, h4 {
     font-family: 'Coustard';
     text-shadow: 1px 1px 1px #fff;
     margin: 0;
}
img {
     object-fit: contain;
     max-width: 100%;
}
video, iframe, audio {
     display: block;
     margin-inline: auto;
}
em, i {
    color: var(--italics);
}
main li, .footer-right li {
     margin: 0.5rem 0;
}
 ::-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)
        );
    box-shadow: 1px 1px 1px var(--blockquote-shadow);
    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;
}
#sidebar li {
     margin: 0.15em 0;
}
.home-layout .card-cta, .home-layout .card-cta:visited {
  color: var(--landing-link);
  border: 1px solid var(--landing-card-border-soft);
  border-radius: 0.35em;
  background:
    linear-gradient(
      to bottom,
      var(--landing-inner-bg),
      var(--landing-inner-bg-soft)
    );
  box-shadow: 1px 1px 1px var(--blockquote-shadow);
  padding: 0.12em 0.6em;
  margin-top: 0.25rem;
  max-width: calc(100% - 1rem);
  overflow-wrap: anywhere;
}
.home-layout .card-cta:hover {
  color: var(--landing-link-hover);
  border-color: var(--landing-card-border);
}
.home-layout .card-cta, .home-layout .card-cta:visited {
  display: inline-flex;
  justify-self: start;
  align-self: start;
  width: max-content;
  max-width: 100%;
  color: var(--landing-link);
  border: 1px solid var(--landing-card-border-soft);
  border-radius: 0.35em;
  background:
    linear-gradient(
      to bottom,
      var(--landing-inner-bg),
      var(--landing-inner-bg-soft)
    );
  box-shadow: 1px 1px 1px var(--blockquote-shadow);
  padding: 0.08em 0.55em;
  margin-top: 0.2rem;
  line-height: 1.2;
  font-size: 0.95em;
  overflow-wrap: anywhere;
}
.home-layout .card-cta:hover {
  color: var(--landing-link-hover);
  border-color: var(--landing-card-border);
}

/*---------------------------------------- 

                 list styling

----------------------------------------*/

ul {
     padding-left: 0;
}
li {
     list-style-type: none;
}
li::before {
     margin-right: 0.5ch;
}
main li::before {
     content: "\279F";
}

/*----------------------------------------

               main

----------------------------------------*/

#bigcontainer {
     display: flex;
     flex-flow: row nowrap;
     align-items: flex-start;
     margin: 20px auto;
     width: 85svw;
     min-height: 90svh;
     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);
}
#index-p-img {
     border-radius: 0.5em;
     display: block;
     margin: 0 auto;
     max-width: 80%;
     height: auto;
     border: 1px solid #637b90;
     box-shadow: 0.25em 0.25em 0.5em rgba(0,0,0,0.4);
}

/*----------------------------------------

                 sidebar

----------------------------------------*/

#sidebar {
     width: 17svw;
     color: #4f5457;
     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.25em 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;
}

/*----------------------------------------

    flex 2 the flexening. no I don't know wtf flex 2 does.

----------------------------------------*/

#content {
     flex: 2;
     display: flex;
     flex-direction: column;
     gap: 2em;
}
h1 {
     font-size: 18px;
     color: #524343;
     text-align: center;
}
h2 {
     font-size: 20px;
     color: #524343;
}
h3 {
     font-size: 25px;
     color: #db7575;
     text-align: center;
     text-decoration: underline;
}
h4 {
     font-size: 19px;
     color: #d17d7d;
     text-align: center;
     text-decoration: underline;
}
h2 img {
     display: inline;
     transform: translateY(0.3ch);
}

/*----------------------------------------

     footer (you don't know what I went through for this)

----------------------------------------*/

#footer {
     display: flex;
     justify-content: space-between;
     align-items: flex-start;
     gap: 1em;
     position: relative;
}
.footer-left {
     display: flex;
     flex-direction: column;
     gap: 0.5em;
     max-width: 45%;
}
.footer-left img {
     display: block;
}
.footer-row {
     display: flex;
     flex-wrap: wrap;
     gap: 6px;
     align-items: center;
}
.footer-right {
     text-align: right;
     padding-left: 0.5em;
}
#footer img {
     margin: 2px;
     vertical-align: middle;
}
#footer::after {
    content: url('/assets/graphics/slow_ribbon.gif');
    position: absolute;
    left: 50%;
    top: 1em;
    transform: translateX(-50%);
    opacity: 0.5;
    filter: grayscale(100%);
}
.fans-widget {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 200px;
}
.fans-widget-badge, .fans-widget img, .fans-widget-display {
    display: block;
}
#footer .fans-widget img {
    width: 200px;
    height: 15px;
    margin: 0;
    border: 0;
}
#footer .fans-widget object {
    width: 200px;
    height: 40px;
    margin: 0;
    border: 0;
    display: block;
}
.footer-row object {
    display: block;
}
.link-group {
     margin-bottom: 0.25em;
     padding: 0.4em 0;
     border-bottom: 2px dotted var(--accent-soft);
}
.link-group p {
     margin: 0;
     font-size: 0.9em;
     color: var(--accent-soft);
}
.link-row {
     display: flex;
     flex-wrap: wrap;
     gap: 3px;
     justify-content: flex-end;
     align-items: center;
}
.link-row img {
     display: block;
}

/*----------------------------------------

    decor

----------------------------------------*/

.decor {
     position: fixed;
     bottom: 0;
     right: 0;
}

/*----------------------------------------

    theme switcher

----------------------------------------*/

#theme-switcher {
    margin-top: 1em;
    
    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);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.8em;
}
#theme-switcher button:hover {
    font-style: italic;
}

.theme-blue {
    --bg-color: #E6E6E6;
    --bg-image: url('/assets/backgrounds/blueplaid.jpg');
    --cursor-image: url('/assets/cursors/blue_bow.png');

    --text-color: #0F1720;
    --link-color: #0F1720;
    --link-visited: #1e1d1d;
    --link-bg: #E6E6E6;

    --accent: #0D8ECF;
    --accent-soft: #0A5F8A;
    --italics: #6a969b;

    --box-bg: #ffffff;
    --sidebar-text: #285b85;
    --sidebar-link-bg: #dceff8c9;

    --scrollbar-track: #1A1A1D;
    --scrollbar-thumb: #CFCFCF;

    --heading-color: #2f4f4f;
    --heading-accent: #1f8bac;
    --entry-border: #6f959a;
    --entry-date: #436885;
    --entry-title: #1e3c4d;

    --blockquote-bg: #f0f4f4;
    --blockquote-border: #68c2d2;
    --blockquote-shadow: #6f879a;
    --gallery-border: #0e506c;
}
.theme-tan {
    --bg-color: #c0bcbd;
    --bg-image: url('/assets/backgrounds/burberry.gif');
    --cursor-image: url('/assets/cursors/tan_bow.png');

    --text-color: #4e4747;
    --link-color: #787777;
    --link-visited: #383434;
    --link-bg: #cab29a;

    --accent: #815c62;
    --accent-soft: #cab29a;
    --italics: #978579;

    --box-bg: #ffffff;
    --sidebar-text: #636262;
    --sidebar-link-bg: #cab29a;

    --scrollbar-track: #ffffff;
    --scrollbar-thumb: #d89ea5;

    --heading-color: #4e4747;
    --heading-accent: #815c62;
    --entry-border: #cab29a;
    --entry-date: #a06f78;
    --entry-title: #685243;

    --blockquote-bg: #f4ede7;
    --blockquote-border: #cab29a;
    --blockquote-shadow: #b8a38c;
    --gallery-border: #815c62;
}
.theme-img {
  filter: none;
}
.theme-blue .theme-img {
    filter:
      hue-rotate(230deg)
      saturate(0.85)
      brightness(0.9)
      contrast(1.0);
}
.theme-tan .theme-img {
    filter:
      sepia(0.65)
      hue-rotate(-12deg)
      saturate(1.0)
      brightness(0.82)
      contrast(1.0);
}
.home-layout .divider-heart::after {
  filter: var(--divider-heart-filter, none);
}
.home-layout .divider-heart2::after {
  filter: var(--divider-heart2-filter, none);
}
.theme-blue .home-layout {
  --divider-heart-filter:
    hue-rotate(220deg)
    saturate(0.90)
    brightness(0.9)
    contrast(1.2);
	
  --divider-heart2-filter:
    hue-rotate(225deg)
    saturate(0.95)
    brightness(0.97)
    contrast(1.25);
}

.theme-tan .home-layout {
  --divider-heart-filter:
    sepia(0.65)
    hue-rotate(-12deg)
    saturate(1.0)
    brightness(0.82)
    contrast(1.0);

  --divider-heart2-filter:
    sepia(0.72)
    hue-rotate(-22deg)
    saturate(0.9)
    brightness(0.86)
    contrast(1.05);
}

/*----------------------------------------

    anyone who designs for mobile is a sadist

----------------------------------------*/

 @media (max-width: 1024px) {
     body {
         font-size: 15px;
         text-align: left;
    }
     #bigcontainer {
         flex-direction: column;
         width: 95svw;
         gap: 1.5em;
    }
     #index-p-img {
         width: 100%;
         border-radius: 0.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;
    }

     #footer {
         flex-direction: column;
         gap: 1em;
    }
     .footer-left, .footer-right {
         max-width: 100%;
         padding: 0;
         text-align: left;
    }
     #footer::after {
         display: none;
    }
     .link-row {
         justify-content: flex-start;
         gap: 2px;
    }
     main {
         width: 100%;
         padding: 1em;
    }
     h1 {
         font-size: 20px;
    }
     h2 {
         font-size: 18px;
    }
     h3 {
         font-size: 22px;
    }
     h4 {
         font-size: 18px;
    }
     img, video, iframe {
         max-width: 100%;
         height: auto;
    }
     .decor {
         display: none;
    }
}
 