#div-player-header {
    background-color: #007EA7;
    height: 300px;
}

#div-player-info-card {
    display: flex;
    flex-direction: column;
    height: 500px;
    justify-content: center;
    gap: 50px;
    margin-top: -200px;
    margin-left: auto;
    margin-right: auto;
    width: 700px;
}

#div-player-info-card-header {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 25px;
    justify-content: space-between;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

#div-player-info-card-username {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
    text-align: center;
}

#div-player-info-card-basic-stats {
    align-items: flex-start;
    display: flex;
    flex-direction: row;
    gap: 25px;
}

.player-info-card-stat {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 75px;
}

.player-stat-rank {
    margin-top: 5px;
    border-radius: 10px;
    padding-bottom: 2px;
    padding-top: 2px;
    padding-left:  12px;
    padding-right: 12px;
}

.player-stat-rank p {
    font-size: 12px; 
    font-weight: 900;
}

.rank {
    border: 1px solid #00171F;
    background-color: #E8F0F2;
}

.rank-1 {
    border: 1px solid #CCAB00;
    background-color: #FFF5CC;
    color: #CCAB00;
}

.rank-2 {
    border: 1px solid #557177;;
    background-color: #E6EAEB;
    color: #557177;
}

.rank-3 {
    border: 1px solid #AA6A2D;
    background-color: #FDEAD7;
    color: #AA6A2D;
}

#player-info-card-career-stats {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.player-info-card-career-stat {
    background-color: #E8F0F2;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 80px;
    padding: 10px;
    width: 200px;
}

.player-info-card-career-stat-header {
    align-items: center;
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: space-between;
}

.player-info-card-career-stat-name {
    align-items: center;
    display: flex;
    gap: 5px;
}

.player-info-card-career-stat-amount {
    align-items: center;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.player-info-card-career-stat-avg {
    background-color: white;
    border-radius: 25px;
    padding: 5px;
    min-width: 100px;
    text-align: center;
}

#div-player-history {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

#div-player-tournament-history {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

#div-player-teams {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#div-player-teams-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

}

.player-teams-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 300px;
}

.player-teams-card-header {
    align-items: center;
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.player-teams-card-footer {
    display: flex;
    flex-direction: row;
    gap: 25px;
}

@media (max-width: 768px) {
    #div-player-info-card {
        width: 75%;
        height: 50%;
    }

    #div-player-info-card-basic-stats {
        flex-direction: column;
    }

    #player-info-card-career-stats {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #div-player-tournament-history {
        overflow-x: scroll;
    }
}