@font-face {
  font-family: "Publico Roman";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/PublicoHeadline-Roman-Web.woff2") format("woff2");
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300;
  src: url("../fonts/OpenSans-Light.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Open Sans", serif;
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/OpenSans-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Open Sans", serif;
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/OpenSans-Medium.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Open Sans", serif;
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/OpenSans-Bold.ttf") format("truetype");
  font-display: swap;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 16px;
  font-family: "Publico Roman", sans-serif;
  font-style: normal;
  font-weight: 400;
  max-width: 100vw;
  overflow-x: hidden;
  color: #000;
}

#menu-sider {
  position: fixed;
  top: 0;
  left: 0;
  width: 600px;
  height: 100%;
  max-width: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 6rem 0 2rem 6rem;
  transform: translateX(-100%);
  transition: transform 0.4s ease-in-out;
  z-index: 1001;
  color: #000;
}

#menu-sider.open {
  transform: translateX(0);
}

#menu-burger.open span {
  background-color: #333;
}

#menu-burger.open span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 5px);
}

#menu-burger.open span:nth-child(2) {
  opacity: 0;
}

#menu-burger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(10px, -8px);
}

#menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease-in-out,
    visibility 0.4s;
}

#menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

#menu-burger {
  position: relative;
  z-index: 1002;
}

.more-button::after {
  content: "";
  width: 0;
  height: 4px;
  background-color: #3e4055;
  position: absolute;
  bottom: 0;
  left: 0;
  transition: width 0.3s ease-in-out;
}

.more-button:hover::after {
  width: 100%;
}

nav.sticky-nav {
  position: fixed;
  top: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 4px 6px -1px rgb(0 0 0 / 0.1),
    0 2px 4px -2px rgb(0 0 0 / 0.1);
  animation: slideDown 0.4s ease-out;
  z-index: 1002;
  /* padding-top: 1rem;
  padding-bottom: 1rem; */
  color: #323e48;
  --tw-text-opacity: 1;
  color: rgb(50 62 72 / var(--tw-text-opacity));
}

@media screen and (max-width: 768px) {
  body.no-scroll {
    overflow: hidden;
  }

  nav .flex.space-x-8 {
    display: none;
  }

  #menu-sider {
    padding: 6rem 0 2rem 4.5rem;
  }
}
