nav {
  position: sticky;
  z-index: 10;
  top: 0;
}

.pc-nav {
  height:3rem; width: 100%;

  box-sizing: border-box;
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px); 

  display: flex; justify-content: space-between; align-items: center;
  padding: 0rem 1rem;
  max-width: 70rem; margin: 0 auto;
}

.logo{
  height: 2rem;
  display: flex; justify-content: center; align-items: center;
  background-color: transparent;
}

.logo img {
  height: 100%;
}

.nav-brand-name {
  background: -webkit-linear-gradient(left, #052747, black);
  -webkit-background-clip: text;
  letter-spacing: 0.3rem;
  font-size: 1.2rem;
  margin-left: 0.5rem;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex; flex-direction: column; align-items: space-between;
  width: 1.6rem; height: 1.5rem; 
}

.nav-menu .line {
  width: 100%; height: 2px;
  border-radius: 1px;
  background-color: black;
}
  
.nav-menu .second-line, .nav-menu .first-line {
  height: 1rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.nav-links li {
  border-left: 1px solid black;
  padding-left: 1rem;
}

.nav-links li:first-child {
  border-left: none;
  padding-left: 0;
}

.nav-links a {
  text-decoration: none;
  color: black;
  font-size: 0.95rem;
}

.nav-links .highlight {
  background-color: var(--light-bg);
  color: var(--light-fg);
  border-radius: 5px;
  padding: 0.5rem;
}

.nav-links a {
  transition: 0.5s ease;
  text-decoration: underline transparent 1px;
}

.nav-links a:hover {
  color: #052747;
  text-decoration: underline var(--dark-blue) 1px;
}


@media screen and (max-width: 1000px) {
  .nav-links {
    display: none;
  }

  .nav-brand-name {
    display: none;
  }
}

@media screen and (min-width: 1000px) {
  .nav-menu {
    display: none;
  }
}

.phone-nav {
  display: none;
  opacity: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 10;
  bottom: 0; top: 0; left: 0; right: 0;
  backdrop-filter: blur(20px);
  transition: ease 0.5s;
}

.phone-nav-expanded {
  opacity: 1;
}

.phone-nav-logo {
  width: 3rem;
}

.phone-nav-links {
  padding: 1rem;
  border: 1px solid var(--dark-blue);
  color: var(--light-fg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 25rem;
  row-gap: 1rem;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0px 5px 30px var(--dark-blue);
  width: 80%;
}

.phone-nav-links a{
  text-decoration: none;
  color: var(--light-fg);
  font-size: 1.4rem;
  transition: 0.3s ease;
  text-decoration: underline transparent 1px;
}

.phone-nav-links a:hover {
  text-decoration: underline var(--dark-blue) 1px;
  transform: scale(1.1);
}
