/* ===================================== */
/* WINDOWS XP STYLE WEBSITE CSS */
/* ===================================== */

body {
  margin: 0;
  padding: 0;

  font-family: Tahoma, Verdana, sans-serif;
  color: black;

  background: linear-gradient(to bottom, black, gray);
  overflow-x: hidden;
}

/* ===================================== */
/* TOP BAR */
/* ===================================== */

#topbar {
  height: 45px;

  background: linear-gradient(to bottom, #3a6ee8, #1d49aa);

  color: white;

  display: flex;
  align-items: center;

  gap: 10px;

  padding-left: 15px;

  font-weight: bold;

  border-bottom: 3px solid #0c2d83;

  box-shadow: 0 3px 6px rgba(0,0,0,0.5);
}

#topbar img {
  height: 28px;
  width: auto;
}

/* ===================================== */
/* MAIN LAYOUT */
/* ===================================== */

#container {
  width: 95%;
  max-width: 1100px;

  margin: 25px auto;

  display: flex;
  gap: 20px;

  align-items: flex-start;
}

#sidebar {
  width: 250px;
  flex-shrink: 0;
}

#content {
  flex: 1;
  min-width: 0;
}

/* ===================================== */
/* XP WINDOWS */
/* ===================================== */

.window {
  background: #d6dff7;

  border: 3px solid #245edc;

  margin-bottom: 20px;

  box-shadow: 6px 6px 0 rgba(0,0,0,0.4);

  overflow: hidden;

  position: relative;
  z-index: 2;
}

.titlebar {
  background: linear-gradient(to bottom, #4d8cf7, #245edc);

  color: white;

  padding: 8px 10px;

  font-weight: bold;
}

.window-content {
  background: #ece9d8;

  padding: 15px;

  color: black;
}

/* ===================================== */
/* NAV LINKS */
/* ===================================== */

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nav-links a {
  background: linear-gradient(to bottom, #ffffff, #dcdcdc);

  border: 2px solid #7f9db9;

  padding: 8px;

  font-weight: bold;

  transition: transform 0.15s ease;
}

.nav-links a:hover {
  transform: translateX(6px);
  background: #cde0ff;
}

/* ===================================== */
/* GALLERY / IMAGES */
/* ===================================== */

.center-gif {
  display: block;
  margin: 15px auto;
  max-width: 100%;
}

/* ===================================== */
/* GAMES */
/* ===================================== */

.game-card {
  display: flex;
  justify-content: center;

  padding: 10px;

  background: #ece9d8;

  border: 2px inset #b9b39f;
}

.game-card iframe {
  width: 100%;
  max-width: 860px;

  aspect-ratio: 16 / 9;
  height: auto;

  border: 2px solid #245edc;
}

/* ===================================== */
/* 🌤 CLEAN RANDOM CLOUD SYSTEM (NO GRID) */
/* ===================================== */

.cloud {
  position: fixed;
  background-image: url("/cloud.png");
  background-size: contain;
  background-repeat: no-repeat;

  pointer-events: none;

  opacity: 0.25;

  z-index: 0;

  animation: floatCloud 40s ease-in-out infinite;
}

/* make random feel by varying animation delays */
.c1 { width: 120px; height: 70px; top: 10%; left: 10%; animation-delay: 0s; }
.c2 { width: 180px; height: 100px; top: 25%; left: 70%; animation-delay: 5s; }
.c3 { width: 100px; height: 60px; top: 60%; left: 30%; animation-delay: 2s; }
.c4 { width: 160px; height: 90px; top: 75%; left: 80%; animation-delay: 7s; }
.c5 { width: 140px; height: 80px; top: 45%; left: 5%; animation-delay: 3s; }

@keyframes floatCloud {
  0%   { transform: translate(0px, 0px); }
  25%  { transform: translate(20px, -10px); }
  50%  { transform: translate(-15px, 10px); }
  75%  { transform: translate(10px, 5px); }
  100% { transform: translate(0px, 0px); }
}

/* ===================================== */
/* THEMES */
/* ===================================== */

.home {
  background: linear-gradient(to bottom, #1e5eff, #b9dcff);
  background-attachment: fixed;
}

.cats {
  background-image: url("/fur.jpg");
}

.games {
  background-image: url("/water.jpg");
  background-size: cover;
  background-position: center;
}
.memes {
  background: linear-gradient(to bottom, black, gray);
  background-attachment: fixed;
}

/* ===================================== */
/* MOBILE */
/* ===================================== */

@media (max-width: 900px) {

  #container {
    flex-direction: column;
  }

  #sidebar {
    width: 100%;
  }

  .game-card iframe {
    max-width: 100%;
  }
}
input {
  width: 90%;
  padding: 6px;

  border: 2px inset #7f9db9;
  background: #ffffff;
}

button {
  padding: 6px 10px;

  background: linear-gradient(to bottom, #ffffff, #dcdcdc);

  border: 2px outset #7f9db9;

  cursor: pointer;

  font-weight: bold;
}

button:active {
  border: 2px inset #7f9db9;
}

.guest-entry {
  background: #ece9d8;

  border: 1px solid #7f9db9;

  padding: 5px;
  margin-bottom: 5px;
}