html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  font-family: sans-serif;
  background-color: black;
  color: white;
}
#hero {
  width: 100%;
  height: 100%;
}
.content {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}
h1 {
  font-size: 3rem;
  max-width: 90%;
  line-height: 1.2;
}
em {
  font-style: italic;
  color: #ccc;
}

#sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 270px;
  background: black;
  color: #e5e7eb;
  transform: translateX(-100%) scale(0.9);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
  box-shadow: 4px 0 15px rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 20px 25px 25px;
  border-radius: 0 15px 15px 0;
  will-change: transform, opacity;
}

#sidebar.open {
  transform: translateX(0) scale(1);
  opacity: 1;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.sidebar-nav a {
  color: #d1d5db;
  font-weight: 600;
  font-size: 1.15rem;
  text-decoration: none;
  padding: 8px 0;
  border-left: 3px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
  padding-left: 20px;
}

.sidebar-nav a:hover,
.sidebar-nav a:focus {
  color: white;
  border-left-color: white;
  outline: none;
}

#toggleBtn {
  position: fixed;
  top: 20px;
  left: 20px;
  width: 36px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
}

.bar {
  display: block;
  height: 4px;
  width: 100%;
  background-color: white;
  border-radius: 3px;
  transition: transform 0.4s ease, opacity 0.4s ease;
  transform-origin: center;
}

#toggleBtn.open .bar:nth-child(1) {
  transform: translateY(13px) rotate(45deg);
}

#toggleBtn.open .bar:nth-child(2) {
  opacity: 0;
}

#toggleBtn.open .bar:nth-child(3) {
  transform: translateY(-13px) rotate(-45deg);
}

#scrollHint {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1002;
  font-size: 2rem;
  color: white;
  animation: bounce 1.5s infinite;
  cursor: default;
  pointer-events: none;
  opacity: 0.7;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

#scrollHint.hidden {
  display: none;
}

.flag-icon:hover {
  transform: scale(1.1);
}
