@font-face {
  font-family: "BitmasterRoundHouse";
  src: url("../fonts/RoundHouseHeavyDB-Regular.woff2") format("woff2");
  font-display: swap;
}

:root {
  --bm-header-ink: #07121c;
  --bm-header-panel: #eff7fb;
  --bm-header-line: #64c7e8;
  --bm-header-accent: #19a5d1;
  --bm-header-warm: #f1842e;
}

.container-header {
  isolation: isolate;
}

.container-header::before {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .04) 0 8%, transparent 8% 100%),
    radial-gradient(ellipse at 20% 50%, rgba(26, 184, 240, .07), transparent 45%),
    radial-gradient(circle at 38% 18%, rgba(25, 159, 221, .10), transparent 28%),
    linear-gradient(90deg, #04101a 0%, #071e33 50%, #0a2540 100%);
  border: 1px solid #091927;
  border-top: 0;
  box-shadow: 0 6px 24px rgba(0, 20, 40, .35);
}

.container-header::after {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 36px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    #0d7ab5 8%,
    #1ab8f0 30%,
    #22d4ff 50%,
    #1ab8f0 70%,
    #0d7ab5 92%,
    transparent 100%);
  border: 0;
  box-shadow:
    0 0 8px rgba(26, 184, 240, .5),
    0 0 2px rgba(255, 255, 255, .3);
  content: "";
}

.container-header .navbar-brand {
  position: relative;
}

.container-header .bm-circuit {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: min(72vw, 980px);
  height: 120px;
  color: #29c8f6;
  opacity: .28;
  pointer-events: none;
}

.container-header .bm-circuit line,
.container-header .bm-circuit rect,
.container-header .bm-circuit circle {
  fill: none;
  stroke: currentColor;
  stroke-width: .8;
  vector-effect: non-scaling-stroke;
}

.container-header .bm-circuit .bm-circuit-dot {
  fill: currentColor;
  stroke: none;
}

.container-header .bm-header-address,
.container-header .bm-header-phone {
  position: absolute;
  z-index: 2;
  color: #d9f1fb;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .04em;
  line-height: 1;
}

.container-header .bm-header-address {
  top: 53px;
  right: 24px;
  left: auto;
  color: #6bbdd8;
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: none;
  opacity: .85;
}

.container-header .bm-header-phone {
  top: 78px;
  right: 25px;
  color: #e8f6ff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: none;
  text-shadow:
    0 0 8px rgba(26, 184, 240, .25),
    0 1px 0 rgba(0, 20, 35, .6);
}

.container-header .navbar-brand .brand-logo {
  position: relative;
  text-indent: 0;
}

.container-header .bm-header-wordmark {
  position: absolute;
  top: 29px;
  left: 31px;
  z-index: 2;
  color: #1ab8f0;
  display: block;
  font-family: "BitmasterRoundHouse", system-ui, -apple-system, Arial, sans-serif;
  font-size: 62px;
  font-weight: 400;
  line-height: .8;
  letter-spacing: .02em;
  text-shadow:
    0 0 8px rgba(26, 184, 240, .55),
    0 0 20px rgba(26, 184, 240, .25),
    0 3px 0 rgba(0, 30, 50, .7);
}

.container-header .bm-header-tagline {
  position: absolute;
  top: 82px;
  left: 34px;
  z-index: 2;
  color: #4a9fbe;
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
  opacity: .75;
}

.container-header .container-nav {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  background: linear-gradient(180deg,
    rgba(6, 82, 140, .99),
    rgba(3, 52, 96, .99));
  box-shadow:
    inset 0 1px 0 rgba(160, 230, 255, .22),
    inset 0 -1px 0 rgba(0, 10, 22, .6),
    0 3px 8px rgba(0, 15, 32, .3);
}

.container-header .mod-menu {
  min-height: 32px;
}

.container-header .mod-menu > li > a,
.container-header .mod-menu > li > button,
.container-header .metismenu.mod-menu .metismenu-item > a {
  min-height: 32px;
  color: #eff7fb;
  font-size: 12px;
}

.container-header .mod-menu > li > a:hover,
.container-header .mod-menu > li > a:focus,
.container-header .mod-menu > li.active > a,
.container-header .metismenu.mod-menu .metismenu-item > a:hover,
.container-header .metismenu.mod-menu .metismenu-item.active > a {
  background: linear-gradient(180deg, rgba(25, 165, 209, .34), rgba(25, 165, 209, .12));
}

@media (min-width: 900px) and (max-width: 991.98px) {
  .container-header .bm-circuit {
    width: min(76vw, 780px);
  }

  .container-header::after {
    left: 0;
  }

  .container-header .bm-header-wordmark {
    left: 26px;
    font-size: clamp(50px, 7vw, 62px);
  }

  .container-header .bm-header-tagline {
    left: 29px;
    max-width: calc(100vw - 280px);
    white-space: nowrap;
  }
}

@media (max-width: 899.98px) {
  .container-header::before {
    background:
      linear-gradient(135deg, rgba(255, 255, 255, .08) 0 28%, transparent 28% 100%),
      linear-gradient(90deg, #0a1d2c 0 36%, #10283a 36% 100%);
    box-shadow:
      0 10px 0 #06111c,
      0 13px 0 #d9f1fb,
      0 15px 0 #07121c;
  }

  .container-header .bm-circuit {
    width: 72vw;
    height: 106px;
    opacity: .18;
  }

  .container-header::after {
    top: auto;
    right: 0;
    bottom: 36px;
    left: 0;
    height: 2px;
  }

  .container-header .grid-child:first-child,
  .container-header .navbar-brand,
  .container-header .navbar-brand a {
    height: var(--bm-header-top-height);
    min-height: var(--bm-header-top-height);
  }

  .container-header .bm-header-wordmark {
    top: 36px;
    left: 16px;
    display: block;
    font-size: clamp(39px, 11vw, 54px);
    letter-spacing: 0;
    text-shadow:
      0 0 1px rgba(125, 219, 255, .85),
      0 0 8px rgba(25, 159, 221, .45),
      0 2px 0 rgba(0, 22, 39, .5);
  }

  .container-header .bm-header-tagline {
    top: 81px;
    left: 18px;
    display: block;
    max-width: calc(100vw - 36px);
    font-size: 10px;
    letter-spacing: .08em;
    white-space: nowrap;
  }

  .container-header .bm-header-address {
    top: 15px;
    right: 14px;
    display: block;
    max-width: 48vw;
    font-size: 10px;
    letter-spacing: 0;
    text-align: right;
    white-space: nowrap;
  }

  .container-header .bm-header-phone {
    top: 34px;
    right: 14px;
    font-size: 12px;
  }
}
