:root {
  --site -bg: url("images/starspink,png");
  
  
  --post-bg: white;
  --post-text: #4E223D;
  --post-header-text: #DA587E;
  --border-color: #FB8AAB;
  --border-shadow: #DA587E80;
  
  --sidebar-text: #4E223D;
  --sidebar-bg: #FB8AAB;
  --sidebar-button-bg: #FFD2E0;
  --sidebar-button-bg-hover: #FFE1C6;
  --sidebar-button-text: #4E223D;
  --sidebar-button-text-hover: #DA587E;
  --sidebar-border-color: #DA587E;
  
 /*this is for the collapsible sections at the top (status and tag filters)*/
  --pinned-text: #4E223D;
  --pinned-bg: #FFD2E0;
  /*tag filter button colors*/
  --button-bg: #FFD2E0;
  --button-bg-hover: #FFE1C6;
  --button-bg-selected: #FB8AAB;
  --button-text: #4E223D;
  --button-border-color: #DA587E;
  
  /*these next two colors are for when you highlight text on the page*/
  --selected-bg: #bde0ff;
  --selected-text: #5244c8;
}


@font-face {
  font-family: Nunito;
  src: url('/fonts/Nunito-Black.ttf');
  font-weight: bold;
}
@font-face {
    font-family: Atkinson Hyperlegible;
    src: url('/fonts/AtkinsonHyperlegible-Regular.ttf');
}

@font-face {
    font-family: Atkinson Hyperlegible;
    src: url('/fonts/AtkinsonHyperlegible-Bold.ttf');
    font-weight: bold;
}


html {scroll-behavior: smooth;}
::selection {
  background: var(--selected-bg);
  color: var(--selected-text);
}

* {
  box-sizing: border-box;
  /*custom scrollbar colors~ i think it only works on some browsers tho...*/
  scrollbar-color: var(--post-header-text) var(--post-bg);
  scrollbar-width: thin;
}

body {
  /*change the main font here*/
  font-family: 'Atkinson Hyperlegible', Verdana, Tahoma, sans-serif;
  font-size: 16px;
  margin: 0;
  background: var(--site-bg);
  color: var(--post-text);
  line-height: 1.6em;
  /*if you use a bg image, this will keep it from scrolling*/
  background-attachment: fixed;
}

/*use a special font for certain headings/buttons*/
h1,
nav,
.pinned summary {
  font-family: 'Nunito', Verdana, Tahoma, sans-serif;
  font-weight: bold;
}
/*use a pointer for the fake buttons*/
details > summary,
#tag-filters label {cursor: pointer;}

/*quick addon styles you can use in combination with anything*/
.center {text-align: center;}
.small-text {font-size: smaller;}
.no-border {border: none; padding:0;}

/*some parts of the layout can be hidden/shown depending on if you're on desktop or mobile*/
.mobile-only {display:none;}
.pc-only {display: block;}

/*this class makes stuff wrap around, very handy*/
.flex {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
}

/*this container will center the page contents better for larger screen sizes*/
#container {
  max-width:1200px;
  margin:auto;
}

main {
  /*here is the post width*/
  width: 600px;
  /*this part means it ignores all other elements when figuring out where to sit on the page*/
  position: absolute;
  /*because of that, we gotta tell it how much room to leave for the sidebar*/
  margin-left: 300px;
}

#sidebar {
  background: var(--sidebar-bg);
  margin-left: 20px;
  padding: 2em 1em;
  /*we left 300px of room for the sidebar, but we want the width to be less than that since there should be some spacing between*/
  width: 240px;
  
  /*i put dashed borders on each side, but you can change it to a different type or remove them*/
  border-inline: 2px dashed var(--sidebar-border-color);
  /*outlines go outside of the borders, so it makes it look like stitching on the edges. cute!*/
  outline: 4px solid var(--sidebar-bg);
  
  /*the sidebar doesn't scroll with the rest of the page*/
  position: fixed;
  /*this stacks it on top of everything else*/
  z-index: 99;
  /*make sure it takes up the whole screen vertically*/
  height: 100%;
  /*and add a scrollbar if someone's window is too short to see all the content*/
  overflow-y: auto;
}

/*sidebar part*/

#sidebar h1 {
  margin-block: .5em;
}
/*link text in the sidebar should be the same color*/
#sidebar a {
  color: var(--sidebar-text);
}
/*font size for your name in the sidebar*/
#sidebar h1 a {
  font-size: 1.2em;
}
/*no underline for your name, or hovered links in sidebar*/
#sidebar h1 a,
#sidebar a:hover {text-decoration: none;}

/*center the icon in the sidebar*/
#icon {margin:auto;}
#icon img {
  /*this makes it a circle, lower the number for a rounded square*/
  border-radius:50%;
  max-width:200px;
}
/*these styles are for when your icon image is being used as a link, it just makes it react on mouseover*/
#icon a img {
  outline: 2px solid var(--sidebar-bg);
  /*adds animation to the outline*/
  transition: .2s;
}
#icon a img:hover {
  outline: 2px solid var(--sidebar-text);
  outline-offset: 4px;
}

/*profile text doesnt need as much spacing as the posts do*/
#profile p {
  margin-block: .3em;
  line-height: 1.5em;
}
/*styling the simple bio block*/
#bio {
  border-block: 2px dashed var(--sidebar-border-color);
  padding-block: .5em;
  margin-block: 1em;
  font-size: small;
}
#sidebar nav li a {
  /*set a width so they're the same size*/
  min-width: 120px;
  display: inline-block;
  background: var(--sidebar-button-bg);
  color: var(--sidebar-button-text);
  font-weight: bold;
  border-radius: 1rem;
  outline: 2px solid #fff0;
  transition: .2s;
  text-decoration: none;
}
#sidebar nav li a:visited {color: var(--sidebar-text);}
#sidebar nav li a:hover {
  background: var(--sidebar-button-bg-hover);
  color: var(--sidebar-button-text-hover);
  outline: 2px solid var(--sidebar-text);
  outline-offset: 3px;
}
/*and add some spacing around them too*/
#sidebar nav {
  margin-block:1.5em;
}