/* 100% hand-crafted, artisanal CSS */
@font-face {
    font-family: "Main Font";
    src: url('/PressStart2P-Regular.ttf');
    font-display: swap;
}

body {
    background-color: black;
    color: white;
    font-family: "Main Font";
    padding-left: 10%;
    padding-right: 10%;
}

header {
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

footer {
    font-size: x-small;
    padding-top: 40px;
}

nav {
    margin-top: 24px;
}

nav a {
    color: white;
    text-decoration: underline;
}

h3 {
    text-align: left;
    padding-top: 20px;
}

details {
    border: 1px solid white;
    padding: 20px;
}

summary {
    text-align: left;
}

p {
    line-height: 1.6;
    text-align: left;
}

p > img {
    display: block;
    margin: 0 auto;
}

h3 {
    margin-top: 24px;
}

ul {
    line-height: 1.6;
    text-align: left;
}

p a:link, a:visited {
    color: white;
    text-decoration: underline;
}

img {
    max-width: 100%;
}

pre {
    text-align: left;
    font-size: larger;
}

code {
    font-size: larger;
}

blockquote {
    padding: 8px;
    background-color: #111111;
}

.full-nav {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.mobile-nav {
    flex-direction: row;
    justify-content: space-between;
    padding-left: 10%;
    padding-right: 10%;
    display: none;
}

#navToggle {
    display: none;
}

#navToggle ~ label {
    cursor: pointer;
    font-size: xx-large;
    transform: translateY(-35%);
}

#navToggle ~ ul {
    display: flex;
    flex-direction: column;
    padding: 0px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s;
}

#navToggle ~ ul a {
    background-color: #333333;
    padding: 16px;
}

#navToggle ~ ul a:hover {
    background-color: #555555;
}

#navToggle:checked ~ ul {
    max-height: 350px;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    align-items: self-end;
}

#rss-link {
    font-size: smaller;
    margin: 0 24px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

#rss-link a {
    color: orange;
}

.games-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.games-list .game {
    width: 25%;
    padding: 8px;
    line-height: 1.4;
    background-color: #333333;
    background-clip: border-box;
    border-radius: 8px;
}

.games-list a {
    color: white;
    text-decoration: none;
    display: flex;
    justify-content: center;
}

.games-list .game img{
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding: 8px;
}

.center {
    text-align: center;
}

.published-date {
    font-size: x-small;
}

.blog-list-item {
    display: block;
    background-color: #333333;
    padding: 16px;
    padding-bottom: 24px;
    margin: 24px;
    border-radius: 8px;
}

.blog-list-item:visited, .blog-list-item:link {
    color: white;
    text-decoration: none;
}

#mega-man-button {
    background-color: #333333;
}

@media only screen and (max-width: 700px) {
    body {
        padding-left: 0;
        padding-right: 0;
    }

    iframe {
        max-width: 100%;
    }

    p {
        padding: 0 8px;
    }

    h3 {
        line-height: 1.2;
    }

    .games-list {
        flex-direction: column;
        align-content: center;
        gap: 32px;
    }

    .games-list .game {
        width: 80%;
    }

    #mega-man-button {
        top: 5px !important;
        right: 5px !important;
    }

    .mobile-nav {
        display: flex;
    }

    .full-nav {
        display: none;
    }
}