body {
  margin: 0;
  background-color: #e0e0e0;
  font-family: 'Open Sans', sans-serif;
  /*border-radius: 15px;*/
  overflow: hidden;
}

/* */
/* ============================
   CHAIN MENU STYLING
   ============================ */

#main-menu {
  background-color: #333;
  padding: 10px;
}

#main-menu nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px; /* small spacing between links */
}

#main-menu ul {
  list-style: none;
  display: flex;
  gap: 5px;
  padding: 0;
  margin: 0;
}

#main-menu li {
  position: relative;
}

#main-menu li a {
  position: relative;
  display: inline-block;

  /* chain link background (replace with your PNG/SVG asset) */
  background-image: url('../images/chain-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 12px 30px;

  border-radius: 25px;
  clip-path: ellipse(60% 100% at 50% 50%);

  transition: background-color 0.3s, transform 0.2s, opacity 0.2s;
}

#main-menu li a:hover {
  background-color: rgba(255,255,255,0.2);
  transform: scale(1.1);
  opacity: 0.9;
}

/* connector bar (small rectangle between links) */
#main-menu li a::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-color: #000;
  border-radius: 2px;
  z-index: -1;
}

/* last button doesn’t get connector */
#main-menu li:last-child a::after {
  display: none;
}


/* */


.content-wrapper {
  max-width: 1000px;
  margin: 30px auto;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 15px;
}

.item-page, .article-content {
  background-color: white;
  border-radius: 12px;
  box-shadow: -5px 5px 10px rgba(0, 0, 0, 0.2);
  padding: 20px;
  margin-bottom: 20px;
}
