@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    --white: rgb(249, 247, 243);
}

body, html {
    margin: 0;
    font-size: 15px;
}

blockquote, table, tr, th, td {
    font-size: inherit;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--white);
}

*::selection {
    color: var(--white);
    text-shadow: 0 0 1px rgba(255, 255, 255, .8);
    background: rgba(255, 0, 0, .9);
}

a {
    color: inherit;
    text-decoration: none;
    font-style: italic;
}
a:hover {
    color: var(--white);
    text-shadow: 0 0 1px rgba(255, 255, 255, .8);
    background: red;
    box-shadow: 0 0 1px red;
}

a[target="_blank"]::after {
    content: "";
    background-image: url(res/icons/arrow-top-right.svg);
    background-size: contain;
    display: inline-block;
    height: 1rem;
    width: 1rem;
    vertical-align: middle;
    user-select: none;
}

blockquote {
    margin: 0;
    padding-left: 2rem;
    border-left: 2px solid lightgray;
    margin-bottom: .5rem;
}

.inline-icon {
    display: inline-block;
    height: 1rem;
    width: 1rem;
    vertical-align: middle;
    user-select: none;
}

table {
    width: 100%;
    border-collapse: collapse;
}
th, td {
    text-align: left;
    vertical-align: top;
    margin: 0;
    padding: 5px .5em;
}
tr:has(.date) {
    border-bottom: 1px solid lightgray;
}
tr > *:first-child {
    padding-left: 0;
}
table .date {
    white-space: nowrap;
    color: gray;
}
table .date + td {
    width: 100%;
}
table .location {
    white-space: nowrap;
}

@media only screen and (max-aspect-ratio: 1) {
    tr:has(.date) {
        display: flex;
        flex-direction: column;
        padding-bottom: 5px;
        padding-top: 5px;
    }
    tr:has(.date) td:not(.date) {
        padding-left: 1em;
    }
}

img {
    max-width: 100%;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    text-align: center;
    padding: .5em;
    background-color: var(--white);
    z-index: 1;
    box-sizing: border-box;
}

h1 {
    color: black;
    text-shadow: 0 0 1px black;
    font-family: 'Times New Roman', serif;
    font-weight: bold;
    font-size: 1.7rem;
    transform: scaleY(1.3);
}

.website-title, .website-title:hover {
    display: inline-block;
    font-style: normal;
    font-family: 'Times New Roman', serif;
    transform: scaleY(1.5);
    font-weight: bold;
    text-transform: lowercase;
    line-height: .8em;
    text-align: center;
    margin-bottom: 1.5em;
    color: rgba(255, 0, 0, .8);
    text-shadow: 0 0 1.5px rgba(255, 0, 0, .8), 0 0 10px rgba(255, 255, 255, .3);
    background: transparent;
    box-shadow: none;
}
a.website-title, a.website-title:hover {
    cursor: pointer;
    width: fit-content;
    font-size: 1.2rem;
    text-shadow: 0 0 1px rgba(255, 0, 0, .8), 0 0 10px rgba(255, 255, 255, .3);
    margin: .5em 0;
}
.website-title > div:nth-child(2) {
    margin-left: 1ch;
}

.overlay {
    z-index: 100;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: black;
    height: 100%;
    height: 0;
    transition: none;
}
.overlay.active {
    height: 100%;
    transition: height 1s ease-in-out;
}