/* EMiR'iN SiTESi - 1999 STYLE SHEET */
body {
  background-color: #000080;
  color: #FFFF00;
  font-family: "Comic Sans MS", "Comic Sans", cursive;
  margin: 0; padding: 0;
}
marquee {
  background-color: #FF0000;
  color: #FFFF00;
  font-size: 18px;
  font-weight: bold;
  padding: 5px;
  border-bottom: 3px solid #FFFF00;
}
.main-table {
  width: 820px;
  margin: 0 auto;
  background-color: #000066;
  border: 4px ridge #C0C0C0;
}
.header {
  text-align: center;
  background: linear-gradient(#FF00FF, #0000FF, #FF00FF);
  padding: 10px;
  border-bottom: 3px solid #FFFF00;
}
.header h1 {
  font-family: "Comic Sans MS", cursive;
  font-size: 38px;
  margin: 0;
  animation: rainbow 0.5s infinite;
}
@keyframes rainbow {
  0%   { color: #FF0000; }
  16%  { color: #FF8800; }
  33%  { color: #FFFF00; }
  50%  { color: #00FF00; }
  66%  { color: #0000FF; }
  83%  { color: #FF00FF; }
  100% { color: #FF0000; }
}
.blink { animation: blink 0.8s step-end infinite; }
@keyframes blink {
  0%, 100% { visibility: visible; }
  50% { visibility: hidden; }
}
.nav-bar {
  background-color: #004400;
  text-align: center;
  padding: 6px;
  border-top: 2px solid #00FF00;
  border-bottom: 2px solid #00FF00;
  flex-wrap: wrap;
  display: flex;
  justify-content: center;
  gap: 4px;
}
.nav-bar a {
  color: #000;
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
  border: 2px outset #C0C0C0;
  padding: 3px 10px;
  background-color: #C0C0C0;
  white-space: nowrap;
}
.nav-bar a:hover { background-color: #FFFF00; }
.nav-bar a.active { background-color: #00FF00; border: 2px inset #C0C0C0; }
.layout { display: flex; }
.sidebar {
  width: 175px; min-width: 175px;
  background-color: #000044;
  border-right: 3px ridge #C0C0C0;
  padding: 8px;
  font-size: 12px;
}
.main-content { flex: 1; padding: 15px; min-width: 0; }
.sidebar-box {
  border: 3px ridge #FF00FF;
  background-color: #000033;
  padding: 7px;
  margin-bottom: 8px;
  text-align: center;
}
.sidebar-box h3 {
  color: #FF00FF;
  font-size: 12px;
  margin: 0 0 4px;
  text-transform: uppercase;
}
.section-title {
  font-size: 20px;
  color: #FF00FF;
  text-align: center;
  border-bottom: 2px solid #FF00FF;
  margin-bottom: 12px;
  text-shadow: 2px 2px #000;
}
.star-divider { text-align: center; font-size: 18px; color: #FFD700; margin: 8px 0; }
.hit-digit {
  background: #001100; color: #00FF00;
  font-family: "Courier New", monospace;
  font-size: 20px; font-weight: bold;
  padding: 2px 4px; border: 1px solid #004400;
  margin: 1px; display: inline-block;
}
.footer {
  text-align: center;
  background-color: #000033;
  border-top: 3px ridge #C0C0C0;
  padding: 10px;
  font-size: 12px;
  color: #C0C0C0;
}
.music-note { font-size: 16px; animation: bounce 0.5s ease infinite alternate; display: inline-block; }
@keyframes bounce { from { transform: translateY(0); } to { transform: translateY(-4px); } }
.spinning { display: inline-block; animation: spin 2s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
  margin: 10px 0;
}
.photo-card {
  border: 3px ridge #FFD700;
  background: #000033;
  padding: 5px;
  text-align: center;
  font-size: 11px;
  color: #FFFF00;
}
.photo-card img {
  width: 100%; height: 110px;
  object-fit: cover;
  display: block;
  margin-bottom: 4px;
  border: 1px solid #444;
  cursor: pointer;
}
.photo-card img:hover { border-color: #FF00FF; }
.photo-date { color: #00FFFF; font-size: 10px; }

/* lightbox */
#lightbox {
  display: none; position: fixed; top:0; left:0;
  width:100%; height:100%; background:rgba(0,0,0,0.9);
  z-index:9999; align-items:center; justify-content:center; flex-direction:column;
}
#lightbox.open { display: flex; }
#lightbox img { max-width:90vw; max-height:80vh; border:4px ridge #FFD700; }
#lightbox-cap { color:#FFFF00; font-size:14px; margin-top:8px; }
#lightbox-close {
  position:absolute; top:15px; right:20px;
  color:#FFF; font-size:28px; cursor:pointer; font-weight:bold;
}

.retro-btn {
  background: #C0C0C0; border: 2px outset #FFF;
  font-family: "Comic Sans MS", cursive; font-weight: bold;
  padding: 4px 14px; cursor: pointer; font-size: 12px;
}
.retro-btn:active { border: 2px inset #FFF; }

.under-construction {
  text-align: center; border: 3px solid #FF8800;
  background-color: #111100; padding: 12px; margin: 12px 0;
}
.guestbook-input {
  background: #000; color: #00FF00;
  border: 2px inset #C0C0C0;
  font-family: "Comic Sans MS", cursive;
  width: 95%; margin: 3px 0; padding: 3px;
}
.gb-entry { border-top: 1px dashed #00FF00; padding: 5px 0; color: #00FF00; font-size:13px; }
.gb-author { color: #FFFF00; font-weight: bold; }


/* PIKSELASYoN */
.photo-card img {
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  filter: contrast(1.08) brightness(0.96);
  transition: filter 0.3s;
}
.photo-card:hover img {
  filter: contrast(1.12) brightness(1.02);
}
#lightbox img { image-rendering: auto !important; filter: none !important; }
