:root {
    --header-height: 60px;
    --header-padding: 10px;
    --footer-height: 20px;
    --footer-padding: 20px;
}

@font-face {
    font-family: 'Quicksand';
    src: url('/static/Quicksand-Regular.ttf');
}

body {
    margin: 0;
    padding: 0;
    padding-top: calc(var(--header-height) + (var(--header-padding) * 2));
    padding-bottom: calc(var(--footer-height) + (var(--footer-padding) * 2));
    background: #EEEEEE;
    font-family: 'Quicksand';
}

header {
    padding: var(--header-padding);
    position: fixed;
    top: 0;
    z-index: 999;
    height: var(--header-height);
    background: white;
    width: 100%;
}

.inner {
    width: min(85%, 1000px);
    margin-right: auto;
    margin-left: auto;
}

section#start {
    background: url('/static/banner.jpg');
    background-size: cover;
    background-position: top left, center center;
    text-align: center;
    padding-top: 60px;
    color: white;
    height: 400px;
    font-size: 14pt;
}

section#start h1 {
    font-size: 30pt;
}

h1 {
    padding: 0;
    margin: 0;
}

section#results {
    margin-top: -6em;
}

div.theme {
    background: white;
    border-radius: 10px;
    box-shadow: rgb(229, 229, 229) 0px 2px 0px 0px;
    margin-bottom: 30px;
    padding: 30px;
}

div.theme-header {
    display: grid;
    grid-auto-rows: 1fr;
    grid-template-columns: 1fr auto; 
    gap: 10px;
}

div.category-header {
    display: grid;
    grid-auto-rows: 1fr;
    grid-template-columns: auto 1fr auto; 
    gap: 10px;
}

div.signature-header {
    display: grid;
    grid-auto-rows: 1fr;
    grid-template-columns: auto 1fr; 
    gap: 10px;
}

.right {
    text-align: right; 
}

ul#actions {
    margin-top: 50px;
    list-style-type: none;
    padding: 0;
    overflow: hidden;
}

ul#actions>li {
    display: inline-block;
    margin: 10px;
}

ul#actions>li>a {
    display: block;
    padding: 15px;
    width: 150px;
    border-radius: 10px;
    background-color: transparent;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5);
    color: white;
    text-decoration: none;
}

ul#actions>li>a:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

div.categories, div.signatures {
    display: none;
}

div.category, div.signature {
    margin-top: 10px;
}

div.status {
    display: inline-block;
    height: 25px;
    width: 60px;
}

hr {
    background-color: #E3E3E3;
    height: 1px;
    border: 0;
}

a:has(span.arrow) {
    padding: 5px 10px 5px 10px;
    cursor: pointer;
}

.arrow {
    border: solid black;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    transition: all 0.2s linear;
}

.up {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}

.down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

footer {
    background: white;
    text-align: center;
    padding: var(--footer-padding);
    position: fixed;
    bottom: 0;
    z-index: 999;
    height: var(--footer-height);
    width: 100%;
}
