body {
    background-color: #008080;
    font-family: "Kode Mono", monospace;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

@import url('https://fonts.googleapis.com/css2?family=Kode+Mono:wght@400..700&display=swap');

.kode-mono-madebypixel {
  font-family: "Kode Mono", monospace;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.window98 {
    width: 80%;
    max-width: 800px;
    margin: 40px auto;
    border: 2px solid #000;
    box-shadow: 4px 4px #ccc;
    background-color: #c0c0c0;
}

.title-bar {
    background: linear-gradient(to bottom, #000080, #0000cd);
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.window-content {
    background-color: #c0c0c0;
    border-top: 2px solid #fff;
    padding: 20px;
}

.nav-buttons .retro-btn {
    border: 2px outset #fff;
    margin: 5px;
    font-weight: bold;
    font-size: 0.9rem;
    padding: 1px;
}

.video-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
    margin-bottom: 8px;
}

.video-placeholder {
    width: 120px;
    height: 80px;
    background-color: #808080;
    border: 2px inset #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-weight: bold;
}

.video-embed {
    flex: 1 1 300px;
    height: 200px;
    border: 2px inset #fff;
    background-color: #000;
    margin-bottom: 13px;
}

.video-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-title {
    font-size: 12px;
    margin-top: 3px;
    text-align: center;
}

/* Gallery grid */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 15px;
}

.photo-item {
  border: 2px inset #fff;
  padding: 4px;
  background-color: #808080;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.photo-item img {
  display: block;
  width: 100%;
  height: auto;
}

.photo-title {
  text-align: center;
  margin-top: 5px; /* space below the thumbnail */
  font-size: 14px;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.7); /* x-offset, y-offset, blur, color */
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.85);
  display: none; /* Hidden by default */
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 1000;
}


.overlay img {
  max-width: 90vw;
  max-height: 90vh;
  border: 4px outset #fff;
  box-shadow: 0 0 20px #000;
}

.overlay-title {
  color: #fff;
  margin-top: 10px;
  font-size: 18px;
  text-align: center;
}


/* Close button */
.close-overlay {
  position: fixed;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
}

.navigation-tutorial {
    font-size: 13px;
}

.click-on-photo {
    margin-bottom: -7px;
}

.welcoming {
    font-size: 19px;
}