@import url('https://fonts.googleapis.com/css?family=Roboto+Mono');

:root {
    --background-color: #2e3440;
    --color: #d8dee9; 
    --border-color: var(--color);
}

html, body *{
    font-family: 'Roboto Mono', monospace;
    background-color: var(--background-color);
    color: var(--color);
    min-height: 100%;
    height: 100%;
    font-weight: 400;
}

.header {
    padding: 5% 0 0 0;
}

summary {
    cursor: pointer;
}

.header-img {
    display: block;
    margin-left: auto;
    margin-right: auto 
}

.game {
    color: var(--color);
    opacity: 0.5;
}

.year {
    color: var(--color);
    opacity: 0.3;
}

.content {
    margin: 0 auto;
    width: 720px;
}

@media screen and ( max-width: 784px ){
    .content {
        margin: 0 32px;
        width: auto;
    }
}

.caption {
    transform-origin: bottom;
}

.footer {
    text-align: center;
    padding-top: 32px;
    padding-bottom: 32px;
}

.footer > a {
    text-decoration: none;
    opacity: 0.8;
}

p {
    text-align: justify;
}

h1 {
    border-bottom: 1px solid;
    margin-bottom: 0px;
}

h2 {
    margin-top: 4px;
    margin-bottom: 2px;
    display: inline-block;
}

canvas[resize] {
    width: 100%;
    height: 100%;
}

hr {
    border: none;
    height: 1px;
    background-color: var(--color);
    opacity: 0.2;
    margin: 0;
}

.image-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: space-around;
    justify-content: space-evenly;
    align-items: center;
    gap: 10px;
}

.image-row-item {
    object-fit: cover;
    border: 1px solid var(--border-color);
    filter: grayscale(80%);
    max-width: 200px;
    max-height: 200px;
}

.project {
    padding: 16px 0;
}

img:hover {
    filter: grayscale(0%);
}
