@import '/UI/Style.scss';

LobbyEntry {
    width: 100%;
    padding: 10px 50px;
    color: $white;
    font-size: 28px;
    text-transform: uppercase;
    flex-shrink: 0;
    border: 2px transparent;

    >.info {
        width: 60%;
        align-items: center;

        >.avatar {
            aspect-ratio: 1;
            width: 54px;
            justify-content: center;
            align-items: center;
            background-color: $light-gray;
            margin-right: 10px;

            img {
                aspect-ratio: 1;
                width: 80%;
                border: 2px $gray-darkerer;
            }
        }
    }

    >.stats {
        width: 40%;
        justify-content: space-between;
        align-items: center;

        text {
            width: 200px;
            text-align: right;
        }
    }

    &:nth-child(even) {
        background-color: $gray-darker;
    }

    &:nth-child(odd) {
        background-color: $gray;
    }

    &:hover {
        cursor: pointer;
        border: 2px $white-dark;
        sound-in: 'hover';
    }

    :active {
        sound-in: 'light_click';
    }

    &.selected {
        border: 2px $white;
    }
}