/*START navigation bar code*/
nav {
  position: fixed;
  top: 0;
  z-index: 100;
  width: 100%;
  background-color: #333;
  height: 50px;
  display: flex;
  align-items: center;
  border-bottom: 5px solid rgb(18, 179, 248);
  box-sizing: unset;
  overflow: visible;
}

:root {
  --pulse-color: rgba(56, 189, 248, 0.2);
  --pulse-color-solid: rgba(56, 189, 248, 0.4);
  --pulse-glow: rgba(56, 189, 248, 0.08);
  --pulse-glow-heavy: rgba(56, 189, 248, 0.2);
  --pulse-glow-bright: rgba(56, 189, 248, 0.35);
  --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
}



nav.border-pulse-active {
  box-shadow: 0 0 0 1px rgba(1, 45, 65, 0.1), 0 0 10px var(--pulse-color);
}

.nav-pulse-overlay {
  position: fixed;
  top: 45px;
  left: 0;
  width: 100vw;
  height: calc(100vh - 45px);
  z-index: 9999;
  pointer-events: none;
  overflow: visible;
}

.nav-pulse-wave {
  position: absolute;
  top: 0;
  width: 3px;
  height: 100%;
  opacity: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--pulse-color-solid) 0%, var(--pulse-color) 55%, rgba(56, 189, 248, 0) 100%);
  box-shadow: 0 0 6px var(--pulse-glow-bright), 0 0 14px var(--pulse-glow-heavy);
  transform: scaleY(0.08);
}

.nav-pulse-run {
  position: absolute;
  top: 0;
  height: 2px;
  opacity: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0) 0%, var(--pulse-color-solid) 50%, rgba(56, 189, 248, 0) 100%);
  box-shadow: 0 0 6px var(--pulse-glow-bright), 0 0 14px var(--pulse-glow-heavy);
}

.nav-pulse-run.left {
  left: 0;
  width: var(--left-span, 0px);
  transform-origin: right center;
  transform: scaleX(0.08);
}

.nav-pulse-run.right {
  left: var(--right-x, 100%);
  width: var(--right-span, 0px);
  transform-origin: left center;
  transform: scaleX(0.08);
}

.nav-pulse-wave.left {
  left: var(--left-x, 0px);
  transform-origin: top center;
}

.nav-pulse-wave.right {
  left: var(--right-x, 100%);
  transform-origin: top center;
}

.nav-pulse-meet {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  transform: translateX(-50%) scale(0.15);
  background: radial-gradient(circle, var(--pulse-color-solid) 0%, var(--pulse-color) 42%, rgba(56, 189, 248, 0) 72%);
  box-shadow: 0 0 8px var(--pulse-glow-bright), 0 0 18px var(--pulse-glow-heavy);
  opacity: 0;
}

.nav-pulse-overlay.active .nav-pulse-wave.left {
  animation: navPulseLeft 900ms ease-out;
}

.nav-pulse-overlay.active .nav-pulse-wave.right {
  animation: navPulseRight 900ms ease-out;
}

.nav-pulse-overlay.active .nav-pulse-run.left {
  animation: navPulseRunLeft 900ms ease-out;
}

.nav-pulse-overlay.active .nav-pulse-run.right {
  animation: navPulseRunRight 900ms ease-out;
}

.nav-pulse-overlay.active .nav-pulse-meet {
  animation: navPulseMeet 900ms ease-out;
}

@keyframes navPulseLeft {
  0% {
    opacity: 0;
    transform: scaleY(0.08);
  }

  15% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: scaleY(1);
  }
}

@keyframes navPulseRight {
  0% {
    opacity: 0;
    transform: scaleY(0.08);
  }

  15% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: scaleY(1);
  }
}

@keyframes navPulseMeet {
  0% {
    opacity: 0;
    transform: translateX(-50%) scale(0.15);
  }

  25% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(-50%) scale(1.15);
  }
}

@keyframes navPulseRunLeft {
  0% {
    opacity: 0;
    transform: scaleX(0.08);
  }

  15% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: scaleX(1);
  }
}

@keyframes navPulseRunRight {
  0% {
    opacity: 0;
    transform: scaleX(0.08);
  }

  15% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: scaleX(1);
  }
}

.wrapper.border-pulse-hit,
.wrapperleft.border-pulse-hit,
.wrappersmall.border-pulse-hit {
  animation: wrapperEdgeHit 900ms cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes wrapperEdgeHit {
  0% {
    box-shadow: var(--card-shadow);
    border-color: rgba(56, 189, 248, 0.1);
  }

  30% {
    box-shadow: var(--card-shadow), 0 0 0 3px var(--pulse-glow);
    border-color: var(--pulse-color-solid);
  }

  100% {
    box-shadow: var(--card-shadow);
    border-color: rgba(56, 189, 248, 0.1);
  }
}

@media (prefers-reduced-motion: reduce) {

  .nav-pulse-overlay.active .nav-pulse-wave,
  .nav-pulse-overlay.active .nav-pulse-run,
  .nav-pulse-overlay.active .nav-pulse-meet,
  .wrapper.border-pulse-hit,
  .wrapperleft.border-pulse-hit,
  .wrappersmall.border-pulse-hit,
  nav.border-pulse-active {
    animation-duration: 1ms;
  }
}

.navbar {
  max-width: 900px;
  margin: 0 auto;
  flex-wrap: wrap;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: Arial Black;
  padding-top: 0px;
  top: -5px;
}

.nav-item {
  color: #fff;
  text-decoration: none;
  padding: 15px 15px;
}

.logo {
  max-height: 30px;
}

.navimg,
.navimg-small {
  flex-wrap: wrap;
  margin-top: 5px;
  width: 100%;
  max-width: 350px;
  height: 50px;
  object-fit: cover;
  border-radius: 0px;
  max-height: 50px;
  transition: transform 0.3s ease;
}

.nav-item-highlight {
  color: #00A2E8;
  text-decoration: none;
  padding: 15px 15px;
}

.navimg:hover,
.navimg-small:hover {
  transform: scale(1.1);
  filter: saturate(10);
}

@media (max-width:629px) {
  img.navimg {
    display: none;
  }
}

@media (min-width:629px) {
  .navimg-small {
    display: none;
  }
}

@media (max-width:300px) {
  .navimg-small,
  img.navimg {
    display: none;
  }
}

.navbar a:hover {
  color: #10EEEE;
}

/*END navigation bar code */

/*START bottom navigation bar code*/
.navbottomcontent {
  display: flex;
  justify-content: center;
  align-items: center;
}

.navbottomblock {
  background-color: #333333;
  border-top: 5px solid #10EEEE;
  width: 100%;
  bottom: 0;
  overflow: hidden;
  padding: 40px 20px;
  margin-top: 60px;
  box-sizing: border-box;
}

.navbarbottom {
  max-width: 900px;
  margin: 0 auto;
  flex-wrap: wrap;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  font-family: sans-serif;
  font-weight: bold;
  font-size: 20px;
}

.navbarbottom a {
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 20px !important;
  font-weight: bold !important;
  transition: color 0.2s ease !important;
  font-family: sans-serif !important;
}

.navbarbottom a:hover {
  color: #38bdf8 !important;
  font-size: 20.1px !important;
}

.navbarbottom .separator {
  color: #475569;
  user-select: none;
  font-family: sans-serif;
}

.footer-credit {
  margin-top: 20px;
  font-size: 0.85rem;
  color: #ffffff;
  text-align: center;
  font-family: sans-serif;
  font-weight: 400;
}

.center-under {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 15px;
}

@keyframes sizeChange {
  0% {
    transform: scale(1);
    color: rgb(56, 189, 248);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.center-under #important {
  font-size: 20px;
  font-weight: 600;
  color: #38bdf8;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: sizeChange 1.5s infinite ease-in-out;
  font-family: sans-serif;
}

#important:hover {
  color: #7dd3fc;
  transform: scale(1.05);
  animation-play-state: paused;
}

/* END bottom navigation bar code*/

/* Fixed background net canvas */
#net-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
  background-color: transparent;
}