/* Make the background fill the whole site */
body {
  margin: 0;
  padding: 0;
  height: 100vh;
  width: 100vw;
  background: url("https://harrowick.neocities.org/Homepage/websitebackgroundbordergif.gif") no-repeat center center fixed;
  background-size: cover; /* ensures it scales to full screen */
}
/* Title in top-left */
header {
  position: absolute; /* lets it sit above background */
  top: -50px;
  left: -40px;
  z-index: 3;
}

.title-img {
  max-width: 566px; /* adjust as needed */
  height: auto;
}
/* the sidebar itself */
aside {
  position: fixed; /* stays put while scrolling */
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 2;
    transition: transform 2.7s ease;
}
/* SHOW SIDEBAR BUTTON*/
#showSidebarBtn {
    position: fixed;
    top: 130px;
    left: -5px;
    width: 150px;
    height: auto;
    cursor: pointer;
    z-index: 4;
    display: none; /* this is for the "closed eyeball" /show sidebar button */
}
/* HIDE SIDEBAR BUTTON */
.sidebar-btn {
  position: fixed;
  top: 130px;
  left: -5px; 
  width: 150px;
  height: auto;
  cursor: pointer;
   z-index: 4; 
}
.sidebar-img {
  height: 100%;
  width: auto;
  display: block;
  
}
.sidebar-btn, .sidebar-btn2 {
    filter: brightness(0.8) contrast(0.9);  /* dims the button when not hovered over */
    transition: filter 0.3s ease;
}

.sidebar-btn:hover, .sidebar-btn2:hover {
    filter: brightness(1) contrast(1);  /* returns the image to normal when hovered */
}




/*code for the about */

.about-btn {
  position: fixed;
  top: 225px;
  left: 0px;
  width: 300px;
  height: auto;
  cursor: pointer;
  z-index: 5;
  filter: brightness(0.8) contrast(0.9);
  transition: filter 0.3s ease, transform 2s ease;
}
.about-btn:hover {
  filter: brightness(1) contrast(1);
}
.hidden-about {
  transform: translateX(-100%);
}



/*lore button */

.lore-btn {
  position: fixed;
  top: 385px;
  left: 0px;
  width: 300px;
  height: auto;
  cursor: pointer;
  z-index: 5;
  filter: brightness(0.8) contrast(0.9);
  transition: filter 0.3s ease, transform 2s ease;
}
.lore-btn:hover {
  filter: brightness(1) contrast(1);
}
.hidden-lore {
  transform: translateX(-100%);
}





/*gallery button */

.gallery-btn {
  position: fixed;
  top: 520px;
  left: 0px;
  width: 300px;
  height: auto;
  cursor: pointer;
  z-index: 5;
  filter: brightness(0.8) contrast(0.9);
  transition: filter 0.3s ease, transform 2s ease;
}
.gallery-btn:hover {
  filter: brightness(1) contrast(1);
}
.hidden-gallery {
  transform: translateX(-100%);
}


/*links button */

.links-btn {
  position: fixed;
  top: 665px;
  left: 0px;
  width: 300px;
  height: auto;
  cursor: pointer;
  z-index: 5;
  filter: brightness(0.8) contrast(0.9);
  transition: filter 0.3s ease, transform 2s ease;
}
.links-btn:hover {
  filter: brightness(1) contrast(1);
}
.hidden-links {
  transform: translateX(-100%);
}




/*credits button */

.credits-btn {
  position: fixed;
  top: 795px;
  left: 0px;
  width: 300px;
  height: auto;
  cursor: pointer;
  z-index: 5;
  filter: brightness(0.8) contrast(0.9);
  transition: filter 0.3s ease, transform 2s ease;
}
.credits-btn:hover {
  filter: brightness(1) contrast(1);
}
.hidden-credits {
  transform: translateX(-100%);
}






   

/* this tells the sidebar to go to -100% X, basically moving it offscreen to the left! */
.hidden {
  transform: translateX(-100%);
}