@font-face {
  font-family: SFU2;
  src: url("../nab/fonts/SFUDinNeuGroBoldCondensed2.TTF");
  font-weight: 300;
}

@font-face {
  font-family: SFU;
  src: url("../nab/fonts/SFUDinNeuGroBoldCondensed.TTF");
}

@font-face {
  font-family: UTM;
  src: url("../nab/fonts/UTMSwissCondensedBold.ttf");
}

@font-face {
  font-family: Bebas;
  src: url("../nab/fonts/Bebas-Regular.ttf");
}

:root {
  --road-width: 550px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Encode Sans", sans-serif;
}

a,
.link {
  text-decoration: none;
}
a:hover,
.link:hover {
  text-decoration: none;
}
ul,
li {
  list-style: none;
}
#content-body {
  min-height: calc(100dvh - 270px);
  margin-top: 80px;
  max-width: 1440px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
}
/* title section */

.wrap-title-section {
  padding: 16px 0;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.line-title-section {
  height: 4px;
  width: 100px;
  background-color: #FFA400;
}
.title-section {
  font-size: 28px;
  font-weight: 600;
  text-transform: none;
  color: #0C2340;
}

@media screen and (max-width: 768px) {
  #content-body {
    margin-top: 80px;
  }
  .title-section {
    font-size: 24px;
  }
  
}

@media screen and (max-width: 420px) {
 
  .title-section {
    font-size: 20px;
  }
  .line-title-section {
    height: 3px;
    width: 70px;
  }
}

@media screen and (min-width: 1440px) and (max-width: 1536px)  {
  #content-body {
    max-width: 100dvw;
  }
}

#table-loader, #team-table-loader {
  display: none;
}

#table-loader.htmx-request, #team-table-loader.htmx-request {
  display: table-row;
}
#table-loader.htmx-request ~ #table-no-data,
#team-table-loader.htmx-request ~ #team-table-no-data {
  display: none;
}

/* .cta_bxh {
  animation-name: pulse;
  animation-delay: 0s;
  animation-duration: 1s;
  animation-iteration-count: infinite;
} */

.cta_bxh {
  color: #fff;
  transition: all 0.3s ease-in-out;
  font-size: 1rem;
  width: fit-content;
  bottom: 10px;
  width: 100%;
  text-align: center;
}
.btn-shine {
  position: absolute;
  text-shadow: #dddddd -1px 1px 0px;
  color: #fff;
  background: linear-gradient(to right, #a6a6a6 0, #fff 10%, #858585 20%);
  background-position: 0;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 3s infinite linear;
  animation-fill-mode: forwards;
  -webkit-text-size-adjust: none;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  white-space: nowrap;
}
@-moz-keyframes shine {
  0% {
    background-position: 0;
  }
  60% {
    background-position: 180px;
  }
  100% {
    background-position: 180px;
  }
}
@-webkit-keyframes shine {
  0% {
    background-position: 0;
  }
  60% {
    background-position: 180px;
  }
  100% {
    background-position: 180px;
  }
}
@-o-keyframes shine {
  0% {
    background-position: 0;
  }
  60% {
    background-position: 180px;
  }
  100% {
    background-position: 180px;
  }
}
@keyframes shine {
  0% {
    background-position: 0;
  }
  60% {
    background-position: 180px;
  }
  100% {
    background-position: 180px;
  }
}


/* animation firefly */

.circle {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -4px 0 0 -4px;
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 10;
  box-shadow: 0px 0px 8px 0px #fdfca9 inset, 0px 0px 24px 0px #ffeb3b, 0px 0px 8px 0px #fff 42;
}
.button-wrapper {
  position: relative;
}

.btn-firefly::before {
  content: "";
  box-shadow: 0px 0px 24px 0px #ffeb3b;
  mix-blend-mode: screen;
  transition: opacity 0.3s;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  border-radius: 0.5rem;
  opacity: 0;
}
.btn-firefly::after {
  content: "";
  box-shadow: 0px 0px 23px 0px #fdfca9 inset, 0px 0px 8px 0px #fff 42;
  transition: opacity 0.3s;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  border-radius:  0.5rem;
  opacity: 0;
}
.button-wrapper:hover .btn-firefly::before, .button-wrapper:hover .btn-firefly::after {
  opacity: 1;
}
.button-wrapper:hover .dot {
  transform: translate(0, 0) rotate(var(--rotatation));
}
.button-wrapper:hover .dot::after {
  animation-play-state: running;
  background: #FCDE00;
}
.dot {
  display: block;
  position: absolute;
  transition: transform calc(var(--speed) / 12) ease;
  width: var(--size);
  height: var(--size);
  transform: translate(var(--starting-x), var(--starting-y)) rotate(var(--rotatation));
}
.dot::after {
  content: "";
  animation: hoverFirefly var(--speed) infinite, dimFirefly calc(var(--speed) / 2) infinite calc(var(--speed) / 3);
  animation-play-state: paused;
  display: block;
  border-radius: 100%;
  background: #33BAE6;
  width: 100%;
  height: 100%;
  box-shadow: 0px 0px 6px 0px #FCDE00, 0px 0px 4px 0px #fdfca9 inset, 0px 0px 2px 1px #fff 42;
}
.dot-1 {
  --rotatation: 0deg;
  --speed: 14s;
  --size: 6px;
  --starting-x: 30px;
  --starting-y: 20px;
  top: 2px;
  left: -16px;
  opacity: 0.7;
}
.dot-2 {
  --rotatation: 122deg;
  --speed: 16s;
  --size: 3px;
  --starting-x: 40px;
  --starting-y: 10px;
  top: 1px;
  left: 0px;
  opacity: 0.7;
}
.dot-3 {
  --rotatation: 39deg;
  --speed: 20s;
  --size: 4px;
  --starting-x: -10px;
  --starting-y: 20px;
  top: -8px;
  right: 14px;
}
.dot-4 {
  --rotatation: 220deg;
  --speed: 18s;
  --size: 2px;
  --starting-x: -30px;
  --starting-y: -5px;
  bottom: 4px;
  right: -14px;
  opacity: 0.9;
}
.dot-5 {
  --rotatation: 190deg;
  --speed: 22s;
  --size: 5px;
  --starting-x: -40px;
  --starting-y: -20px;
  bottom: -6px;
  right: -3px;
}
.dot-6 {
  --rotatation: 20deg;
  --speed: 15s;
  --size: 4px;
  --starting-x: 12px;
  --starting-y: -18px;
  bottom: -12px;
  left: 30px;
  opacity: 0.7;
}
.dot-7 {
  --rotatation: 300deg;
  --speed: 19s;
  --size: 3px;
  --starting-x: 6px;
  --starting-y: -20px;
  bottom: -16px;
  left: 44px;
}
@keyframes dimFirefly {
  0% {
    opacity: 1;
 }
  25% {
    opacity: 0.4;
 }
  50% {
    opacity: 0.8;
 }
  75% {
    opacity: 0.5;
 }
  100% {
    opacity: 1;
 }
}
@keyframes hoverFirefly {
  0% {
    transform: translate(0, 0);
 }
  12% {
    transform: translate(3px, 1px);
 }
  24% {
    transform: translate(-2px, 3px);
 }
  37% {
    transform: translate(2px, -2px);
 }
  55% {
    transform: translate(-1px, 0);
 }
  74% {
    transform: translate(0, 2px);
 }
  88% {
    transform: translate(-3px, -1px);
 }
  100% {
    transform: translate(0, 0);
 }
}