::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 8px grey;
  border-radius: 2px;
}

::-webkit-scrollbar-thumb {
  background-image: linear-gradient(
    to bottom,
    rgba(255, 0, 0, 0.55),
    rgba(0, 128, 0, 0.55),
    rgba(0, 0, 255, 0.55)
  );
  border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
  background-image: linear-gradient(to bottom, red, green, blue);
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  scroll-behavior: smooth;
  background-color: #474744 !important;
}

a {
  text-decoration: none;
}

.buttons {
  background-color: white;
  border-radius: 5px;
  outline: none;
  color: #111;
  cursor: pointer;
  display: inline-block;
  padding: 2px;
  font-size: 17px !important;
}

.buttons:hover {
  background-color: crimson;
  color: white;
}

.buttons a:hover {
  color: white;
}

p {
  font-size: 20px;
}

#video1, #video2 {
  max-width: 100%;
  border: 1px solid #111;
}

img {
  max-width: 100%;
  border: 1px solid #111;
}

#logo {
  text-align: center;
  padding: 16px 0;
  background-color: white;
  position: relative;
  z-index: 50;
  animation-name: coloring;
  animation-timing-function: linear;
  animation-duration: 15s;
  animation-iteration-count: infinite;
  margin-bottom: 50px;
}

@keyframes coloring {
  0% {background-color: #faedc0;}
  25% {background-color: #cbebfc;}
  50% {background-color: #ffebec;}
  75% {background-color: #e8e0fb;}
  100% {background-color: #fbf0c5;}
}

#logo img {
  border: none;
}

@media (max-width: 480px) {
  #logo {
    margin-bottom: 0px !important;
  }
}

.container {
  display: flex;
  min-height: 100vh;
  text-align: center;
}

/* ── Sidebar ── */
.sidebar {
  margin: 0;
  padding: 0;
  width: 200px;
  flex-shrink: 0;
  background-color: #111;
  color: white;
  position: sticky;
  z-index: 100;
  top: 0;
  height: 100vh;
  text-align: center;
  overflow-y: auto;
}

#nav-caption {
  margin: 0 auto;
  padding: 14px 0;
  font-size: 20px;
  color: #fdc612;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  text-align: center;
}

.sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.sidebar li {
  margin: 0;
  padding: 0;
}

.sidebar li a {
  color: white;
  text-decoration: none;
  margin: 0;
  padding: 10px 16px;
  display: block;
  transition: background-color 0.3s ease;
  font-size: 14px;
  text-align: left;
}

.sidebar a:hover {
  background-color: crimson;
}

.sidebar a.active {
  background-color: red;
}

/* ── Content ── */
.content {
  flex: 1;
  padding: 0 20px;
}

h2 {
  text-align: center;
}

section {
  margin-bottom: 100px;
  border: 2px ridge crimson;
  border-radius: 4px;
  background-color: white;
  padding: 10px;
  box-sizing: border-box;
}

/* ── Hamburger button (mobile only) ── */
.hamburger {
  display: none;
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  background: #111;
  border: none;
  border-radius: 6px;
  padding: 8px 10px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Animate to X when open */
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Overlay (mobile only) ── */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 800;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.overlay.visible {
  opacity: 1;
}

/* ── Mobile layout ── */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .overlay {
    display: block;
    pointer-events: none;
  }

  .overlay.visible {
    pointer-events: auto;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 900;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    width: 240px;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  /* Push content down so it isn't hidden behind the hamburger */
  .content {
    padding-top: 56px;
  }
}
