body {
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
  margin: 0;
  padding: 0px;
}

header {
  background: #fff;
  padding: 40px 20px 10px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  text-align: center;
  margin-bottom: 40px;
  margin-top: 10px;
  max-width: 70%;
  margin-left: auto;
  margin-right: auto;
}

.banner {
  margin: 0;
  padding: 3px;
  position: top;
  background: #fda368;
  color: #111;
  text-align: center;
}

header h1 {
  font-size: 2.5rem;
  margin: 0;
  color: #222;
}

header p {
  font-size: 1.2rem;
  color: #555;
  margin: 10px 0 20px;
}

.menu {
  padding-top: 10px;
}

.menu ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.menu a {
  text-decoration: none;
  font-size: 1rem;
  color: #333;
  padding: 8px 16px;
  border-radius: 6px;
  background-color: #f0f0f0;
  transition: background 0.2s, color 0.2s;
}

.menu a:hover {
  background-color: #333;
  color: #fff;
}

.menu a.current {
  background-color: #333;
  color: #fff;
  font-weight: bold;
}


#subnav {
  padding-top: 5px;
}

#subnav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

#subnav a {
  text-decoration: none;
  font-size: 0.9rem;
  color: #333;
  padding: 4px 8px;
  border-radius: 6px;
  background-color: #f0f0f0;
  transition: background 0.2s, color 0.2s;
}

#subnav a:hover {
  background-color: #333;
  color: #fff;
}

#subnav a.current {
  background-color: #333;
  color: #fff;
  font-weight: bold;
}
.update {
  font-size: 1rem;
  color: #777;
}

h2 {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
}

h3 {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
}

#containers {
  text-align: center;
}

#containers iframe {
  border:none;
  width: 70%;
  height: 70dvh;
  padding: 2px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  border-radius: 12px;
  background-color: #fff;
  display: grid;
  margin: 15px auto 30px auto;
}

.container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(40%, 1fr));
  gap: 30px;
  max-width: 70%;
  margin: auto;
}

.grid-item {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  text-align: center;
  padding: 16px;
}

.grid-item img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 12px;
  cursor: pointer;
}

.grid-item p {
  margin: 0;
  font-size: 1.1rem;
  color: #333;
}

/* Lightbox styles */
#lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}

#lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

#lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  font-weight: bold;
}

#lightbox .arrow {
  position: absolute;
  top: 50%;
  font-size: 2.5rem;
  color: white;
  padding: 10px;
  cursor: pointer;
  user-select: none;
  z-index: 1001;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  border-radius: 4px;
}

#lightbox .arrow.left {
  left: 20px;
}

#lightbox .arrow.right {
  right: 20px;
}

#legend {
  position: fixed;
  top: 30dvh;
  right: 20px;
  width: 5%;
}
