@font-face {
    font-family: Proxima Nova;
    src: url(/static/fonts/proximanova_regular.ttf);
}
body, pre {
    font-family: Proxima Nova;
    background-color: black;
    color: whitesmoke;
    text-align: center;
}
*::selection {
    background-color: #5000aa;
}
table {
    text-align: center;
    padding: 0;
    cursor: default;
}
tr, td, th {
    outline: solid 1px white;
}
td, th {
    padding: 0 10px 0 10px;
}

a {
    background-image: linear-gradient(to top, #50007eff, #00000000);
    color: #d6a4ff;
    translate: 100%;
    background-repeat: no-repeat;
    overflow: hidden;
    background-position-y: 12px;
    transition: .25s ease;
}
h1 a {
    background-position-y: 32px;
}
a:hover {
    color: #a4aaff;
    background-position-y: 0%;
}
a.warning-a {
    color: #ffa9a9;
    background-image: linear-gradient(to top, rgb(126, 0, 0), #00000000);
}
a.warning-a:hover {
    color: #ff6a6a;
}

tr {
    color: #ddd;
    transition: .25s ease;
}
tr:hover {
    color: #fff;
    cursor: pointer;
}
th:hover {
    cursor: default;
}
input[type=number] {
    appearance: textfield;
    -moz-appearance: textfield;
}
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

table {
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 24px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    background: #181818;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px #0008;
}
th, td {
    border: none;
    padding: 12px 16px;
}
tr:nth-child(even) {
    background: #222;
}
tr:nth-child(odd) {
    background: #181818;
}
tr:hover {
    background: #333;
    color: #fff;
}

/* Header styling */
h1, h2 {
    text-align: center;
    margin-top: 32px;
    margin-bottom: 16px;
    letter-spacing: 1px;
}
h1 {
    font-size: 2.2em;
}
h2 {
    font-size: 1.4em;
    color: #d6a4ff;
}

/* Button-like links */
.special-link {
    position: relative;
    margin: 12px auto;
    padding: 10px 24px;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    background: #00000000;
    box-shadow: 0 2px 8px #0005;
    z-index: 2;
    cursor: pointer;
}
/* Yeah I'm never working with pseudo-elements again this is bullshit */
.special-link::after, .special-link::before {
    content: '';
    position: absolute;
    border-radius: inherit;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 1;
    background: linear-gradient(to left, #50007e, #a4aaff);
    z-index: -2;
}
.special-link::before {
    background: linear-gradient(to right, #50007e, #a4aaff);
    transition: .3s ease;
    z-index: -1;
}
.special-link:hover:before { 
    opacity: 0;
}
.special-link:hover {
    color: #fef;
}

/* Section spacing */
p, table, .special-link {
    margin-bottom: 24px;
}

#writeToHours {
    font-size: 2em;
}

input, input::placeholder {
    border-radius: 5px;
    background-color: #555;
    color: whitesmoke;
    border: 0;
    padding-left: 2px;
}
input[type='submit'] {
    text-align: center;
    cursor: pointer;
    background-color: #777;
    padding-left: 3px;
}
input[type='checkbox'] {
    accent-color: #a4aaff;
}