* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* overflow-x: hidden; */
  scrollbar-width: none; /* Firefox */
  /* -ms-overflow-style: none; */
}

html::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

body {
  /* overflow-x: hidden; */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

body::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* main {
  overflow: visible;
} */

.work-sans-font {
  font-family: "Work Sans", sans-serif;
  font-optical-sizing: auto;
}

.serif-font {
  font-family: "Instrument Serif", serif;
  font-optical-sizing: auto;
}

header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0);
  z-index: 50;
  transition: transform 0.3s ease-in-out;
}

header.header-hidden {
  transform: translateY(-100%);
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 50px;
  height: 100px;
}

header nav a img {
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), filter 0.3s ease;
}

header nav a img:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

#hamburgerMenuBtn {
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55),
    opacity 0.3s ease;
}

#hamburgerMenuBtn:hover {
  transform: scale(1.15) rotate(90deg);
  opacity: 0.8;
}

/* ==================== HEADER MOBILE RESPONSIVE ==================== */
@media (max-width: 768px) {
  header nav {
    padding: 0 20px;
    height: 70px;
  }

  header nav a img {
    width: 225px;
  }
}

@media (max-width: 576px) {
  header nav {
    padding: 0 15px;
    height: 60px;
  }

  header nav a img {
    width: 180px;
  }

  #hamburgerMenuBtn {
    width: 20px;
  }
}
