/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

body {
  background-image: url("/background.webp");
  background-size: cover;        /* fills the screen */
  background-position: center;   /* centers image */
  background-repeat: no-repeat;  /* no tiling */
  background-attachment: fixed;  /* stays still when scrolling */

  font-family: Tahoma, Arial, sans-serif;
  color: #e6f2f1;
  margin: 0;
}
h1 {
  text-align: center;
  margin: 10px auto 10px; /* top | sides | bottom */
  font-size: 3rem;
  letter-spacing: 2px;
}
.casual-window {
  position: fixed;
  left: 20px;
  bottom: 150px;          /* sits above the 56px taskbar */
  z-index: 50;
  display: block;
}

.casual-image {
  width: 260px;          /* adjust size */
  height: auto;
  display: block;
  cursor: pointer;
}

body {
  font-family: Tahoma, Arial, sans-serif;
}
h2 {
  text-align: center;
  margin-top: 8px;
  font-size: 1rem;
  letter-spacing: 1px;
}
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.popup-image {
  max-width: 90vw;
  max-height: 80vh;
  cursor: pointer;
}
.top-banner {
  width: 100%;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
}

.banner-image {
  max-width: 50%;
  height: auto;
}
.top-banner {
  border-bottom: 2px solid black;
}
.top-banner {
  z-index: 5;
}
.top-banner {
  position: sticky;
  top: 0;
  z-index: 999;
}
.banner-image {
  image-rendering: pixelated;
}
.banner-image {
  max-width: 468px;   /* ← change this number */
  height: auto;       /* keeps proportions */
}
/* Make room so content doesn't hide behind the taskbar */
body {
  padding-bottom: 56px;
}

/* XP Taskbar */
.xp-taskbar {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  z-index: 999;

  /* XP-ish blue */
  background: linear-gradient(to top, #0a2e78, #2b62d6);
  border-top: 2px solid rgba(255,255,255,0.25);
}

/* Start button */
.xp-start {
  height: 40px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  font-weight: bold;
  color: white;
  border-radius: 18px;

  background: linear-gradient(to bottom, #3ac43a, #0f8f15);
  border: 1px solid rgba(0,0,0,0.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
  user-select: none;
  cursor: pointer;
}

/* Task area */
.xp-tasks {
  flex: 1;
  display: flex;
  gap: 8px;
  overflow: hidden;
}

.xp-task {
  height: 38px;
  min-width: 160px;
  max-width: 320px;
  padding: 0 12px;
  display: flex;
  align-items: center;

  color: white;
  border-radius: 6px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(0,0,0,0.35);
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.xp-task.active {
  background: rgba(255,255,255,0.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
}

.xp-clock {
  font-variant-numeric: tabular-nums;
}
.site-logo {
  max-width: 700px;
  height: auto;
  display: block;
  margin: 0 auto;   /* ← THIS centers it */
}

.gooning-button {
  font-size: 0.7rem;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid black;
  color: black;
  cursor: pointer;
  white-space: nowrap;

  animation: goon-flash 1s infinite alternate;
}

@keyframes goon-flash {
  0% {
    background-color: #39ff14; /* neon green */
  }
  100% {
    background-color: #8a2be2; /* purple */
    color: white;
  }
}

.socials-window {
  position: relative;
  width: 600px;              /* window size */
  margin: 60px auto;         /* centers horizontally */
}

/* The XP window image */
.socials-frame {
  width: 100%;
  height: auto;
  display: block;
}

/* Content inside the window */
.socials-content {
  position: absolute;
  top: 42px;                 /* below the blue title bar */
  left: 10px;
  right: 10px;
  bottom: 10px;

  background: white;
  padding: 12px;
  overflow-y: auto;

  color: black;
  font-family: Tahoma, Arial, sans-serif;
}

.xp-tray {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  padding: 6px 10px;

  color: white;
  border-radius: 6px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(0,0,0,0.35);
}

.tray-bottom {
  display: flex;
  align-items: center;
  gap: 10px;
}
.xp-tray {
  padding-left: 30px;   /* increase this to move further left */
}
.herself-window {
  position: fixed;
  top: 200px;        /* adjust down from top banner */
  right: 20px;      /* distance from right edge */
  z-index: 60;
  display: block;
}

.herself-image {
  width: 280px;     /* adjust size */
  height: auto;
  display: block;
  cursor: pointer;
}

