/* Light mode */
:root {
    --body-background: #FFF;
    --accent-color: #d87093;
    --accent-color-var1: #E398B1;
    --accent-color-var2: #F1CCD8;
    --text-color-normal: #333;
    --text-secondary: #5F6062;
    --bubble-background: #ececec;
    --bubble-background-var1: #F5F2F2;
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    :root {
        --body-background: #1E2329;
        /* bg color from https://www.iamtamara.design/ */
        --accent-color: #E996B1;
        --accent-color-var1: #D5A9B8;
        --accent-color-var2: #964862;
        --text-color-normal: #D4D4D9;
        --text-secondary: #B3B3BC;
        --bubble-background: #60606C;
        --bubble-background-var1: #60606C;
    }
}

html {
    background-color: var(--body-background);
    color: var(--text-color-normal);
}

main {
    margin: 0 auto;
    max-width: 660px;
    flex: 1;
}

h1, h2 {
    font-family: "Roboto", "SF Pro", SFPro-Regular, ui-sans, sans-serif;
}

body {
    font-family: "SF Mono", SFMono-Regular, ui-monospace, monospace;
    line-height: 1.9em;
    font-size: 15px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

.content {
    margin: 0 20px;
}

a, a:visited {
    color: var(--text-color-normal);
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: .25em;
    text-decoration-color: var(--accent-color);
}

a:hover {
    color: var(--accent-color);
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: .25em;
    text-decoration-color: var(--accent-color);
}

nav {
    display: flex;
    width: 100%;
    justify-content: center;
    top: 0;
    left: 0;
    font-family: "SF Mono", SFMono-Regular, ui-monospace, monospace;
    line-height: 1.7em;
    font-size: 15px;
}

nav a,
nav a:visited {
    color: var(--accent-color);
    text-decoration: none;
    border-bottom: none;
}

nav a:hover {
    color: var(--accent-color);
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: .25em;
    text-decoration-color: var(--accent-color);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 70%;
}

#header-hello {
    text-align: center;
    font-size: 110px;
    margin-top: 100px;
    padding-top: 40px;
    padding-bottom: 30px;
}

#header-me {
    text-align: center;
    font-size: 14px;
    padding-bottom: 40px;
}

.p-welcome {
    font-size: 16px;
}

#nav-menu {
    display: flex;
    align-items: center;
}

@media screen and (max-width: 700px) {

    #nav-menu {
        display: flex;
        align-items: start;
    }

    header {
        display: flex;
        justify-content: space-between;
        align-items: start;
        width: 90%;
        flex-direction: column;
    }

    #nav-menu > ul {
        list-style: none;
        display: flex;
        flex-direction: column;
        padding: 0;
    }
}

#nav-menu > ul {
    list-style: none;
    display: flex;
}

.nav-menu-item {
    margin-right: 20px;
}

img {
    max-width: 100%;
    border-radius: 12px;
}

code {
    padding: 1px 3px;
    background-color: var(--bubble-background);
    border-radius: 2px;
    font-size: 14px;
}

footer {
    font-family: "SF Mono", SFMono-Regular, ui-monospace, monospace;
    max-width: 800px;
    padding: 30px 20px 50px 20px;
    display: flex;
    flex-direction: column;
    align-items: start;
    font-size: 13px;
    margin: auto;
    gap: 20px;
}

.footer-menu {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: space-evenly;
    align-items: start;
}

.footer-menu-item {
    font-size: 14px;
}