@font-face {
    font-family: "Lexend";
    src: url("/font/Lexend-VariableFont_wght.ttf");
}

@font-face {
    font-family: "Solway";
    src: url("/font/Solway-Light.ttf");
    font-weight: 300;
}
@font-face {
    font-family: "Solway";
    src: url("/font/Solway-Regular.ttf");
    font-weight: 400;
}
@font-face {
    font-family: "Solway";
    src: url("/font/Solway-Medium.ttf");
    font-weight: 500;
}
@font-face {
    font-family: "Solway";
    src: url("/font/Solway-Bold.ttf");
    font-weight: 700;
}
@font-face {
    font-family: "Solway";
    src: url("/font/Solway-ExtraBold.ttf");
    font-weight: 800;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Solway", "Lexend", serif;
    font-weight: 400;
    margin-top: 0.5lh;
    margin-bottom: 0.1lh;
}

hr {
    border: none;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    color: black;
    overflow: visible;
    text-align: center;
    height: 0px;
}
hr::after {
    content: '<+>';
    background-color: white;
    font-size: 16pt;
    position: relative;
    top: -0.6lh;
}
hr:not(:has(+ *)) {
    display: none;
}

*::selection {
    background-color: orange;
}

input {
    padding: 0.1rem 0.5rem;
    border: 2px solid black;
    border-radius: 9999px;
    transition: box-shadow 300ms;
}
input:focus {
    box-shadow: 4px 4px black;
    outline: none;
}

details {
    padding: 0.5rem;
    border: 2px solid black;
    border-radius: calc(0.5lh + 0.5rem);
    max-height: calc(1lh);
    overflow: hidden;
    transition: box-shadow 300ms ease-in, max-height 5s ease-out 300ms, overflow 0s linear 5.3s allow-discrete;
}
details:open {
    box-shadow: 4px 4px black;
    max-height: 1000vh;
    overflow: auto;
}

time {
    font-style: italic;
    color: #666;
}

pre {
    border: 1px solid gray;
    overflow: scroll;
}

nav.headerbar {
    border: 2px solid black;
    border-radius: 999px;
    width: 100% - 30px;
    min-width: fit-content;
    height: 40px;
    margin: 15px;
    padding: 10px;
}
nav.headerbar ul {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    padding: 0;
}
@media (max-width: 700px) {
    nav.headerbar {
        border: none;
        border-radius: 0;
        min-width: 0;
        overflow-x: scroll;
        height: fit-content;
        margin: 0px;
        padding: 0px;
    }
    nav.headerbar ul {
        margin: 0px;
        padding: 5px;
        width: fit-content;
        border-right: 4px dashed;
        border-left: 4px dashed;
    }
}

nav.headerbar > ul > li {
    display: flex;
    list-style: none;
    font-size: 40px;
    line-height: 40px;
    font-family: "Solway", monospace;
    font-weight: 500;
    margin: 0 20px;
}

nav.headerbar > ul > li > a {
    justify: center;
    text-decoration: none;
    color: black;
    padding: 0 8px;
    transition: text-decoration-color 100ms ease-out;
    text-decoration-color: #ffffff01;
}

nav.headerbar > ul > li > a:hover {
    text-decoration: underline dotted;
    text-decoration-color: #000000ff;
}

div:has(> nav.footer) {
    display: flex;
    align-items: center;
    justify-content: center;
}
nav.footer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    width: 100%;
    max-width: 1400px;
    text-align: center;
    padding: 2rem;
    font-size: 9pt;
}
nav.footer a {
    color: gray;
    margin: 0.25rem;
}
nav.footer a:hover {
    text-decoration: underline dotted;
}

.bordered {
    border-radius: 8px;
    border: 2px solid black;
    width: fit-content;
    padding: 9px;
}
.shadowed {
    box-shadow: 4px 4px black;
}
.spaced-row {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}
.centered-row {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

span.sidenote {
    vertical-align: super;
    position: relative;
    font-size: 0.5em;
    text-decoration: underline;
}
span.sidenote > * {
    position: absolute;
    left: 16px;
    top: 0.5lh;
    max-width: 33vw;
    width: max-content;
    margin: 2px;
    font-size: 2em;
    border: 2px solid black;
    border-radius: 8px;
    box-shadow: 4px 4px black;
    background: white;
    visibility: hidden;
}
span.sidenote:hover {
    text-decoration: underline dotted;
}
span.sidenote:hover > * {
    visibility: visible;
}

.article-list {
    list-style: none;
    padding: 0;
}
.article-list > li {
    margin: 1rem 0rem;
    box-sizing: border-box;
    width: 100%;
}
.article-list > li > a {
    color: black;
}
.article-list > li > a:hover {
    text-decoration: dotted black underline;
}
.article-list > li > a > h2 {
    margin: 0;
}
.article-list > li > time {
    color: #999;
}

.article-listing {
    display: flex;
}
.article-listing > div {
    flex: 1 3 100%;
}
.article-listing > div + div {
    flex: 0 1 300px;
    display: flex;
}
.article-thumbnail {
    aspect-ratio: 16/9;
    max-width: 300px;
    width: 100%;
    border: 2px solid black;
    border-radius: 10px;
    object-fit: cover;
}

.social-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
}

img.profile {
    height: 200px;
    aspect-ratio: 1/1;
    border: 2px solid black;
    border-radius: 9999px;
}

body {
    font-family: "Lexend";
    font-size: 14pt;
    margin: 0;
    padding: 0;
}

article {
    border-radius: 12px;
    border: 2px solid black;
    margin: 10px 10%;
    padding: 10px;
}
@media (max-width: 700px) {
    article {
        overflow: scroll;
        margin: 0;
        border-radius: 0;
    }
}

article img {
    border-radius: 8px;
    border: 2px solid black;
    width: fit-content;
    max-width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.tag-filter-menu {
}

.article-tag {
    border-radius: 999px;
    padding: 0.125rem 0.5rem;
    margin: 0rem 0.25rem;
    background-color: #ccc;
}

.article-tags {
}

a.article-tag {
    text-decoration: none;
    font-size: 10pt;
    color: #333;
    transition: box-shadow 300ms ease-out, outline 100ms;
}

a.article-tag:hover {
    color: #000;
    box-shadow: 4px 4px black;
    outline: 2px solid black;
}

.rating-diamond {
    position: relative;
    width: fit-content;
}
.rating-indicator {
    position: relative;
}
.rating-datum {
    position: absolute;
    overflow: show;
    width: 0px;
    height: 0px;
}
.rating-point {
    height: 10px;
    width: 10px;
    border-radius: 999px;
}
span.rating-point {
    display: inline-block;
}
div.rating-point {
    position: relative;
    top: -5px;
    left: -5px;

    transition: all 300ms ease-out;
}
.rating-point.game {
    background-color: green;
}
.rating-point.album {
    background-color: blue;
    border-radius: 2px;
}
a .rating-point {
    outline: 2px solid black;
}
div.rating-point:hover {
    height: 20px;
    width: 20px;
    top: -10px;
    left: -10px;
    box-shadow: 4px 4px black;
}
.rating-point ~ p {
    position: absolute;
    bottom: 6px;
    left: 6px;
    overflow: clip;
    background: white;
    border: 2px solid black;
    border-radius: 8px 8px 8px 0px;
    box-shadow: 4px 4px black;
    transition: max-width 3s cubic-bezier(0.17,0.84,0.44,1), max-height 100ms;
    visibility: hidden;
    max-width: 0;
    max-height: 0;
    width: max-content;
    padding: 4px;
    margin: 0;
    text-wrap: nowrap;
    z-index: 1;
}
.rating-point:hover ~ p {
    visibility: visible;
    max-width: 400px;
    max-height: 1lh;
}
.rating-indicator > a {
    color: #ccc;
    font-size: 10pt;
    position: absolute;
    left: 48px;
    top: 0px;
}
.rating-indicator > svg {
    display: inline-block;
    margin: 0;
    padding: 0;
}
.rating-indicator .goodness {
    color: #333;
    font-size: 12pt;
    position: absolute;
    left: 72px;
    top: 0px;
}
.rating-indicator .badness {
    color: #333;
    font-size: 12pt;
    position: absolute;
    left: calc(72px + 3ch);
    top: 0.5lh;
}
.rating-indicator .title {
    margin: 0;
    padding: 0;
    color: #333;
    font-family: "Solway";
    font-size: 16pt;
    padding-top: calc(58px - 1lh);
}
