@font-face {
  font-family: 'Request';
  src: url('../fonts/Request.ttf') format('opentype');
}

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

html, body {
  overflow-x: hidden;
  background: black;
}

nav {
  background: rgba(0, 0, 0, 0.85);
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 9999;
  font-family: 'Request';
  box-shadow: 0 0 15px #4A90E2, 0 0 40px #4A90E2;
  backdrop-filter: blur(6px);
}

.logo img {
  height: 50px;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

/* BURGER */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  cursor: pointer;
  z-index: 10001;
}

.burger span {
  display: block;
  height: 3px;
  background: #4A90E2;
  border-radius: 3px;
  transition: all 0.4s ease;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* MENU LINKS */
.menu-links {
  list-style: none;
  display: flex;
  gap: 35px;
  overflow-y: auto;
  overflow-y: hidden;
}

.menu-links li a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-family: 'Request';
  padding: 5px 10px;
  transition: all 0.3s ease;
}

.menu-links li a:hover,
.menu-links li a.active {
  color: #4A90E2;
  text-shadow: 0 0 8px #4A90E2;
  border-bottom: 2px solid #4A90E2;
}

/* RESPONSIVE MODE PANEL */
@media screen and (max-width: 1024px) {
  .burger {
    display: flex;
  }

  .menu-links {
    flex-direction: column;
    position: fixed;
    top: 0;
    left: -300px;
    width: 250px;
    height: 100vh;
    background: #000;
    padding: 20px 0 80px;
    box-shadow: 10px 0 30px #4A90E2;
    transition: left 0.4s ease;
	overflow-y: clip;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	}

  .menu-links.open {
    left: 0;
  }

  .menu-links li {
    padding: 20px 0;
    text-align: center;
  }
}
