/* USPEH88 | HEADER
   One selector per block. Section content is in index.html.
   Responsive rules follow the original cascade order. */

header {
  height: 88px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 30;
  background: linear-gradient(#07090a 0%,rgba(7,9,10,.82) 70%,transparent);
  transition: .4s;
}

header.scrolled {
  backdrop-filter: blur(14px);
  background: rgba(7,9,10,.75);
  border-bottom: 1px solid var(--line);
}

.brand {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .13em;
}

.brand sup {
  color: var(--teal);
  font-size: 8px;
  margin-left: 3px;
}

.nav {
  display: flex;
  gap: 34px;
  color: #c3c7c6;
  font-size: 13px;
}

.nav a {
  transition: .25s;
}

.nav a:hover {
  color: #fff;
}

.nav-contact {
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  padding: 11px 18px;
}

.menu-btn {
  display: none;
  width: 45px;
  height: 45px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #111;
  color: white;
}

.menu-btn i {
  display: block;
  width: 17px;
  height: 1px;
  background: #fff;
  margin: 5px auto;
  transition: .3s;
}

@media(max-width:800px) {
  header {
    height: 72px;
  }
}

@media(max-width:800px) {
  .nav {
    position: fixed;
    inset: 0;
    background: rgba(7,9,10,.97);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    font-size: 27px;
    opacity: 0;
    visibility: hidden;
    transition: .35s;
  }
}

@media(max-width:800px) {
  .nav.open {
    opacity: 1;
    visibility: visible;
  }
}

@media(max-width:800px) {
  .menu-btn {
    display: block;
    z-index: 2;
  }
}

@media(max-width:800px) {
  .menu-btn.open i:first-child {
    transform: translateY(3px) rotate(45deg);
  }
}

@media(max-width:800px) {
  .menu-btn.open i:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }
}

header {
  height: 94px;
  background: rgba(6,9,11,.65);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid #ffffff12;
}

.brand {
  font-size: 21px;
  letter-spacing: .16em;
}

.brand sup {
  font-size: 10px;
}

.nav {
  font-size: 14px;
}

.nav-contact {
  padding: 12px 23px;
}

@media(max-width:800px) {
  header {
    height: 76px;
  }
}

@media(max-width:800px) {
  .brand {
    font-size: 17px;
  }
}

@media(max-width:800px) {
  .nav.open {
    padding-top: 76px;
  }
}

@media(max-width:800px) {
  .nav {
    font-size: 25px;
  }
}
