:root {
  --primary: #ff4c00;
  --intermediate: #ff9500;
  --secondary: #ffb60b;
  --verydark: #1e1e1e;
  --dark: #393939;
  --grey: #565656;
  --lightgrey: #b0b0b0;
  --light: #efefef;
}

.player-card-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 15vh;
}

.player-card {
  width: 500px;
  height: 750px;
  background-color: var(--dark);
  color: var(--light);
  padding: 5vh;
  border-radius: 30px;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
  transition: box-shadow 0.2s ease;
}

.player-card:hover {
  box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.7);
}

.player-card-head {
  display: flex;
  align-items: center;
  gap: 15px;
}

.player-card-name {
  font-size: 36px;
  margin-top: 20px;
  max-width: 300px;
  display: inline;
}

.player-card-rank {
  font-size: 32px;
  font-weight: bold;
  color: var(--intermediate);
  display: inline;
  max-width: 70px;
}

.btn-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  font-size: 2rem;
  font-weight: bold;
  flex-shrink: 0;
  background-color: var(--primary);
  color: #fff;
  border: 2px solid #ff9500;
  border-radius: 16px;
  cursor: pointer;
  box-shadow: 0 5px 0 0 #c35d00;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    filter 0.15s ease;

}

.btn-plus:hover {
  filter: brightness(1.05);
}

.btn-plus:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 0 #c35d00;
}


.player-card-horizontal-bar {
  width: 100%;
  height: 5px;
  background-color: var(--intermediate);
  margin: auto;
  margin-top: 10px;
}

.player-card-graphique {
  height: 270px;
  width: 300px;
  margin: auto;
  border-radius: 30px;
  margin-top: 25px;
}

.chart-canvas {
  width: 90%;
  height: 100%;
  margin: auto;
}