::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    cursor: pointer;
    background: #52606970;
    border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4989d170;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

* {
    font-family: "Noto Sans", sans-serif;
    margin: 0;
    padding: 0;
    user-select: none;
    color: #d5dde2;
}

html,
body {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

body {
    background-color: #172027;
    display: flex;
    justify-content: center;
    align-items: center;
}

textarea {
    cursor: auto;
    color: black;
    resize: none;
    font-family: monospace;
    padding: 2px;
}

#notifications {
    position: fixed;
    height: 100%;
    width: 100%;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: start;
    pointer-events: none;
    box-shadow: none;
    transition: box-shadow 0.2s;
}

#notifications .toast {
    color: white;
    text-shadow: 2px 2px #222222;
    padding: 6px;
    margin: 2px;
    opacity: 0;
    transition: opacity 0.5s linear;
    border-radius: 4px;
}

#notifications .info {
    background-color: #09406d;
    background: linear-gradient(135deg, #135f9c, #0d4b7e);
}

#notifications .warning {
    background-color: #9c5f19;
    background: linear-gradient(135deg, #b96d25, #9c5f19);
}

#notifications .error {
    background-color: #800000;
    background: linear-gradient(135deg, #9c0b0b, #790303);
}

#notifications.damage {
    box-shadow: inset 0 0 40px #f00;
}

#notifications.healing {
    box-shadow: inset 0 0 40px rgb(0, 128, 0);
}

#notifications.shielded {
    box-shadow: inset 0 0 40px rgb(0, 128, 255);
}

.column {
    display: flex;
    flex-flow: column nowrap;
}

.row {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
}

.disabled {
    pointer-events: none;
}

.invisible {
    display: none;
}

@font-face {
    font-family: "Noto Sans";
    src: url(/NotoSans-Regular.ttf);
}

@font-face {
    font-family: "Prompt";
    src: url(/Prompt-Regular.ttf);
}
