html {
  /* tile the background image to match the rest of the site */
  background: #110a03 url("background1.png") repeat;
  background-size: 64px;
  background-attachment: fixed;
  image-rendering: pixelated;
  cursor: url("cursor1.png"), auto;
  color: white;
  scrollbar-width: thin;
  scrollbar-color: #FBC531 #110A03;
}

body {
  font-family: "DotGothic16", cursive;
  max-width: 1100px;
  margin: 32px auto;
  padding: 24px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Press Start 2P", cursive;
}

a {
  color: #ffffff;
  font-weight: bold;
}
a:hover { filter: brightness(50%); }

hr { border: 0; border-top: 6px double #FBC531; }
blockquote { border-left: 6px double #FBC531; margin-left: 0; padding: 0 8px; }
ul { list-style-image: url("bullet1.png"); }
ol { list-style-type: upper-roman; }

#container {
  background-color: #96c6e4;
  padding: 16px;
  margin: 16px 0;
  border-image-source: url("border2.png");
  border-image-slice: 25%;
  border-image-width: 32px;
  border-image-outset: 8px;
  border-image-repeat: stretch;
  border-style: solid;
  flex-direction: row;
}

button {
  background: #96c6e4;
  color: white;
  font-family: "Press Start 2P", cursive;
  border-image-source: url("border2.png");
  border-image-slice: 25%;
  border-image-width: 32px;
  border-image-outset: 8px;
  border-image-repeat: stretch;
  border-style: solid;
  padding: 12px;
  width: 240px;
  margin: 12px;
}


.nav-button {
  display: inline-block;
  width: 60px;          /* adjust button size */
  height: 60px;
  background-size: cover;
  background-position: center;
  background-color: transparent;
  border: none;
  cursor: pointer;
  margin: 8px;
  text-decoration: none; /* removes underline on links */
}

.playlists-btn {
  background-image: url("https://static.vecteezy.com/system/resources/previews/046/947/122/original/white-headphones-on-transparent-background-png.png"); /* image for Playlists */
  width: 100px;
  height: 100px;
}

.cds-btn {
  background-image: url("https://www.pngall.com/wp-content/uploads/13/CD-Blank-PNG-Pic.png"); /* image for CDs */
  width: 90px;
  height: 90px;
}

.origmusic-btn {
  background-image: url("https://www.freeiconspng.com/thumbs/white-star-icon/white-star-icon-2.png"); /* image for the original music */
  width: 100px;
  height: 100px;
}

.lyricsanal-btn {
  background-image: url("http://pngimg.com/uploads/notebook/notebook_PNG19196.png"); /* image for the lyric review page*/
  width: 100px;
  height: 100px;
}


.nav-button:hover {
  transform: scale(1.1); /* optional hover effect */
}

.border1 {
  border: 48px solid transparent;
  border-image-source: url("border1.png");
  border-image-slice: 25%;
  border-image-width: 32px;
  border-image-outset: 8px;
  border-image-repeat: stretch;
  border-style: solid;
  padding: 24px;
  box-sizing: border-box;
}

.border2 {
  border: 48px solid transparent;
  border-image-source: url("border2.png");
  border-image-slice: 25%;
  border-image-width: 32px;
  border-image-outset: 8px;
  border-image-repeat: stretch;
  border-style: solid;
  padding: 24px;
  box-sizing: border-box;
}
/* smaller vertical padding for navigation boxes so buttons sit tighter */
.nav-frame {
  /* force a small overall padding so nav buttons sit tighter */
  padding: 6px !important;
  box-sizing: border-box;
}

/* reduce vertical margin for buttons inside the nav-frame only */
.nav-frame button {
  margin-top: 4px !important;
  margin-bottom: 4px !important;
  margin-left: 6px !important;
  margin-right: 6px !important;
  width: 12px !important; /* slightly narrower to help visual balance */
}

#titlebox {
  font-family: "Press Start 2P", cursive;
  background-color: #96c6e4;
  border: 48px solid transparent;          /* makes space for the frame */
  border-image-source: url("border1.png");
  border-image-slice: 25%;
  border-image-width: 45px;                /* ensures border fully overlaps edges */
  border-image-outset: 12px;                /* small outward push to hug the box */
  border-image-repeat: stretch;
  width: 60%;
  margin: 0 auto 24px auto;
  text-align: center;
  padding: 2px 0;                         /* taller look */
  box-sizing: border-box;
}

#titlebox h1 {
  color: white;
  font-family: "Press Start 2P", cursive;
  font-size: 16px;
  margin: 0;
  letter-spacing: 1px;
}

#leftside {
  flex: 1;
  width: 600px; 
  background-color: #96c6e4;
  border: 48px solid transparent;
  border-image-source: url("border2.png"); /* makes space for the frame */
  border-image-slice: 25%;
  border-image-width: 32px;                /* ensures border fully overlaps edges */
  border-image-outset: 8px;                /* small outward push to hug the box */
  border-image-repeat: stretch;
  margin: 0 auto 10px auto;
  text-align: center;
  font-family: "Press Start 2P", cursive;
  padding: 8px 0; /* slightly reduced vertical padding */
  box-sizing: border-box;
}

#rightside {
  flex: 1;
  width: 600px; 
  background-color: #96c6e4;
  border: 48px solid transparent;
  border-image-source: url("border2.png"); /* makes space for the frame */
  border-image-slice: 25%;
  border-image-width: 32px;                /* ensures border fully overlaps edges */
  border-image-outset: 8px;                /* small outward push to hug the box */
  border-image-repeat: stretch;
  margin: 0 auto 10px auto;
  text-align: center;
  font-family: "Press Start 2P", cursive;
  padding: 8px 0; /* slightly reduced vertical padding */
  box-sizing: border-box;
}

#mainbox {
  flex: 1;
  font-family: "Press Start 2P", cursive;
  background-color: #96c6e4;
  margin: 0 auto 10px auto;
  text-align: center;
  box-sizing: border-box;
}
/* Layout container */
#layout-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

#twocol-wrapper {
   display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap; /* allows mobile wrapping */
}

.nav-item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin: 8px; /* spacing between button groups */
}

.nav-label {
  font-family: "Press Start 2P", cursive;
  font-size: 10px;       /* small pixel font size */
  margin-top: 4px;       /* space between button + label */
  text-align: center;
  color: white;
}


