* {
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    background-color: #1e1e1e;
    color: white;
    font-family: Arial;
    text-align: center;
}

#header h1 {
  font-size: clamp(1rem, 4vw, 3rem);
}

.home-link {
  color: white;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block; /* ⬅️ THIS is the fix */
}

.home-link:hover {
    transform: scale(1.05);
}

.container  {
    min-height: 80dvh;
    overflow: auto;
    padding-bottom: 100px;
}

.hamburger {
  font-size: 30px;
  cursor: pointer;
  color: white;
  user-select: none;
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1001;
}

.hamburger:hover {
  color: #ff9800;
}

.menu-toggle {
  display: none;
}

.nav-links {
  list-style: none;
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  right: 10px;
  background-color: #2a334a;
  padding: 10px;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  min-width: 180px;
  z-index: 1000;
  text-align: left;
}

.menu-toggle:checked ~ .nav-links {
  display: flex;
}

.nav-links a {
  color: white;
  text-decoration: none;
  padding: 10px;
  display: block;
  font-size: 18px;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #ff9800;
}


.header, .footer {
    background-color: #4d5770;
    position: relative;
    height: 10dvh;
    display: flex;
    align-items: center;
    justify-content: center;
}
