body {
    font-family: 'Inter', Arial, Helvetica, sans-serif;   
    font-size: 16px;
    line-height: 1.2;
    color: #1e1e1e;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

h1 {
    text-align: left;
}

/* Top fixed banner */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #198754;
  color: #fff;
  z-index: 1000;
}

.banner {
  max-width: 1250px;
  margin: 0 auto;
  padding: 16px 0px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 30px;
  font-weight: bold;
  padding-left: 5px;
}

.top-menu {
    display: flex;
    width: 100%;
    height: 50px;
    background-color: #1e1e1e;
    color: #fff;
    font-weight: 300;
}

.menu-item {
    flex: 1; /* equal width */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.menu-item:hover {
    background-color: #333;
}

.menu-item.active {
    border-bottom: 4px solid #fff;
}

#serverAddress {
    cursor: pointer;
    position: relative;
}

#serverAddress:hover {
    text-decoration: underline;
}

#content {
    margin: auto;
    margin-top: 75px; /* to avoid overlap with fixed nav-bar */       
    overflow: hidden;
    padding-top: 10px;
    max-width: 1250px;
}

#art img {
    margin-top: 5px;
    margin-bottom: 5px;
}

.content-section {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
  margin-bottom: 40px;
  padding: 0px 5px;
}

.content-section.active {
  display: block;
}

/* Minecraft Server Status */

.server-status.two-column {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 16px;
    align-items: center;
    max-width: 500px;
    font-size: 16px;
    margin-bottom: 20px;
}

.server-icon {
    grid-column: 1 / -1; /* span both columns */
    margin-bottom: 8px;
}

.label {
    font-weight: 600;
    color: #1e1e1e;
}

.status-item {
    font-weight: 500;
}

.status-value {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #ef4444;
}

.status-dot.online {
  background-color: #22c55e;
}

.status-dot.offline {
  background-color: #ef4444;
}

#serverAddress {
    color: #ff3dd8;
}

/* Footer */
.footer {
  max-width: 1250px;
  margin: 0 auto 20px;
  padding-top: 5px;
  display:flex;
  justify-content:space-between;
  font-size:16px;
  color:#1e1e1e;
  border-top: 1px solid #1e1e1e;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  nav ul {
    gap: 16px;
    flex-wrap: wrap;
  }
}