.container.playerPage {
  padding-top: 40px;
}

#playersPage .main-image {
  height: 550px;
  text-align: center;
}

#playersPage .players {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  align-items: flex-end;
  background: url('../img/bg-logo.png') no-repeat center;
  width: 100%;
}

#playersPage .player {
  width: 30%;
  margin-bottom: 20px;
  margin-right: 3%;
}

#playersPage .player .player-info {
  background: linear-gradient(90deg, rgba(35,35,36,1) 0%, rgba(65,67,69,1) 50%, rgba(35,35,36,1) 100%);
  position: relative;
  text-align: center;
  color: white;
  width: 100%;
  margin: 0 auto;
  height: 90px;
}

#playersPage .player .player-info::after {
  position: absolute;
  content: "";
  background: linear-gradient(90deg, rgba(215, 172, 82,1) 0%, rgba(255, 255, 255,1) 50%, rgba(215, 172, 82,1) 100%);
  height: 10px;
  width: 100%;
  left: 0;
  bottom: 0;
}

#playersPage .player .player-image {
  text-align: center;
}

#playersPage .player .player-image img {
  width: 100%;
}

#playersPage .player .player-info .player-number {
  display: inline-block;
  font-size: 60px;
  margin-right: 30px;
  position: absolute;
  left: 15px;
  top: -5px;
}

#playersPage .player .player-info .player-info-right {
  display: inline-block;
  padding-top: 10px;
}

#playersPage .player .player-info .player-info-right .player-name {
  font-size: 20px;
}

#playersPage .player .player-info .player-info-right .player-position {
  font-size: 15px;
}

#playersPage h2.article-title {
  display: inline-block;
}

#playersPage .tab-buttons {
  display: inline-block;
  float: right;
}

#playersPage .tab-buttons .tab-button {
  padding: 10px 20px;
  display: block;
  font-family: 'Karla', sans-serif;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  display: inline-block;
  background: black;
  color: white;
  border: 2px solid transparent;
  transition: all 250ms;
}

#playersPage .tab-buttons .tab-button.active {
  background: linear-gradient(90deg, rgba(215, 172, 82,1) 0%, rgba(255, 227, 171,1) 50%, rgba(215, 172, 82,1) 100%);
  color: black;
}

#playersPage .tab-buttons .tab-button:hover {
  background: white;
  color: black;
  border: 2px solid #D2A446;
}

#playersPage .tab-buttons .tab-button:not(:first-child) {
  margin-left: 10px;
}

@media (max-width: 992px) {
  #playersPage .main-image {
    height: unset;
  }

  #playersPage h2.article-title {
    font-size: 30px;
  }

  #playersPage .tab-buttons {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  #playersPage .tab-buttons .tab-button {
    width: 200px;
    margin-bottom: 20px;
  }

  #playersPage .tab-buttons .tab-button:not(:first-child) {
    margin-left: unset;
  }

  .tab-content {
    flex-wrap: wrap;
    width: 100%;
  }

  #playersPage .player .player-info {
    display: flex;
    justify-content: center;
    flex-direction: column-reverse;
    flex-wrap: wrap;
    height: unset;
  }

  #playersPage .player .player-info .player-number {
    width: 100%;
    position: unset;
    top: unset;
    left: unset;
    font-size: 30px;
  }

  #playersPage .player .player-info .player-info-right {
    width: 100%;

  }

  #playersPage .player .player-info .player-info-right .player-name {
    font-size: 18px;
  }



}
@media (max-width: 680px) {
  #playersPage .players {
    flex-wrap: wrap;
    justify-content: center;
  }
  #playersPage .player {
    width: 90%;
  }

  #playersPage .tab-buttons .tab-button {
    width: 100%;
    margin-bottom: 20px;
  }

  #playersPage #tabStrucniStab .player .player-info {
    height: 90px;
  }

  #playersPage #tabMedicinskiTim .player .player-info {
    height: 90px;
  }
}

