
$color: white;
$nameRowBgColor: #ccc;
$nameRowColor: black;
$nameRowTShirtNrBgColor: black;
$nameRowTShirtNrColor: white;
$bioRowBorderColor: #ccc;
$playerStats2NBgColor: #454B63;
$playerStatsNBgColor: #383B4C;

.SSUI-PlayerDetais {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 90%;
    display: flex;
    flex-flow: row;

    color: $color;
    font-weight: bold;
    box-sizing: border-box;
}

.SSUI-PlayerDetais-Bio {
    width: 50%;
    display: flex;
    flex-flow: column;
    padding: 0 3px;
}

.SSUI-PlayerDetais-Bio-Image {
    padding: 10px;
    width: 10em;
    height: auto;
    max-height: 10em;
    margin: 0 auto;
}

.SSUI-PlayerDetais-Bio-NameRow {
    font-size: 1.5em;
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    background-color: $nameRowBgColor;
    color: $nameRowColor;
    padding: 7px;
}

.SSUI-PlayerDetais-Bio-NameRow-tShirtNr {
    background-color: $nameRowTShirtNrBgColor;
    color: $nameRowTShirtNrColor;
    padding: 0 6px;
}

.SSUI-PlayerDetais-Bio-Row {
    box-sizing: border-box;
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    border-bottom: solid 1px $bioRowBorderColor;
    padding: 5px;
}

.SSUI-PlayerDetais-Bio-Label {
}

.SSUI-PlayerDetais-Stats {
    width: 50%;
    display: flex;
    flex-flow: column;
    margin-top: 2em;
}

.SSUI-PlayerDetais-Stats-Row {
    box-sizing: border-box;
    width: 100%;
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    border-bottom: solid 1px #ccc;
    padding: 5px 8px;
    box-shadow: 0 0 15px rgba(0,0,0,1);

    &:nth-of-type(2n) {
        background-color: $playerStats2NBgColor;
    }

    &:nth-of-type(2n + 1) {
        background-color: $playerStatsNBgColor;
    }
}

@media (max-width: 400px) {
    .SSUI-PlayerDetais {
        margin: 0;
        padding: 0;
        width: 100%;
        padding-bottom: 40px;
        overflow-y: auto;
        flex-wrap: wrap;
    }
    .SSUI-PlayerDetais-Bio {
        width: 100%;
    }
    .SSUI-PlayerDetais-Stats {
        width: 100%;
    }
    // .SSUI-PlayerDetais-Modal {
    //     width: 100%;
    // }
}
