/*      ROOT       */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Colors */
    --header-background: #152238;
    --text: #dbe0e9;
    --background: #0b1528;
    --link-normal: #84c5fb;
    --link-hover: #c7e2ff;
    --nav-hover-background: #2c4062;
    --album-background: #191c28;

    /* Measurements */
    --header-height: 2.5em;
    --header-height-mobile: 5em;
    --max-width: 1200px;
}

/*      FONTS       */
@font-face {
    font-family: "Figtree";
    src: url("../fonts/Figtree-VariableFont_wght.ttf") format("truetype");
}

/*      BASE       */

body {
    font-family: "Figtree";
    color: var(--text);
    background-color: var(--background);
    font-size: 1.1rem;
    line-height: 1.4;
}

img {
    max-height: 100%;
    max-width: 100%;
}

a {
    color: var(--link-normal);
    text-decoration: none;

    &:hover {
        color: var(--link-hover);
    }
}

header {
    min-height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
    background-color: var(--header-background);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    nav {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 2rem;

        font-size: 1.2rem;
        line-height: 2.41rem;
        max-width: var(--max-width);
    }

    span {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }

    a {
        color: var(--text);
        padding: 0 1.25rem;

        &:hover {
            color: var(--text);
            background-color: var(--nav-hover-background);
        }
    }

    ul {
        margin: 0;
        display: inline-flex;
        flex-wrap: wrap;
        gap: 1em;
        border-right: 1px solid white;
        border-left: 1px solid white;

        li {
            font-weight: 100;
            list-style-position: inside;
            list-style: none;

            &:hover {
                background-color: var(--nav-hover-background);
            }

            &:not(:first-child) {
                list-style: disc;
                margin-left: 1.2rem;
            }
        }
    }

    img {
        max-height: var(--header-height);
    }
}

main {
    max-width: var(--max-width);
    margin: 0 auto;
    margin-top: calc(var(--header-height) + 1rem);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

section {
    &.text-only {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
}

#hero {
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr 4fr;
    gap: 2rem;
    span {
        display: flex;
        flex-direction: column;
        align-items: start;
    }
    margin-top: 1.25rem;
}

.album-container {
    background-color: var(--album-background);
    padding: 1rem;
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr 2fr;
    margin-bottom: 1rem;

    div {
        display: flex;
        gap: 1rem;
        flex-direction: column;
        align-items: center;
        padding: 1rem;
    }

    ul {
        font-size: 1.05rem;
    }

    li {
        list-style-type: "\25B7";
        padding-left: 10px;
    }

    .title-row {
        display: flex;
        flex-direction: row;
        align-items: center;
    }
}

@media (max-width: 850px) {
    header {
        position: relative;
        height: fit-content;
    }

    main {
        margin-top: 1rem;
    }

    .album-container {
        grid-template-columns: 1fr;

        & > div:first-child {
            order: 1;
        }
    }

    #hero {
        grid-template-columns: 1fr;
        img {
            display: none;
        }
    }
}
