html {
    width: 100%;
    height: 100%;
}

body {
    background: #36393f;

    min-width: 100%;
    min-height: 100%;
    font-family: 'Fira Sans', sans-serif;
}

.background {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    min-height: 100vh;
    width: 100%;
    z-index: -1;
    object-fit: cover;
    opacity: 0;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.container {
    background: #2f3136;
    display: flex;
    flex-direction: column;
    padding: 32px;
    box-sizing: border-box;
    border-radius: 5px;
    width: 480px;
    font-size: 18px;
}

@media screen and (max-width: 520px) {
    .container {
        min-width: unset !important;
        width: calc(100% - 40px) !important;
    }
}

.grow-container {
    min-width: 480px;
    width: 50vw;
    max-width: 700px;
}

.userinfo {
    padding: 12px 32px;
    line-break: anywhere;
}

.text-danger {
    color: #f04747;
}

.text-success {
    color: #43b581;
}

#description {
    color: #b9bbbe;
    display: none;
}

form {
    width: 100%;
    text-align: start;
}

h1 {
    color: white;
    font-size: 24px;
    font-weight: 600;
}

a {
    color: hsl(197, 100%, 47.8%);
}

button,
a.btn {
    color: white !important;
    background-color: #5865f2 !important;
    border: none !important;
    box-shadow: none !important;
    font-size: 16px;
    transition: background-color 0.17s ease;
    width: 100%;
    line-height: 24px;
    min-height: 44px;
    align-content: center;
}

button:hover,
a.btn:hover {
    background-color: hsl(235, 51.4%, 52.4%) !important;
}

button:active,
a.btn:active {
    background-color: hsl(235, 46.7%, 44.1%) !important;
}

label {
    color: #8e9297;
}

label.radio {
    position: relative;
    display: block;
    padding: 10px;

    border-radius: 4px;
    background-color: #2f3136;
    color: #b9bbbe;

    margin-bottom: 8px;

    cursor: pointer;
}

label.radio:hover {
    background-color: rgba(79, 84, 92, 0.16);
    color: #dcddde;
}

label.radio.checked {
    background-color: #202225;
    color: #ffffff;
}

label.radio > span:not(.checkmark) {
    font-weight: 500;
    font-size: 0.7em;
    line-height: 20px;

    margin-left: 32px;
}

label.radio > input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

label.radio > .checkmark {
    position: absolute;
    top: 12px;
    left: 12px;
    height: 20px;
    width: 20px;
    padding: 3px;

    border-radius: 50%;
    border-width: 2px;
    border-color: #b9bbbe;
    border-style: solid;
}

label.radio:hover > .checkmark {
    border-color: #dcddde;
}

label.radio.checked > .checkmark {
    border-color: #ffffff;
}

label.radio > .checkmark > span {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

label.radio.checked > .checkmark > span {
    background-color: hsl(235, 86.1%, 77.5%);
}

select {
    background-color: #2f3136 !important;

    border: 1px solid #202225 !important;
    cursor: pointer !important;
    color: #dcddde !important;
    border-radius: 4px !important;
    font-weight: 500 !important;

    outline: none !important;
    box-shadow: none !important;
}

select:invalid {
    color: #72767d !important;
}

option {
    color: #b9bbbe;
}

textarea {
    color: #dcddde !important;

    background: rgba(0, 0, 0, 0.1) !important;
    border: 1px solid rgba(0, 0, 0, 0.3) !important;

    outline: none !important;
    box-shadow: none !important;

    transition: border-color 0.2s ease-in-out;
    resize: none;

    max-height: 120px;
}

textarea:hover {
    border-color: hsl(235, 51.4%, 52.4%) !important;
}

textarea:focus {
    border-color: hsl(235, 46.7%, 44.1%) !important;
}

.textInput {
    position: relative;
}

.remainingLength {
    position: absolute;
    bottom: 12px;
    right: 14px;
    font-size: 0.7em;
    font-family: monospace;
    pointer-events: none;
    color: #72767d;
}

.lowOnSpace {
    color: #f36c6c;
}

#username {
    color: white;
    font-size: 14px;
}