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

* {
    box-sizing: border-box;
}

body{
    --color-fg: #04080fff;
    --color-bg: #f0f0f0;
    --color-bg-theme: #bbd1eaff;
    --color-bg-alt: #dae3e5ff;
    --color-theme: #507dbcff;
    --powder-blue: #a1c6eaff;

    padding: 0;
    margin: 0;
    background-color: var(--color-bg-theme);
    color: var(--color-fg);
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    font-optical-sizing: auto;
}

header {
    display: flex;
    justify-content: space-around;
    height: 10rem;
    align-items: center;
}
header img {
    height: inherit;
}

main {
    margin: 2rem auto;
    padding: 1rem;
    max-width: 50rem;
    border-radius: 0.5rem;
    background-color: var(--color-bg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Comfortaa", sans-serif;
    font-weight: 700;
}

a {
    color: var(--color-theme);
    text-decoration: none;
}

/* Home page */
ul {
    list-style: none;
}
ul li {
    display: flex;
    line-height: 1.25rem;
}
ul li span {
    flex: 1 0 0;
}
ul li a {
    flex: 2 0 0;
}
ul li code {
    flex: 0 0 5rem;
    text-align: right;
}

/* Lyrics page */
nav {
    display: flex;
    justify-content: space-between;
}
nav span {
    flex: 1 0 0;
    text-align: center;
}
nav span:first-child {
    text-align: left;
}
nav span:last-child {
    text-align: right;
}

pre {
    border-left: 0.5rem solid var(--color-theme);
    padding: 0.5rem;
    overflow-x: auto;
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 5rem;
    margin: 2rem;
}

footer a {
    color: var(--color-fg);
    text-decoration: none;
}

@media screen and (max-width: 50rem) {
    main {
        margin: 0;
        border-radius: 0;
    }
    ul li {
        flex-wrap: wrap;
    }
    ul li span {
        flex: 1 0 100%;
        font-weight: bolder;
        margin-top: 1rem;
    }
    ul li span:empty {
        display: none;
    }
}