body {
    font-family: 'Arial', sans-serif;
    background-color: #111;
    color: white;
    margin: 0;
    padding: 0;
  }
  
  .page-title {
    text-align: center;
    font-size: 3rem;
    margin-top: 20px;
  }
  
  .player-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    margin: 20px auto;
    max-width: 80%;
    background-image: url('img/players/playerbackground.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    overflow: hidden;
  }
  
  .player-photo {
    flex-shrink: 0;
  }
  
  .player-photo img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
  }
  
  .player-info {
    flex-grow: 1;
    margin-left: 20px;
    font-size: 1.6rem;
  }

  .player-info strong {
    font-size: 2.5rem; 
  }
  
  .jersey-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5rem;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
  }
  
  .dropdown {
    position: absolute;
    bottom: 10px;
    right: 20px;
    cursor: pointer;
    font-size: 1.6rem;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 6px;
    padding: 4px 10px;
    color: white;
  }
  
  .extra-info {
    display: none;
    margin-top: 10px;
    font-size: 1.4rem;
  }
  
  .player-card.expanded .extra-info {
    display: block;
  }
  
  @media (max-width: 768px) {
    .player-card {
      flex-direction: column;
      text-align: left;
    }
  
    .player-photo img {
      width: 150px;
      height: 150px;
    }
  
    .player-info {
      margin-left: 0;
      font-size: 0.95rem;
      text-align: left;
    }

    .player-info strong {
        font-size: 1.5rem; 
      }
  
    .jersey-number {
      font-size: 3rem;
      right: auto; 
      left: 20px; 
      top: 10px;
      transform: none;
    }
  
    .dropdown {
      font-size: 0.7rem; 
      padding: 6px 12px; 
      position: absolute; 
      bottom: 10px; 
      right: 10px;
    }
  
    .extra-info {
      margin-left: 0;
      font-size: 0.95rem; 
      text-align: left;
    }
  }
  