/*Fonts*/

@font-face {
  font-family: 'rainyhearts';
  src: url('rainyhearts.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "NintendoDS";
  src: url("./fonts/Nintendods.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

body {
  margin: 0;
  background-image: url("./images/clover.png");
  font-family: 'rainyhearts', sans-serif;
cursor: url("./images/ghost.png"), auto;
}

 h1, h2, h3, h4, h5, h6 {
  margin: 0.5em 0; /* top and bottom only */
}

  h1 {
  font-size: 45px;
}

h2 {
  font-size: 35px;
}

h3 {
  font-size: 30px;
}

h4 {
  font-size: 25px;
}

h5 {
  font-size: 20px;
}



p {
  font-size: 20px;
   margin: 0.5em 0; /* top and bottom only */
}

/*decorative classes*/
.broider {
    border-image:  url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAABBElEQVR4AeyV0QnDMAxE06zRJQrdf4RCl+gcDQJfPg4byw7IPpOAELIkdHoxeN/S9/t8/zlL6arL9dpZtTEVWG3OUno7heJgVr9ji5LAWfI6REsk+Rxk2XNdKeY+xKV6Pl+PKG8YHesQfb5fD7NoQt55ps1Mhyg2M9VmiEd702IGHXpEoXxWvz5Ruz891vvH9Ii2vr29ZLx9rEeHKCv3bhxVB306RKPIXJ1zE71KkPt1iOJ14Q0oHhZCnw5RoIJyxKM969Ej2koQL0arb52D+vWJYtMor0cUdy2KUG0O69Ehysprm0bnoU+HaDSh3nnrEcXby95LiPsQe/t1iNY2myUvQ/QAAAD//25/iVYAAAAGSURBVAMAI4UXdl/+4koAAAAASUVORK5CYII=") 14 /  14px / 0 round;
    border-width:  14px;
    border-style:  solid;
  border-image-outset: 14px 14px 14px 14px;
}


/*Everything goes inside here*/
.container {
  width: 900px;
  margin: 0 auto;
  background-image: url("./images/paper.png");
  margin-top: 20px;
  margin-bottom: 20px;
  display: grid;
  grid-template-areas:
    "header header"
    "links links"
    "top top"
    "aside content"
    "bottom bottom"
    "buttons buttons";
  grid-template-columns: 1fr 2fr;
  gap: 10px 10px;
  padding: 5px;
}

.container div {
  padding: 10px;
}

/*header*/
.container div.header {
  grid-area: header;
  text-align: center;
  background-image: url("./images/linepaper.gif");
    border-image:  url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAA8klEQVR4AeyVQQ7CMAwEIX/kxk848xNuPBJOk8OiKJGq2l4UpGrZJpXXE1dtF/k9b/dP5iVxuv0J2leK/RkGfbxf18gLLnqa3B8GZUMV7UHphGDquX+2copapwfVhWq+QU47wbOeHdyHaDap1fr/Q5RZXe38rH0+RCFW5e0enYgPUTqALL6a+hHVGVWfTdiHKOR0RvGsb6KLBHyOfrGh9G1TosxqdtJp0OyA1G8Qm7zd7E9TH6Iggiy+mvoRrUZQ82yiSuSo30SPEtTn/YnypYpSJajel6h+ofBRqiTxvkTpAI2aUa1DfdSfaNRMzurYEf0CAAD///le+l8AAAAGSURBVAMAAAvIZPPLfIgAAAAASUVORK5CYII=") 14 /  14px / 0 round;
    border-width:  14px;
    border-style:  solid;
}


/*navigation links and formatting for all links*/
.container div.links {
  grid-area: links;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
}

.links ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  }
  
.links li {
  display: inline-block;
  margin-right: 16px; 
  }

 .links li:before, .links li:after {
  letter-spacing: 0.1em;
  }
  
   a {
  color: #85555c;

}

a:hover {
  color: #b3727c; 
  text-decoration: underline;
} 

/*scrolling ascii band*/
.container div.top {
  grid-area: top
}

.marquee-container marquee {
display: block;
    width: 100%;
    min-width: 0;
	margin: 10px;
    white-space: nowrap;
    margin: 0;
    box-sizing: border-box;
	font-family: Courier New;
}

/*aside*/
.container div.aside {
  grid-area: aside;
  display: grid;
  grid-template-areas:
"message"
"stamps";
  grid-template-rows: 1fr 2fr;
  gap: 0px;
  background-color: #2f3d33;
  padding: 5px;
  border-style: dotted;
  border-color: #85555c;
  border-radius: 8px;
}

.aside div.message {
  grid-area: message;
  background-image: url("./images/grid-grey.png"); 
  height: 75px;
}

.aside div.stamps {
  grid-area: stamps;
  background-image: url("./images/stars.jpg");
text-align: center;
}


/*welcome message*/
.container div.content {
  grid-area: content ;
  background-image: url("./images/034C.jpg");
    border-image:  url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAABVUlEQVR4AdTSQW4CUQwEUcL970w28zaFLCLBR/FsWnZ7xu6C++N6bsNz2U8yjN+eBq/GX+c7d73+uNf4r/X953pc7lD1ZT8J/9Pzvkst3kMUEdok7aslfXfe+75LfV+9h6hEElBJ6Kl+v6t2l/17iLqYNom6ar7aOfWrufolu4doL1dPCSffPL/Kp3w1nX6BPUQlkbCJ9M2d1mnfPqJITolOkZz29Z49RHt5yfHbP1XbV9J7iJaMRO1/q0ayd+wlKtG3CJacve7g7yHayyWifPVpRbB79hB1OXJDImPH1R1dtI8oklOiJvxUPe3rPXuI9vKS4rd/qravpPcQLRmJ2j9Vdx+S7e8lKlEJNiFfv8qvvprju0O9h2gvLwE+feVPc97jV+ur6R6iLpbQf0L/VT3Nvdu31137iEqABJWI37pz6nfnfYfuIdrkJVZfwmnu1Pwaor8AAAD///zH3MgAAAAGSURBVAMAkIHgIxfMeeMAAAAASUVORK5CYII=") 14 /  14px / 0 round;
    border-style:  solid;
    border-width:  14px;
    border-style:  solid;
height: 290px;
}


/*lower part of grid*/
.container div.bottom {
  grid-area: bottom;
  grid-column: 1 / -1;
  display: grid;
  grid-template-areas:
"pet portrait tama";
  grid-template-columns: repeat(3, 1fr);
   grid-template-rows: 250px;
  gap: 3px;
  padding: 0px;
}

.pet {
  grid-area: pet;
}

.pet img {
  width: auto;
  height: 250px; 
  display: block;
}


.portrait {
  grid-area: portrait;
  display: flex;
  align-items: stretch;
  background-color: #e5cdd0;
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* fills box, may crop */
  display: block;
}



.tama {
  grid-area: tama;
    font-family: "NintendoDS", sans-serif;
  font-size: 28px;
  align-content: center;
  text-align: center;
  background-image: url("./images/bgpaper.gif");
}

/*band for buttons*/
.container div.buttons {
  grid-area: buttons;
  text-align: center;
grid-column: 1 / -1;  
}
 
/*footer*/ 
  .footer {
  margin-bottom: 25px;
  width: 900px;
  margin: auto;
  background-image: url("./images/paper.png");
  text-align: center;
  }
  
  /*washi tape*/
  .taped {
  position: relative; /* anchor for ::before */
}

  .taped::before {
  background-image:url("./images/masking01.png");
  background-repeat:no-repeat;
  display:block;
  content:"";
  position:absolute;
  height:50px;
  width:150px;
background-size:contain;
  top:-20px;
  left:40%;
}

  .taped2 {
  position: relative; /* anchor for ::before */
}

  .taped2::before {
  background-image:url("./images/washitape4.png");
  background-repeat:no-repeat;
  display:block;
  content:"";
  position:absolute;
  height:50px;
  width:150px;
background-size:contain;
  top:-20px;
  left:20%;
}

/*image rotate*/
 .rotate-image {
	 transition: transform 0.5s ease;
	 }
                                
.rotate-image:hover {
transform: rotate(15deg);
}
 
  /* blog css */
  .box.blog-entry {
  border: 3px dotted IndianRed;
  border-radius: 10px;
  margin: 1em;
  padding: 1em; /* This will override .box padding */
  }
  
 .box.blog-entry {
  display: block; 
} 

.book-gallery {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.book img {
  width: 150px;
  height: auto;
}

.hover-text {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.75);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.9em;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.book:hover .hover-text {
  opacity: 1;
}

 /*scrollbar element and styling*/
  
      #scrolling {
      overflow: scroll;
      overflow-x: hidden;
      height: 10em;
      padding: 1rem;
    }

    ::-webkit-scrollbar {
      width: 16px;
      height: 16px;
    }

    ::-webkit-scrollbar-track {
      background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAIAAAD91JpzAAAAFElEQVQIW2M4fPz0////GYAYyAIASnoKpV3w4kgAAAAASUVORK5CYII=");
      image-rendering: pixelated;
      -webkit-filter: grayscale(100%);
      -moz-filter: grayscale(100%);
      -ms-filter: grayscale(100%);
      -o-filter: grayscale(100%);
      filter: grayscale(100%);
    }

    ::-webkit-scrollbar-track:active {
      background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAIAAAD91JpzAAAAEElEQVQIW2No6+pjgAAgCwAWogM9VKrgGQAAAABJRU5ErkJggg==");
      -webkit-filter: grayscale(100%);
      -moz-filter: grayscale(100%);
      -ms-filter: grayscale(100%);
      -o-filter: grayscale(100%);
      filter: grayscale(100%);
    }

    ::-webkit-scrollbar-thumb {
      border-top: 1px solid #cccccc;
      border-left: 1px solid #cccccc;
      border-right: 1px solid black;
      border-bottom: 1px solid black;
      box-shadow: inset 1px 1px 0 0 white, inset -1px -1px 0 0 #868a8e;
      width: 16px;
      height: 16px;
      background-color: #cccccc;
      z-index: 1;
    }

    ::-webkit-scrollbar-corner {
      background-color: #cccccc;
    }

    ::-webkit-resizer {
      width: 16px;
      height: 16px;
      background-color: #cccccc;
      background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAN0lEQVR4Ae3MgQUAMBRDwU5fFF05lb/CARTBw2Ulof0DxPtcwp3hNuEYnjbcEW4TjuFpwx3h9gMWGgZ2Y/PT2gAAAABJRU5ErkJggg==");
      background-position: bottom right;
      background-repeat: no-repeat;
      image-rendering: pixelated;
    }

    ::-webkit-scrollbar-button,
    .scroll::-webkit-scrollbar-button {
      border-top: 1px solid #cccccc;
      border-left: 1px solid #cccccc;
      border-right: 1px solid black;
      border-bottom: 1px solid black;
      box-shadow: inset 1px 1px 0 0 white, inset -1px -1px 0 0 #868a8e;
      display: block;
      width: 16px;
      height: 16px;
      background-color: #cccccc;
      image-rendering: pixelated;
      background-repeat: no-repeat;
      background-position: center center;
    }

    ::-webkit-scrollbar-button:active,
    .scroll::-webkit-scrollbar-button:active {
      background-position: 2px 2px;
    }

    ::-webkit-scrollbar-button:horizontal:decrement,
    .scroll::-webkit-scrollbar-button:horizontal:decrement {
      background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAQAAAD8fJRsAAAAHklEQVQY02NgoBT8xyX8H5fwf1zCpOjAYwceV1EEAAO2D/HsQ4vsAAAAAElFTkSuQmCC");
    }

    ::-webkit-scrollbar-button:horizontal:increment,
    .scroll::-webkit-scrollbar-button:horizontal:increment {
      background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAQAAAD8fJRsAAAAHUlEQVQY02NgIB/8xy3xH7fEf9wS/0nUQZqrKAYAK44P8ZRmzLQAAAAASUVORK5CYII=");
    }

    ::-webkit-scrollbar-button:vertical:decrement,
    .scroll::-webkit-scrollbar-button:vertical:decrement {
      background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAGklEQVR4AWMYxuA/SYphmETFhDX9x4mHGQAAcL4P8dQiMq8AAAAASUVORK5CYII=");
    }

    ::-webkit-scrollbar-button:vertical:increment,
    .scroll::-webkit-scrollbar-button:vertical:increment {
      background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAQAAAD8fJRsAAAAF0lEQVQY02NgoBf4jwJxSOHQhcNAOgMAWWAP8Rv2U3UAAAAASUVORK5CYII=");
    }

    ::-webkit-scrollbar-button:horizontal:increment:start,
    .scroll::-webkit-scrollbar-button:horizontal:increment:start {
      display: none;
    }

    ::-webkit-scrollbar-button:horizontal:decrement:end,
    .scroll::-webkit-scrollbar-button:horizontal:decrement:end {
      display: none;
    }

    ::-webkit-scrollbar-button:vertical:increment:start,
    .scroll::-webkit-scrollbar-button:vertical:increment:start {
      display: none;
    }

    ::-webkit-scrollbar-button:vertical:decrement:end,
    .scroll::-webkit-scrollbar-button:vertical:decrement:end {
      display: none;
    }

    ::-webkit-scrollbar-button:active,
    .scroll::-webkit-scrollbar-button:active {
      border-top: 1px solid #868a8e;
      border-left: 1px solid #868a8e;
      border-bottom: 1px solid #868a8e;
      border-right: 1px solid #868a8e;
      box-shadow: none;
    }

/*idk rn if we need 2 keep these*/ 
  .main {
	  float: right
  }
  
.sidebar-img, .footer, .box {
  margin-top: 25px;
  }
  
  .spaced {
  margin-bottom: 10px;
  display: block;
}
 
/*Basic box code that is used for all content boxes on the page.*/
.box {
  border: 1px solid brown
  padding: 0.5em 1em;
  background-color: OldLace;
  }

/*Prevent image overflow.*/
.div img {
  max-width: 100%;
  height: auto;
  }
  
