@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono&family=Ubuntu+Mono&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.clip {
  position: fixed;
  right: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
  z-index: -2;
  object-fit: cover;
}
.intro {
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: 1s;
  margin-top: 50px;
  opacity: 0.7;
}
/* Navbar */
body {
  height: 800px;
  background: #000;
  font-family: "Roboto Mono", monospace;
}
.nav-container {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100vw;
  height: 108px;
  backdrop-filter: blur(3px);
  z-index: 5;
  animation: animate 3.3s ease-in;
}

@keyframes animate {
  0% {
    transform: translateY(-108px);
  }
  100% {
    transform: translateY(0px);
  }
}
.nav-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 108px;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: -1;
  opacity: 0.8;
}

nav {
  display: flex;
  padding: 2% 6%;
  justify-content: space-around;
  align-items: center;
  margin-left: 54%;
}
.nav-container nav .logo {
  position: absolute;
  top: 0px;
  left: 0px;
  background: #fff;
  border: 2px solid #fff;
}
nav #logo {
  width: 130px;
  /* margin-right: 20%; */
  position: absolute;
  left: 20px;
  top: 9px;
  padding: 10px 6px;
}

.nav-links {
  flex: 1;
  text-align: center;
}
.nav-links ul {
  margin-top: 15px;
  margin-right: 100px;
  width: 600px;
}
.nav-links ul li {
  list-style: none;
  display: inline-block;
  padding: 8px 10px;
  position: relative;
}

.nav-links ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 600;
}

.nav-links ul li::after {
  content: "";
  width: 0%;
  height: 2px;
  background: #fff;
  display: block;
  margin: auto;
}

.nav-links ul li:hover::after {
  width: 100%;
  transition: 0.5s;
}

nav .fa {
  width: 12px;
  height: 12px;
  display: none;
}
svg {
  color: #fff;
  display: none;
}

@media (max-width: 1150px) {
  .intro {
    width: 90%;
    height: 90%;
    object-fit: cover;
  }
  .nav-links ul li {
    display: block;
  }

  .nav-links {
    position: absolute;
    background: #000;
    height: 100vh;
    width: 250px;
    top: 0;
    right: -250px;
    text-align: left;
    z-index: 2;
    transition: 0.7s;
    opacity: 0.7;
  }

  svg {
    display: block;
    cursor: pointer;
    position: absolute;
    top: 32px;
    right: 50px;
    width: 40px;
    height: 60px;
    margin-right: 25px;
  }

  svg:nth-child(1) {
    display: block;
    margin-bottom: 50px;
    position: absolute;
    top: 12px;
    left: 11px;
    width: 40px;
    height: 40px;
  }

  .nav-links ul {
    padding: 40px;
  }

  .fa-bars {
    position: absolute;
    top: 28px;
    right: 22px;
    background: transparent;
  }

  .fa-close {
    /* background: #fff; */
    border-radius: 50%;
  }

  .nav-links ul li {
    color: #fff;
  }

  .nav-links ul li:hover::after {
    width: 0%;
  }

  .nav-links ul li:hover {
    background-color: #fff;
    border-radius: 12px;
  }

  .nav-links ul li:hover a {
    color: #000;
    font-weight: 500;
  }

  .nav-container {
    backdrop-filter: blur(3px);
    /* height: 20%; */
  }
}
.hidden {
  display: none;
}
