/* === General Layout === */

body {
  background-color: #0B0B0B;
  font-family: Courier, monospace;
  margin: 0;
  padding: 0;
  color: white;
  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 white;
  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: white;
  text-decoration: none;
  padding: 6px 10px;
}

.nav-bar a:hover {
  background: white;
  color: black;
  transition: 0.2s;
}

/* === Image Styling === */

/* === Framed Image (White Border) === */
.framed-img {
  border: 2px solid white;
  display: block;
  margin: 20px auto; /* centers horizontally */
  max-width: 100%;
  image-rendering: pixelated;
}

/* === Unframed Image === */
.unframed-img {
  display: block;
  margin: 20px auto; /* centers horizontally */
  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;
}

/* Position the video inside the visible screen area of the frame image */
.framed-video {
  position: absolute;
  top: 105px;
  left: 105px;
  width: 400px;
  height: 300px;
  z-index: 1;
}

/* Overlay image for the frame itself */
.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 white;
  padding: 8px 16px;
  color: white;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  background-color: transparent;
  transition: 0.2s;
}

.footer-button:hover {
  background-color: white;
  color: black;
  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; /* Removed white border */
}

.blibo-right {
  flex: 1;
}

.blibo-video-wrapper {
  position: relative;
  width: 300px;
  height: 169px; /* 16:9 video aspect ratio */
  margin: 0 auto;
}

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