/* ----------------------------------------------------------
   oslesia
   common.css
---------------------------------------------------------- */

:root {
    --bg: #181818;
    --surface: #202020;
    --text: #e8e8e8;
    --muted: #b5b5b5;
    --link: #ffffff;
    --border: #383838;

    --content-width: 42rem;
    --spacing: 1.5rem;
}


/* ----------------------------------------------------------
   Reset
---------------------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);

    font-family:
        Inter,
        system-ui,
        -apple-system,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    line-height: 1.7;
}


/* ----------------------------------------------------------
   Typography
---------------------------------------------------------- */

h1,
h2,
h3,
h4,
p {
    margin: 0;
}

h2 {
    margin-top: 5rem;
    margin-bottom: 2rem;

    text-align: center;

    font-size: 2rem;
    font-weight: 300;
}

h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;

    text-align: center;

    font-size: 1.35rem;
    font-weight: 400;
}

h4 {
    margin-bottom: 1rem;

    text-align: center;

    color: var(--muted);

    font-weight: 400;
}

p {
    margin-bottom: 1.2rem;
    text-align: justify;
    hyphens: auto;
}


/* ----------------------------------------------------------
   Links
---------------------------------------------------------- */

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

a:hover {
    text-decoration: underline;
}


/* ----------------------------------------------------------
   Header
---------------------------------------------------------- */

header {

    text-align: center;

    padding: 2rem 1rem 4rem;
}

header img {

    width: min(500px, 80vw);
    height: auto;

    display: block;

    margin: 3rem auto;
}

.menu {
    text-align: center;
    font-weight: bold;
    position: sticky;
    top: 0;
    z-index: 1000;

    background-color: var(--bg);

    padding .5rem 0;
}

hr {

    width: 8rem;

    border: none;
    border-top: 1px solid var(--border);

    margin: .4rem auto;
}


/* ----------------------------------------------------------
   Main
---------------------------------------------------------- */

main {

    width: min(var(--content-width), calc(100% - 2rem));

    margin: auto;

    padding-bottom: 6rem;
}

section {
    margin-bottom: 6rem;
}

article {
    margin-bottom: 4rem;
}

img,
video {

    display: block;

    width: 100%;
    height: auto;

    margin: 1.5rem 0;

    border-radius: 4px;
}


/* ----------------------------------------------------------
   Apply this class to credits, lists of musicians and such
---------------------------------------------------------- */

.small {
    color: var(--muted);
    font-size: .90rem;
    text-align: left;
}


/* ----------------------------------------------------------
   Responsive
---------------------------------------------------------- */

@media (min-width: 700px) {

    body {
        font-size: 1.05rem;
    }

    h2 {
        font-size: 2.3rem;
    }

    h3 {
        font-size: 1.5rem;
    }

}
