html, body {
    background-color: #000;
    color: white;
}

* {
    font-family: sans-serif;
}

header, footer {
    background-color: #10141B;
    padding: 8px;
    border-radius: 0.5rem;
    line-height: 1.5rem;
    a {
        color: white;
    }
}

nav ul {
    margin: 0;
    padding: 0;
}

nav, header {
    padding: 8px;
}

nav ul li {
    display: inline;
}

nav ul li:not(:first-child)::before {
    content: " · ";
    display: inline-block;
    margin: 0 0.3rem;
}


.character-row {
    display: grid;
    grid-template-columns: repeat(10, 49px);
    column-gap: 4px;
    grid-template-rows: repeat(1, 140px);
    img {
        width: 100%;
    }
}

.padded {
    padding: 0 1rem;
}

.main-view {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
}

.character-grid {
    width: 100%;
    display: grid;
    column-gap: 6px;
    grid-template-columns: repeat(10, 50px);
    row-gap: 4px;
}

main {
    display: flex;
    align-items: center;
    flex-direction: column;
}

@media (max-width: 600px) {
    .title-img {
        width: 90%;
    }

    .main-view {
        display: grid;
        grid-template-columns: 20px auto 20px;
    }

    .character-grid {
        grid-template-columns: repeat(auto-fill, 40px);
        margin: 0;
        width: 100%;
        column-gap: 1rem;
    }
}
