@font-face {
    font-family: 'JMH Cthulhumbus Arcade UG';
    src: url('/fonts/JMHCthulhumbusArcadeUG-Regular.woff2') format('woff2'),
         url('/fonts/JMHCthulhumbusArcadeUG-Regular.woff') format('woff'),
         url('/fonts/JmhcthulhumbusarcadeugRegular-JleB.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.arcade-font {
  font-family: "JMH Cthulhumbus Arcade UG", sans-serif;
}


html {
  background-repeat: repeat;
  animation: collage-anim 45s linear infinite;
  color: black;
  font-family: "footlight";
  letter-spacing: 2px;
}





/* Default background */
.bg-default {
  background-image: url(https://jratesmusicals.neocities.org/gandr-collage.jpg);
}

/* A–Z page background */
.bg-falsettos {
  background-image: url(https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSWI-NVFt99MNEXsArIOOqMqXhFMCvLrTv8-HAJSLktneUCMv-NZlCVqkZQ&s=10);
}

/* Another page background */
.bg-musicals {
  background-image: url(https://jratesmusicals.neocities.org/gandr-collage.jpg);
}

.nav-gif {
  width: 20px;      /* adjust size */
  height: 20px;     /* keep square */
  vertical-align: middle;
}

.gif-container {
  display: flex;
  justify-content: center; /* Centers the GIFs side by side */
  gap: 15px; /* Adds a 15px gap between the GIFs */
}

.gif-container img {
  width: 100px; /* Adjust the size of the GIFs */
  height: auto;
}












@keyframes collage-anim {
  0% {background-position: 0px 0px;}
  100% {background-position: -1926px 0px;}
}

body {
  border: 5px;
  text-align: center;
}

.textBlurb {
  text-align: justify;
  text-justify: inter-word;
  width: 900px;
  padding-left: 55px;
}

.chartBlurb {
  text-align: justify;
  text-justify: inter-word;
  width: 440px;
}

.bullets {
  padding-left: 75px;
  padding-right: 75px
}

.chartPanel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.chart {
  width:440px;
  padding-left: 55px;
}

.accordion {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
}

.active, .accordion:hover {
  background-color: #4292c6;
}

.panel {
  padding: 0 18px;
  background-color: white;
  display: none;
  overflow: hidden;
}

.container {
  background-color: beige;
  width: 1020px;
  border-radius: 25px;
  margin: auto;
  margin-top: 100px;
  margin-bottom: 100px;
  padding: 25px;
  filter: drop-shadow(10px 5px 4px #333333);
}



/* Style for Archive portion */ 
/* Style for Archive portion */ 
/* Style for Archive portion */ 
/* ARCHIVE GRID — 120px albums, 8 across */
/* ARCHIVE GRID — 100px albums, 8 across */
/* ARCHIVE GRID — 110px albums, 8 across */
.grid {
  display: grid;
  grid-template-columns: repeat(8, 110px);
  gap: 15px;
  justify-content: center;   /* ← equal spacing on both sides */
}

/* album card */
.album {
  position: relative;
  width: 110px;
  height: 110px;
}

/* album image */
.thumbnail {
  width: 110px;
  height: 110px;
  display: block;
  position: relative;
  z-index: 1;
}

/* hover overlay */
.overlay-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 110px;
  height: 110px;
  background: radial-gradient(#4292c6, #4292c6 0%);
  color: white;
  opacity: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* smaller text to fit inside 110px */
.overlay-text h2 {
  font-size: 15px;
  margin: 0 0 3px 0;
}

.overlay-text p {
  font-size: 8px;
  margin: 0;
}

/* hover effect */
.album:hover .overlay-text {
  opacity: 0.9;
}

.album:hover {
  transform: scale(0.95);
}




/* Style for Comparative Search */
  .grid-container {
    width: 100%;
    height:650px;
    overflow-x: scroll;
    overflow-y: scroll;
  }

  table {
    border-collapse: collapse;
  }  
  
  th {
    border-bottom: 1px solid #ddd;
    padding: 3px;
    height:50px;
    background-color: #4292c6;
  }
  
  td {
    min-width:100px;
    border-bottom: 1px solid #ddd;
    padding: 3px;
    height:50px;
  }
  
  table td.name, table th.name {
    min-width: 200px;
  }
  
  tr:hover {
    background-color: #4292c6;
    cursor: pointer;
  }
  
  /* Top navigation bar inside header */
.top-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 15px;
  margin-bottom: 25px;
}

.top-nav a {
  color: black;
  text-decoration: none;
  font-size: 18px;
  font-family: "JMH Cthulhumbus Arcade UG";
  letter-spacing: 2px;
}

.top-nav a:hover {
  text-decoration: underline;
}

/* Top Navigation Bar */
.top-nav {
  width: 100%;
  background-color: #4292c6;
  padding: 10px 0;
  position: fixed;
  top: 50px;   /* ← MOVE NAV BAR DOWN */
  left: 0;
  z-index: 999;
  box-shadow: 0px 2px 5px rgba(0,0,0,0.3);
}


.top-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 40px;
}

.top-nav a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-family: "JMH Cthulhumbus Arcade UG";
  letter-spacing: 2px;
}

.top-nav a:hover {
  text-decoration: underline;
}

/* Push content down so it doesn't hide under fixed nav */
body {
  padding-top: 60px;
}

.image-row {
    display: flex;
    flex-wrap: wrap;
    gap: 25px; /* FIXED */
}

.image-row figure {
    margin: 0;
}

.image-row figcaption {
    text-align: left !important;
    margin: 0.1em 0 0 0 !important; /* FIXED */
}

.image-row img {
    margin-bottom: 0.2em !important;
}

figcaption { 
    text-align: center;
    margin: -0.5em 1em 1em 1em;
}

.img-text-row {
    display: flex;
    align-items: flex-start;
    gap: 20px; /* space between image and text */
}

.img-text-row img {
    flex-shrink: 0; /* prevents image from shrinking */
}

.img-text-row p {
    margin-top: rem;   /* space between heading/image and paragraph */
    line-height: 1.4;
}

/* MOBILE VERSION — tuned sizing */
@media (max-width: 800px) {

  /* shrink background image so mobile isn't zoomed out */
  html.bg-default {
    background-size: 600px;
    background-repeat: repeat;
  }

  .container {
    width: 99%;
    max-width: 99%;
    margin: 25px auto;
    padding: 10px;
    box-sizing: border-box;
  }

  /* nav bar already perfect, just keep mobile spacing */
  .top-nav {
    padding: 6px 0;
    top: 40px;
  }

  .top-nav a {
    font-size: 14px;
    letter-spacing: 1px;
  }

  .top-nav ul {
    gap: 20px;
  }

  /* MOBILE GRID — 3 across */
  .grid {
    grid-template-columns: repeat(3, 105px);
    gap: 15px;
    justify-content: center;
  }

  .album {
    width: 105px;
    height: 105px;
  }

  .thumbnail {
    width: 105px;
    height: 105px;
  }

  .overlay-text {
    width: 105px;
    height: 105px;
  }

  .overlay-text h2 {
    font-size: 10px;
  }

  .overlay-text p {
    font-size: 8px;
  }

  body {
    padding-top: 70px;
  }
}





  
  
  