* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
}

header {
  min-height: 100vh;
  width: 100%;
  background-image: linear-gradient(
      rgba(48, 48, 50, 0.624),
      rgba(0, 0, 0, 0.689)
    ),
    url(../img/bg.jpg);
  background-position: center;
  background-size: cover;
  position: relative;
}

nav {
  position: relative;
  display: flex;
  padding: 0% 6%;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(
    to right,
    #3d3f4392,
    #2d2e30a3,
    #333436b1,
    #14151788,
    #333436b1,
    #2d2e30a3,
    #3d3f4392
  );
  background-size: 500%;
  animation: background 20s linear infinite reverse;
  z-index: 1;
}

@keyframes background {
  0% {
    background-position: 0% 0%;
  }
  20% {
    background-position: 100% 0%;
  }
  40% {
    background-position: 200% 0%;
  }
  60% {
    background-position: 300% 0%;
  }
  80% {
    background-position: 400% 0%;
  }
  100% {
    background-position: 500% 0%;
  }
}

nav img {
  width: 75px;
  filter: invert(1);
}

.nav-links {
  flex: 1;
  text-align: right;
  gap: 2rem;
}

.nav-links ul li {
  list-style: none;
  display: inline-block;
  padding: 8px 12px;
  position: relative;
  margin-right: 3%;
}

.nav-links ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 700;
}

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

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

.info-box {
  width: 90%;
  color: #fff;
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.info-box h1 {
  font-size: 60px;
}

.info-box p {
  margin: 10px 0 40px;
  font-size: 20px;
}

nav .uil {
  display: none;
}

nav::before,
.nav-links::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(10px);
  z-index: -1;
}

@media (max-width: 800px) {
  .info-box h1 {
    font-size: 20px;
  }

  .nav-links ul li {
    display: block;
  }

  .nav-links {
    position: fixed;
    background: #fff;
    height: 100vh;
    width: 200px;
    top: 0;
    right: -200px;
    text-align: left;
    z-index: 2;
    transition: 1s;
    background: linear-gradient(
      #3d3f4392,
      #2d2e30a3,
      #333436b1,
      #14151788,
      #333436b1,
      #2d2e30a3,
      #3d3f4392
    );
    background-size: 100% 500%;
    background-position: 0 40%;
    animation: backgroundMob 20s linear infinite reverse;
    z-index: 1;
  }

  @keyframes backgroundMob {
    0% {
      background-position: 0 40%;
    }
    100% {
      background-position: 0 400%;
    }
  }

  nav .uil {
    display: block;
    color: #fff;
    margin: 10px;
    font-size: 25px;
    cursor: pointer;
  }

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

  .uil-times-circle {
    padding-top: 10px;
    padding-left: 10px;
  }
}

@media (max-width: 900px) {
  .nav-links ul {
    gap: 1rem;
  }
}
