/* Fonts. */
@font-face {
    font-family: "Computer Modern";
    src: url(/fonts/cmunrm.ttf) format("truetype");
}

/* Tags. */
* {
    font-family: "Computer Modern";
    color: white;
}

a {
    color: inherit;
}

a:visited {
    color: inherit;
}

body,
html {
    margin: 0;
    width: 100svw;
    height: 100svh;
    background-color: black;
}

button {
    background-color: var(--eacit-dark);
    border: none;
    border-radius: var(--standard-border-radius);
    padding: calc(var(--standard-padding) / 2) var(--standard-padding);
    cursor: pointer;
}

button:disabled {
    background-color: var(--background-light);
    cursor: not-allowed;
}

input {
    background-color: white;
    border: none;
    border-radius: var(--standard-border-radius);
    padding: calc(var(--standard-padding) / 2);
    color: black;
}

table {
    border-collapse: collapse;
}

/* Lorenz animation. */
#lorenzAnimation {
    position: fixed;
    min-width: 100%;
    min-height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

@media screen and (max-aspect-ratio: 1/1) {
    #lorenzAnimation {
        max-height: 100%;
    }
}

@media screen and (min-aspect-ratio: 1/1) {
    #lorenzAnimation {
        max-width: 100%;
    }
}

/* Base. */
#main {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

#content {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    height: calc(100vh - var(--header-height));
    position: relative;
    z-index: 1;
}

.textSection {
    margin: 0 var(--standard-margin);
}