html {
  background-color: #6B6048;
}

html,
body {
  overscroll-behavior: none;
}

* {
  box-sizing: border-box;
}

/* Tan Lady Bug - https://www.cursors-4u.com/cursor/tan-lady-bug */
* {
  cursor: url('https://cdn.cursors-4u.net/previews/tan-lady-bug-adf70e1d-32.webp') 32 32, auto !important;
}
/* End www.Cursors-4U.com Code */

::selection {
  background-color: #D2B48C;
  color: #ffffff;          
}


::-moz-selection {
  background-color: #D2B48C;
  color: #ffffff;
}

@font-face {
  font-family: "Title";
  src: url("fonts/VNPxCopperplate.woff2") format("woff2");
}

@font-face {
  font-family: "Body";
  src: url("fonts/PixelOperator.woff2") format("woff2");
}

@font-face {
  font-family: "Subtitle";
  src: url("fonts/earthbound-beginnings.woff2") format("woff2");
}

@font-face {
  font-family: "Special";
  src: url("fonts/Jacquard12.woff2") format("woff2");
}

body {
  min-height: 100vh;
  margin: 0;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100lvh;
  z-index: -1;
  background-image: url('index/morningstroll.webp');
  background-size: cover;
  background-position: center;
}

p {
  font-family: "Body";
  font-size: 1rem;
  font-weight: 400;
  color: #30291E;
  padding: 0 0 0 0;
  margin:0;
}

h1 {
  font-family: "Title";
  font-size: 2rem;
  font-weight: 400;
  padding-bottom: 0.5rem;
  margin:0;
  color: #765E41;
}

h2 {
  font-family: "Title";
  font-size: 1.65rem;
  font-weight: 400;
  padding-bottom: 0.5rem;
  padding-top: 0.5rem;
  margin:0;
  color: #765E41;
}

h3 {
  font-family: "Subtitle";
  font-size: 0.5rem;
  padding: 0;
  margin:0;
  font-weight: 400;
  color: #765E41;
}

h4 {
  font-family: "Special";
  font-size: 1rem;
  font-weight: 400;
  color: #765E41;
}

.pumpkin-frame,
.cat,
.cloud,
.birds-big,
.penandink,
.hare,
.grass,
.scroll-wrap,
.birds {
  pointer-events: none;
}


.middle {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  width: min(300px, 100%);
  margin-top: 30px;
}

.homepage {
  display: flex;
  gap: 90px;
  align-items: flex-start;
  justify-content: center;
  padding: 30px 30px 0 30px;
  margin: 0 2rem;
}

.books-page {
  justify-content: flex-start;
  margin-left: 5%;
  padding-bottom: 30px;
  gap: 30px;
}

.books-page .main {
  min-height: calc(100vh - 70px);
}

.panel {
  width: 300px;
  padding: 0.2rem 0.5rem 0rem 0.5rem;
  background-color: #FBF4DF;
  background-clip: border-box;
  border: 20px solid transparent;
  border-image: url("index/border.webp") 28.5 round;
  border-image-outset: 0.75rem;
  border-image-repeat: repeat;
}

.main {
  width: min(500px, 100%);
  position: relative;
  
}

.guestbook {
  width: 100%;
  position: relative;
}

.guestbook h2{
  margin-left: 1.2rem;
}


.about {
  width: min(270px, 100%);
  border-image: url("index/laceedge.webp") 65 round;
  border-width: 40px;
  border-image-width: 40px 0 0 40px;
  border-image-outset: 0.75rem 0 0 0.75rem;
  position: relative;
  border-image-repeat: repeat;
  margin-top: 30px;
}

.pumpkin-frame {
  position: absolute;
  bottom: -12%;
  right: -33%;
  width: 18rem;
  max-width: none;
  z-index: 4;
}

.cat {
  position: absolute;
  bottom: -13%;
  left: -70%;
  width: 90%;
  z-index: 5;
}

.cloud {
  position: absolute;
  bottom: 33%;
  left: -45%;
  width: 90%;
}

.birds-big {
  position: absolute;
  bottom: 44%;
  left: 12%;
  width: 35%;
}

.penandink{
  position: absolute;
  top: -5%;
  left: -25%;
  width: 42%;
}

.hare{
  position: absolute;
  bottom: -10%;
  right: 1%;
  width: 39%;
}

.grass{
  position: absolute;
  bottom: -18%;
  right: -12%;
  width: 40%;
}

img {
  max-width: 100%;
  height: auto;
}

.brand {
  width: 55%;
}

.logo {
  width: 65%;
}

.tagline {
  font-family: "Subtitle";
  color: #765E41;
  font-size: 0.6rem;
  margin: 0 0 0rem 2.5rem;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-left: 1.5rem;
  margin-top:0.75rem;
}

nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  margin-bottom: 4rem;
}

nav a{
  background-color: #E0DCC7;
  padding: 1px 0px 1px 8px;
}

a {
  font-family: "Subtitle";
  font-size: 0.6rem;
  color: #765E41;
  text-decoration: none;
}

nav .current {
  background-color: #935F46;
  color: #D2B48C;
}

.home-link{
   position: relative;
  background-color: #E0DCC7;
  padding: 1px 8px 1px 0px;
  align-self: flex-end;
  margin-bottom: 1.5rem;
}

.birds {
  position: absolute;
  top:-1.5%;
  left: -1%;
  width: 15%;
}

.announcement {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0rem 0.75rem 1rem 0.75rem;
  padding: 0.75rem 1rem 0rem 1rem;
  background-color: #E0DCC7;
  border-radius: 3px;
}

.announcement-text {
  margin: 0.5rem -2rem 1rem 0.5rem;
  padding: 0;
}

.announcement-text p{
  font-size: 1.1rem;
}

.scroll-wrap {
  position: absolute;
  top: -3rem;
  left: -12%;
  width: 100%;
  rotate: -6deg;
}

.scroll {
  width: 60%;
}

.scroll-title {
  position: absolute;
  top: -9%;
  left: -21.5%;
  width: 100%;
  height: 100%;
    rotate: -10deg;
  overflow: visible;
  
}

.scroll-title text {
  font-family: "Special";
  font-size: 4.5rem;
  fill: #765E41;

}

.book {
  width: 35%;
  margin-bottom: -2rem;
  transform: translateY(-1.2rem) translateX(2rem);
  z-index: 1;
}

.blurb {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  margin-top: 0.5rem;
  margin-left: -1rem;
  margin-right: 1rem;
  padding: 0rem;
}

.character {
  width: 45%;
  margin-left: -0.5rem;
  margin-right: -1rem;
  margin-top: -2rem;
  margin-bottom: -1rem;
  padding: 0rem;
  
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 12px;
  margin-bottom:0;
}

.tag {
  display: inline-block;
  padding: 2px 6px;
  font-family: "Body";
  font-size: 0.9rem;
  letter-spacing: -0.5px;
  color: #5A5146;
  background-color: #D9D8C4;
  transform: rotate(-2deg);
}

.tag:nth-child(1) {
  transform: rotate(1deg);
}
.tag:nth-child(2) {
  transform: rotate(-2deg);
}
.tag:nth-child(3) {
  transform: rotate(2deg);
}
.tag:nth-child(4) {
  transform: rotate(-1deg);
}


.button {
  display: inline-block;
  padding: 4px 4px;
  font-family: "Subtitle";
  font-size: 0.6rem;
  letter-spacing: -1px;
  color: #5A5146;
  background-color: #FBF4DF;
  border: 2px solid #5A5146;
  border-radius: 0;
  box-shadow: 2px 2px 0 #5A5146;
  margin: 0 0 0 0;
}

.button:active {
  box-shadow: none;
  transform: translate(2px, 2px);
}

.aboutme {
  position: relative;
  display: block;
  align-items: center;
  padding: 0rem;
  margin-bottom: 1rem;
  margin-right: -0.5rem;
}

.handles {
  margin-top:  1rem;
  text-align: right;
  margin-bottom:  2rem;
}

.playlist {
  position: relative;
  display: block;
  align-items: center;
  margin-right: -0.5rem;
}

.playlist h2 {
  text-align: right;
  margin-bottom: 2rem;
}

.songs {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 200px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #30291E transparent;
  padding-bottom: 6rem;
  margin-bottom: -40px;
  z-index: 2;
}


.artist {
  font-family: "Subtitle";
  font-size: 0.5rem;
  padding: 0;
  margin:0;
  font-weight: 400;
  color: #30291E;
}

.song {
  display: block;
  font-family: "Body";
  font-size: 1rem;
  font-weight: 400;
  color: #30291E;
  padding: 0 0 1rem 0;
  margin-bottom: 1rem;
  border-bottom: 1px dashed #c9c5ab;
}

.calendar-background{
  background-image: url("index/calendar.webp");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  aspect-ratio: 3 / 4;
  padding: 20% 0% 0% 14%;
  width: 80%;
  position: relative;
  left: -35%;
}

.calendar {
  position: absolute;
  width: 47%;
}

.calendar h2{
  margin-bottom: 1rem;
  text-align: center;
}

.days span {
  font-family: "Body";
  color: #765E41;
}

.days .weekday{
  font-family: "Subtitle";
  font-size: 0.6rem;
  color: #765E41;      
}

.days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem 1px;
  text-align: center;
}

.today {
  background-color: #D9D8C4;
}

#gb-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 1rem 0 1rem 2.5rem;
  border-bottom: 1px dashed #c9c5ab;
}

#gb-form input,
#gb-form textarea {
  width: 100%;
  font-family: "Body";
  font-size: 1rem;
  color: #30291E;
  background-color: #D9D8C4;
  border: 2px solid #C4C2AB;
  border-radius: 2px;
  padding: 4px 8px;
}

#gb-form textarea {
  height: 60px;
  resize: none;
}

#gb-form .button {
  align-self: flex-start;
  cursor: pointer;
}

#gb-entries {
  max-height: 180px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #30291E transparent;
  padding: 1rem 0.75rem 0.5rem 0rem;
}

#gb-entries strong {
  font-family: "Subtitle";
  font-size: 0.55rem;
  text-transform: uppercase;
  font-weight: 400;
  color: #30291E;
}

#gb-entries small{
  font-family: "Subtitle";
  font-size: 0.55rem;
  color: #30291E;
}

#gb-entries p{
  font-size: 1rem;
  color: #30291E;
}

.filters{
  margin-left: 0.85rem;
  margin-top: 2.2rem;
}

.filter {
  position: relative;
  display: inline-block;
}

.filter select {
  appearance: none;
  font-family: "Body";
  font-size: 0.9rem;
  color: #765E41;
  background-color: transparent;
  border: 1px solid #c9c5ab;
  border-radius: 4px;
  padding: 2px 18px 2px 4px;
  letter-spacing: -0.5px;
}


.filter::after {
  content: "\25BE";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #765E41;
}

.knight {
  position: absolute;
  top: 3.8rem;
  right: -10%;
  width: 35%;
  pointer-events: none;
  z-index: 4;
}

.arm {
  display: block;
  width: 100%;
  transform-origin: 58% 88%;
  transition: transform 0.4s ease;
}

.shoulder {
  position: absolute;
  top: 49%;
  left: 43%;
  width: 65%;
}

.main:has(.books-cloud:hover) .arm {
  transform: rotate(-10deg);
}

.main:has(.books-cloud2:hover) .arm {
  transform: rotate(-10deg);
}

.books-cloud  {
  position: absolute;
  top:11rem;
  right: 10%;
  width: 28%;
  z-index: 3;
}


.books-cloud img {
  display: block;
  width: 100%;
}

.books-cloud h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
}

.books-cloud2 {
  position: absolute;
  top:11rem;
  right: 5%;
  width:35%;
  z-index: 3;
}

.books-cloud2 h1 {
  position: absolute;
  top: 55%;
  left:60%;
  transform: translate(-50%, -50%);
  line-height: 1.1rem;
  font-size: 1.8rem;
  margin: 0;
}

.books-list{
  margin-top: 2.5rem;
  padding: 0 1rem;
}

.stories-list{
  margin-top: 3rem;
  padding: 0 1rem;
}

.book-entry {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
  border-bottom: 1px dashed #c9c5ab;
  padding-bottom: 0.75rem;
}

.book-entry:last-child { border-bottom: none; }

.book-entry + .book-entry {
  margin-top: 1.5rem;
}

.book-cover{
  width: 20%;
}

.book-info{
  display: flex; 
  flex-direction: column;
  flex: 1;
}

.book-info h3 {
  font-size: 0.6rem;
  line-height: 1rem;
  margin-bottom: 0.5rem;
}

.book-info .button {
  align-self: flex-end;
  margin-top: -0.5rem;
  margin-right: 1rem;
}

.filter-item[hidden] {
  display: none;
}

.compass  {
  position: absolute;
  bottom:-1%;
  right: -1%;
  width: 10%;
}

.pagination{

  font-family: "Body";
  display: flex;
  flex-direction: row;
  gap: 0.25rem;
  justify-content: flex-end;
  margin-right: 3rem;
  padding-top: 0.5rem;
}
.pagination span{
  opacity: 0.7;
}

#page-links {
  font-family: "Body";
  font-weight: 400; 
  opacity: 0.7;
}

.current-page {
  text-decoration: underline;
  font-family: "Body";
  font-size: 1rem;
    opacity: 0.7;
}


@media (max-width: 750px) {
  p {
  font-size: 1.1rem;
  }
  
  h1 {
    font-size: 2.2rem;
    padding-bottom: 1rem;
    margin:0;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 0.6rem;
    padding: 0;
    margin:0;
  }
  
  .main {
    order: 1;
  }
  
  .main,
  .about,
  .guestbook {
    border-image-repeat: repeat;
  }

  .about {
    order: 2;
  }

  .middle {
    order: 3;
  }
  
  body::before {
    overflow: hidden;
  }
  .homepage {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 20px;
    margin: 0;
  }
  
  .top {
    flex-direction: column;
    margin-left: 0;
    gap: 1rem;
  }

  .brand {
    width: 100%;
  }

  nav {
    align-items: flex-end;
    align-self: flex-end;
    margin-bottom: 6rem;
    margin-top: 0.2rem;
  }
  
  .announcement {
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    padding-top: 3rem;
    padding-bottom: 1rem;
    gap: 1rem;
  }
  
  .book {
    width: 80%;
    margin-left: 0rem;
    transform: translateY(0rem) translateX(0rem);
    order: 1;
  }
  
  
  .announcement-text {
    margin-left: 0rem;
    padding-bottom: 0.5rem;
    order: 2;
  }

  .announcement-text p{
    padding-bottom: 1rem;
  }

  .flower {
  position: absolute;
  top: 0%;
  left:-2%;
  width: 26%;
  }
  
  .scroll-wrap {
    position: absolute;
    top: -11%;
    left: -12%;
    width: 100%;
  }
  
  .scroll {
    width: 100%;
  }
  
  .scroll-title {
    top: -8%;
  left: -3%;
  height: 105%;
  }
  
  .top {
  margin-top: 1rem;
  }

  .calendar-background {
    left: 5%;
    width: 80%;
    margin: 2rem auto;
    background-size: 100% 100%;
  }
  
  .calendar {
    width: 50%;
  }

  .blurb {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .character {
  width: 100%;
  margin-left: -1rem;
  margin-bottom: 1rem;
  
  }
  
  .about {
    margin-bottom:3rem;
    margin-top: 1rem;
    width: min(300px, 90%);
    min-height: 620px;
  }
  
  .handles {
    margin-bottom:3rem;
  }
  
  .pumpkin-frame {
    position: absolute;
    bottom:-10%;
    right: -23%;
    width: 21rem;
    z-index: 4;
  }
  
  .cat {
    position: absolute;
    bottom: -10%;
    left: -40%;
    width: 70%;
    z-index: 5;
  }
  
  .aboutme,
  .playlist{
    padding-right: 1.25rem;
    padding-left: 0.5rem;
  }
  
  songs {
     margin-top: 8rem;
     max-height: 500px;
  }
  
    .playlist h2{
    padding-bottom: 3rem;
  }
  
  .cloud {
    position: absolute;
    bottom: 33%;
    left: -35%;
    width: 90%;
  }
  
  .birds-big {
    position: absolute;
    bottom: 43%;
    left: 16%;
    width: 35%;
  }
  
  .birds {
    top: 0;
    left: -4%;
    width: 25%;
    
  }
  
  .middle {
    width: min(560px, 100%);
  }
  
  .panel {
    padding:1rem;
    border-width: 28px;
  }
    
  .tag {
    font-size: 1rem;
   }
   
  .tagline {
    margin: 0 0 0 3rem;
  }
  
  .guestbook h2{
  margin-left: 1rem;
  margin-right: 0rem;
  padding: 0;
  }
  
  .knight {
  top: 12rem;
  right: -10%;
  width: 42%;
  }
  
.books-cloud  {
  top:18rem;
  right: 10%;
  width: 40%;
}

.books-cloud h1 {
  top: 62%;
  left:52%;
}

  
.books-cloud2  {
  top:17.5rem;
  right: 12%;
  width: 50%;
}

.books-cloud2 h1 {
  top: 60%;
  left:60%;
}


.book-info .button {
  margin-top: 1rem;
}

.home-link {
  margin-bottom: -0.5rem;
}

.book-cover {
    width: 35%;
}
  .penandink{
  top: 0%;
  left: -22%;
  width: 42%;
  }

  nav {
    gap: 1rem;
  }
  
}




