* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Verdana", sans-serif;
  background-image: url("images/backstar.gif");
  background-repeat: repeat;
  background-position: center;
  color: #E6F4FF;
  line-height: 1.6;
}

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

a {
  color: #7CC7FF;
  text-decoration: none;
}

a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

/* =========================
   CONTAINER
   ========================= */

#container {
  max-width: 1100px;
  margin: 20px auto;
  padding: 10px;
}


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

#topBar {
  background: #0B1220;
  border: 1px solid #B0DFFC;
  border-radius: 12px;
  padding: 8px 12px;
  margin-bottom: 10px;

  color: #B0DFFC;
  font-family: "Nunito", "Arial Rounded MT Bold", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;  
  letter-spacing: 0.5px;

  box-shadow:
    0 0 10px rgba(176, 223, 252, 0.15),
    inset 0 0 8px rgba(176, 223, 252, 0.05);

  position: relative;
  overflow: hidden;
}
#topBar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.03),
    rgba(255,255,255,0.03) 1px,
    transparent 2px,
    transparent 4px
  );
  pointer-events: none;
}

/* =========================
   HEADER
   ========================= */

#header {
  height: 200px !important;
  border-radius: 18px;
  border: 2px solid #B0DFFC;
  background-image: url("images/IMG_0707.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

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

#flex {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
}

/* =========================
   SIDEBARS
   ========================= */

aside {
  width: 220px;
}

#leftSidebar, #rightSidebar {
  background: #0F172A;
  border: 2px solid #B0DFFC;
  border-radius: 18px;
  padding: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

/* small content boxes */
.box {
  background: #0F172A;
  border: 2px solid #B0DFFC;
  border-radius: 14px;
  padding: 8px;
  margin-bottom: 10px;
}
.boxy {
  background-image: url("images/spacesnep.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 2px solid #B0DFFC;
  border-radius: 14px;
  padding: 8px;
  margin-bottom: 10px;
  width: 186px;
  height: 200px;
}

/* =========================
   HEADINGS
   ========================= */

h2, h3, h4 {
  color: #D6F0FF;
  font-family: "Verdana", sans-serif;
}

/* =========================
   MAIN CONTENT
   ========================= */

main {
  flex: 1;
  background: #0F172A;
  border: 2px solid #B0DFFC;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* images */
img {
  border-radius: 12px;
  max-width: 100%;
}
img.noRound {
  border-radius: 0 !important;
}
/* badge spacing */
main img {
  margin: 3px;
}

/* =========================
   FACT BAR TEXT
   ========================= */

#factDisplay {
  color: #FFFFFF;
}

/* =========================
   HOVER EFFECTS
   ========================= */

.box:hover {
  transform: translateY(-2px);
  transition: 0.2s;
  box-shadow: 0 6px 16px rgba(16, 118, 196, 0.2);
}

/* =========================
   SCROLLBAR
   ========================= */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0F172A;
}

::-webkit-scrollbar-thumb {
  background: #B0DFFC;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #1076C4;
}

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

@media (max-width: 900px) {
  #flex {
    flex-direction: column;
  }

  aside {
    width: 100%;
  }
}