/* Main content */
body {
  background-color: #e6f4e6; /* same as nav bar */
  margin: 0; /* optional: remove default body margin */
  font-family: "Times New Roman", Times, serif; /* optional: match nav font */
}

.content {
  margin-left: 300px; /* gives space so text doesn’t overlap the sidebar */
  padding: 20px;
  max-width: 800px;
}

.content h1 {
  text-align: center;
  font-family: Georgia, serif;
  color: #2f4f2f;
}

.content h2 {
  margin-top: 30px;
  color: #3a5f3a;
}

.content p, .content ul {
  line-height: 1.6;
  font-size: 15px;
}

/* Container styling */
.col-1 {
  position: relative; /* not fixed, so it scrolls with page */
  width: 250px;       /* set your desired width */
  float: left;        /* stick it to the side */
  height: auto;       /* grows with content */
  overflow: visible;  /* no scrollbar inside */
  background-color: #e6f4e6; /* soft light green */
  padding: 20px;
  font-family: "Times New Roman", Times, serif;
  border: 5px solid #b2d8b2;
  box-sizing: border-box;  /* ensures border doesn’t add width */
  
}

/* Inner container */
.container2 {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Navigation list */

#nav-placeholder {
  margin-bottom: 0; /* prevent nav from being pushed */
  width: 200px; /* or whatever width your nav bar needs */
  flex-shrink: 0;
}

.layout {
  display: flex;
}

.content-wrapper {
  margin-top: 40px; /* creates space below nav bar */
  flex-grow: 1;
  padding-left: 20px; /* optional spacing */
  
}

.section-title {
  margin-top: 0;
  margin-bottom: 20px;
}


.tab {
  font-size: 10px;
  line-height: 1.2;
  list-style-type: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

/* Each list item */
.tab li {
  margin: 6px 0;
  text-align: center;
}

/* Link styling */
.tab li a {
  text-decoration: none;
  color: #2f4f2f;
  background-color: #d0e8d0;
  padding: 6px 10px;
  border-radius: 8px;
  display: inline-block;
  transition: all 0.3s ease;
  font-size: 12px;
}

/* Hover effect */
.tab li a:hover {
  background-color: #b2d8b2;
  color: #1c3c1c;
  transform: scale(1.05);
}

/* Section headers (instead of <center>) */
.tab li center {
  font-weight: bold;
  color: #3a5f3a;
  font-size: 13px;
  margin: 12px 0 4px;
}

/* Images inside links or headers */
.tab img {
  vertical-align: middle;
  margin: 0 4px;
  max-width: 100%;
  height: auto;
}

/* Audio image styling */
.container2 img[onclick] {
  margin-top: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(100, 150, 100, 0.3);
  cursor: pointer;
}

.button-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 10px;
}

.button-wall img {
  width: 88px;
  height: 31px;
  image-rendering: auto;
  transition: transform 0.2s ease;
}

.button-wall img:hover {
  transform: scale(1.1);
}

/* THIS IS THE 9-PIC CHOSO PHOTO GRID IN ANIME.HTML */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
    justify-content: center;
  padding: 40px 0;
  text-align: center;
}

.photo-card {
  width: 200px;
  height:200px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.photo-card img {
 width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.3s ease;
}

.photo-card .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  color: white;
  font-size: 18px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.5);
  transition: opacity 0.3s ease;
}

.photo-card:hover img {
  filter: blur(4px);
}

.photo-card:hover .overlay {
  opacity: 1;
}

/* PLACE IMAGES/GIFS IN INDEX.HTML HERE */
.inline-gif {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin-right: 8px;
}


