@font-face {
  font-family: "Nexa Bold";
  src: url('../fonts/nexa-bold.otf') format('opentype');
}

:root {
  --pick-col-width: 20%;
  --win-col-width: 80%;
}

body {
  background-image: url('../images/cfh-blank-title.png');
  font-family: 'Nexa Bold';
}

.debug {
  background-color: #FF00FFa1;
}

.map-grid-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 79vmin;
  height: 79vmin;
  position: absolute;
  left: 6vw;
  top: 16vh;
  align-content: center;
  justify-content: center;
}

#tournament-name {
  font-size: 1.5vw;
  width: 100vw;
  height: 2.6vw;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 0vw;
  color: rgba(240, 240, 240, 0.85);
  letter-spacing: 0.2em;
  z-index: 1;
  text-transform: uppercase;
  font-family: 'Nexa Bold';
}

#map-select-title {
  font-size: 4vw;
  width: 100vw;
  height: 5.2vw;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 2.6vw;
  color: rgba(240, 240, 240, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-family: 'Nexa Bold';
}

.map-select-header {
  display: flex;
  align-items: center;
  width: 100%;
  background-color: #0f1d4c;
}

.header
{
  text-transform: uppercase;
  letter-spacing: 3px;
  background-color: #0f1d4c;
  font-size: 3vh;
  border-bottom: 3px solid #FFFFFF;
  height: 6vh;
  flex-shrink: 0;
  color: rgba(240, 240, 240, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-select-row.win {
  border-width: unset;
  border-style: unset;
  width: 100%;
  height: 9vh;
}

.header.pick {
  width: var(--pick-col-width);
}

.header.map {
  width: 20%;
  display: none;
}

.header.win {
  width: var(--win-col-width);
  justify-content: flex-start;
}

.picked-by .label,
.winner .label 
{
  display: none;
}

.map-selection-container {
  width: 46vw;
  height: 50vh;
  position: absolute;
  display: flex;
  flex-direction: column;
  right: 2vw;
  top: 41vh;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
}

.map-select-row {
  flex-grow: unset;
  max-height: unset;
  margin-bottom: 0;
  position: relative;
  height: 9vh;
}

.map-select-row .picked-by {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: var(--pick-col-width);
}

.map-select-row .winner {
  height: 100%;
  width: var(--win-col-width);
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.banner-team-logo {
  height: 90%;
  margin-top: unset;
  width: 100%;
  position: unset;
}

.winner .banner-team-logo {
  width: 20%;
}

.winner .name {
  display: block;
  width: 80%;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, .95);
  font-size: 170%;
  overflow: hidden;
}

.map-select-row.win .map-banner {
  filter: brightness(0.5);
}

#vs-graphic-opt {
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  width: 9vw;
  height: 7vh;
  top: 26vh;
  right: 20.5vw;
  z-index: -1;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  font-size: 4.2vh;
  background-image: unset;
}

.score-container {
  width: 5vw;
  height: 10vh;
  font-family: 'Nexa Bold', sans-serif;
  font-weight: bold;
  font-size: 7vmin;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  position: absolute;
  top: 24.6vh;
}

#blue-team {
  left: 52vw;
}

.blue.score-container {
  right: 26.5vw;
  color: var(--blue-border-color);
}

.red.score-container {
  left: 76.6vw;
  color: var(--red-border-color);
}