@import url('https://fonts.googleapis.com/css2?family=Montserrat+Alternates:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@font-face {
  font-family: 'fontello';
  src: url('../fonts/fontello.eot?17788187');
  src:
    url('../fonts/fontello.eot?17788187#iefix') format('embedded-opentype'),
    url('../fonts/fontello.woff2?17788187') format('woff2'),
    url('../fonts/fontello.woff?17788187') format('woff'),
    url('../fonts/fontello.ttf?17788187') format('truetype'),
    url('../fonts/fontello.svg?17788187#fontello') format('svg');
  font-weight: normal;
  font-style: normal;
}

[class^='icon-']:before,
[class*=' icon-']:before {
  font-family: 'fontello';
  font-style: normal;
  font-weight: normal;
  speak: never;
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: 0.2em;
  text-align: center;
  font-variant: normal;
  text-transform: none;
  line-height: 1em;
  margin-left: 0.2em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-plus:before {
  content: '\e800';
} /* '' */
.icon-globe:before {
  content: '\e801';
} /* '' */
.icon-cancel:before {
  content: '\e802';
} /* '' */
.icon-angle-right:before {
  content: '\f105';
} /* '' */
.icon-angle-up:before {
  content: '\f106';
} /* '' */
.icon-angle-down:before {
  content: '\f107';
} /* '' */
.icon-instagram:before {
  content: '\f16d';
} /* '' */
.icon-sun:before {
  content: '\f185';
} /* '' */
.icon-moon:before {
  content: '\f186';
} /* '' */
.icon-telegram:before {
  content: '\f2c6';
} /* '' */

.uc-navbar-nav a.active {
  color: #ffb717;
  font-weight: 600;
}

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.btn-animated {
  animation: pulse 4s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.5);
  }

  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 12px rgba(255, 193, 7, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
  }
}

.runner-name {
  cursor: pointer;
  transition: 0.2s;
  font-weight: 500;
  text-decoration: underline;
}

.runner-name:hover {
  color: #ffb717;
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);

  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #e2ffab;
  /* margin: 5% auto; */
  padding: 20px;
  width: 90%;
  max-width: 600px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
}

.close {
  cursor: pointer;
  width: 24px;
  margin-left: auto;
}

.award {
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: 0.2s;
}

.award:hover {
  transform: scale(1.15);
}

.award--inactive {
  filter: grayscale(100%) opacity(0.4);
}

#customTooltip {
  background: #000;
  color: #fff;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 12px;

  max-width: 180px;
  text-align: center;
  white-space: normal;

  z-index: 1000;
}

#awards {
  text-align: center;
  margin-top: 10px;
}

.awards-title {
  margin-bottom: 6px;
  font-size: 14px;
  color: #777;
}

.awards-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.com {
  color: #6b7188;
}
.lit {
  color: #ebc66d;
}
.clo,
.opn,
.pun {
  color: #93a1a1;
}
.fun {
  color: #fa6f6c;
}
.atv,
.str {
  color: #6cb8f7;
}
.kwd,
.linenums .tag {
  color: #7281b2;
}
.atn,
.dec,
.typ,
.var {
  color: #fff;
}
.pln {
  color: #f477b1;
}
.prettyprint {
  padding: 8px;
  background-color: #f7f7f9;
  border: 1px solid #e1e1e8;
}
.prettyprint.linenums {
  -webkit-box-shadow:
    inset 40px 0 0 #fbfbfc,
    inset 41px 0 0 #ececf0;
  -moz-box-shadow:
    inset 40px 0 0 #fbfbfc,
    inset 41px 0 0 #ececf0;
  box-shadow:
    inset 40px 0 0 #fbfbfc,
    inset 41px 0 0 #ececf0;
}
ol.linenums {
  margin: 0 0 0 33px;
}
ol.linenums li {
  padding-left: 12px;
  color: #bebec5;
  line-height: 18px;
  text-shadow: 0 1px 0 #fff;
}

.hero-bg {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)),
    url('/assets/images/bg.webp');
  background-size: cover;
  background-position: center;
}

/* мобилка */
@media (max-width: 768px) {
  .hero-bg {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)),
      url('/assets/images/bg-mobile.webp');
  }
}

#gender-filter {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-image: url("data:image/svg+xml;utf8,<svg fill='%23666' height='20' viewBox='0 0 20 20'><path d='M5 7l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;

  cursor: pointer;
  touch-action: manipulation;
}

#runnerChart {
    background: #fdfff9;
    border-radius: 16px;
    display: block;
        border: 1px solid #d5e0c0;
}