body {
    margin: 0;
    min-width: 320px;
    background: #02330a;
    font-family: "Yanone Kaffeesatz", sans-serif;
    font-size: 24px;
    color: #fff;
}

@font-face {
    font-family: "Apple Color Emoji";
    src: url("static/apple-color-emoji.ttf") format("truetype");
}

.emoji {
    font-family: "Apple Color Emoji", sans-serif;
    font-style: normal;
    font-weight: normal;
    font-variant-emoji: emoji;
}

.header img {
    display: block;
    width: 100%;
    height: auto;
}

.navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 15px;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border-radius: 15px;
    background: linear-gradient(0deg, #496e49 0%, #124e12 22%, #124e12 71%, #9aff8f 100%);
}

.language-selector .emoji {
    font-size: 28px;
}

.language-selector select {
    border: 0;
    outline: 0;
    padding: 15px 4px;
    color: #fff;
    background: transparent;
    font: 24px "Caveat", cursive;
    cursor: pointer;
}

.language-selector option {
    color: #000;
}

button {
    border: none;
    padding: 15px 20px;
    width: 200px;
    border-radius: 15px;
    color: #fff;
    font-family: "Caveat", cursive;
    font-optical-sizing: auto;
    font-size: 24px;
    font-weight: 100;
    font-style: normal;
    background: linear-gradient(0deg, #496e49 0%, #124e12 22%, #124e12 71%, #9aff8f 100%);
    cursor: pointer;
    transition: text-shadow .3s linear, background .3s linear;
}

button:hover,
button[aria-selected="true"] {
    text-shadow: #fff 0 0 12px;
    background: linear-gradient(0deg, #66a166 21%, #4a9042 46%, #4a9042 50%, #9aff8f 77%);
}

.main {
    width: min(1200px, calc(100% - 30px));
    margin: 0 auto;
    padding-bottom: 30px;
}

.tab-content[hidden] {
    display: none;
}

.tab-content {
    animation: tab-appear .2s ease;
}

.art-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    align-items: start;
}

.art-gallery img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    background: rgba(0, 0, 0, .15);
    cursor: zoom-in;
}

.art-viewer[hidden] {
    display: none;
}

.art-viewer {
    position: fixed;
    z-index: 10;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 24px 24px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, .88);
    cursor: zoom-out;
}

.art-viewer-image {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    cursor: default;
}

.art-viewer-close {
    position: absolute;
    top: 14px;
    right: 20px;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    font-family: Arial, sans-serif;
    font-size: 36px;
    line-height: 1;
}

.socials a {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #032203;
    padding: 15px;
    margin: 15px 50px;
    border-radius: 10px;
    font-size: xxx-large;
    color: #52ff6e;
    text-decoration: none;
    transition: color .3s linear, background .3s linear;
}

.socials a[id="youtube"] {
    color: #ff0033;
}

.socials a[id="gamejolt"] {
    color: #ccff00;
}

.socials a[id="castle"] {
    color: #7f93a1;
}

.socials a[id="tumblr"] {
    color: #36465d;
}

.socials a:hover {
    background-color: #0c700c;
    color: #fff;
}

.socials a img, .socials a svg {
    padding: 0px 15px;
    max-width: 50px;
    max-height: 50px;
}

.info {
    text-align: center;
    font-weight: 250;
}

.info .platform {
    font-weight: 500;
}

.info .platform img, .info .platform svg {
    max-width: 25px;
    max-height: 25px;
}

@keyframes tab-appear {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 560px) {
    .navigation {
        gap: 10px;
        padding: 10px;
    }

    .socials a {
        margin: 15px 0;
    }

    button {
        width: 100%;
    }

    .language-selector {
        justify-content: center;
        width: 100%;
        box-sizing: border-box;
    }

    .main {
        width: min(calc(100% - 20px), 1200px);
    }

    .art-gallery {
        grid-template-columns: 1fr;
    }
}

::-webkit-scrollbar {
    width: 15px;
}

::-webkit-scrollbar-track {
    background: #02330a;
}

::-webkit-scrollbar-thumb {
    background-color: #16820a;
    border-radius: 20px;
    border: 3px solid #033503;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #005100;
}
