.bracket-container{
  display: flex;
  flex-direction: row;
  height: 90%;
  width: 100%;
  margin-top: 2rem;
  overflow-y: auto;
}

.bracket-level{
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  height: 100%;
  width: 100%;
  flex-grow: 1;
}

.bracket-matchup{
  width: 90%;
  margin: auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bracket-team{
  height: 100%;
  min-height: 30px;
  width: 105%;
  background-color: #F5F5F5;
  box-shadow: rgba(0, 0, 0, 0.3) 0 1px 3px;
  display: flex;
  flex-direction: row;
  transition: all ease .5s;
}

.bracket-name{
  width: 75%;
  font-size: 1em;
  padding: .2em;
  line-height: 1.5em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #2B2B2B;
  text-align: center;
}

.bracket-score{
  font-size: 1em;
  padding: .2em;
  line-height: 1.5em;
  white-space: nowrap;
  overflow: hidden;
  color: #2B2B2B;
  text-align: center;
}

.winner>.bracket-name, .winner>.bracket-score{
  font-weight: bold;
}

.bracket-team:hover{
  background-color: #E8E8E8;
  height: 100%;
  transition: all ease .5s;
}

.bracket-team:hover>.bracket-name{
  overflow: none;
  text-overflow: clip;
  white-space: normal;
  width: 100%;
}

.bracket-team:hover>.bracket-score{
  display: none;
}

/* Custom stuff */
.bracket-level.cetrtfinale {
  margin-top: 5.5rem;
}
.bracket-level.polfinale {
  margin-top: 8.3rem;
}
.bracket-level.finale {
  margin-top: 12rem;
}

.bracket-level .tretja {
  margin-top: 5rem;
}

.bracket-container h3 {
  text-align: center;
}

.bracket-container .match-info {
  text-align: center;
}

.bracket-matchup:hover {
  box-shadow: rgba(0, 0, 0, 0.3) 0 20px 10px;
}

.bracket-container .finale-match .winner .bracket-name {
  color: #F9A300;
}

.bracket-container .finale-match h3 {
  color: #F9A300;
}

@media (max-width: 766px) {
  .bracket-container {
    overflow-x: scroll;
    overflow-y: scroll;
    min-height: 650px;
  }

  .bracket-level.cetrtfinale {
    margin-left: 2rem;
    margin-right: 2rem;
  }
  .bracket-level.polfinale {
    margin-left: 2rem;
    margin-right: 2rem;
  }
  .bracket-level.finale {
    margin-left: 2rem;
    margin-right: 2rem;
  }
}
