@import url('https://fonts.googleapis.com/css2?family=Alice&family=Comfortaa:wght@300..700&family=Fira+Code:wght@300..700&family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap');

html, body {
    height: 100%;
    margin: 0;
    font-family: "Comfortaa", sans-serif;
    font-size: 1.75rem;
    background-color: #acdffd;
}

body {
    text-align: center;
    font-family: "Titillium Web", sans-serif;
    font-weight: 400;
    font-style: normal;
}

hr {
    height: 1px;
    background-color: none;
    border: none;
}

p {
    font-family: 'Fira Code', monospace;
}

.banner {
    font-size: 2rem;
    font-family: "Comfortaa", sans-serif;
    font-weight: 700;
    text-align: center;
    background-image: url("https://freerangestock.com/sample/140799/wood-background--dark-wooden-background.jpg");
    background-size: cover;
    background-position: center;
    color: white;
    padding: 30px 0;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.footer {
    font-size: 0.5rem;
    font-family: "Fira Code", sans-serif;
    font-weight: 400;
    text-align: center;
    background-color: #000;
    color: #f0f0f0;
    padding: 10px 0;
    margin-top: 20px;
}

.footer img {
    vertical-align: middle;
    max-width: 175px;
    width: 100%;
}

/* --- Navbar Styles --- */
.navbar {
  width: 100%;
  background: #000;
  color: #fff;
  font-family: 'Titillium Web', sans-serif;
  font-weight: 600;
  font-size: 0.70rem;
  position: relative;
  z-index: 100;
  box-shadow: 0 2px 6px rgba(31, 31, 31, 0.07);
}
.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.25rem 0.25rem;
  min-height: 48px;
}
.navbar-left {
  display: flex;
  align-items: center;
}
.navbar-logo {
  height: 40px;
  max-height: 40px;
  width: auto;
  margin-right: 10px;
}
.navbar-logo-text {
  font-size: 1.5em;
  font-weight: 400;
  color: #fff;
  margin-left: 8px;
  white-space: nowrap;
}
.navbar-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.navbar-links a {
  color: #fff;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background 0.1s;
  white-space: nowrap;
  font-size: 1em;
}
.navbar-links a:hover {
  background: #222;
}

/* Hamburger menu links: match navbar-links styles */
.navbar-hamburger-menu a {
  color: #fff;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background 0.1s;
  white-space: nowrap;
  font-size: 1em;
  font-family: 'Titillium Web', sans-serif;
  font-weight: 600;
  display: block;
}
.navbar-hamburger-menu a:hover {
  background: #222;
}

/* Dropdowns */
.navbar-dropdown {
  position: relative;
  display: inline-block;
}
.navbar-dropbtn {
  color: #fff;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  user-select: none;
  transition: background 0.1s;
  display: inline-block;
}
.navbar-dropbtn:hover,
.navbar-dropdown:focus > .navbar-dropbtn,
.navbar-dropdown:active > .navbar-dropbtn {
  background: #222;
}
.navbar-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  background: #222;
  min-width: 180px;
  max-width: 90vw;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  z-index: 9999;
  border-radius: 4px;
  margin-top: 2px;
  overflow-x: auto;
}
.navbar-dropdown:focus > .navbar-dropdown-content,
.navbar-dropdown:active > .navbar-dropdown-content,
.navbar-dropdown:hover > .navbar-dropdown-content {
  display: block;
}
.navbar-dropdown-content.open {
  display: block;
}
.navbar-dropdown-content a {
  color: #fff;
  padding: 10px 16px;
  text-decoration: none;
  display: block;
  border-radius: 4px;
  transition: background 0.1s;
}
.navbar-dropdown-content a:hover {
  background: #333;
}

/* Hamburger Styles */
.navbar-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  margin-right: 10px;
  z-index: 10000;
}
.navbar-hamburger span {
  display: block;
  width: 28px;
  height: 4px;
  margin: 4px 0;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}


/* Hamburger slide-in menu */
.navbar-hamburger-menu {
  position: fixed;
  top: 0;
  right: -100%;        /* start off-screen */
  width: 75%;          /* covers 75% of screen width */
  max-width: 320px;    /* cap drawer size */
  height: 100vh;
  background: #111;
  color: #fff;
  z-index: 9999;
  padding: 32px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: right 0.3s ease; /* smooth slide */
}

/* Adjust dropdown positioning in hamburger menu */
.navbar-hamburger-menu .navbar-dropdown {
  position: static;
  width: 100%;
}

.navbar-hamburger-menu .navbar-dropdown-content {
  position: static;
  width: 100%;
  background: transparent;
  box-shadow: none;
  margin: 0;
  padding-left: 16px;
}

.navbar-hamburger-menu .navbar-dropbtn {
  width: 100%;
  text-align: center;
  padding-left: 0;
}

.navbar-hamburger-menu.open {
  right: 0;  /* slide into view */
}

/* Optional: dim background when menu open */
body.menu-open::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
}

/* Hamburger "X" animation */
.navbar-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.navbar-hamburger.active span:nth-child(2) {
  opacity: 0;
}
.navbar-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Responsive rules */
@media (max-width: 1100px) {
  .navbar-links {
    display: none;
  }
  .navbar-hamburger {
    display: flex;
  }
}
@media (min-width: 1101px) {
  .navbar-hamburger {
    display: none;
  }
  .navbar-links {
    display: flex;
  }
  .navbar-hamburger-menu {
    display: none !important;
  }
}

/* --- End Navbar Styles --- */

.section {
    width: 80vw;
    margin: 40px auto;
    background: #80d0ff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    padding: 16px;
    text-align: left;
}

.section h2 {
    font-family: "Comfortaa", sans-serif;
    font-size: 1.4rem;
    margin-top: 0;
}

.section p {
    font-family: 'Fira Code', monospace;
    font-size: 0.75rem;
}

.section ul, .section ol {
    font-size: 1.1rem;
    font-family: 'Fira Code', monospace;
    line-height: 1.5;
}

.changelog h3 {
    font-family: "Comfortaa", sans-serif;
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.changelog h4 {
    font-family: "Comfortaa", sans-serif;
    font-size: 0.9rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: #444;
}

.changelog ul {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    padding-left: 2rem;
    font-size: 0.6rem;
}

.changelog ul ul {
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.changelog hr {
    margin: 2rem 0;
    border: none;
    height: 5px;
    background-color: #00B58B;
}

.changelog p {
    color: #666;
    font-style: italic;
}

.schedule h2, .schedule h1, .schedule p {
    margin-bottom: 0;
    font-size: 1.25rem;
}
.schedule {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.schedule-item {
    list-style-type: none;
    text-align: center;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}
#schedule-list {
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.switch-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.switch-label {
    font-size: 0.65rem;
    font-family: "Fira Code", sans-serif;
    font-weight: 400;
    color: #333;
    margin: 0;
    padding: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}
.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}
input:checked + .slider {
    background-color: #00B58B;
}
input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}
input:checked + .slider:before {
    transform: translateX(26px);
}
.slider.round {
    border-radius: 34px;
}
.slider.round:before {
    border-radius: 50%;
}
