:root {
    --key-text: #f9c350;
    --regular-text: #FFFFF0;
    --nav-height: 32px;
    --character-negative-distance: -30px;
    --container-padding-x: 24px;
    --container-padding-y: 48px;
}

/*-------------------
    CSS GERAL
-------------------*/

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

body {
    overflow-x: hidden;
    background-color: #1B211A;
}

body, a {
    font-family: "Libre Baskerville", serif;
    font-optical-sizing: auto;
    font-style: normal;
    color: var(--regular-text);
}

a {
    color: var(--key-text);
    letter-spacing: 0.8px;
    text-decoration: underline;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
}

nav a {
    text-decoration: none;
}

p {
    font-size: 1rem;
    line-height: 1.5;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.25rem;
}

h1, h2, h3 {
    margin-bottom: 8px;
}

/*key h2*/
.kh2::before {
    content: '// ';
    font-style: italic;
}

h2, b, a {
    color: var(--key-text);
}

ul {
    margin-bottom: 16px;
}

.container {
    margin: 0 auto;
    max-width: 660px;
    width: 100%;
}

.container {
    padding: var(--container-padding-y) var(--container-padding-x);
}

svg {
    fill: var(--key-text);
    width: 1.6rem;
    height: auto;
    margin-right: 6px;
}

/*-------------------
    HEADER
-------------------*/

header {
    position: relative;
    min-height: 248px;
    max-height: 248px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background-image: url('./assets/bg.png');
    background-position: right;
    background-size: cover;

    padding-bottom: var(--nav-height);
}

header h1 {
    font-weight: 400;
}

.location { 
    margin: 12px 0;
    font-style: italic;
    
    display: inline-flex;
    align-items: center;
}

/*-------------------
    MENU
-------------------*/

nav {
    display: flex;
    align-items: center;
    height: var(--nav-height);
    position: absolute;
    bottom: 0;
}

nav {
    background: linear-gradient(to right, #1B211A 10%, #1B211A 20%, rgba(255,255,255,0.3));
    width: 100%;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0 auto;
}

nav ul li {
    margin: 0 8px;
    display: inline-flex;
}

nav a svg {
    width: 1.2rem;
}

.art-credits {
    display: inline-block;
    position: absolute;
    right: 24px;
}

.art-credits a {
    color: var(--regular-text);
    text-shadow: -4px 5px 6px #000000;
}

.mobile-art-credits {
    display: none;
}

/*-------------------
    MAIN
-------------------*/
main {
    position: relative;
}

.container {
    position: relative;
    z-index: 1;
}

/*-------------------
    OBJETIVOS ESTUDO
-------------------*/
.study-journey ul {
    list-style: none;
}

.study-journey ul li {
    display: inline-flex;
    align-items: center;
    width: 100%;
}

.study-journey ul li::before {
    content: '■';
    margin-right: 8px;
    margin-left: 14px;
    font-size: 0.5rem;
}

ul.currently-studying li::before {
    color: var(--key-text);
}

@media (max-width: 660px) {
    header {
        position: relative;
        width: 100%;
    }

    header .container {
        z-index: 1;
    }

    header.m-read::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        z-index: 0;
        background-color: rgba(0,0,0,0.65);
    }

    header h2 {
        font-size: 1.2rem;
    }

    .location {
        font-size: 1rem;
    }

    .mobile-art-credits {
        z-index: 1;
        display: inline-block;
        position: absolute;
        top: 5px;
        left: var(--container-padding-x);
    }

    .art-credits {
        display: none;
    }
}