* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  background: linear-gradient(135deg, #1a1a1a, #333);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 80%;
}

header nav li {
  list-style: none;
}

header nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

header nav a:hover {
  color: #161b1b;
}

header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 300%;
  height: 50px;
  background: url("data:image/svg+xml;utf8,\
  <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 50'>\
  <path fill='rgba(20, 20, 20, 0.6)' d='M0,30 Q75,10 150,30 T300,30 V50 H0 Z'/>\
  </svg>");
  background-repeat: repeat-x;
  background-size: 300px 50px;
  animation: wave-slide 8s linear infinite;
  pointer-events: none;
}

@keyframes wave-slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-300px); }
}



.burger {
  display: none;
}

@media (max-width: 728px) {

  
  nav {
    position: fixed;
    top: 90px;
    left: 0;
    width: 100%;
    max-width: 100vw;
    background: rgb(27, 27, 27);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 1050;
    align-items: stretch;
  }

  nav.active {
    opacity: 1;
    pointer-events: auto;
  }

  nav li {
    width: 100%;
    list-style: none;
  }

  nav a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 90px;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 20px;
    left: 20px;
    cursor: pointer;
    z-index: 1100;
  }

  .burger div {
    width: 28px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
  }
}


main {
  padding-top: 120px;
}
