/* Cowboy Bebop Aesthetic */
body {
  margin: 0;
  padding: 0;
  font-family: 'Courier New', monospace;
  color: #e0d9b0;
  background: radial-gradient(circle at 20% 20%, #0a0a0a, #000);
  background-image: url('starfield.jpg'); /* ← your file name here */
  background-repeat: no-repeat;            /* prevents tiling */
  background-size: cover;                  /* scales to fill the screen */
  background-attachment: fixed;            /* keeps it still while scrolling */
  background-position: center center;      /* centers the image */
  font-family: 'Courier New', monospace;
  color: #fff;                             /* text readable over dark bg */
}


/* Header */
header {
  text-align: center;
  background: #7d0c0c;
  padding: 40px 0;
  border-bottom: 4px solid #f2b705;
  text-shadow: 2px 2px #000;
}

header h1 {
  font-size: 2.5em;
  color: #f2b705;
}

header p {
  font-size: 1.2em;
  color: #e6e6e6;
}

/* Navigation */
nav {
  background: #002b36;
  text-align: center;
  padding: 10px 0;
  border-bottom: 2px solid #f2b705;
}

nav a {
  color: #f2b705;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
}

nav a:hover {
  color: #ff4444;
  text-shadow: 0 0 8px #f2b705;
}

/* Layout */
.container {
  display: flex;
  max-width: 1000px;
  margin: 30px auto;
  gap: 20px;
}

/* Sidebar */
aside {
  flex: 1;
  background: #111;
  border: 2px solid #f2b705;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 0 10px #f2b70540;
}

.about-gif {
  width: 150px;
  height: auto;
  margin: 10px auto;
  border-radius: 10px;
}

/* Scrollable posts wrapper */
.scroll-wrapper {
  flex: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

/* Scroll buttons */
.scroll-btn {
  background: #7d0c0c;
  border: 2px solid #f2b705;
  color: #f2b705;
  font-weight: bold;
  cursor: pointer;
  width: 90%;
  padding: 10px;
  border-radius: 6px;
  box-shadow: 0 0 5px #f2b70580;
  transition: all 0.2s ease;
}

.scroll-btn:hover {
  background: #f2b705;
  color: #000;
}

/* Posts container */
main#posts {
  flex: 1;
  width: 100%;
  max-height: 500px;
  overflow-y: auto;
  border-radius: 10px;
  padding-right: 5px;
}

/* Individual posts */
.post {
  background: #1a1a1a;
  border: 2px solid #f2b705;
  border-radius: 10px;
  padding: 12px 16px;
  margin: 15px auto;
  cursor: pointer;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.post:hover {
  border-color: #ff4444;
  box-shadow: 0 0 12px #f2b70590;
}

.post-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.45s ease, opacity 0.35s ease;
  margin-top: 8px;
}

.post.expanded .post-content {
  opacity: 1;
}

.post-content img {
  display: block;
  margin: 10px auto;
  max-width: 90%;
  border: 2px solid #7d0c0c;
  border-radius: 8px;
}

/* Contact box */
.contact-box {
  max-width: 900px;
  margin: 30px auto;
  background: #111;
  border: 2px solid #f2b705;
  padding: 20px;
  border-radius: 10px;
}

.contact-box input,
.contact-box textarea,
.contact-box button {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  background: #000;
  color: #f2b705;
  border: 1px solid #f2b705;
  font-family: 'Courier New', monospace;
}

.contact-box button {
  background: #7d0c0c;
  color: #f2b705;
  font-weight: bold;
  cursor: pointer;
  border: 2px solid #f2b705;
}

.contact-box button:hover {
  background: #f2b705;
  color: #000;
}

/* Footer */
footer {
  text-align: center;
  padding: 15px 0;
  background: #7d0c0c;
  color: #f2b705;
  border-top: 3px solid #f2b705;
  margin-top: 40px;
  font-size: 0.9em;
}

/* Responsive */
@media (max-width: 700px) {
  .container {
    flex-direction: column;
    padding: 0 10px;
  }

  aside {
    order: 1;
  }

  .scroll-wrapper {
    order: 0;
  }
}
