body {
    background-color: black;
    color: white;
}

.state-base, .state-notify, .state-privacy, .state-steam, .state-username, .state-settings, .state-whitelist, .state-confirm, .state-waitingForWhitelist, .state-banned, .state-bannedRequest, .state-face {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    border: 1px solid white;
    padding: 10px;
    background-color: #222222;
    border-radius: 5px;
}

.base-header, .notify-header, .privacy-header, .steam-header, .username-header, .settings-header, .wl-header, .confirm-header, .wFW-header, .banned-header, .face-header {
    font-size: 24px;
    font-weight: 800;
    text-align: center;
}

.base-button, .steam-button {
    margin: 10px auto;
    display: flex;
    justify-items: center;
    cursor: pointer;
    background-color: #5865F2;
    padding: 10px;
    width: 150px;
    border-radius: 5px;
}

.base-button-discord, .steam-button-steam {
    margin-right: 5px;
}

.notify-desc, .privacy-desc, .steam-desc, .username-desc, .settings-desc, .wl-desc, .confirm-desc, .wFW-desc, .banned-desc, .face-button {
    text-align: center;
}

.firstname-desc, .lastname-desc {
    text-align: left;
    margin-bottom: -8px;
    margin-top: 5px;
}

.privacy-button, .notify-button, .username-button, .settings-button, .wl-button, .banned-button, .face-button {
    margin: 20px auto 10px auto;
    cursor: pointer;
    background-color: #333333;
    border: 1px solid white;
    border-radius: 5px;
    padding: 5px;
    width: 200px;
    text-align: center;
    transition: all 0.3s ease;
}

.privacy-button:hover, .notify-button:hover, .username-button:hover, .settings-button:hover, .wl-button:hover, .banned-button:hover, .face-button:hover {
    transition: all 0.3s ease;
    background-color: #555555;
}

.global-info {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.global-impressum, .global-privacy {
    cursor: pointer;
    transition: all 0.2s ease;
}

.global-impressum:hover, .global-privacy:hover {
    font-weight: 800;
    transition: all 0.2s ease;
}



/* State - Base */
.base-button {
    background-color: #5865F2;
}



/* State - Privacy */
.privacy-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.privacy-list-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.missingCheckbox {
    color: red;
}

.privacy-tos {
    color: #b5d2ff;
    margin-top: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.5s ease;
}

.privacy-tos:hover {
    color: white;
    transition: all 0.5s ease;
}



/* State - Steam */
.steam-button {
    background-color: #171a21;
}



/* State - Username */
.firstname-input, .lastname-input {
    appearance: none;
    border: none;
    outline: none;
    border: 1px solid white;
    background-color: #333333;
    padding: 10px;
    color: white;
    width: calc(100% - 22px);
    margin-top: 10px;
    text-align: center;
}

.username-input:focus {
    background-color: #555555;
    border: 1px solid white;
}

.username-input-empty {
    border: 1px solid red;
}

.username-alert {
    text-align: center;
    color: red;
    margin-top: 10px;
    margin-bottom: -10px;
}



/* State - Whitelist */
.wl-flex {
    margin-top: 10px;
}

.wl-item:first-child {
    margin-top: 0;
}

.wl-item {
    margin-top: 5px;
}

.wl-input-age {
    width: calc(100% - 22px);
    appearance: none;
    border: none;
    outline: none;
    border: 1px solid white;
    background-color: #333333;
    padding: 10px;
    color: white;
    text-align: center;
    transition: all 0.5s ease;
}

.wl-input-textarea, .banned-input {
    width: calc(100% - 22px);
    appearance: none;
    border: none;
    outline: none;
    border: 1px solid white;
    background-color: #333333;
    padding: 10px;
    color: white;
    resize: none;
    transition: all 0.5s ease;
}

.wl-input-age:focus, .wl-input-textarea:focus, .banned-input:focus {
    transition: all 0.5s ease;
    background-color: #555555;
    border: 1px solid white;
}

.wl-height-50 {
    height: 50px;
}

.wl-height-100 {
    height: 100px;
}

.banned-input {
    height: 200px;
}

.wl-missingInput {
    transition: all 0.5s ease;
    border: 1px solid red;
}

.flex-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.flex-row .wl-text {
    padding-top: 14px;
}

.wl-select {
    appearance: none;
    border: none;
    outline: none;
    border: 1px solid white;
    background-color: #333333;
    padding: 10px;
    color: white;
    text-align: center;
    transition: all 0.5s ease;
    margin: 10px 0;
}



/* State - Confirm */
.confirm-desc {
    margin-bottom: 10px;
}



/* State - Face */
.face-imgContainer {
    text-align: center;
    margin-top: 5px;
}

.face-select {
    width: 100%;
    appearance: none;
    border: none;
    outline: none;
    border: 1px solid white;
    background-color: #333333;
    padding: 10px;
    color: white;
    text-align: center;
    transition: all 0.5s ease;
    margin: 10px 0;
}

.face-select:focus {
    transition: all 0.5s ease;
    background-color: #555555;
    border: 1px solid white;
}

.face-empty {
    text-align: center;
    color: #ff0000;
}