/* ------------------- RESET ------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Google Sans", system-ui, -apple-system, BlinkMacSystemFont, Arial, Helvetica, sans-serif;
  background: linear-gradient(135deg, #7fb49a, #0b7f86) no-repeat center center fixed;
  background-size: cover;
  min-height: 100vh;
}

p {
  padding-bottom: 20px;
}

/* ------------------- HEADER ------------------- */
header {
  background: #fff;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1000;
  /* keep menu above content */
}

header .title {
  font-size: 28px;
  font-weight: 700;
  color: #39d353;
  font-family: "Antonio", sans-serif;
  text-decoration: none;
}

/* ------------------- MENU ------------------- */
.main-menu {
  display: flex;
  gap: 20px;
}

/* Desktop menu is always horizontal */
@media screen and (min-width: 768px) {
  .main-menu {
    position: static;
    flex-direction: row;
    background: none;
    padding: 0;
    width: auto;
    height: auto;
    box-shadow: none;
    transition: none;
  }

  .menu-toggle {
    display: none;
  }
}

/* Mobile menu overlay */
@media screen and (max-width: 767px) {
  .main-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    display: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #ddd;
  }

  .main-menu a {
    padding: 12px 24px;
    border-bottom: 1px solid #eee;
  }

  .main-menu.show {
    display: flex;
    animation: slideDown 0.25s ease-out forwards;
  }

  @keyframes slideDown {
    0% {
      opacity: 0;
      transform: translateY(-10px);
    }

    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .menu-toggle {
    display: block;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
  }

}

/* ------------------- MENU LINKS ------------------- */
.main-menu a {
  text-decoration: none;
  color: #000;
  transition: background 0.2s;
}

.main-menu a:hover {
  color: #0cbc32;
}

.main-menu a.active {
  color: #0cbc32;
  font-weight: bold;
}

.content {
  padding: 16px;
}

/* ------------------- SIMPLE CONTENT ------------------- */

.simple-content {
  background: #ffffff;
  border-radius: 4px;
  padding: 8px;
}

.simple-content ul,
.simple-content ol {
  padding-left: 40px;
  margin-top: 0;
  margin-bottom: 0.75rem;
  list-style-position: outside;
}

.big-logo {
  max-width: min(90%, 200px);
  margin: auto;
  display: block;
}

.welcome-clicker {
  text-decoration: none;
  color: black;
}

.count-down {
}

.button {
  display: inline-block;
  padding: 10px 16px;
  background-color: #117b00;
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
}

.button:hover {
  background-color: #55BB00;
}

h1 {
  text-align: center;
  padding: 12px;
}

.icon86 {
  width: 32px;
  vertical-align: middle;
}

.staging-banner {
  background:#c62828;
  color:#fff;
  padding:10px 12px;
  border-radius:6px;
  margin-bottom:1rem;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
}

.count-down {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 12px;
}

.count-down .text {
  font-size: clamp(18px, 3vw, 28px);
}

.count-down .time {
  font-size: 32px;
  font-weight: 800;
  background: rgba(255,255,255,0.12);
  text-align: center;
}

.previous-year-history {
  padding-bottom:20px;
}

.department {
  display: inline-block;
  vertical-align: top;
  box-sizing: border-box;
  width: 100%;
  max-width: 360px;
  margin: 0px 24px 24px 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 12px;
}

.department > .name {
  font-family: "Antonio", sans-serif;
  font-weight: bold;
  font-size: 22px;
  padding-bottom: 5px;
}

.department > .email {
  padding-bottom: 5px;
  display: block;
  color: #0cbc32;
  font-family: "Google Sans", Arial, Helvetica, sans-serif;
  text-decoration: none;
  margin-bottom: 2px;
  font-weight: 700;
}

.department .member {
}

.department .member > .name {
}

.department .member > .name.lead {
  font-weight: 700;
}

@media (min-width: 700px) {
    .simple-content .department { width: calc(50% - 16px); }
}
@media (min-width: 1100px) {
    .simple-content .department { width: calc(33.333% - 16px); }
}