body {
  background: #700a0a url("https://loyolamaroon.com/wp-content/uploads/2024/01/saltburncollage-1142x1200.jpg");
	background-size: cover;
	background-attachment: fixed;
  background-position:center;
  font-family: "Bytesized", sans-serif;
  max-width: 660px;
  margin: 0 auto;
  padding: 0 20px;
}
h1 {
  color: darkred;
  text-align: left;
  font-family: 'Crimson Text', serif;
}
h2 {
  color: darkred;
  text-align: center;
  font-family: 'Crimson Text', serif;
}
h3 {
  color: darkred;
  font-family: 'Crimson Text', serif;
  font-size: 12px;
}
p {
  font-family: "cutive Mono", monospace;
  font-size: 11px;
}
a {
  color: darkred;
}
a:hover {
  color: red;
}
a:visited {
}
hr {
  border: 1px dashed red;
}
.container {
  background-color: #f9f9f2;
  border: 1px dashed red;
  border-radius: 4px;
  max-width: 660px;
  margin-top: 20px;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.55);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.header {
  padding: 20px;
  width: 100%;
  grid-column: 1 / span 3;
}
.navbar {
  background-color: #f9f9f2;
  padding: 5px;
  text-align: center;
  grid-column: 1 / span 3;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.navbar a {
  display: block;
  padding: 3px 5px;
  text-align: center;
  color: #f9f9f2;
  background: darkred;
  border-radius: 4px;
  transition: 0.2s ease;
  font: italic 13px georgia, serif;
}
.sidebar {
  padding: 10px;
  text-align: center;
}
.pfp {
  width: 100px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  clip-path: circle(40%);
}
.icon {
  border: 0;
  display: inline-block;
}
.welcome {
  padding: 5px;
  grid-column: 2 / 4;
  height: auto;
}

.footer {
  padding: 5px;
  text-align: center;
  display: grid;
  grid-column: 1 / span 3;
  border-top: 1px dashed red;
}
/*---------------blog styling-----------------*/
.blogcontainer {
    grid-column: 2 / 4;
}
details > summary,
#tag-filters label {cursor: pointer;}
 /*for the collapsible sections at the top (status and tag filters)*/
.pinned {
  background: #ff5050;
    font-family: "cutive Mono", monospace;

  font-size: smaller;
  padding: .5em;
  border-radius: 1em;
  margin: 1em 0;
  border: 2px solid white;
  outline: 2px solid darkred;
  box-shadow: 2px 2px 6px darkred;
  width: 92%;
}
/*the heading for those blocks*/
.pinned summary {
  color: darkred;
  font-size: 1.5em;
  font-weight: bold;
  border-bottom: 2px dashed white;
  margin: .5em;
}
/*since the summary uses the special font, switch back to the other one for the timestamp*/
.pinned time {
  font-family: monospace;
  float: right;
  font-weight: normal;
  font-size: small;
}

/*the list with the alternating colors! (cute!!!)*/
#status ul {
  background: #f9f9f2;
  margin:.5em;
  padding:.5em;
  border-radius: .5em;
}
#status li {
  list-style-type: none;
  padding: .2em;
}
/*list title, ie "reading:"*/
#status li:nth-child(odd) {
  font-weight: bold;
  font-size: 1.2em;
  color: darkred;
}
/*list answer, ie "books about magic"*/
#status li:nth-child(even) {
  background: darkred;
  color: white;
  border-radius: .3em;
  padding-inline: .8em;
}
/*make links the same as in posts*/
#status li a {color: var(--pinned-text);}
#status li a:hover {text-decoration: none;}

/*finally the post styles!!!*/
.post {
  background: var(--post-bg);
  color: var(--post-text);
  border-radius: 1rem;
  padding: 0 .8rem .2rem .8rem;
  margin-bottom: 1em;
  box-shadow: 2px 2px 6px darkred;
  width: 90%;
  font-family: "cutive Mono", monospace;
  font-size: 11px;
}
/*make sure images stay within the post*/
.post img {max-width:100%;}
/*add some space from the post header if you have an image first*/
.post div + img {margin-top: 1em;}

/*the top of the post where you put your username*/
.post-header {
  color: darkred;
  font-weight: bold;
  padding: .5rem 0;
  border-bottom: 2px dashed var(--border-color);
}
/*and the post's timestamp*/
.post time {
  float: right;
  font-family: monospace;
  font-weight: normal;
  font-size: smaller;
  margin: .2em;
}
/*link styling*/
.post a {color:var(--post-text);}
.post a:hover {text-decoration: none;}

/*this is for lists*/
.post li {
/*you can change the normal dot to anything you want :)*/
  /*list-style-type: "♥ ";*/
/*i used stars to match the bg image!*/
  list-style-image: url("images/star.png");
}

/*"read more" button for long posts*/
.readmore {
  margin-bottom: 1em;
}
.readmore summary {
  font-weight: bold;
  color: var(--post-header-text);
  /*this gets rid of the arrow*/
  list-style-type: none;
}
/*hide the "read more" button after it's clicked (delete this line to keep it there)*/
.readmore[open] > summary {display:none;}
/*optional border to denote a border was there before*/
.readmore[open] {
  border-top: 2px dashed var(--button-bg);
  padding-top:1em;
}

.tags {
  border-top: 2px dashed var(--border-color);
  padding: .4em 0;
}
.tags a {color: var(--post-text);}
.tags span {color: var(--post-header-text);}
.tags a,
.tags span {
  font-size: small;
  padding: .2em .5em;
  border-radius: 1em;
  text-decoration: none;
}
.tags a:hover {
  background:var(--button-bg);
  text-decoration: underline;
}

/*css for hiding posts*/
.tagged:has(input:checked) article {display: none;}

/*add new tags to filter here!
 * follow the class naming conventions (no spaces, don't start it with a number)
 * remember on the actual page you can write the tag however you want!*/
.tagged:has(#all:checked) article,
.tagged:has(#intro:checked) article[class~="intro"],
.tagged:has(#personal:checked) article[class~="personal"],
.tagged:has(#secret:checked) article[class~="secret"],
.tagged:has(#art:checked) article[class~="art"] {display: inline-block;}

/*tag filter button styles (there's a lot)*/
#tag-filters label {
  background: var(--button-bg);
  border: 1px solid var(--button-border-color);
  border-radius: .5em;
  display: inline-block;
  margin-left: .5em;
  margin-block: .3em;
  padding: 0 .8em 0 .1em;
}
/*hovering filter buttons (normal)*/
#tag-filters label:hover {
  background: var(--button-bg-hover);
  text-decoration: underline;
}
/*selected filters*/
#tag-filters label:has(input:checked) {
  background: var(--button-bg-selected);
  color: var(--button-text);
  text-decoration: underline;
  font-weight: bold;
}
/*hovering selected filters*/
#tag-filters label:has(input:checked):hover {
  background: var(--button-bg-hover);
  text-decoration: none;
}
/*hide the radio button for tags*/
#tag-filters input {appearance: none;}


/*fonts*/
.cutive-mono-regular {
  font-family: "Cutive Mono", monospace;
  font-weight: 400;
  font-style: normal;
}

/*--------------------------------------------------------library--------------------------------*/
.librarycontainer {
  grid-column: 2 / 4;
  width: 90%;
  padding: 20px;
}
.shelf {
    background: url(https://hillhouse.neocities.org/cliques/library/images/shelf.png);
    line-height: 150px;
    max-width:750px;
    padding: 0px 20px;
    outline: #5d1c27 solid 15px;
    border: #863133 solid 5px;
    position: relative;
    vertical-align: text-bottom !important;
    margin: 30px 0;
    image-rendering: pixelated;
    
    details {
    padding-right:5px; 
    margin-right:10px;
}
    img {
        filter: drop-shadow(0px 0px 5px black);
        /*min-width: 80px;*/
        height: 120px;
        line-height:1em;
        font-size:12px;
        color:gray;
        
    }

    details,
    details summary,
    summary {
        display: inline-block;
        position: relative;
        
        line-height: 0 !important;
        vertical-align: top;
        margin-top:10px;
    }
}

.shelf details[open] {

    .book-info {
        display: block;
        position: absolute;
        background: var(--cream);
        width: 160px;
        height: 120px;
        padding: 10px;
        left: 85px;
        top: 0;
        z-index: 100;
        max-height: 120px;
        margin: 10px;
        overflow-y: scroll;
        overflow-x: hidden;
        font-size: 12px;

        h5 {
            text-align: center;
            font-size: 12px;
            margin: 0;
            padding: 10px 2px;
            display: block;
            border-bottom: double var(--blue) 4px;
            border-top: double var(--blue) 4px;
        }

        a.person {
            color: var(--blue);
            display: flex;
            flex-flow:row;
            padding-bottom: 10px;
            text-decoration: none;
            line-height:1em;
            margin: -5px auto;
            align-items: center;

            &:hover {
                color: black;
            }

            >* {
                width: 50%;
                word-break: break-word;
            }
        }

        div {
            display: flex;
            align-items: center;
            align-content: center;
            width: 100%;
            border-bottom: 1px solid var(--blue);
            gap: 0px 5px;
            margin: 0;


            >span {
                display: block;
                vertical-align: baseline;

                min-height: 18px;
                padding: 4px 2px;
            }

            span:first-of-type {
                width: 40px;
                font-weight: bold;
                text-align: right;
                color: var(--blue);
                text-transform: uppercase;
                font-size: 11px;
                line-height: .8em;
                letter-spacing: .1em;
            }

            span:last-of-type {
                width: 90px;
                border-left: 1px var(--blue) solid;
                text-transform: capitalize;
                line-height: .8em;
                font-style: italic;
            }

        }

        a {
            color: var(--blue);
            display: block;
            text-align: center;
        }
    }

    summary {
        margin-right: 180px !important;
        transition: margin-right .5s;
    }
}
/*--------------------status cafe----------------*/
#statuscafe {
    padding: .5em;
    background-color: azure;
    border: 1px solid midnightblue;
}
#statuscafe-username {
    margin-bottom: .5em;
}
#statuscafe-content {
    margin: 0 1em 0.5em 1em;
}