/* ===== Base styles ===== */
body {
  background-color: rgb(69, 104, 130);
  color: rgb(227, 227, 227);
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  margin: 0;
  padding: 20px;
  box-sizing: border-box;
}

/* Main centered container */
.main {
  width: 100%;
  max-width: 1100px;   /* keeps it centered on big screens */
  display: flex;
  gap: 24px;
}

/* Content */
.content {
  flex: 3;
  min-width: 0; /* prevents overflow */
}

/* Sidebar */
.sidebar {
  flex: 1;
  position: sticky;
  top: 20px;
  align-self: flex-start;
  background-color: rgb(27, 60, 83);
  padding: 15px;
  border-radius: 10px;
}

/* Images */
.prototype-img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

/* Links */
a {
  text-decoration: none;
  color: rgb(169, 204, 200);
}

/* Badges */
.badges {
  background-color: rgb(27, 60, 83);
  padding: 10px;
  border-radius: 15px;
}

.badge-text {
  font-size: 0.8em;
}

/* Mobile / Tablet */
@media (max-width: 768px) {
  .main {
    flex-direction: column; /* stack */
  }

  .sidebar {
    position: static; /* disable sticky */
    order: -1;        /* sidebar first */
  }
}
