/*
Hi, Gay ass! >:3
I see you there!
Yes you, Pretty cool huh? You found a secret!
Now go touch some grass. <3
*/

@font-face {
  font-family: 'Yoster Island';
  src: url('../font-family/yoster.ttf') format('truetype');
}

@font-face {
  font-family: 'DaydreamDEMO';
  src: url('../font-family/DaydreamDEMO.otf') format('opentype');
}

@font-face {
  font-family: 'Somelist';
  src: url('../font-family/somelist/Somelist.ttf') format('truetype');
}

@font-face {
  font-family: 'SuperStarfish';
  src: url('../font-family/SuperStarfish.ttf') format('truetype');
}

@font-face {
  font-family: 'KiwiSoda';
  src: url('../font-family/KiwiSoda.ttf') format('truetype');
}
@font-face {
  font-family: 'Typewriter';
  src: url('../font-family/Typewriter.otf') format('opentype');
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
 background-color: #FFC68D;
 font-family: 'Yoster Island', monospace;
 background-image: url('../images/background.png');
 background-size: 48px;
image-rendering: pixelated;
}

button {
  cursor: pointer;
}


.boxAlign {
  background-color: #FFFFFF;
  max-width: 900px;
  margin: 50px auto;
  padding: 0.5em;
  border-radius: 10px;
}

.boxAlign2 {
  border: rgb(255, 230, 207) dashed 5px;
  padding: 0.5em;
}

.boxAligntoothless {
  background-color: #3b2868;
  max-width: 900px;
  margin: 50px auto;
  padding: 0.5em;
  border-radius: 10px;
}
.boxAlign2toothless {
  border: rgb(126, 226, 190) dashed 5px;
  padding: 0.5em;
}

.SiteInfo {
  color: #ffffff;
  border: #ffffff dashed 2px;
  padding: 0.3em;
  background-color: #F19355;
  }
  .SiteInfo2 {
    max-width: 400px;
    border: #F19355 solid 4px;
    background-color: #F19355;
    border-radius: 5px;
  }

.SiteInfo3 {
  max-width: 400px;
  min-width: 400px;
}

.boxtoothless {
  max-width: 1000px;
  margin: 50px auto;
  display: grid;
  gap: 1em;
  color: #c690cc;
  border-radius: 10px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  font-family: "KiwiSoda";
  font-size: 20px;
}

.headerBannertoothless {
  margin-bottom: 20px;
  width: 100%;
  text-align: center;
  color: #efe2f5;
  font-size: 1.3em;
  font-family: "DaydreamDEMO"
}

.navButtontoothless {
  background-color: #391850;
  color: white;
  padding: 0em 2em;
  border: rgb(255, 255, 255) dashed 3px;
  font-family: 'DaydreamDEMO';
  font-size: 0.6em;
  transform: rotate(-5deg);
  margin: 0.5em auto;
  max-width: 100%;
}

.toothlessbox {
  padding: 1em;
  background-color: #391850;
  border-radius: 10px;
  font-size: 1.4em;
border-width:10px;
border-style:solid;
border-image: url("https://hosting.photobucket.com/albums/bb183/phyncke_graphique/Pixel-Frames/.highres/a49U000028.gif?width=450&height=278&crop=fill") 9 fill round;        
    
}

.toothlessHomeButton {
  background-color: #391850;
  color: white;
  padding: 0em 2em;
  border: rgb(255, 255, 255) dashed 3px;
  font-family: 'DaydreamDEMO';
  font-size: 1em;
  transform: rotate(-5deg);
  margin: 0.5em auto;
}

.box {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  gap: 1em;
  color: #F19355;
  border-radius: 10px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  font-family: "SuperStarfish";
}

.pokesprite {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

/* Keep About page favorites in two rows on desktop/tablet. */
body.aboutboxbox .pokesprite {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  justify-items: center;
  align-items: center;
  column-gap: 0.25em;
  row-gap: 0.55em;
}

body.aboutboxbox .pokesprite .pokespritehover img {
  width: 90px;
  max-width: 100%;
  height: auto;
}

@media (max-width: 760px) {
  body.aboutboxbox .pokesprite {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4em;
  }
}
.pokesprite img {
  image-rendering: pixelated;
}


.boxindex {
  grid-template-columns: minmax(240px, 1.15fr) 3fr 3fr 3fr;
    grid-template-areas:
    "header header header header"
    "nav main main main"
    "something_interesting something_interesting something_interesting Spin_me_around"
    "todo_list_Dead_Space todo_list_Dead_Space todo_list todo_list"
    "youtube youtube youtube youtube"
    "footer footer footer footer";
}

.boxinventory {
    grid-template-areas:
    "header header header header"
    "main main main main"
    "something_interesting something_interesting something_interesting Spin_me_around"
    "todo_list_Dead_Space todo_list_Dead_Space todo_list todo_list"
    "youtube youtube youtube youtube"
    "footer footer footer footer";
}


.boxaboutme {
  grid-template-columns: minmax(240px, 1.15fr) 3fr 3fr 3fr;
  grid-template-areas:
  "header header header header"
  "nav main main main"
  "aboutLower aboutLower aboutLower aboutLower"
  "footerMedia footerMedia footerMedia footerMedia"
  "footerCharacters footerCharacters footerCharacters footerCharacters"
  "Socials Socials Socials Socials";
}

.boxtoothless {
  grid-template-areas:
  "header header header header"
  "nav main main main"
  "footer footer footer footer"
  "Socials Socials Socials Socials";
}

.AboutMeButton::before,
.OCsButton::before,
.inventoryButton::before,
.HomeButton::before,
.MyFriends::before,
.GalleryButton::before,
.DrawButton::before,
.dndButton::before,
.faqButton::before,
.birdsButton::before,
.charactersButtons::before,
.favdogsButton::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 30px;
}

.AboutMeButton::before {
  background: transparent url('../images/pokesprite/pokemonicons-sheet.png') no-repeat scroll -240px -2250px;
}
.favdogsButton::before {
  background: transparent url('../images/pokesprite/pokemonicons-sheet.png') no-repeat scroll -40px -570px;
}
.OCsButton::before {
  background: transparent url('../images/pokesprite/pokemonicons-sheet.png') no-repeat scroll -160px -2880px;
}
.inventoryButton::before {
  background: transparent url('../images/pokesprite/pokemonicons-sheet.png') no-repeat scroll -160px -330px;
}
.HomeButton::before {
  background: transparent url('../images/pokesprite/pokemonicons-sheet.png') no-repeat scroll -80px -1170px;
}
.MyFriends::before {
  background: transparent url('../images/pokesprite/pokemonicons-sheet.png') no-repeat scroll -0px -330px;
  left: 0.6em;
}
.GalleryButton::before {
  background: transparent url('../images/pokesprite/pokemonicons-sheet.png') no-repeat scroll -80px -330px;
}
.DrawButton::before {
  background: transparent url('../images/pokesprite/pokemonicons-sheet.png') no-repeat scroll -200px -480px;
}
.faqButton::before {
  background: transparent url('../images/pokesprite/pokemonicons-sheet.png') no-repeat scroll -440px -420px;
}
.birdsButton::before {
  background: transparent url('../images/pokesprite/pokemonicons-sheet.png') no-repeat scroll -40px -1650px;
}
.dndButton::before {
  background: transparent url('../images/pokesprite/pokemonicons-sheet.png') no-repeat scroll -280px -1500px;
}
.charactersButtons::before {
  background: transparent url('../images/pokesprite/pokemonicons-sheet.png') no-repeat scroll -40px -1350px;
}

.Heart {
  position: absolute;
  color: #f8365a;
  font-size: 74px;
  z-index: 15;
  pointer-events: none;
  filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.3));
}
.Heartaboutme {
  position: absolute;
  display: inline-block;
  width: 1em;
  height: 1em;
  color: transparent;
  font-size: 74px;
  z-index: 15;
  pointer-events: none;
  filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.3));
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f8365a' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.aboutImage {
  position: relative;
}

.aboutPortrait {
  border: 3px solid #ffffff;
  border-radius: 40%;
  box-shadow:
    0 0 0 3px #F19355,
    inset 0 0 0 2px rgba(255, 255, 255, 0.45);
}

.Socials {
  background-color: rgb(255, 230, 207);
  border-radius: 10px;
  padding: 1em;
  margin: 20px auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 1.1em;
  row-gap: 0.45em;
  color: #F19355;
  font-size: 1.2em;
}

.Social {
  padding: 0 0.2em;
}

.MyFriends {
  background-color: #F19355;
  color: white;
  padding: 0.14em 1.45em 0.14em 2.7em;
  border: rgb(255, 255, 255) dashed 3px;
  font-family: 'SuperStarfish';
  font-size: 1.02em;
  transform: rotate(-5deg);
  margin: 0;
  align-self: center;
  white-space: nowrap;
  position: relative;
  display: inline-block;
  min-width: 9.8em;
  text-align: center;
  line-height: 1.05;
}

.highlight-mark {
  background-color: #B8E2F3;
  color: #6f56aa;
  padding: 0em 0.2em;
  border-radius: 5px;
}

.evilBox {
  background-color: #2505058c;
  color: #ffffff;
  border: 2px solid #6d2222;
  max-width: 900px;
  margin: 50px auto;
}

.evilText {
  padding: 1em;
  margin: 50px auto;
}

.pokespritehover:hover {
  transform: translateY(-10px) scale(1.25);
  filter: saturate(120%) contrast(110%);
}
.pokespritehover {
  transition: transform 0.2s ease, filter 0.2s ease;
}

.series_movieshover:hover {
  filter: saturate(70%) contrast(110%);
  transform: scale(1.005);
}
.series_movieshover {
  transition: transform 0.2s ease, filter 0.2s ease;
}

.navButton:hover,
.MyFriends:hover {
  transform: translateY(-2px) scale(1.05) rotate(-5deg);
  filter: saturate(110%) contrast(110%);
}
.navButton, .MyFriends, .Social {
  transition: transform 0.2s ease, filter 0.2s ease;
}

.Myitembook:hover {
  filter: saturate(200%) contrast(110%) drop-shadow(0 0 30px #ff1616) drop-shadow(0 0 15px #2e2b41);
  transform: translateY(-5px) scale(1.05);
}

.Myitembook {
  transition: transform 0.2s ease, filter 0.2s ease;
}

.Myitems{
  filter: drop-shadow(0 0 15px #4f4f68);
}


.Mycat:hover {
  filter: saturate(200%) contrast(110%) drop-shadow(0 0 30px #ff1616) drop-shadow(0 0 15px #2e2b41);
  transform: translateY(-5px) scale(1.05);
  animation-name: Mycat-animation;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;

}
@keyframes Mycat-animation {
    0% {
      transform: rotate(0deg);
    }
  100% {
    transform: rotate(-360deg);
  }
}

.Myitems2 img {
  filter: drop-shadow(2px 0 0 white) 
          drop-shadow(-2px 0 0 white) 
          drop-shadow(0 2px 0 white) 
          drop-shadow(0 -2px 0 white);
  transition: filter 0.2s ease;
}

.Social:hover {
  filter: saturate(110%) contrast(110%);
  transform: translateY(-2px) scale(1.05);
}

.Myitems img {
  filter: drop-shadow(2px 0 0 white) 
          drop-shadow(-2px 0 0 white) 
          drop-shadow(0 2px 0 white) 
          drop-shadow(0 -2px 0 white);
  transition: filter 0.2s ease;
}

.Myitems:hover img {
  filter: none;
}

.Myinventory {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.save-btn { background: #28a745; color: white; border: none; padding: 10px 20px; font-size: 1em; border-radius: 5px; cursor: pointer; }
#saved-image { border: 1px solid #ccc; width: 250px; height: 250px; display: none; }


.preview-section2 {
background: white; 
text-align: center; 
margin-top: 20px;
display: flex;
padding: 5px; 
justify-content: center;
width: 90%;
color: #F19355;
}
.preview-section {
background: white; 
font-size: 1.5em;
border: 5px dashed #FFE6CF;
width: 100%;
padding: 10px;
}

canvas { 
background: #fff;
cursor: crosshair;
touch-action: none; 
}
.drawboxcanvas1 {
border: 10px solid #ac6536;
}
.drawboxcanvas2 {
border: 9px solid #77401c;
}
.drawboxcanvas3 {
border: 7px solid #ac6536;
background-color: #ac6536;
}

.toolbar { 
display: flex;
gap: 15px;
background: #fff;
padding: 15px;
border: #FFE6CF dashed 5px;

}
.toolbar2 {
  margin: 10px;
  padding: 5px;
background: #fff;
}

.drbox {
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  }

.gallerty {
  width: 20%;
  margin: 0 auto;
  columns: 3;
}

.headerText {
  color: #F19355;
  font-size: 0.8em;
  display: block;
  transition: transform 0.3s ease;
}

.headerText img {
  flex-shrink: 0;
}

.headerText a {
  display: block;
  line-height: 1.5;
  text-align: left;
}

.headerBanner {
  margin-bottom: 20px;
  width: 100%;
  text-align: center;
  color: #F19355;
  font-size: 1.3em;
  font-family: "DaydreamDEMO"
}

.EnterheaderBanner {
  margin-bottom: 20px;
  width: 100%;
  text-align: center;
  color: #F19355;
  font-size: 1.8em;
  font-family: "Somelist";
}

.StartingPage {
  text-align: center;
  font-size: 1.5em;
  color: #F19355;
  font-family: "SuperStarfish";
}

.Enter {
  text-align: center;
  font-size: 300%;
  font-family: "SuperStarfish";
  border: 0;
  padding: 0.1em 1em;
  background-color: #F19355;
  color: white;
  border-radius: 12px;
}

.drawingwayback {
  text-align: center;
  font-size: 1.1em;
  color: #F19355;
  font-family: "SuperStarfish";
  border: 0;
  padding: 0.1em 1em;
  background-color: rgb(221, 69, 69);
  color: white;
  border-radius: 4px;
  position: absolute;
  top: 20px;
  left: 20px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.drawingwayback:hover {
  background-color: rgb(255, 69, 69);
  transform: scale(1.05);
  filter: saturate(110%) contrast(110%);
}

.thiswillneverbedone {
  text-align: center;
  font-size: 1em;
  color: #F19355;
  font-family: "SuperStarfish";
  transform: translateX(-112px) translateY(25px);
}

.AboutMeText {
  background: #F19355;
  color: #fff;
  border-radius: 12px;
  overflow: hidden;
  padding: 0.2em 0.2em;
  font-size: 0.9em;
  margin-bottom: 0.6em;
  text-align: center;
}

.aboutLower .lowerStatsRow > .AboutMeText {
  margin-bottom: 0;
}

.aboutLower .lowerStatsRow + .AboutMeTextUrl {
  margin-top: 0.6em;
}

.AboutMeTextUrl a {
  color: #ffffff;
  text-decoration: underline;
}

.Stickers {
  z-index: 99;
  pointer-events: none;
}

.Sticker1 {
  position: absolute;
  left: 70%;
  top: 1300px;
  width: 230px;
  pointer-events: none;
}

.Sticker2 {
  position: absolute;
  left: 75%;
  top: 5150px;
  width: 12vw;
  transform: rotate(-15deg);
  pointer-events: auto;
}

.Sticker3 {
  position: absolute;
  left: 14%;
  top: 3000px;
  width: 12vw;
  transform: rotate(-15deg);
  pointer-events: auto;
}

.Sticker4 {
  position: absolute;
  left: 70%;
  top: 2000px;
  width: 12vw;
  transform: rotate(15deg);
  pointer-events: auto;
}
.Sticker4:hover {
  transform: rotate(15deg);
  filter: hue-rotate(90deg);
}
.Sticker4 {
  transition: transform 0.2s ease, filter 0.2s ease;
}

.Sticker5 {
  position: absolute;
  left: 64%;
  top: 600px;
  width: 12vw;
  pointer-events: none;
}

.Sticker6 {
  position: absolute;
  left: 29%;
  top: 420px;
  width: 4vw;
  pointer-events: auto;
}
.Sticker7 {
  position: absolute;
  left: 65%;
  top: 0px;
  width: 3vw;
  pointer-events: auto;
}

.Sticker8 {
  position: absolute;
  left: 30%;
  top: 14px;
  width: 3vw;
  height: 3vw;
  pointer-events: auto;
  transform: scaleX(-1);
}

.Sticker8:hover {
  background: url('../images/karaoke2.png');
  background-size: 100% 100%;
  top: 18px;
  height: 3vw;
}
.Sticker8:hover img {
  opacity: 0;
}

.Sticker9 {
  position: absolute;
  left: 78%;
  top: 1000px;
  width: 12vw;
  transform: rotate(20deg);
  pointer-events: auto;
}

.Sticker10 {
  position: absolute;
  left: 8%;
  top: 400px;
  width: 12vw;
  transform: rotate(-10deg);
  pointer-events: auto;
    filter: drop-shadow(6px 0 0 white) 
          drop-shadow(-6px 0 0 white) 
          drop-shadow(0 6px 0 white) 
          drop-shadow(0 -6px   0 white);
}

.Sticker11, .Sticker12 {
  position: absolute;
  left: 15.5%;
  top: 1650px;
  width: 12vw;
  transform: rotate(200deg) scaleX(-1);
    pointer-events: none;
  z-index: -1;
}
.Sticker12 {
  z-index: 99;
}



.EnterHomeButton {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 20px;
}

textarea {
  resize: none;
}

.navButton {
  display: inline-block;
  background-color: #F19355;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  color: white;
  padding: 0em 0.8em 0em 43px;
  text-align: left;
  border: rgb(255, 255, 255) dashed 3px;
  font-family: 'SuperStarfish';
  font-size: 1.2em;
  transform: rotate(-5deg);
  margin: 0.2em auto;
  max-width: 100%;
}

.Line {
  border: 4px dashed #ffffff;
  padding: 0.5em;
  margin: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

header, nav, main, footer, something_interesting, Spin_me_around, todo_list, todo_list_Dead_Space, MyYouTube {
  padding: 0.5em;
  background-color: #FFE6CF;
  border-radius: 10px;
  font-size: 1.4em;

}

header {
  grid-area: header;
  text-align: center;
  font-size: 1.5em;
}

nav {
  grid-area: nav;
    padding: 0.5em;
}

main {
  grid-area: main;
}

footer.footer2 {
  grid-area: footer;
  display: block;
}

footer {
  grid-area: footer;
  display: flex;
  gap: 1em;
  align-items: flex-start;
}

.boxindex > footer {
  flex-wrap: wrap;
}

.boxindex > footer > .buttons.onebuttons {
  flex: 0 0 100%;
}

.buttons2 {
  position: relative;
  top: -8em;
}

.addme {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 1em;
  text-align: center;
}

.addme-inner {
  background-color: #FFFFFF;
  max-width: min(100%, 610px);
  margin: 0;
  padding: 0.5em;
  border-radius: 10px;
}

.addme-inner-2 {
  border: rgb(255, 230, 207) dashed 5px;
  padding: 0.9em 1.1em;
  font-size: 0.9em;
  line-height: 1.2;
}

.addme-title {
  margin-bottom: 0.3em;
}

.addme-badge {
  display: inline-block;
  margin-bottom: 0.35em;
}

.addme-inner-2 textarea {
  width: min(100%, 500px);
  font-size: 0.8em;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: center;
  gap: 0.28em;
  align-items: center;
}

.boxindex > footer > .Line {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1em;
}

.boxindex > footer > .Line > .addme {
  flex: 0 0 auto;
}

.boxindex > footer > .Line > .buttons {
  flex: 0 1 500px;
  min-width: 0;
  width: 500px;
}

.boxaboutme > nav,
.boxaboutme > main,
.boxaboutme > .aboutLower,
.boxaboutme > footer {
  position: relative;
  border: 0;
  padding: 0.75em;
  box-sizing: border-box;
}

.boxaboutme > footer:first-of-type {
  grid-area: footerMedia;
}

.boxaboutme > footer:last-of-type {
  grid-area: footerCharacters;
}

.boxaboutme > nav {
  align-self: start;
  padding: 1em 1em 6em;
}

.boxaboutme > main,
.boxaboutme > .aboutLower {
  padding: 1em;
}

.boxaboutme > main .headerTextAboutMe > div:last-child {
  position: relative;
  top: 0.8em;
}

.boxaboutme > nav .navButton {
  font-size: 1.2em;
  white-space: nowrap;
  top: 0.2em;
}

.boxaboutme > nav .eevee {
  position: relative;
  top: 5em;
}

.boxaboutme > main {
  border-radius: 10px 10px 0 0;
}

.boxaboutme > .aboutLower {
  border-radius: 10px 0 10px 10px;
}

.boxaboutme > nav::before,
.boxaboutme > main::before,
.boxaboutme > .aboutLower::before,
.boxaboutme > footer::before {
  content: '';
  position: absolute;
  inset: 0.5em;
  border: 4px dashed #ffffff;
  pointer-events: none;
}

.boxaboutme > footer::before {
  display: none;
}

.boxaboutme > main::before {
  inset: 0.5em 0.5em 0 0.5em;
  border-bottom: 0;
}

.boxaboutme > .aboutLower::before {
  inset: 0.286em 0.5em 0.5em 0.5em;
  border-top: 0;
}

/* Connects the aboutLower frame to the main frame, spanning only the
   part of aboutLower that sits to the left of main (i.e. under nav),
   so it lines up exactly with main's left border instead of running
   under main where it would get painted over. */
.boxaboutme > .aboutLower::after {
  content: '';
  position: absolute;
  top: 0.286em;
  left: 0.5em;
  width: 256px;
  border-top: 4px dashed #ffffff;
  pointer-events: none;
}

.boxaboutme > .aboutLower {
  grid-area: aboutLower;
  background-color: #FFE6CF;
  font-size: 1.4em;
  margin-top: -1em;
}


something_interesting {
  grid-area: something_interesting;
}

Spin_me_around {
  grid-area: Spin_me_around;
  justify-self: end;
}

todo_list {
  grid-area: todo_list;
}

todo_list_Dead_Space {
  grid-area: todo_list_Dead_Space;
}

MyYouTube {
  grid-area: youtube;
  text-align: center;
}

MyYouTube iframe {
  max-width: 100%;
}


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

.text-box2 {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  padding: 15px;
  height:130px;width:250px;
  border:0 Georgia, Garamond, Serif;overflow-y:auto;overflow-x:hidden;
  font-family: "KiwiSoda";
  font-size: 24px;
  line-height: 30px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.6) transparent;
}
.text-box2::-webkit-scrollbar {
  width: 6px;
}
.text-box2::-webkit-scrollbar-track {
  background: transparent;
}
.text-box2::-webkit-scrollbar-thumb {
  background-color: rgba(255,255,255,0.6);
  border-radius: 3px;
}
.text-box2 h3 {
  margin: 0;
  font-size: 2em;
  white-space: nowrap;
}
.text-box2 ul li::marker {
  content: "\2022  ";
}

.weedcathome {
  --weedcathome_px: 4px;
  filter: drop-shadow(var(--weedcathome_px) 0 0 white) 
          drop-shadow(calc(-1 * var(--weedcathome_px)) 0 0 white) 
          drop-shadow(0 var(--weedcathome_px) 0 white) 
          drop-shadow(0 calc(-1 * var(--weedcathome_px)) 0 white);
}

.NonFunctionalButtons {
  background-color: #c7733b;
  color: #a9aebb;
}

.headerTextAboutMe {
  color: #F19355;
  font-size: 1em;
  margin: 0 auto;
  display: block;
  padding: 0.2em;
}


.favoriteCharactersBoxGrid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1em;
  width: 100%;
  margin-top: 0.3em;
  justify-items: center;
  align-items: center;
}

.favoriteCharactersTitle {
  margin-top: 0.4em;
  margin-bottom: 0.15em;
  font-size: 1.05em;
  color: #F19355;
  text-align: center;
  font-family: "daydreamDEMO";
}

.favoriteCharactersBox {
  background-color: transparent;
  border: none;
  border-radius: 0;
  padding: 0.8em;
  box-sizing: border-box;
  width: 100%;
  max-width: 185px;
  aspect-ratio: 1 / 1;
  overflow: visible;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.favoriteCharactersBox::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/framm.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  z-index: 2;
  pointer-events: none;
}

.favoriteCharactersBox::after {
  content: attr(data-bubble);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  transform: translateX(-50%) translateY(20px);
  background-color: #692d2d;
  color: #ffffff;
  padding: 0.5em 0.8em;
  border-radius: 6px;
  font-family: "Typewriter";
  font-size: 0.8em;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 30;
}

.favoriteCharactersBubbleTail {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid #692d2d;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(20px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 30;
}

.favoriteCharactersBox:hover::before {
  opacity: 1;
  visibility: visible;
}

.favoriteCharactersBox:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.favoriteCharactersBox:hover .favoriteCharactersBubbleTail {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.favoriteCharactersBox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  clip-path: none;
  display: block;
  position: relative;
  z-index: 1;
}

@media (max-width: 1000px) {
  .favoriteCharactersBoxGrid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .favoriteCharactersBoxGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .favoriteCharactersBoxGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

/* 1. The Parent Container */
.inventory-container {
  position: relative; /* CRITICAL: This creates a positioning context */
  width: 800px;       /* Match your main image width */
  height: 100%;      /* Set a fixed height or use aspect-ratio */
  margin: 50px auto;     /* Optional: center it on the page */
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* 2. The Main Image (Optional: make it fill the container) */
.inventory-container > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;  /* Or 'contain' depending on your design */
  display: block;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

/* 3. The Inner Items (Common Styles) */
.inner-item {
  position: absolute; /* CRITICAL: This takes them out of normal flow */
  z-index: 10;        /* Ensures they appear on top of the main image */
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.inner-item img {
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

/* 4. Position Each Inner Image Specifically */
/* You need to adjust these top/left values to match your design */


.hoverAim {
  transition: transform 0.2s ease, filter 0.2s ease;
}
.hoverAim:hover {
  transform: translateY(-5px) scale(1.05);
}

.back-btn {
  top: 390px;
  left: 40px;
}
.back-btn img {
  width: 60px; 
  height: auto;
}

.book-btn {
  top: 647px;
  left: 285px;
}
.book-btn img {
  width: 70px; 
  height: auto;
}

.weedcat {
  top: 380px;
  left: 195px;
}
.weedcat img {
  width: 75px; 
  height: auto;
}

.switch {
  top: 463px;
  left: 448px;
}
.switch img {
  width: 150px; 
  height: auto;
}

.cat {
  top: 250px;
  right: 50px; 
}
.cat img {
  width: 150px; 
  height: auto;
}

.avatar {
  top: 50px;
  left: 135px;
}
.avatar img {
  width: 200px; 
  height: auto;
}

.camera {
  top: 645px;
  right: 123px; 
}
.camera img {
  width: 70px; 
  height: auto;
}

.pot {
  top: 660px;
  right: 35px; 
}
.pot img {
  width: 64px; 
  height: auto;
}

.nocursor {
  cursor: default;
}

.Diamond_Helmet {
  top: 52px;
  left: 48px;
}
.Diamond_Helmet img {
  width: 48px;
  height: auto;
}

.ItemSword {
  top: 650px;
  left: 225px;
}
.ItemSword img {
  height: 64px;
  width: auto;
}

.Axe {
  top: 650px;
  left: 140px;
}
.Axe img {
  height: 64px;
  width: auto;
}

.weedweed {
  top: 377px;
  right: 28px;
}
.weedweed img {
  height: 160px;
  width: auto;
}

.toMoth {
  top: -50px;
  left: 680px;
}
.toMoth img {
  width: 200px;
  height: auto;
}

.library-container {
  /* Set your bookshelf background image */
  background-image: url('bookshelf-background.jpg');
  background-size: cover;
  background-position: center;
  
  /* Create a grid alignment for the books */
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  position: relative;
  top: 60px;
  gap: 10px;
  padding: 90px;
  
  /* Give the library a base size */
  min-height: 100vh;
  width: 100%;
}

.book img {
  width: 100%;
  height: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

/* Make the image white when you hover it over. */
.book img:hover {
  filter: brightness(1) invert(0.15);
}
