﻿.scoreboard {
    position: absolute;
    z-index: 100;
    flex-direction: column;
    font-family: Poppins;
    font-size: 18px;
    font-weight: 500;
    color: white;
    padding: 4%;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    opacity: 0;
    background-color: rgba( 0, 0, 0, 0.7 );
    backdrop-filter: blur(10px);
    transition: all 0.1s ease-out;
    transform: scale( 1.05 );
    transform-origin: 50% 50%;

    &.open {
        opacity: 1;
        transform: scale( 1 );
    }

    .name {
        flex-grow: 1;
    }

    .deaths, .kills, .ping, .fps {
        width: 90px;
        text-align: right;
    }

    .ping, .fps {
        opacity: 0.3;
        width: 50px;
    }

    .deaths {
        margin-right: 50px;
    }
    
    .wrapper {
        display: flex;
        flex-direction: row;
        justify-content: center;
        flex-shrink: 0;
        width: 100%;
        height: 100%;
        gap: 20px;
        
        .teamWrapper {
            flex-shrink: 0;
            display: flex;
            flex-direction: column;
            flex-grow: 0;
            overflow: scroll;
            pointer-events: all;
            max-height: unset;

            .teamTitle {
                flex-shrink: 0;
                font-family: Roboto;
                font-size: 48px;
                font-weight: bolder;
            }

            .header {
                flex-shrink: 0;
                font-weight: 500;
                border-bottom: 3px solid #efefef;
                margin-bottom: 10px;
                padding-bottom: 5px;
                color: #efefef;
                mix-blend-mode: lighten;
            }

            .canvas {
                display: flex;
                flex-direction: column;
                flex-shrink: 0;
                min-height: 50%;
                min-width: 30%;
                mix-blend-mode: lighten;

                .entry {
                    mix-blend-mode: lighten;
                    margin-bottom: 2px;
                    padding: 4px 10px;
                    border-radius: 4px;
                    color: #e1e1e1;

                    label {
                    }

                    &.me {
                        background-color: rgb(52, 52, 52);
                        color: #ffffff;
                    }
                }
            }
        }
    }
}
