@font-face {
    font-family: "Segoe UI Web";
    src: url("https://cdn.croomssched.tech/fonts/SegoeUI/segoeui.ttf");
}

@font-face {
    font-family: "Segoe UI Web";
    font-weight: 200;
    src: url("https://cdn.croomssched.tech/fonts/SegoeUI/segoeuil.ttf");
}

@font-face {
    font-family: "Segoe UI Web";
    font-weight: 500;
    src: url("https://cdn.croomssched.tech/fonts/SegoeUI/segoeuisb.ttf");
}

@font-face {
    font-family: "Segoe UI Web";
    font-weight: 700;
    src: url("https://cdn.croomssched.tech/fonts/SegoeUI/segoeuib.ttf");
}

:root {
    --background: 31, 0, 104;
    --accent: 70, 23, 180;
    --color: 255, 255, 255;

    color: rgb(var(--color));
    background: rgb(var(--background));
    font-family: "Segoe UI Web", system-ui;
    user-select: none;
    font-size: 11pt;
}

body {
    margin: 0;
    padding: 2rem;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 200;
    margin: 0;
}

h1 {
    color: rgb(var(--color));
    font-size: 28pt;
}

h2 {
    font-size: 20pt;
}

p {
    margin-top: 0;
}

a:link, a:-webkit-any-link {
    color: rgb(var(--color));
    user-select: none;
}

button, a.button {
    display: inline-block;
    background: transparent;
    font-weight: 700;
    color: rgb(var(--color));
    font-family: "Segoe UI Web", system-ui;
    border: 2px solid rgb(var(--color));
    text-decoration: none;
    font-size: 10pt;
    padding: 6px 12px;
    text-align: center;
    min-width: 75px;
}

button:hover, a.button:hover {
    background: rgba(var(--color), 0.2);
}

button:active, a.button:active {
    background: rgb(var(--color));
    color: rgb(var(--background));
}

button:focus, a.button:focus {
    outline: gray 2px dotted;
}

input {
    outline: none;
    padding: 6px 8px;
    border-radius: 0;
    min-width: 350px;
    background: rgb(211, 204, 225);
    font-size: 11pt;
    border: none;
    color: black;
    font-family: "Segoe UI Web", system-ui;
}

input::selection {
    background: rgb(var(--background));
    color: rgb(var(--color));
}

input::placeholder {
    color: rgba(0, 0, 0, 0.75);
}

input:hover {
    background: rgb(227, 222, 236);
}

input:focus {
    background: rgb(var(--color));
    color: black;
}

.error {
    margin-top: 1rem;
    font-size: 10pt;
    color: gold;
}