@import url("https://fonts.googleapis.com/css2?family=Comic+Neue:wght@400;700&display=swap");
/* Comic Font Styling & Base Setup */
* {
  box-sizing: border-box;
}

body {
  font-family: "Comic Neue", cursive, sans-serif;
  background-color: #fff9e6; /* Soft warm comic background */
  color: #1a1a1a;
  margin: 0;
  padding: 0;
}

/* Orange Header Style */
.comic-header {
  background-color: #FF7043; /* Vibrant Orange */
  color: #ffffff;
  padding: 22px 20px;
  border-bottom: 4px solid #000000;
  box-shadow: 0 4px 0px rgba(0, 0, 0, 0.25);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
}

.emblem {
  font-size: 45px;
}

.comic-header h1 {
  margin: 0;
  font-size: 30px;
  text-shadow: 2px 2px 0px #000000;
  letter-spacing: 0.5px;
}

.comic-header p {
  margin: 5px 0 0 0;
  font-size: 16px;
  font-weight: bold;
  color: #fffde7;
  text-shadow: 1px 1px 0px #000000;
}

/* Main Container */
.container {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
  display: flex;
  gap: 25px;
}

/* Sidebar Navigation */
.sidebar {
  width: 32%;
  background-color: #ffffff;
  padding: 20px;
  border: 3px solid #000000;
  border-radius: 12px;
  box-shadow: 5px 5px 0px #000000;
  height: fit-content;
}

.sidebar-heading {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 19px;
  border-bottom: 2px dashed #000000;
  padding-bottom: 8px;
  color: #d84315;
}

.nav-btn {
  display: block;
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 12px;
  background-color: #ffffff;
  border: 2px solid #000000;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: bold;
  text-align: left;
  cursor: pointer;
  box-shadow: 2px 2px 0px #000000;
  transition: transform 0.15s ease, background-color 0.2s ease, box-shadow 0.15s ease;
}

.nav-btn:hover {
  background-color: #ffe0b2;
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0px #000000;
}

.nav-btn.active-btn {
  background-color: #ff9800;
  color: #000000;
  transform: translate(2px, 2px);
  box-shadow: 0px 0px 0px #000000;
}

/* Content Panel */
.content-area {
  width: 68%;
}

.scheme-section {
  display: none;
  background-color: #ffffff;
  padding: 28px;
  border: 3px solid #000000;
  border-radius: 12px;
  box-shadow: 6px 6px 0px #000000;
}

/* Smooth Slide & Fade Transition Animation */
.scheme-section.active {
  display: block;
  animation: comicSlideEntry 0.45s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

@keyframes comicSlideEntry {
  0% {
    opacity: 0;
    transform: translateY(25px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.section-title {
  margin-top: 0;
  font-size: 24px;
  color: #e65100;
  border-bottom: 3px solid #000000;
  padding-bottom: 8px;
}

/* Highlight Boxes with Black Borders and Soft Pastel Backgrounds */
.highlight-box {
  border: 3px solid #000000;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 18px;
  box-shadow: 4px 4px 0px #000000;
}

.highlight-box h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 17px;
  border-bottom: 2px solid #000000;
  display: inline-block;
  padding-bottom: 3px;
}

.highlight-box p {
  margin: 6px 0 0 0;
  line-height: 1.6;
  font-size: 14.5px;
}

.highlight-box ul {
  margin: 8px 0 0 0;
  padding-left: 20px;
  line-height: 1.7;
  font-size: 14px;
}

/* Pastel Palettes */
.bg-pink {
  background-color: #ffcdd2;
}

.bg-blue {
  background-color: #bbdefb;
}

.bg-yellow {
  background-color: #fff9c4;
}

.bg-green {
  background-color: #c8e6c9;
}

/* Action Bars & Buttons */
.action-bar {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 2px dashed #000000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.action-bar p {
  margin: 0;
  font-size: 13.5px;
}

.official-btn {
  display: inline-block;
  align-self: flex-start;
  padding: 10px 18px;
  background-color: #2e7d32;
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  border: 2px solid #000000;
  border-radius: 8px;
  box-shadow: 3px 3px 0px #000000;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.official-btn:hover {
  background-color: #1b5e20;
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px #000000;
}

/* Responsive Viewports */
@media (max-width: 820px) {
  .container {
    flex-direction: column;
  }
  .sidebar, .content-area {
    width: 100%;
  }
  .header-inner {
    flex-direction: column;
    gap: 5px;
  }
}