@font-face {
    font-family: "Berkley Mono";
    src: url("/static/berk.ttf");
}

* {
    margin: 0px;
    padding: 0px;
    font-family: "Berkley Mono", monospace;
    box-sizing: border-box;
    --width: 1000px;
}

html {
    font-size: 2em;
}

@media (max-width: 1200px) {
    * {
        --width: 800px;
    }
}

@media (max-width: 900px) {
    * {
        --width: 80vw;
    }

    html {
        font-size: 1.5em;
    }

    div.navbar * {
        font-size: .75em;
    }
}

div#main {
    width: var(--width);
    margin-left: auto;
    margin-right: auto;
    margin-top: 2em;
}

div.window {
    margin-top: 1em;
    margin-bottom: 2em;
    padding: 1em;
    box-sizing: border-box;
    border-style: solid;
    border-width: .1em;
    border-top-width: .5em;
}

.highlight {
    text-decoration: underline;
}

div#cursor {
    min-width: 2ch;
    max-width: 40ch;
    min-height: 2ch;
    max-height: 24ch;
    opacity: 0;
    transition: width 250ms, height 250ms, opacity 250ms;
    position: fixed;
    padding: .25em;
    backdrop-filter: blur(1em);
    z-index: 100;
    font-size: .7em;
}

a.secret {
    text-decoration: none;
    font-style: normal;
    opacity: 90%;
}

a.secret:hover {
    text-decoration: underline;
}

.sidenote {
    opacity: 30%;
}

a {
    font-style: italic;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

div.achievement_list {
    border-width: 0.1em;
    padding: .5em;
}

text.achievement_info {
    font-size: 0.7em;
    opacity: 50%;
}

div.navbar {
    position: sticky;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    top: 0.5em;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    margin-bottom: 1.5em;
    width: var(--width);
    margin-left: auto;
    margin-right: auto;
    z-index: 20;
}

div.center {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

div.project_info {
    margin-top: 1ch;
}

div.project_info * {
    opacity: 50%;
}

h2.project_info {
    text-align: center;
}

a:not([href]) {
    opacity: 50%;
    cursor: not-allowed;
}

div.center {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

div.footer a {
    font-style: normal;
}

div.navbar * {
    font-style: normal;
}

ul {
    list-style-position: inside;
    list-style-type: "- ";
    font-size: 0.8em;
    text-indent: 1ch;
}

ul ul {
    text-indent: 3ch;
    opacity: 70%;
    margin-bottom: 1ch;
}

*[data-hover] {
    text-decoration: underline;
    color: inherit;
}

hr {
    margin-top: .5em;
}

div#form {
    margin-top: 1ch;
}

input, select, button {
    font-family: inherit;
    font-size: inherit;
    padding-left: 1em;
    padding-right: 1em;
}

div#form * {
    width: 100%;
}

select * {
    color: black;
}

div.game {
    padding: .5em;
    margin-bottom: .5em;
}

div.game_player * {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: .5em;
}

hr {
    border: none;
    height: 1px;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1em;
    margin-bottom: 0.5em;
    opacity: 50%;
}

div#list {
    display: grid;
    grid-template-columns: auto auto auto;
    grid-gap: .25em;
    box-sizing: border-box;
}

div#list img {
    box-sizing: border-box;
    width: 100%;
    border-radius: .25em;
    border: .1em solid transparent;
    transition: border 500ms;
}

div#list img:hover {
    box-sizing: border-box;
    border: .1em solid white;
    transition: border 500ms;
}

div#buttons {
    text-align: center;
}