
/* RESET & BASE */
* {
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  background: #fff;
  font-family: system-ui, sans-serif;
  font-size: clamp(0.9rem, 1vw + 0.5rem, 1.1rem);
  line-height: 1.5;
  color: #000;
  margin: 0;
  padding:0;
  text-align:left;
}

/* IMAGES */
img {
    border: 1;
    border-color: #fff;
  max-width: 100%;
  max-height: 90vh;
  height: auto;
}

/* LINKS */
a {
  color: #00f;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  color: #000;
}

/* HEADER */
#header {
  padding: 1rem 0 1.5rem 0;
  text-align: center;
}
#header h1 {
  font-size: clamp(1.5rem, 2vw + 1rem, 2.2rem);
  font-weight: 300;
  letter-spacing: -0.05rem;
}
#header h2 {
  color: #000;
  font-size: clamp(1rem, 1vw + 0.5rem, 1.2rem);
  font-weight: 200;
  letter-spacing: -0.05rem;
  line-height: 1.2;
}
/* ===== NAVIGATION MENU ===== */

#menu {
  background: #00a;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start /* space-between; /* menu items left, toggle right */
  padding: 0.5rem 1rem;
}

/* MENU LIST */
#menu ul {
  list-style: none;
  display: flex;
  justify-content: left; /*flex-start;  left align */
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

/* MENU LINKS */
#menu ul li a {
  color: #eee;
  text-decoration: none;
  font-weight: 400;
  font-size: clamp(0.9rem, 1vw + 0.4rem, 1rem);
  letter-spacing: -0.03rem;
  padding: 0.5rem 0.75rem;
  display: block;
  transition: background 0.3s, color 0.3s;
}

#menu ul li a:hover {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

/* HAMBURGER TOGGLE (Mobile) */
#menu .toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto; /* ensures it stays right */
}

/* MOBILE STYLES */
@media (max-width: 768px) {
  #menu {
    flex-wrap: wrap;
  }

  #menu ul {
    flex-direction: column;
    width: 100%;
    display: none; /* hidden by default */
    background: #00a;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
  }

  /* When menu is active */
  #menu.active ul {
    display: flex;
    max-height: 500px; /* enough space to reveal all items */
  }

  #menu .toggle {
    display: block;
  }
}

/* CONTENT AREA */
#content {
  padding: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 2%;
}

#content, .left, .right {
  outline: 1px dashed red;
}

.left {
  flex: 1 1 20%;
  min-width: 220px;
  padding: 0.75rem;
  border-right: 1px solid #bbb;
  font-size: clamp(0.8rem, 0.8vw + 0.4rem, 0.95rem);
}

.left ul {
  list-style: square;
  padding-left: 1.25rem;
  color: #57626a;
}

.left h2 {
  font-size: clamp(1rem, 1vw + 0.4rem, 1.2rem);
  color: #666;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.right {
  flex: 1 1 75%;
  text-align: left;
  min-width: 220px;
}

.right h2 {
  color: #00f;
  font-size: clamp(1.2rem, 1.5vw + 0.6rem, 1.6rem);
  font-weight: 400;
  padding: 0.5rem 0;
}

/* FOOTER */
#footer {
  background: #ffffe1;
  border-top: 3px solid #57626a;
  margin-top: 1.25rem;
  text-align: center;
  color: #333;
  font-size: clamp(0.75rem, 0.8vw + 0.4rem, 0.9rem);
  padding: 1rem;
}

/* RESPONSIVE STACKING */
@media (max-width: 768px) {
  #content {
    flex-direction: column;
  }
  .left {
    border-right: none;
  }
}
