html {
    height: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

button, .button {
    background-color: #303045;
    border: 1px solid #f0f0f0;
    box-shadow: none;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    padding: 5px;
    text-align: center;
}

.game-create {
    max-width: 600px;
    text-align: center;
    width: 95%;
}

.game-create-line {
    padding: 15px 0;
    text-align: left;

    select {
        border: 2px solid #dddddd;
        background: #eeeeee;
        margin-right: 5px;
        padding: 0 5px;
        transition: 0.8s;
    }

    select:hover,
    select:focus {
        background: #dddddd;
    }

    select::picker-icon {
        color: #999999;
        transition: 0.4s rotate;
    }

    select:open::picker-icon {
        rotate: 180deg;
    }

    ::picker(select) {
        border: none;
    }

    option {
        display: flex;
        justify-content: flex-start;
        gap: 20px;

        border: 2px solid #dddddd;
        background: #eeeeee;
        padding: 10px;
        transition: 0.8s;
    }

    option:first-of-type {
        border-radius: 8px 8px 0 0;
    }
}

.game-create-disclaimer {
    font-size: 10px;
}

.game-create-line-button {
    width: 100%;
}

.game-create-logo {
    color: #f0f000;
    cursor: default;
    font: 56px "PerfectDOS", FreeMono, "Courier New", "Liberation Mono";
    margin-bottom: 15px;
    margin-top: 0;
}

.game-create-matchup {
    display: flex;
}

.game-create-matchup-separator {
    flex: 1;
    padding-top: 10px;
}

.game-create-matchup-side {
    border: 1px solid #fff;
    flex: 2;
    font-weight: bold;
    padding: 10px;
}

.game-create-messages {
    margin: 0;
    padding: 0;

    > li {
        list-style-type: none;
        margin: 0 0 10px;
        padding: 5px 0;
    }

    .error {
        background-color: rgba(250, 32, 32, 0.5);
        color: #fff;
    }
}

.game-create-pieces {
    display: flex;
    margin: 0;
    padding: 0;

    > li {
        flex: 1;
        list-style-type: none;
    }

    input[type=radio] {
        display: none;

        &:checked + label {
            background-color: rgba(255, 255, 255, 0.05);
        }
    }

    label {
        cursor: pointer;
        display: block;
        height: 100%;
        margin: 0;
        padding: 0;
        user-select: none;
        width: 100%;
    }
}

.game-create-pieces-description {
    display: block;
    padding-bottom: 10px;
}

.game-create-pieces-name {
    display: block;
    font-size: 24px;
    padding-top: 5px;
}
