/* === General Layout for Story Posts === */
body {
  background-color: #121314;
  color: #ffffff;
  font-family: Courier, monospace;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* === Title Image (No Border) === */
.title-image {
  max-width: 100%;
  height: auto;
  margin-top: 20px;
  image-rendering: pixelated;
  display: block;
}

/* === Hollow White Frame Box for Text/Content === */
.hollow-box {
  border: 2px solid #ffffff;
  padding: 16px;
  margin: 20px auto;
  width: 90%;
  max-width: 900px;
  box-sizing: border-box;
  background-color: transparent;
}

/* === Navigation Bar Styling === */
.nav-bar {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
}

.nav-bar a {
  color: #ffffff;
  text-decoration: none;
  padding: 6px 10px;
}

.nav-bar a:hover {
  background: #ffffff;
  color: #000000;
  transition: 0.2s;
}

/* === Image Styling === */
.framed-img {
  border: 2px solid #ffffff;
  display: block;
  margin: 20px auto;
  max-width: 100%;
  image-rendering: pixelated;
}

.unframed-img {
  display: block;
  margin: 20px auto;
  max-width: 100%;
  image-rendering: pixelated;
}

/* === Embedded Video in Decorative Frame === */
.video-frame-container {
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

.video-wrapper {
  position: relative;
  width: 612px;
  height: 612px;
}

.framed-video {
  position: absolute;
  top: 105px;
  left: 105px;
  width: 400px;
  height: 300px;
  z-index: 1;
}

.video-frame-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 612px;
  height: 612px;
  z-index: 2;
  image-rendering: pixelated;
  pointer-events: none;
}

/* === Footer Navigation Buttons === */
.footer-nav {
  display: flex;
  justify-content: space-between;
  width: 90%;
  max-width: 900px;
  margin: 40px auto 60px;
}

.footer-button {
  border: 2px solid #ffffff;
  padding: 8px 16px;
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  background-color: transparent;
  transition: 0.2s;
}

.footer-button:hover {
  background-color: #ffffff;
  color: #000000;
  cursor: pointer;
}

/* === Responsive Tweaks === */
@media (max-width: 600px) {
  .title-image {
    width: 95%;
  }

  .footer-nav {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}

/* === Blibo Clickable Video Trigger === */
.blibo-container {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  width: 90%;
  max-width: 900px;
  margin: 40px auto;
}

.blibo-left {
  text-align: center;
  max-width: 300px;
}

.blibo-left img {
  cursor: pointer;
  max-width: 100%;
  image-rendering: pixelated;
  border: none;
}

.blibo-right {
  flex: 1;
}

.blibo-video-wrapper {
  position: relative;
  width: 300px;
  height: 169px;
  margin: 0 auto;
}

.blibo-video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}


/* === Dropdown Box === */
.dropdown-box {
  width: 90%;
  max-width: 900px;
  margin: 20px auto;
  font-family: Courier, monospace;
}

/* Toggle button */
.dropdown-toggle {
  width: 100%;
  background-color: black;
  color: white;
  border: 2px solid white;
  padding: 12px;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  text-transform: uppercase;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  padding: 16px;
  border: 2px solid white;
  border-top: none;
  background-color: transparent;
}

/* Toggle visible on click using input hack (with JavaScript you can auto toggle, but here's a CSS-only fallback) */
.dropdown-box.open .dropdown-content {
  display: block;
}

