:root {
  --black: #000000;
  --black-text: #161616;
  --black-teamname: #040404;
  --default-color: #ACACAC;
  --default-scores: #E8E8E8;
  --bg-color: #ffffff;
  --bg-card: #F6F6F6;
  --border-card: #AAAAAA;
  --round-status: #7C7C7C;
  --console-bg: #4B5FFC;
}

/* ----------- Nimbus FONT ----------- */

@font-face {
  font-family: "Nimbus";
  src: url("../fonts/Nimbus/39AD29_0_0.eot");
  src: url("../fonts/Nimbus/39AD29_0_0.eot?#iefix") format("embedded-opentype"),
    url("../fonts/Nimbus/39AD29_0_0.woff2") format("woff2"),
    url("../fonts/Nimbus/39AD29_0_0.woff") format("woff"),
    url("/fonts/Nimbus/39AD29_0_0.ttf") format("truetype");
}

.Nimbus {
  font-family: Nimbus;
  font-weight: normal;
  font-style: normal;
}



/* ----------- Seravek FONT ----------- */

@font-face {
  font-family: "Seravek";
  src: url("../fonts/SeravekWebBasicRegular/SeravekWebBasicRegular.eot");
  src: url("../fonts/SeravekWebBasicRegular/SeravekWebBasicRegular.eot?#iefix") format("embedded-opentype"),
    url("../fonts/SeravekWebBasicRegular/SeravekWebBasicRegular.woff2") format("woff2"),
    url("../fonts/SeravekWebBasicRegular/SeravekWebBasicRegular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}



/* ----------- GENERAL STYLES -----------*/

html {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

*::after,
*::before,
* {
  box-sizing: inherit;
}

body {
  font-family: Seravek;
  background: var(--bg-color);
}

body, header, nav, main, section, article, aside, footer, div, h1, h2, h3, h4, h5, h6, p, img {
  margin: 0; 
  padding: 0;
}


/* ----------- HEADER STYLES -----------*/


.header {
  padding-top: 0;
  border-bottom: 0;
  position: relative;
}

.header .gsl-menu {
  display: grid;
  grid-auto-flow: column;
  justify-content: space-between;
  align-items: center;
  grid-template-rows: 50px;
  border-bottom: 2px solid rgba(72, 72, 72, .3);
}

.header .gsl-menu > a {
  padding: 0 5px;
  text-decoration: none;
  height: 100%;
  width: 100%;
  color: #A3A3A3;
  font-size: 15px;
  position: relative;
  transition: all .3s ease-in-out;
  line-height: 50px;
  text-align: center;
}

.header .gsl-menu > a::before {
  content: '';
  position: absolute;
  height: 2px;
  width: 100%;
  background: transparent;
  left: 0;
  bottom: -2px;
}

.header .gsl-menu > a.active {
  color: #000000;
  letter-spacing: -0.25px;
  background-color: rgba(0, 0, 0, 0.08);
}

.header .gsl-menu > a.active::before {
  background: #FC5461;
}

.header .container {
  padding: 0 20px;
}

.rounds .container {
  padding: 0;
}

.header .navbar-title {
  padding: 22px 0 20px 0;
}

.header .navbar-title .container {
  display: grid;
  grid-gap: 20px;
}

.header .navbar-title .container .tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(80px, 1fr)) minmax(90px, 1fr);
  grid-gap: 15px;
  justify-items: center;
}

.header .navbar-title .container .tabs > .button {
  text-decoration: none;
  text-align: center;
  color: var(--black-text);
  font-size: 16px;
  width: 100%;
  border: 2px solid var(--black-text);
  border-radius: 2px;
  padding: 10px 0;
  opacity: 0.4;
}

.header .navbar-title .container .tabs > .button.final-stage-btn {
  display: none;
}

.header .navbar-title .container .tabs > .button.active {
  opacity: 1;
}

.header .navbar-title .container .tabs > .button > span {
  display: none;
}

.header .navbar-title .container .header-title {
  font-size: 28px;
  line-height: 30px;
  text-transform: uppercase;
  color: var(--black-text);
  display: grid;
  grid-auto-flow: column;
  justify-content: start;
  align-items: center;
  grid-column-gap: 10px;
}

.header .navbar-title.final-stage .container .tabs.gsl {
  display: none;
}

.rounds {
  background-color: #F6F6F6;
  padding-top: 15px;
  height: 90px;
  overflow: hidden;
  scroll-behavior: smooth;
  display: none;
  align-items: center;
  border-top: 2px solid rgba(72, 72, 72, .3);
}

.rounds.lower.active,
.rounds.upper.active {
  display: grid;
}

.rounds.lower .arrow {
  margin-top: -274px;
}

.rounds .container {
  display: grid;
  grid-template-columns: repeat(1, 100vw);
}

.rounds.final-stage {
  padding-top: 0;
}

.rounds.final-stage .container {
  grid-template-columns: repeat(3, 100vw);
}

.rounds.lower .container {
  grid-template-columns: repeat(8, 100vw);
}

.rounds .round {
  display: grid;
  align-content: start;
  justify-content: center;
  justify-items: center;
  position: relative;
}

.rounds .round::before {
  content: "";
  position: absolute;
  height: 2px;
  background: #979797;
  width: 100%;
  top: 81%;
  right: -50%;
}

/*
.rounds .round::after {
  width: 0%;
  left: 50%;
  top: 82%;
  z-index: 1;
}

.rounds .round.playing::after {
  background: #4B5FFC;
  animation: 1.7s infinite playing;
}

@keyframes playing {

  0% {
    width: 0%;
  }

  10% {
    width: 25%;
  }

  20% {
    width: 35%;
  }

  30% {
    width: 50%;
  }

  40% {
    width: 75%;
  }

  50% {
    width: 80%;
  }

  60% {
    width: 60%;
  }

  70% {
    width: 50%;
  }

  80% {
    width: 35%;
  }

  90% {
    left: 90%;
    width: 25%;
  }

  100% {
    left: 300%;
    width: 0%;
  }
}*/

.rounds .round.complete::before {
  background: #4B5FFC;
}

.rounds .round:last-of-type::before {
  display: none;
}

.rounds .round .title-round {
  font-size: 22px;
  line-height: 32px;
  text-transform: uppercase;
  color: var(--black);
  text-align: center;
  cursor: default;
}

.rounds .round .status-round {
  width: 73px;
  height: 16px;
  background: #FFFFFF;
  border: 1px solid #979797;
  color: var(--round-status);
  border-radius: 3px;
  font-weight: bold;
  font-size: 12px;
  line-height: 15px;
  text-align: center;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  cursor: default;
  z-index: 2;
}

.rounds.lower .round:first-child .status-round {
  justify-self: start;
}

.rounds .round.complete .status-round {
  border: 1px solid #4B5FFC;
  color: #4B5FFC;
}

.rounds .arrow {
  position: absolute;
  top: 50%;
  margin-top: 83px;
  left: 20px;
  transition: transform .3s ease-in-out;
  transform: scale(0);
  cursor: pointer;
  z-index: 2;
}

.rounds.final-stage .arrow {
  margin-top: 58px;
}

.rounds .arrow.next {
  left: unset;
  right: 20px;
}

.rounds .arrow.active {
  transform: scale(1);
}

.card.game-video .video-links {
  display: grid;
  align-content: center;
  justify-content: center;
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(180deg, #2BF8FE 0%, #4C5CFC 100%);
  transition: opacity .3s ease-in-out;
  opacity: 0;
  z-index: 1;
}

.card.game-video .video-links::before {    
  content: '';
  position: absolute;
  width: 177px;
  height: 1px;
  background: #FFFFFF;
  opacity: 0.7;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.card.game-video.only-video .video-links::before,
.small-border-card.card.game-video.only-video .video-links::before {
  display: none;
}

.card.game-video:hover .video-links {
  opacity: 0.95;
}

.card.game-video .video-links .link {
  width: 181px;
  height: 40px;
  text-decoration: none;
  color: #fff;
  font-size: 15px;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
}

.small-border-card.card.game-video .video-links .link {
  height: 25px;
  line-height: 25px;
}

.small-border-card.card.game-video.only-video .video-links .link {
  height: 40px;
  line-height: 40px;
}

.main.brackets .cards-container .round-matchs .cards.upper:nth-child(1) > .card-container,
.main.brackets .cards-container .round-matchs .cards.upper:nth-child(2) > .card-container,
.main.brackets .cards-container .round-matchs .cards.lower:nth-child(6) > .card-container,
.main.brackets .cards-container .round-matchs .cards.lower:nth-child(7) > .card-container,
.main.brackets .cards-container .round-matchs .cards.upper:nth-child(1) > .card-container > .border-card,
.main.brackets .cards-container .round-matchs .cards.upper:nth-child(2) > .card-container > .border-card,
.main.brackets .cards-container .round-matchs .cards.lower:nth-child(6) > .card-container > .border-card,
.main.brackets .cards-container .round-matchs .cards.lower:nth-child(7) > .card-container > .border-card {
  height: 60px;
  width: 273px;
}

.main.brackets .cards-container .round-matchs .cards {
  grid-row-gap: 6px;
}

.main.brackets .cards-container .round-matchs .cards.upper:nth-child(1) > .card-container .connector1,
.main.brackets .cards-container .round-matchs .cards.upper:nth-child(2) > .card-container .connector1,
.main.brackets .cards-container .round-matchs .cards.lower:nth-child(6) > .card-container .connector1,
.main.brackets .cards-container .round-matchs .cards.lower:nth-child(7) > .card-container .connector1,
.main.brackets .cards-container .round-matchs .cards.upper:nth-child(1) > .card-container .connector3,
.main.brackets .cards-container .round-matchs .cards.upper:nth-child(2) > .card-container .connector3,
.main.brackets .cards-container .round-matchs .cards.lower:nth-child(6) > .card-container .connector3,
.main.brackets .cards-container .round-matchs .cards.lower:nth-child(7) > .card-container .connector3 {
  bottom: unset;
  top: 50%;
  transform: translateY(3px);
  height: 50px;
  right: -27px;
  width: 22px;
}

.main.brackets .cards-container .round-matchs .cards.upper:nth-child(2) > .card-container .connector1,
.main.brackets .cards-container .round-matchs .cards.upper:nth-child(2) > .card-container .connector3 { 
  height: 70px;
  width: 21px;
  right: -26px;
}

.main.brackets .cards-container .round-matchs .cards.upper:nth-child(1) > .card-container .connector3,
.main.brackets .cards-container .round-matchs .cards.lower:nth-child(6) > .card-container .connector3,
.main.brackets .cards-container .round-matchs .cards.lower:nth-child(7) > .card-container .connector3 {
  transform: translateY(-45px);;
}

.main.brackets .cards-container .round-matchs .cards.upper:nth-child(2) > .card-container .connector3 {
  transform: translateY(-63px);
}

.main.brackets .cards-container .round-matchs .cards.upper:nth-child(1) > .card-container::before,
.main.brackets .cards-container .round-matchs .cards.upper:nth-child(2) > .card-container::before,
.main.brackets .cards-container .round-matchs .cards.lower:nth-child(6) > .card-container::before,
.main.brackets .cards-container .round-matchs .cards.lower:nth-child(7) > .card-container::before {
  display: none;
}

.main.brackets .cards-container .round-matchs .cards.upper:nth-child(1) > .card-container .small-border-card .card-container::before,
.main.brackets .cards-container .round-matchs .cards.upper:nth-child(2) > .card-container .small-border-card .card-container::before,
.main.brackets .cards-container .round-matchs .cards.lower:nth-child(7) > .card-container .small-border-card .card-container::before {
  display: block;
}

.main.brackets .cards-container .round-matchs .cards.upper:nth-child(1),
.main.brackets .cards-container .round-matchs .cards.lower:nth-child(6),
.main.brackets .cards-container .round-matchs .cards.lower:nth-child(7) {
  align-content: start;
}

/* ----------- MAIN STYLES -----------*/

.main.brackets {
  margin: 0;
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
}

.main.brackets .cards-container {
  scroll-behavior: smooth;
  display: none;
}

.main.brackets .cards-container.active {
  display: block;
  padding: 0 20px;
} 

.main.brackets .cards-container.grand-final-container.active {
  padding-bottom: 70px;
}

.main.double-elim {
  overflow: hidden;
}

.main.double-elim .de-brackets {
  display: grid;
  grid-template-columns: repeat(5, 313px);
  justify-items: center;
}

.main.double-elim .de-brackets .round-container {
  display: grid;
  justify-content: center;
  grid-gap: 6px;
  width: 100%;
  position: relative;
  left: 50vw;
  transform: translateX(-50%);
  margin-bottom: 50px;
}

.main.double-elim .de-brackets .round-container:nth-child(2) {
  top: 11px;
}

.main.double-elim .de-brackets .round-container:nth-child(+n+2) .card-container::before {
  content: '';
  position: absolute;
  left: -19px;
  background-color: var(--console-bg);
  width: 23px;
  height: 2px;
  top: 50%;
  transform: translateY(calc(-50% - 3px));
}

.main.double-elim .de-brackets .round-container:nth-child(+n+3) .card-container::before {
  transform: translateY(-50%);
}

.main.double-elim .de-brackets .round-container:nth-child(+n+3) {
  top: 21px;
  align-content: start;
}

.main.double-elim .de-brackets .round-container:nth-child(3) {
  grid-gap: 29px;
}

.main.double-elim .de-brackets .round-container:nth-child(4) {
  top: 88px;
  grid-gap: 162px;
}

.main.double-elim .de-brackets .round-container:last-child {
  grid-gap: 15px;
  align-content: center;
  justify-items: center;
  top: 93px;
}

.main.double-elim .de-brackets .round-container:last-child .card-container::after {
  content: '';
  position: absolute;
  height: 20px;
  width: 2px;
  left: 50%;
  top: 100px;
  transform: translateX(-50%);
  background: #AF8E2F;
}

/* ----------- CARD STYLES -----------*/

.card-container {
  position: relative;
  border-radius: 13px;
  background: var(--bg-color);
}

.card-container .border-card {
  display: grid;
  justify-items: center;
  align-items: center;
  width: 279px;
  max-width: 279px;
  height: 104px;
  max-height: 104px;
}

.card-container .border-card.small-border-card {
  height: 60px;
  max-height: 60px;
}

.card-container .border-card.small-border-card .card {
  padding: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  width: 273px;
  padding: 9px 6px;
  height: 60px;
}

.card-container .border-card.small-border-card .card .players-gamertag-score {
  display: grid;
  grid-template-columns: 1fr 59px 1fr;
  justify-content: space-between;
  align-items: center;
}

.card-container .border-card.small-border-card .card .players-gamertag-score .player {
  display: grid;
  grid-gap: 5px;
}

.card-container .border-card.small-border-card .card .players-gamertag-score .player2 {
  justify-content: end;
}

.card-container .border-card.small-border-card .card .players-gamertag-score .player .teamname {
  font-style: italic;
  font-size: 10px;
  color: var(--default-color);
  white-space: nowrap;
}

.card-container .border-card.small-border-card .card .players-gamertag-score .player1 .teamname,
.card-container .border-card.small-border-card .card .players-gamertag-score .player2 .teamname {
  color: var(--black-teamname);
}

.card-container .border-card.small-border-card .card .players-gamertag-score .player:last-of-type .teamname {
  text-align: right;
}

.card-container .border-card.small-border-card .card .players-gamertag-score .player .gamertag-team {
  display: grid;
  grid-template-columns: 20px auto;
  align-items: center;
  grid-gap: 4px;
}

.card-container .border-card.small-border-card .card .players-gamertag-score .player:last-of-type .gamertag-team {
  grid-template-columns: auto 20px;
}

.card-container .border-card.small-border-card .card .players-gamertag-score .player .gamertag-team .gamertag {
  font-size: 14px;
  color: var(--default-color);
}

.card-container .border-card.small-border-card .card .players-gamertag-score .player1 .gamertag-team .gamertag,
.card-container .border-card.small-border-card .card .players-gamertag-score .player2 .gamertag-team .gamertag {
  color: var(--black);
}

.card-container .border-card.small-border-card .card .players-gamertag-score .player:last-of-type .gamertag-team .gamertag {
  text-align: right;
}

.card-container .border-card.small-border-card .card .players-gamertag-score .player .gamertag-team .team {
  width: 20px;
  height: 20px;
}

.card-container .border-card.small-border-card .card .players-gamertag-score .scores {
  display: grid;
  grid-template-columns: repeat(2, 28px);
  grid-gap: 5px;
}

.card-container .border-card.small-border-card .card .players-gamertag-score .scores .Nimbus {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 42px;
  background: var(--bg-color);
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
  border-radius: 3px;
}

.card-container .border-card.small-border-card .card .players-gamertag-score .scores .win {
  background: linear-gradient(to top, #4b5ffc, #36c5fd);
}

.card-container .border-card.small-border-card .card .players-gamertag-score .scores .win .score {
  color: white;
}

.card-container .border-card.small-border-card .card.default .players-gamertag-score .scores .Nimbus {
  background: var(--default-scores);
  box-shadow: unset;
}

.card-container .border-card.small-border-card .card .players-gamertag-score .scores .score {
  letter-spacing: -0.2px;
  font-size: 22px;
  line-height: 22px;
}

.card-container .border-card.small-border-card .card .players-gamertag-score .player .ranked-player {
  display: grid;
  grid-auto-flow: column;
  justify-content: center;
  align-items: center;
  grid-gap: 2px;
  width: 90px;
  height: 15px;
  background: #E1E3E4;
  border: 0.5px solid rgba(151, 151, 151, 0.6);
  border-radius: 2px;
  cursor: pointer;
}

.card-container .border-card.small-border-card .card .players-gamertag-score .player .ranked-player .ranked-text {
  font-weight: bold;
  font-size: 10px;
  line-height: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #949494;
}

.card-container .border-card.small-border-card .card .players-gamertag-score .player .ranked-player .question {
  width: 10px;
  height: 10px;
}

.main.brackets .round-title {
  display: none;
}

.main.brackets .cards-container .round-matchs {
  padding-left: 0!important;
  justify-content: unset!important;
}

.main.brackets .cards-container .cards:nth-child(+n+2) .card-container::before {
  transform: unset;
}

.header .navbar-title .container .tabs.gsl {
  grid-template-columns: repeat(2, minmax(80px, 1fr));
  display: grid;
  grid-auto-flow: column;
  align-items: baseline;
  justify-content: start;
  grid-column-gap: 13px;
  grid-row: 2 / 3;
}

.main.brackets .cards-container .round-matchs {
  grid-template-columns: 586px 273px;
  padding-bottom: 0;
}

.main.brackets .cards-container .round-matchs.final-stage {
  grid-template-columns: repeat(3, 273px);
  grid-column-gap: 40px;
}

.main.brackets .cards-container .container {
  margin: 0 auto;
}

.main.brackets .cards-container .round-matchs .cards {
  grid-template-rows: 36px repeat(2, auto) 36px auto;
  grid-template-columns: repeat(2, 273px);
  justify-items: center;
  grid-row-gap: unset;
  grid-column-gap: 40px;
  margin-bottom: 80px;
}

.main.brackets .cards-container .round-matchs .final-stage {
  align-content: start;
  grid-template-rows: 36px repeat(2, 104px) 36px 104px 42px;
  grid-template-columns: 273px;
  margin-left: 40px;
}

.main.brackets .cards-container .round-matchs .final-stage .final-stage-card {
  width: 111px;
  height: 98px;
  background: #f6f6f6;
  border: 1px solid var(--border-card);
  margin: 20px 0 1px;
  grid-row: 2 / 4;
  align-self: center;
  border-radius: 10px;
  padding: 15px 17px 8px 12px;
  display: grid;
  align-content: start;
  grid-row-gap: 11px;
}

.main.brackets .cards-container .round-matchs .final-stage .final-stage-card.lower {
  background: #E1E3E4;
}

.main.brackets .cards-container .round-matchs .final-stage .final-stage-card .thumbnail-teamlogo {
  display: grid;
  grid-auto-flow: column;
  justify-content: start;
  grid-column-gap: 15px;
  position: relative;
}

.main.brackets .cards-container .round-matchs .final-stage .final-stage-card .thumbnail-teamlogo::before {
  content: '';
  position: absolute;
  width: 1px;
  height: 34px;
  background: #d8d8d8;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.main.brackets .cards-container .round-matchs .final-stage .final-stage-card .thumbnail-teamlogo .thumbnail,
.main.brackets .cards-container .round-matchs .final-stage .final-stage-card .thumbnail-teamlogo .team {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  padding: 2px;
}

.main.brackets .cards-container .round-matchs .final-stage .final-stage-card .thumbnail-teamlogo .thumbnail img,
.main.brackets .cards-container .round-matchs .final-stage .final-stage-card .thumbnail-teamlogo .team img {
  width: 100%;
  height: 100%;
}

.main.brackets .cards-container .round-matchs .final-stage .final-stage-card .thumbnail-teamlogo .thumbnail img {
  background: #ffffff;
  border-radius: 50%;
}

.main.brackets.ps4 .cards-container .round-matchs .final-stage .final-stage-card .thumbnail-teamlogo .thumbnail {
  background: linear-gradient(to top,#4b5ffc,#36c5fd)
}

.main.brackets .cards-container .round-matchs .final-stage .final-stage-card.default .thumbnail-teamlogo .thumbnail,
.main.brackets .cards-container .round-matchs .final-stage .final-stage-card.default .thumbnail-teamlogo .team {
  background: rgba(196, 196, 196, 0.75);
  opacity: 0.5;
}

.main.brackets .cards-container .round-matchs .final-stage .final-stage-card .thumbnail-teamlogo .team {
  border-radius: unset;
}

.main.brackets .cards-container .round-matchs .final-stage .final-stage-card .nation-teamname .nation-nick {
  display: grid;
  grid-template-columns: 19px auto;
  align-items: center;
  justify-content: start;
  grid-column-gap: 5px;
}

.main.brackets .cards-container .round-matchs .final-stage .final-stage-card .nation-teamname .nation-nick .nation {
  width: 19px;
  height: 11px;
  background: #D8D8D8;
  border-radius: 2.5641px;
}

.main.brackets .cards-container .round-matchs .final-stage .final-stage-card.default .nation-teamname .nation-nick .nation {
  background: rgba(196, 196, 196, 0.75);
  opacity: 0.5;
}

.main.brackets .cards-container .round-matchs .final-stage .final-stage-card .nation-teamname .nation-nick .nation img {
  width: 100%;
  height: 100%;
  vertical-align: top;
}

.main.brackets .cards-container .round-matchs .final-stage .final-stage-card .nation-teamname .nation-nick .nickname {
  font-family: Nimbus;
  font-size: 14px;
  color: #000000;
}

.main.brackets .cards-container .round-matchs .final-stage .final-stage-card.default .nation-teamname .nation-nick .nickname {
  color: #9E9FA0;
}

.main.brackets .cards-container .round-matchs .final-stage .final-stage-card .nation-teamname {
  display: grid;
  grid-row-gap: 2px;
}

.main.brackets .cards-container .round-matchs .final-stage .final-stage-card .nation-teamname .teamname {
  font-family: Seravek;
  font-size: 10px;
  font-style: italic;
  color: #040404;
}

.main.brackets .cards-container .round-matchs .final-stage .final-stage-card.default .nation-teamname .teamname {
  color: #ACACAC;
}

.main.brackets .cards-container .round-matchs .final-stage .final-stage-card:nth-child(3) {
  grid-row: 5 / 6;
  margin-top: 55px;
}

.main.brackets .cards-container .round-matchs .final-stage .final-stage-btn,
.main.brackets .cards-container .round-matchs.final-stage .group-stage-btn {
  display: inline-block;
  border: 2px solid #161616;
  border-radius: 2px;
  position: relative;
  text-decoration: none;
  color: #000000;
  line-height: 40px;
  text-align: center;
}

.main.brackets .cards-container .round-matchs .final-stage .final-stage-btn {
  grid-row: 6 / 7;
  width: 165px;
  top: 62px;
}

.main.brackets .cards-container .round-matchs.final-stage .group-stage-btn {
  height: 48px;
  line-height: 48px;
  width: 100%;
  align-self: center;
}

.main.brackets .cards-container .round-matchs .cards.grand-final {
  display: grid;
}

.rounds.lower {
  display: none;
}

.main.brackets .cards-container .round-matchs .cards .title-upper,
.main.brackets .cards-container .round-matchs .cards .title-lower {
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, #4B5FFC -1.14%, #36C5FD 100%);
  border-radius: 4px;
  text-align: center;
  line-height: 40px;
  color: #ffffff;
  margin-bottom: 8px;
  font-weight: 600;
}

.main.brackets .cards-container .round-matchs .cards .title-lower {
  color: #000000;
}

.main.brackets .cards-container .round-matchs .cards .card-container:nth-child(2) {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  margin: 8px 0 1px;
}

.main.brackets .cards-container .cards .card-container .connector1, 
.main.brackets .cards-container .cards .card-container .connector3 {
  height: 55px;
  width: 20px;
  right: -16px;
}

.main.brackets .cards-container .round-matchs .cards .card-container:nth-child(3) {
  grid-column: 1 / 2;
  grid-row: 3 / 4;
  margin: 0 0 10px 0;
}

.main.brackets .cards-container .round-matchs .cards .title-lower-1 {
  grid-column: 1 / 2;
  grid-row: 4 / 5;
}

.main.brackets .cards-container .round-matchs .cards .title-lower-2 {
  grid-column: 2 / 3;
  grid-row: 4 / 5;
}

.main.brackets .cards-container .round-matchs .cards .card-container:nth-child(6) {
  grid-column: 2 / 3;
  grid-row: 2 / 4;
  align-self: center;
}

.main.brackets .cards-container .round-matchs .cards .card-container:nth-child(7) {
  grid-column: 1 / 2;
  grid-row: 5 / 6;
  margin: 28px 0 0;
}

.main.brackets .cards-container .round-matchs .cards .card-container:nth-child(7) .connector3 {
  height: 22px;
  width: 20px;
  right: -16px;
}

.main.brackets .cards-container .round-matchs .cards .card-container:nth-child(6)::before,
.main.brackets .cards-container .round-matchs .cards .card-container:nth-child(9)::before {
  content: '';
  position: absolute;
  width: 21px;
  height: 2px;
  background: #4B5FFC;
  top: 50%;
  transform: translateY(-50%);
  left: -18px;
  margin-top: 1px;
}

.main.brackets .cards-container .round-matchs .cards .card-container:nth-child(9)::before {
  margin-top: -8px;
}

.main.brackets .cards-container .round-matchs .cards .card-container:nth-child(9) {
  grid-column: 2 / 3;
  grid-row: 5 / 6;
  margin: 8px 0 0 0;
}

.main.brackets .cards-container .round-matchs .cards .card-container:nth-child(7) .card,
.main.brackets .cards-container .round-matchs .cards .card-container:nth-child(9) .card {
  background: #E1E3E4;
}

.card-container .border-card.default .card .players-thumbnails-score .player .thumbnail-logo .logo img {
  opacity: 0.45;
}

.card-container:nth-child(7) .border-card.default .card .players-thumbnails-score .player .thumbnail-logo .thumbnail, 
.card-container:nth-child(9) .border-card.default .card .players-thumbnails-score .player .thumbnail-logo .thumbnail {
  background: #9D9D9D;
  opacity: 0.4;
}

.card-container:nth-child(7) .border-card.default .card .players-thumbnails-score .scores .score, 
.card-container:nth-child(9) .border-card.default .card .players-thumbnails-score .scores .score {
  background: #CED0D0;
  opacity: 1;
}

.card-container:nth-child(7) .border-card.default .card .players-info-games .player .team, 
.card-container:nth-child(9) .border-card.default .card .players-info-games .player .team {
  color: #ACACAC;
  opacity: 1;
}

.main.brackets .cards-container .round-matchs .cards .title-lower {
  background: linear-gradient(0deg, #E1E3E4, #E1E3E4);
}

.main.brackets .cards-container .round-matchs .cards .card-container:nth-child(6) .connector1,
.main.brackets .cards-container .round-matchs .cards .card-container:nth-child(9) .connector1 {
  border-right: none;
  width: 121px;
  right: -118px;
}

.main.brackets .cards-container .round-matchs .cards .card-container:nth-child(7) .connector3 {
  height: 22px;
  width: 20px;
  right: -17px;
}

.card .players-info-games .player .nation-nick .nation {
  height: 12px;
  width: 20px;
}

.grand-final .card .players-info-games .player .nation-nick .nation {
  display: flex;
  justify-content: center;
  align-items: center;
}

.main.brackets .cards-container .round-matchs .cards.grand-final img {
  border-radius: 3px;
}

/* FINAL STAGE STYLES */

.main-grand-final .grand-final-container {
  background: unset;
}

.main.brackets .cards-container .round-matchs.final-stage .cards {
  display: grid;
  grid-template-columns: 273px;
  grid-template-rows: 98px 36px 98px;
  padding-top: 23px;
  align-content: start;
}

.main.brackets .cards-container .round-matchs.final-stage .cards.semifinal {
  grid-template-rows: 98px 36px 98px;
  grid-row-gap: 24px;
}

.main.brackets .cards-container .round-matchs.final-stage .cards.semifinal {
  grid-template-rows: 98px 36px 98px;
  align-content: start;
  grid-row-gap: 8px;
}

.main.brackets .cards-container .round-matchs.final-stage .cards.semifinal .title-lower {
  margin-top: 18px;
}

.main.brackets .cards-container .round-matchs.final-stage .cards.semifinal .card-container {
  top: 33px;
}

.main.brackets .cards-container .round-matchs.final-stage .cards.semifinal .card-container .connector1 {
  border-top: none;
  border-bottom: 2px solid #4b5ffc;
  top: unset;
  bottom: 50%;
  margin-bottom: -9px;
  height: 21px;
}

.main.brackets .cards-container .round-matchs.final-stage .cards.final-match .card-container {
  align-self: center;
}

.main.brackets .cards-container .round-matchs.final-stage .cards.final-match .card-container::before {
  width: 41px;
  margin-left: -37px;
  margin-top: -1px;
}

.main.brackets .cards-container .round-matchs.final-stage .cards.final-match .card-container:last-child::before {
  width: 22px;
  margin-left: -18px;
  margin-top: 0;
}

.main.brackets .cards-container .round-matchs.final-stage .cards.final-match .card-container:last-child {
  top: 37px;
}

.main.brackets .cards-container .round-matchs.final-stage .cards.final-match .card-container:last-child .connector1 {
  border-top: none;
  border-bottom: 2px solid #af8d26;
  top: unset;
  bottom: 50%;   
}

.main.brackets .cards-container .round-matchs.final-stage .cards.final-match .card-container:first-child .connector1,
.main.brackets .cards-container .round-matchs.final-stage .cards.final-match .card-container:last-child .connector1 {
  height: 90px;
  border-color: #af8d26;
}

.main.brackets .cards-container .round-matchs.final-stage .cards.final-match .title-lower {
  margin: 26px 0 0 0px;
}

.main.brackets .cards-container .round-matchs.final-stage .cards.grand-final {
  grid-template-rows: 98px 98px auto;
  top: 76px;
}

.main.brackets .cards-container .round-matchs.final-stage .cards.grand-final > img {
  width: 103px;
  height: 117px;
  position: relative;
  top: 29px;
}

.main.brackets .cards-container .round-matchs.final-stage .cards.grand-final .card-container .connector1 {
  display: none;
}

.main.brackets.ps4 .cards-container .round-matchs.final-stage .cards:nth-child(+n+3) .card-container::before,
.main.brackets .cards-container .round-matchs.final-stage .cards.final .card-container::after {
  background: #af8d26;
  width: 21px;
  left: 0px;
}

.main.brackets .cards-container .round-matchs.final-stage .cards.final .card-container::after {
  width: 2px;
  bottom: -24px;
  left: 50%;
}

.main-grand-final .grand-final-container .grand-final > .card-container:nth-child(2)::before {
  display: none;
}

.main.brackets .cards-container .round-matchs.final-stage .cards.final .card-container:nth-child(2)::after {
  bottom: -29px;
  height: 14px;
}

.grand-final > .card-container .border-card .players-thumbnails-score .player .thumbnail-logo .thumbnail {
  background: linear-gradient(to top,#af8d26,#e3cc91);
}

.main-grand-final .grand-final-container .grand-final > .card-container .border-card::before {
  display: none;
}

.main-grand-final .grand-final-container .grand-final .grand-final-winner {
  margin: 2rem 0 0 0;
}

.main-grand-final .grand-final-container .grand-final .grand-final-winner .team-thumbnail-nation .thumbnail-console .console {
  display: none;
}

.main-grand-final .grand-final-container .grand-final .grand-final-winner .team-thumbnail-nation .thumbnail-console .thumbnail {
  width: 100%;
  height: 100%;
}

.main-grand-final .grand-final-container .grand-final .grand-final-winner .team-thumbnail-nation .thumbnail-console .thumbnail img {
  width: 100%;
  height: 100%;
}

.main.brackets .cards-container .round-matchs.final-stage .cards.grand-final.last-round-hide .card-container:nth-child(2) {
  display: none;
}

@media screen and (min-width: 400px) {
  
  .header .gsl-menu {
    grid-template-columns: repeat(4, minmax(100px, 1fr));
  }

}

@media screen and (min-width: 568px) {
  
  .main.double-elim .de-brackets .round-container {
    left: unset;
    transform: unset;
  }

}



@media screen and (min-width: 992px) {
  
  .header .container {
    padding: 0;
  }

  .header .gsl-menu {
    display: none;
  }

  .header .navbar-title {
    padding: 36px 0 30px 0;
  }
  
  .header .navbar-title .container {
    grid-gap: 40px;
  }

  .container {
    width: 768px;
    margin: 0 auto;
  }

  .header .navbar-title .container .tabs {
    grid-row: 2 / 3;
    grid-template-columns: repeat(2, 205px) 183px;
  }

  .header .navbar-title .container .header-title {
    font-size: 40px;
  }

  .header .navbar-title .container .tabs > .button {
    font-size: 20px;
    padding: 16.3px 0;
  }

  .main.brackets {
    padding: 0;
  }

}



@media screen and (min-width: 1024px) {

  .rounds.final-stage .arrow {
    margin-top: 36px;
  }

  .container {
    width: 951px;
  }

  .rounds.upper,
  .rounds.lower {
    display: grid;
  }

  .rounds .container {
    display: grid;
    grid-template-columns: repeat(7, 364px);
  }

  .rounds.final-stage .container {
    grid-template-columns: repeat(3, 364px);
  }

  .rounds.final-stage .round::before {
    right: -50px;
  }

  .rounds.lower .container {
    grid-template-columns: repeat(8, 364px);
  }

  .rounds .arrow {
    margin-top: 88px;
  }

  .rounds .round {
    justify-content: start;
  }
  
  .rounds .round::before {
    top: 82%;
    right: 0;
  }

  .main.brackets .cards-container .round-matchs .cards {
    grid-row-gap: 0;
  }
  
  .card-container .border-card {
    width: 336px;
    max-width: 336px;
    height: 111px;
    max-height: 111px;
  }
  
  .card-container .border-card.small-border-card .card {
    width: 330px;
    height: 66px;
    padding: 12px;
  }

  .card-container .border-card.small-border-card .card .players-gamertag-score {
    grid-template-columns: 1fr 68px 1fr;
  }

  .card-container .border-card.small-border-card .card .players-gamertag-score .scores {
    grid-template-columns: repeat(2, 30px);
    grid-gap: 8px;
  }

  .card-container .border-card.small-border-card .card .players-gamertag-score .player .gamertag-team {
    grid-gap: 2px;
  }

  .rounds.lower .arrow {
    margin-top: -20px;
  } 

  .main.brackets .cards-container .round-matchs .cards.upper:nth-child(1) > .card-container, 
  .main.brackets .cards-container .round-matchs .cards.upper:nth-child(2) > .card-container, 
  .main.brackets .cards-container .round-matchs .cards.lower:nth-child(6) > .card-container,
  .main.brackets .cards-container .round-matchs .cards.lower:nth-child(7) > .card-container, 
  .main.brackets .cards-container .round-matchs .cards.upper:nth-child(1) > .card-container > .border-card, 
  .main.brackets .cards-container .round-matchs .cards.upper:nth-child(2) > .card-container > .border-card, 
  .main.brackets .cards-container .round-matchs .cards.lower:nth-child(6) > .card-container > .border-card,
  .main.brackets .cards-container .round-matchs .cards.lower:nth-child(7) > .card-container > .border-card {
    width: 330px;
    height: 66px;
  }

  .main.brackets .cards-container .round-matchs .cards.upper:nth-child(1) > .card-container .connector1,
  .main.brackets .cards-container .round-matchs .cards.upper:nth-child(2) > .card-container .connector1,
  .main.brackets .cards-container .round-matchs .cards.lower:nth-child(6) > .card-container .connector1,
  .main.brackets .cards-container .round-matchs .cards.lower:nth-child(7) > .card-container .connector1,
  .main.brackets .cards-container .round-matchs .cards.upper:nth-child(1) > .card-container .connector3,
  .main.brackets .cards-container .round-matchs .cards.upper:nth-child(2) > .card-container .connector3,
  .main.brackets .cards-container .round-matchs .cards.lower:nth-child(6) > .card-container .connector3,
  .main.brackets .cards-container .round-matchs .cards.lower:nth-child(7) > .card-container .connector3 {
    right: -20px;
    width: 14px;
  }

  .main.brackets .cards-container .round-matchs .cards .card-container:nth-child(7) .connector3 {
    height: 25px;
    width: 11px;
    right: -7px;
  }

  .main.brackets .cards-container .round-matchs .cards.upper:nth-child(2) > .card-container .connector1, 
  .main.brackets .cards-container .round-matchs .cards.upper:nth-child(2) > .card-container .connector3 {
    height: 75px
  }

  .main.brackets .cards-container .round-matchs .cards.upper:nth-child(2) > .card-container .connector3 {
    transform: translateY(-66px);
  }

  .main.brackets .cards-container .cards:nth-child(+n+3) .card-container::before {
    width: 19px;
    margin-left: -16px;
  }

  .main.brackets .cards-container .cards:nth-child(+n+3) .card-container::before {
    width: 19px;
    margin-left: -16px;
  }

  .main.brackets .cards-container .cards:nth-child(+n+2) .card-container::before {
    margin-top: 1px;
  }

  .main.brackets .cards-container .upper .cards:nth-child(+n+6) .card-container::before {
    margin-top: -2px;
  }

  .main.brackets .cards-container .cards:nth-child(14) .vertical-line {
    left: -16px;
  }

  .header .navbar-title .container .tabs.gsl {
    grid-template-columns: 233px;
  }

  .header .navbar-title .container .tabs > .button {
    display: none;
  }

  .header .navbar-title .container .tabs > .button.final-stage-btn {
    display: block;
    width: 233px;
  }

  .header .navbar-title .container .header-title .fa-playstation {
    display: none;
  }

  .main.brackets .cards-container .round-matchs .cards {
    grid-template-columns: repeat(2, 330px);
    grid-column-gap: 22px;
  }

  .main.brackets .cards-container .round-matchs .final-stage {
    grid-template-columns: 330px;
    margin-left: 22px;
  }

  .main.brackets .cards-container .cards .card-container .connector1, 
  .main.brackets .cards-container .cards .card-container .connector3 {
    height: 70px;
  }

  .main.brackets .cards-container .round-matchs {
    grid-template-columns: 682px 330px;
  }

  .main.brackets .cards-container .cards .card-container {
    position: relative;
    top: 16px;
  }
  
  .main.brackets .cards-container .round-matchs .cards .card-container:nth-child(3) {
    margin: 0 0 37px 0;
  }

  .main.brackets .cards-container .round-matchs .cards .card-container:nth-child(6) {
    top: 1px;
  }

  .main.brackets .cards-container .round-matchs .cards .card-container:nth-child(6)::before, 
  .main.brackets .cards-container .round-matchs .cards .card-container:nth-child(9)::before {
    width: 15px;
    left: -11px;
  }

  .main.brackets .cards-container .cards .card-container .connector1, 
  .main.brackets .cards-container .cards .card-container .connector3 {
    width: 11px;
    right: -7px;
  }

  .main.brackets .cards-container .round-matchs .final-stage .final-stage-card {
    width: 160px;
    height: 105px;
    margin: 63px 0 1px;
  }

  .main.brackets .cards-container .round-matchs .final-stage .final-stage-card:nth-child(3) {
    margin-top: 176px;
  }

  .main.brackets .cards-container .round-matchs .final-stage .final-stage-btn {
    display: none;
  }

  .main.brackets .cards-container .round-matchs .cards .card-container:nth-child(6) .connector1, 
  .main.brackets .cards-container .round-matchs .cards .card-container:nth-child(9) .connector1 {
    border-right: none;
    width: 107px;
    right: -104px;
  }

  .rounds .round .title-round {
    font-size: 24px;
  }

  .rounds.lower {
    display: grid;
  }

  .header .navbar-title.final-stage .container .tabs.gsl {
    display: grid;
  }

  .main.brackets .cards-container {
    display: block;
  }

  .main.brackets .cards-container .round-matchs .final-stage .final-stage-card .thumbnail-teamlogo {
    justify-content: center;
  }

  .main.brackets .cards-container .round-matchs .final-stage .final-stage-card .thumbnail-teamlogo .thumbnail, 
  .main.brackets .cards-container .round-matchs .final-stage .final-stage-card .thumbnail-teamlogo .team {
    width: 37px;
    height: 37px;
  }

  .main.brackets .cards-container .round-matchs .final-stage .final-stage-card .nation-teamname {
    justify-content: center;
    justify-items: center;
  }

  .main.brackets .cards-container .round-matchs.final-stage {
    grid-template-columns: repeat(2, 330px) 947px;
    grid-column-gap: 22px;
  }
  
  .main-grand-final .grand-final-container .grand-final > .border-card, 
  .main-grand-final .grand-final-container .grand-final > .card-container {
    transform: scale(1);
    height: 105px;
  }

  .main.brackets .cards-container .round-matchs.final-stage .cards.semifinal {
    grid-template-columns: 330px;
  }

  .main.brackets .cards-container .round-matchs.final-stage .cards {
    grid-template-columns: 330px;
    grid-template-rows: 105px 36px 105px;
  }

  .main.brackets .cards-container .round-matchs.final-stage .group-stage-btn {
    width: 272px;
    font-size: 20px;
    line-height: 42px;
    justify-self: start;
  }

  .main.brackets .cards-container .round-matchs.final-stage .cards .card-container:nth-child(2) {
    grid-row: unset;
    grid-column: unset;
  }

  .main.brackets .cards-container .round-matchs.final-stage .cards.grand-final {
    grid-template-rows: 105px;
    align-items: center;
    grid-column-gap: 16px;
    top: 110px;
  }

  .main.brackets .cards-container .round-matchs.final-stage .cards.grand-final.matchs-2 {
    grid-template-columns: repeat(2, 330px) 225px;
  }

  .main.brackets .cards-container .round-matchs.final-stage .cards.grand-final.matchs-1 {
    grid-template-columns: 330px 225px;
  }

  .main.brackets .cards-container .round-matchs.final-stage .cards.grand-final > img {
    top: unset;
  }

  .main.brackets .cards-container .round-matchs.final-stage .cards {
    padding-top: 52px;
  }

  .main.brackets .cards-container .round-matchs.final-stage .cards .card-container {
    top: 0;
  }

  .main.brackets .cards-container .round-matchs.final-stage .cards.semifinal .title-lower {
    margin-top: 55px;
  }

  .main.brackets .cards-container .round-matchs.final-stage .cards.semifinal .card-container {
    top: 90px;
  }

  .main.brackets .cards-container .round-matchs.final-stage .cards.semifinal .card-container .connector1 {
    margin-bottom: -28px;
    right: -8px;
    height: 25px;
  }

  .main.brackets .cards-container .round-matchs.final-stage .cards.final-match .title-lower {
    margin: 56px 0 0 0;
  }

  .main.brackets .cards-container .round-matchs.final-stage .cards.final-match .card-container:last-child {
    top: 98px;
  }

  .main.brackets .cards-container .round-matchs.final-stage .cards.final-match .card-container::before {
    width: 80px;
    margin-left: -77px;
    margin-top: -4px;
  }

  .main.brackets .cards-container .round-matchs.final-stage .cards.final-match .card-container:last-child::before {
    width: 16px;
    margin-left: -10px;
  }

  .main.brackets .cards-container .round-matchs.final-stage .cards.final-match .card-container:first-child .connector1, .main.brackets .cards-container .round-matchs.final-stage .cards.final-match .card-container:last-child .connector1 {
    height: 114px;
    right: -8px;
  } 

  .main.brackets .cards-container .round-matchs .round-matchs.final-stage .cards .card-container:nth-child(2) {
    margin: 0;
  }

  .main.brackets.ps4 .cards-container .round-matchs.final-stage .cards:nth-child(+n+3) .card-container::before {
    width: 22px;
    left: 5px;
  }

  .main.brackets .cards-container .round-matchs.final-stage .cards.final .card-container::after {
    left: unset;
    right: -5px;
    width: 5px;
    margin-top: 2px;
    display: none;
  }

  .main.brackets .cards-container .round-matchs.final-stage .cards.final.matchs-1 .card-container::after {
    right: -26px;
    width: 26px;
  }

  .main.brackets.ps4 .cards-container .round-matchs.final-stage .cards:nth-child(+n+3) .card-container:nth-child(2)::before {
    display: block;
    left: 9px;
    margin-top: -3px;
  }

  .main.brackets.ps4 .cards-container .round-matchs.final-stage .cards:nth-child(+n+3) .card-container:nth-child(2)::after {
    display: block;
    right: -25px;
    width: 26px;
    height: 2px;
  }

  .main-grand-final .grand-final-container .grand-final .grand-final-winner {
    margin: 0 0 0 16px;
  }

  .main.brackets .cards-container .round-matchs .cards.grand-final .card .players-thumbnails-score .player .thumbnail-logo .thumbnail img{
    border-radius: 50%;
  }

  .main.brackets .cards-container .round-matchs .cards.grand-final img {
    width: 100%;
    height: 100%;
  }

  .main.brackets .cards-container .round-matchs.final-stage .cards.grand-final .card-container:nth-child(2) {
    margin: 0px 0 1px;
  }

  .main.brackets.ps4 .cards-container .round-matchs.final-stage .cards:nth-child(+n+3).grand-final .card-container:nth-child(2)::before {
    margin-top: 1px;
  }

  .main.brackets .cards-container .round-matchs.final-stage .cards.grand-final.last-round-hide .card-container:nth-child(1)::after {
    right: -26px;
    width: 26px;
    display: block;
  }

}



@media screen and (min-width: 1130px) {

  .container {
    width: 1024px;
  }

  .main.double-elim .de-brackets .round-container {
    justify-content: start;
  }

  .header .navbar-title .container .tabs > .button > span {
    display: inline-block;
  }

  .rounds.upper .arrow,
  .rounds.lower .arrow {
    display: none;
  }

  .rounds.upper.final-stage .arrow {
    display: block;
  }

}



@media screen and (min-width: 1300px) {
  
  .header {    
    padding-top: 0;
  }

  .container {
    width: 1130px;
  }

  .header .navbar-title {
    padding: 31px 0 22px 0;
  }

  .rounds .arrow {
    margin-top: 48px;
  }

  .header .navbar-title .container {
    grid-auto-flow: column;
    align-items: end;
  }

  .header .navbar-title .container .tabs {
    grid-column: 2 / 3;
    grid-row: unset;
  }

  .header .navbar-title .container .tabs.gsl {
    grid-row: unset;
  }

  .header .navbar-title .container {
    justify-content: space-between;
    align-items: center;
  }

}



@media screen and (min-width: 1500px) {

  .container {
    width: 1455px;
  }

  .header .navbar-title .container .tabs {
    grid-template-columns: repeat(2, 205px) 183px;
    grid-gap: 28px;
  }

  .header .navbar-title .container .tabs .button {
    padding: 16.18px 0;
    font-size: 20px;
  }

}



@media screen and (min-width: 2000px) {

  .container {
    width: 1920px;
  }

  .rounds .arrow.next,
  .rounds .arrow.prev,
  .rounds.upper.final-stage .arrow {
    display: none;
  }

}
