:root {
  --ff-primary: "Popins", sans-serif;
  --ff-secondary: "Arial";

  --fs-100: 0.85em;
  --fs-200: 1em;
  --fs-250: 1.25em;
  --fs-300: 2em;
  --fs-350: 3.5em;

  --fw-100: 600;
  --fw-200: 800;
  --fw-300: 900;

  --padding-inline: 6.25em;

  --primary-clr: #fff;
  --secondary-clr: #a4a2a2;
  --accent-clr: #222;
}
/* general styles */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
/* header */
.header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 2em;
}
.logo-wrapper {
  width: var(--padding-inline);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-bar {
  flex-grow: 1;
  display: flex;
  align-items: center;
}
.line {
  background-color: gray;
  height: 2px;
  width: 36%;
  flex-basis: auto;
  border: 0;
  outline: none;
  /* z-index: 1; */
}
nav {
  position: relative;
  background-color: transparent;
  backdrop-filter: blur(100px);
  padding: 1em 1.5em;
  margin-left: -20px;
  width: 68%;
  justify-self: end;
  padding-right: var(--padding-inline);
  opacity: 0.8;
}
nav ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
nav ul li {
  display: block;
  width: max-content;
  height: 100%;
  margin-left: 1.5em;
  list-style: none;
  text-align: right;
  position: relative;
}
nav ul li a {
  text-decoration: none;
  color: var(--secondary-clr);
  font-size: var(--fs-200);
  font-weight: var(--fw-100);
}
nav ul li a span {
  color: var(--primary-clr);
}
.active::after {
  content: "";
  height: 3px;
  width: 100%;
  background-color: var(--primary-clr);
  position: absolute;
  bottom: -1.05em;
  left: 0;
}
.icons {
  display: none;
}

@media (max-width: 760px) {
  header {
    justify-content: space-between;
  }
  .nav-bar {
    justify-content: flex-end;
    padding-right: var(--padding-inline);
    padding: 0;
  }
  nav {
    position: absolute;
    top: 0;
    right: -200px;
    background-color: #000;
    height: 100vh;
    width: 200px;
    z-index: 2;
    transition: 0.5s ease-in-out;
    opacity: 1;
  }
  nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 1rem;
    height: 50%;
  }
  nav ul li {
    margin: 0;
    padding: 0;
  }
  .active::after {
    display: none;
    width: 0%;
  }
  .close-icon-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: end;
    margin-bottom: 1.5rem;
  }
  .icons {
    display: block;
  }
  .line {
    display: none;
  }
  .menu-icon {
    margin-right: 20px;
    cursor: pointer;
  }
}
@media (max-width: 1024px) {
  .header {
    justify-content: space-between;
  }
  .nav-bar {
    justify-content: flex-end;
    padding-right: var(--padding-inline);
    padding: 0;
  }
  .line {
    display: none;
  }
  nav ul li a span {
    display: none;
  }
}
