.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 999;
}

.mobile-menu-overlay::before {
  content: "";
  position: fixed;
  width: 100vmax;
  height: 100vmax;
  background: white;
  border-radius: 50%;
  transform: scale(0);
  transform-origin: center bottom;
  opacity: 0;
  transition: transform 0.9s ease-in-out, opacity 0.9s ease-in-out;
  z-index: -1;
  top: calc(100% - 60px);
  left: 50%;
  translate: -50% -50%;
}

.mobile-menu-overlay.active {
  pointer-events: all;
}

.mobile-menu-overlay.active::before {
  transform: scale(2);
  opacity: 1;
}

.mobile-menu-overlay.closing::before {
  transform: scale(0);
  opacity: 0;
}

.mobile-menu-links {
  position: fixed;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  gap: 40px;
  text-align: center;
  z-index: 1001;
  opacity: 0;
  transition: opacity 0.4s ease 0.5s;
}

.mobile-menu-overlay.active .mobile-menu-links {
  opacity: 1;
  transition: opacity 0.3s ease 0.3s;
}

.mobile-menu-links a {
  font-size: 26px;
  color: black;
  text-decoration: none;
  font-weight: 300;
  font-family: "Public Sans", "serif";
}

.mobile-menu-toggle {
  position: fixed;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #000000;
  border: 1px solid #6e6e6e;
  padding: 12px 20px;
  border-radius: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  z-index: 1002;
  color: white;
}

.mobile-menu-toggle img {
  width: 20px;
  height: 20px;
}

.mobile-menu-overlay.animating-out::before {
  transform: scale(0);
  opacity: 0;
  transition: transform 0.5s ease-in, opacity 0.3s ease-out;
}

.mobile-menu-overlay.animating-out .mobile-menu-links {
  opacity: 0;
  transition: opacity 0.3s ease-out;
}
.clinks {
  opacity: 0 !important;
  transition: opacity 1s ease !important;
}

.hamburger-icon {
  width: 22px;
  height: 17px;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1000000003;
  margin-top: 1px;
  margin-right: 3px;
  transform-origin: center;
}

.hamburger-icon span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: rgb(221, 221, 221);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Transform when active */
.hamburger-icon.active span:nth-child(1) {
  transform: rotate(-45deg) translateY(10px);
}

.hamburger-icon.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-icon.active span:nth-child(3) {
  transform: rotate(45deg) translateY(-10px);
}

@media (min-width: 900px) {
  .mobile-menu-toggle,
  .mobile-menu-overlay {
    display: none;
  }
}
@media (max-width: 900px) {
  .project-header-container {
    margin-top: 0px;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

a:visited {
  color: inherit;
}

a:hover {
  color: inherit;
}
