#topBar {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    gap: 10px;
    z-index: 2000;
    padding: 30px 0;
}

#topBar.scrolled {
    background-color: rgba(0, 11, 17, 0.8);
    /* backdrop-filter: blur(10px); */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    padding: 20px 0;
}

#topBarLeft {
    display: inline-block;
}

#menuIcon {
    width: 40px;
    cursor: pointer;
}

@media (max-width: 768px) {
    #menuIcon {
        width: 40px;
     }
}

#logoTopBar {
    width: 80px;
}

@media (max-width: 768px) {
    #logoTopBar {
        width: 60px;
     }
}

/* menu */
#menu {
  position: fixed;
  top: 0;
  right: -350px;
  width: 250px;
  height: 100%;
  background-color: rgba(0, 11, 17, 0.9);
  box-shadow: 5px 0 20px rgba(0,0,0,0.2);
  padding: 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: right 0.4s ease , opacity 0.4s ease;
  opacity: 0;
  z-index: 2001;
}

@media (max-width: 768px) {
    #menu {
        width: 50%;
     }
}

#menu.open {
  right: 0;
  opacity: 1;
}

#menu .menu-button {
  display: block;
  color: white;
  text-decoration: none;
  padding: 15px 18px;
  border-radius: 25px;
  text-align: center;
  font-size: clamp(17px, 3vw, 18px);
  transition: background 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  font-family: "Heebo", sans-serif;
  font-weight: 400;
}

#menu .menu-button:hover {
  color: #07111c;
  font-weight: 500;
  transform: scale(1.05);
    background: linear-gradient(
    135deg,
    #6b4a0a,
    #c9a23f,
    #f5e3a2,
    #c9a23f,
    #6b4a0a
  );
}

#menu #closeBtn {
  background: transparent;
  color: white;
  font-size: 20px;
  font-weight: bold;
  align-self: flex-start;
  margin-bottom: 20px;
  cursor: pointer;
  border: none;
}