:root {
  --bg-primary-color: #181d27;
  --bg-navbar-color: #141925;
  --bg-content-color: #2d3549;
  --bg-round-total-color: #19644575;
  --bg-round-group-color: #19644c;
  --bg-modal-content-color: #2d3549;
  --bg-eliminated-color: #ff00004a;
  --bg-form-select-color: #46a278;
  --bg-match-finished-color: #d9421278;
  --bg-match-active-color: #0df42457;
  --bg-match-planned-color: #49a4d13d;
  --bg-match-cancelled-color: #f4820d75;
  --bg-register-now-color: linear-gradient(-30deg, #1261575e 0%, #af078347 100%);
  --bg-round-tab-active-color: #499cc3;
  --bg-match-color: #0591d63d;
  --bg-stage-1-color: #2d4947;
  --bg-stage-2-color: #2d493d;
  --bg-stage-3-color: #2d492f;
  --bg-stage-4-color: #4b4f28;
  --modal-bottom-border-color: #dee2e669;
  --accent-color: #ebcb63;
  --light-accent-color: #ebdc63;
  --text-hover-color: #38dbef;
  --text-light-shadow-color: #000000a9;
  --text-match-status-color: #ffffff8a;
  --button-color: #ebcb63;
  --round-generated-gradient: repeating-linear-gradient(45deg, #60a3bc7b, #60a3bc7b 20px, #46859883 0, #46859883 40px);
  --form-select-box-shadow-color: #0dfd8533;
  --table-border-color: #886c9d4a;
  --table-accent: #0000002e;
}

body {
  background: var(--bg-primary-color);
  color: #fff;
  font-family: Poppins, sans-serif;
  letter-spacing: 2px;
  min-height: 100vh !important;
}

a {
  color: #fff;
  text-decoration: none;
}

.navbar-dark .navbar-nav, .navbar-dark .navbar-nav .show > .nav-link {
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
  align-items: center;
}

.navbar-brand img {
  width: 60px;
  height: 60px;
}

.btn-primary {
  border: 2px solid var(--button-color);
  border-radius: 20px;
  font-weight: 600;
  color: var(--accent-color);
  transition: all 0.3s ease;
  background: none;
  padding-top: 12px;
  padding-bottom: 12px;
  padding-right: 30px;
  padding-left: 30px;
}

.btn-primary:hover, .btn-primary:active, .btn-primary:focus, .btn-primary:active:focus {
  color: var(--bg-primary-color);
  background: #fff;
  border: 2px solid #fff;
  box-shadow: none;
}

.navbar {
  background-color: var(--bg-navbar-color);
  padding: 1em 0;
}

@media (min-width:768px) {
  .navbar-expand-md .navbar-nav .nav-link {
    padding-right: 1rem;
    padding-left: 1rem;
  }
}

.table {
  color: #ffffff;
  border-color: var(--table-border-color);
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
  --bs-table-accent-bg: var(--table-accent);
  color: #fff;
}

.th-team {
  width: 25%;
}

.th-school {
  width: 40%;
}

.page-content {
  background: var(--bg-content-color);
  border-radius: 20px;
  overflow: hidden;
  padding: 2em;
}

.section-about {
  background: var(--bg-content-color);
  border-radius: 20px;
  overflow: hidden;
  padding: 2em;
}

.register-now {
  background: var(--bg-register-now-color);
  border-radius: 20px;
  padding-left: 1em;
}

@media (min-width: 768px) {
  .register-now {
    padding-left: 2em;
  }
}

.h-title:after {
  content: '';
  display: block;
  width: 51px;
  height: 8px;
  background: var(--accent-color);
  border-radius: 5px 5px 0 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 13px;
}

a:hover {
  color: var(--text-hover-color);
  transition: all 0.3s ease;
}

.round-tab.active:hover {
  color: inherit;
  transition: none;
}

.table-striped tr {
  vertical-align: middle;
}

.span-team:hover {
  color: var(--text-hover-color);
  transition: all 0.3s ease;
}

.tooltip-inner {
  text-align: left;
  background: var(--bg-primary-color);
}

.tooltip.show {
  opacity: 1;
}

.tooltip.bs-tooltip-end .tooltip-arrow::before {
  border-right-color: var(--bg-primary-color);
}

.round-tab {
  height: 4em;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1 0 0%;
  text-align: center;
  font-weight: 500;
}

@media (min-width: 768px) {
  .round-tab {
    border-top-style: solid;
    border-bottom-style: solid;
  }
}

@media (min-width: 768px) {
  .round-tab:last-child {
    border-right-style: solid;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
  }
}

@media (min-width: 768px) {
  .round-tab:not(:first-child):not(:last-child) {
    border-right-style: solid;
  }
}

@media (min-width: 768px) {
  .round-tab:first-child {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    border-right-style: solid;
    border-left-style: solid;
  }
}

@media (max-width: 767px) {
  .round-tab {
    padding: 10px 0;
    border-top-width: 2px;
    border-top-style: solid;
    border-right-width: 2px;
    border-right-style: solid;
    border-left-width: 2px;
    border-left-style: solid;
  }
}

@media (max-width: 767px) {
  .round-tab:last-child {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    border-bottom-width: 2px;
    border-bottom-style: solid;
  }
}

@media (max-width: 767px) {
  .round-tab:first-child {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-top-width: 2px;
    border-top-style: solid;
  }
}

.round-tab.active {
  background: var(--bg-round-tab-active-color);
}

.round-total {
  background-color: var(--bg-round-total-color);
  padding: 1em;
  border-radius: 10px;
  margin-bottom: 20px;
  padding-bottom: 1px;
}

.round-group {
  background-color: var(--bg-round-group-color);
  padding: 1em;
  border-radius: 10px;
  margin-bottom: 20px;
}

.h-round-total {
  font-weight: 600;
  padding-bottom: .5em;
}

.match {
  background-color: var(--bg-match-color);
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
}

.round-content td, .round-content th {
  font-size: 14px;
  padding-right: 4px;
  padding-left: 4px;
}

.round-content td:not(:first-child):not(:last-child) {
}

.round-content td:last-child, .round-content td:first-child {
  text-align: center;
}

@media (min-width: 768px) {
  .col .game {
    flex: 0 0 auto;
    width: 100%;
  }
}

@media (min-width: 1200px) {
  .col .game {
    flex: 0 0 auto;
    width: 50%;
  }
}

@media (min-width:1400px) {
  .col .game {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
}

.match h4 {
  font-weight: 600;
  margin-bottom: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.match p, .round-total p.status {
  text-align: center;
  font-size: 14px;
}

.match p.status, .round-total p.status {
  font-style: italic;
  color: var(--text-match-status-color);
}

.round-content th:first-child, .round-content th:last-child {
  width: 5%;
}

.table-reponsive {
  overflow-x: hidden;
}

.table-responsive::-webkit-scrollbar {
  display: none;
}

.modal.show {
  display: block;
}

.modal-content {
  background-color: var(--bg-modal-content-color);
}

.modal-title {
  font-size: 1.2rem;
}

.btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

.modal-header {
  border-bottom: 1px solid var(--modal-bottom-border-color);
}

.btn-close:focus {
    box-shadow: none;
}

footer {
  font-size: 0.9rem;
}

.round-generated {
  background: var(--round-generated-gradient);
}

tr.elim {
  background-color: var(--bg-eliminated-color);
}

.light-shadow {
  text-shadow: -1px 0px 3px var(--text-light-shadow-color);
}

.col-thumb {
  display: none;
}

@media (min-width: 992px) {
  .col-thumb {
    display: block;
    padding: 0;
  }
}

.h-sub {
  font-size: 2.2em;
}

.container-home {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

@media (min-width:1400px) {
  .container-home {
    max-width: 1140px;
  }
}

.col-justify {
  display: flex;
  flex-direction: column;
  flex: 35px;
  padding-top: 35px;
  padding-bottom: 35px;
  justify-content: center!important;
}

.span-accent {
  color: var(--accent-color);
}

.span-laccent {
  color: var(--light-accent-color);
}

.d-stage.s1 {
  background-color: var(--bg-stage-1-color);
}

.d-stage {
  border-radius: 20px;
  padding: 20px;
  height: 100%;
}

.col-stage {
  padding-bottom: 24px;
}

.d-stage.s2 {
  background-color: var(--bg-stage-2-color);
}

.d-stage.s3 {
  background-color: var(--bg-stage-3-color);
}

.d-stage.s4 {
  background-color: var(--bg-stage-4-color);
}

.col-stage .p-descr {
  margin-bottom: 0;
}

.col-stage h4 {
  font-size: 26px;
}

.r-about img {
  border-radius: 20px;
}

.r-about p {
  font-size: 18px;
}

.r-about {
  padding-bottom: 2rem;
}

.pt-7 {
  padding-top: 5rem;
}

.mt-7 {
  margin-top: 5rem;
}

.slide-enter-active,
.slide-leave-active {
  transition: opacity 0.2s;
}

.slide-enter,
.slide-leave-to {
  opacity: 0;
}

.col-thumb img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 20px;
}

.brands {
  background-color: #fff;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brands col {
  min-width: 200px;
  text-align: center;
}

@media (min-width: 992px) {
  .brands:first-child {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
  }
}

@media (min-width: 992px) {
  .brands:last-child {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
  }
}

@media (max-width: 767px) {
  .brands:first-child {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
  }
}

@media (max-width: 767px) {
  .brands:last-child {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
  }
}

.form-select {
  color: #fff;
  background-color: var(--bg-form-select-color);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: 16px 12px;
  border: none;
}

.form-select:focus {
  outline: 0;
  box-shadow: 0 0 0 .2rem var(--form-select-box-shadow-color);
}

.m-finished {
  background-color: var(--bg-match-finished-color);
}

.m-active {
  background-color: var(--bg-match-active-color);
}

.m-planned {
  background-color: var(--bg-match-planned-color);
}

.m-cancelled {
  background-color: var(--bg-match-cancelled-color);
}

.match-h {
  padding-top: 1em;
  padding-left: 1em;
  padding-right: 1em;
}

.match-d {
  padding-left: 1em;
  padding-right: 1em;
}

.match p {
  padding-bottom: 0.75em;
}
