/* Reset & base theme */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  background-color: black;
  color: red;
  font-family: Verdana, sans-serif;
  min-height: 100vh;
  text-align: center;
}

/* Custom background image – change this URL to your own image */
body {
  background-image: url('https://example.com/your-background-image.jpg'); /* ← YOUR IMAGE HERE */
  background-size: cover;        /* Covers whole screen */
  background-position: center;   /* Centers image */
  background-repeat: no-repeat;  /* No tiling – use repeat if you want tiled */
  background-attachment: fixed;  /* Keeps image fixed while scrolling content */
}

/* Header GIF */
.header-gif {
  margin: 20px 0;
  text-align: center;
}

.header-gif img {
  max-width: 100%;
  height: auto;
}

/* Centered navbar (not full-width) */
.nav-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 0 0 25px 0;
}

.navbar {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 12px 30px;
  background: rgba(0, 0, 0, 0.8); /* Semi-transparent black – change opacity/color */
  border: 2px solid #ff0000;
  box-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000;
  max-width: fit-content; /* Only as wide as needed */
}

.navbar a {
  color: #ff6666;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  padding: 6px 12px;
  transition: all 0.2s;
}

.navbar a:hover {
  color: white;
  background: #660000;
  text-shadow: 0 0 8px #ff0000;
}

/* Main three-box layout */
.main-container {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  width: 90%;
  max-width: 1200px;
  gap: 25px;
  margin: 0 auto 40px;
}

/* Side boxes – narrower & equal */
.side-box {
  flex: 1 1 250px; /* Equal width, base ~250px */
  min-width: 220px;
  background: black;
  border: 2px solid #ff0000;
  padding: 20px;
  box-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000, 0 0 40px #ff0000;
}

/* Middle box – wider, scrollable */
.middle-box {
  flex: 2 1 500px; /* Wider than sides, base ~500px */
  min-width: 400px;
  background: black;
  border: 2px solid #ff0000;
  padding: 25px;
  box-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000, 0 0 40px #ff0000;
  max-height: 70vh; /* Adjust this to control visible area (smaller = more scrolling) */
  overflow-y: auto;
  overflow-x: hidden;
}

/* Scrollbar styling */
.middle-box::-webkit-scrollbar { width: 8px; }
.middle-box::-webkit-scrollbar-track { background: #111; }
.middle-box::-webkit-scrollbar-thumb { background: #ff0000; border-radius: 4px; }
.middle-box::-webkit-scrollbar-thumb:hover { background: #ff4444; }

/* Blog posts – full content, separated */
.blog-post {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px dashed #ff4444;
}

.blog-post h2 {
  margin: 0 0 8px;
  color: #ff6666;
}

.post-date {
  font-size: 0.9em;
  color: #ff9999;
  margin-bottom: 12px;
  font-style: italic;
}

.blog-img {
  max-width: 100%;
  height: auto;
  border: 1px solid #ff0000;
  margin: 15px 0;
  box-shadow: 0 0 10px rgba(255,0,0,0.4);
}

/* Mobile – stack vertically */
@media (max-width: 1100px) {
  .main-container {
    flex-direction: column;
    flex-wrap: wrap;
  }
  .side-box {
    min-width: 100%;
  }
}

/* Links */
a {
  color: #ff6666;
}

a:hover {
  color: white;
  background: #660000;
}
