body {
  font-family: "Montserrat", sans-serif;
  overflow-x: hidden;
}

.font-serif {
  font-family: "Cormorant Garamond", serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

.navbar {
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.burger-icon {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.burger-icon span {
  width: 25px;
  height: 2px;
  background-color: #000;
  transition: all 0.3s ease;
}

.burger-toggle {
  display: none;
}

.burger-toggle:checked ~ .navbar-sidebar {
  right: 0;
}

.burger-toggle:checked ~ .burger-icon span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger-toggle:checked ~ .burger-icon span:nth-child(2) {
  opacity: 0;
}

.burger-toggle:checked ~ .burger-icon span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.navbar-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background-color: white;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  z-index: 999;
  padding: 2rem;
}

@media (min-width: 768px) {
  .burger-icon {
    display: none;
  }

  .navbar-sidebar {
    position: static;
    width: auto;
    height: auto;
    background-color: transparent;
    box-shadow: none;
    padding: 0;
  }
}
