@import url("config.css");

.player-goals{
    display: none;
}

.player-details{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    border: 1px solid var(--primeGreen);
    border-radius: 5px;
    margin-top: 1px;
}

.player-details table{
    border-collapse: collapse;
    width: 50%;
    border: 1px solid var(--primeGreen);
    margin: 2px;
    border-radius: 5px;
}

.player-details tr{
    border-bottom: 1px solid var(--primeGreen);
}

td{
    padding: 5px;
}

.display-image img{
    display: block;
    max-width: 100%;
    width: 100%;
}

.display-image{
    width: 50%;
}

td:first-child {
    font-weight: bold
}

@media only screen and (max-width: 600px) {
    .player-details{
        flex-direction: column;
    }

    .player-details table, .display-image{
        width: 100%;
    }
    
    .display-image{
        padding: 10px;
    }
}


.player-matches table, .player-goals table{
    border-collapse: collapse;
    width: 100%;
}

.player-matches thead, .player-goals thead {
    background-color: var(--primeGreen);
}

.player-matches th, .player-matches td, .player-goals th, .player-goals td{
    padding: 5px;
    text-align: center;
}

.player-matches tr, .player-goals tr{
    border-bottom: 1px solid var(--primeGreen);
}