:root {
    --bg: #342e2e;

    --secondary: #c5c4c1;
    --secondary-glow: #eeeae9;

    --contrast: #f8c33d;
    --contrast-blue: #60d5ff;

    --card-background: rgba(5, 5, 5, 0.73);

    --error: #e03f3f;

    --anchor-text: #a8a8a8;

    --input-text: #b7b7b7;
    --input-placeholder: #868686;

    --main-font: 'Georama';
}

@font-face {
    font-family: 'Hollow';
    src: url("../assets/fonts/Hollow-Regular.woff2")
}

@font-face {
    font-family: 'Bechtlers';
    src: url("../assets/fonts/BechtlersRegular.woff2");
}

@font-face {
    font-family: 'Uni-Sans';
    src: url("../assets/fonts/Uni Sans Thin.woff2");
}

@font-face {
    font-family: 'Uni-Sans';
    src: url("../assets/fonts/Uni Sans Heavy.woff2");
    font-weight: bold;
}

* {
    font-family: var(--main-font), sans-serif;
}

html {
    padding: 0;
    margin: 0;

    height: 100%;
    width: 100%;
}

body {
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    margin: 0;

    background-size: 100%;
    background: black url("../assets/gridwallpaper.jpg") fixed;
    color: var(--secondary);
}

body.waiting * {
    cursor: wait;
}

h1 {
    color: white;
    margin: 20px 5px;
    font-family: Hollow, sans-serif;
    font-size: 30px;
}

h2, h3 {
    margin-top: 15px;
    font-family: Uni-Sans, sans-serif;
    color: white
}

input:-webkit-autofill {
    -webkit-text-fill-color: var(--input-text) !important;
    -webkit-background-clip: text;
}

a {
    display: block;
    text-decoration: none;
    color: var(--contrast);
    transition: all 0.2s;
    margin: 5px;
}

a:hover {
    color: white;
    text-shadow: var(--secondary) 0 0 5px;
    cursor: pointer;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    border-style: hidden;

    font-size: 20px;
}

table td, table th {
    border: 1px solid var(--secondary);
}

th, td {
    padding: 5px;
}


/* Forms */

button {
    background-color: var(--bg);
    border: var(--secondary) solid 1px;
    border-radius: 2px;

    color: var(--secondary);
    font-size: 16px;

    margin: 10px;
    padding: 5px 10px;

    text-align: center;
    text-decoration: none;

    display: inline-block;

    transition: all 0.1s;
}

button:hover:enabled {
    color: var(--contrast);
    border: var(--contrast) solid 1px;
}

button:disabled {
    color: var(--input-placeholder);
}

button:focus {
    color: white;
}

.formItem {
    margin-bottom: 15px;
    overflow: visible;
    background: radial-gradient(black 1%, transparent);

}

.formItem label, select, input  {
    font-size: 20px;
    color: var(--input-text);
}

input {
    color: var(--input-text);

    width: 200px;
    font-size: 16px;
    margin: 5px;
    border: 0;
    outline: 0;
    background-color: transparent;
    border-bottom: 1px solid var(--secondary);
    caret-color: var(--secondary);
}

input::placeholder {
    color: var(--input-placeholder);
}

input:focus {
    border-bottom: 1px solid var(--secondary-glow);
}

input, select {
    margin-right: 0;
}

input[type='checkbox'] {
    width: 20px;
    height: 20px;
}

select {
    background-color: black;
    color: white;
    border-radius: 5%;
}

/* Templates */

.error {
    color: var(--error)
}

.section {
    overflow: hidden;
}

.container {
    display: flex;
    flex-direction: row;
    height: 100%;
}

.area {
    margin: 25px;
}

.card {
    background-color: rgba(0, 0, 0, 0.56);
    box-shadow: 0 0 5px 25px rgba(0, 0, 0, 0.56);
    overflow-y: scroll;
    padding-bottom: 20px;
}

/* Scrollbar */

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

::-webkit-scrollbar-thumb {
    background: var(--bg);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(171, 171, 171, 0.5);
}