/* OBSIDIAN DEFAULT */
/* :root {
    --background-color: rgb(30, 30, 30);
    --text-color: white;
    --text-grayed: rgb(80, 80, 80);
    --accent-color: rgb(138, 92, 245);
    --accent-color-highlighted: rgb(177, 145, 251);
} */

/* VARD's GREEN */
:root {
    --background-color: rgb(27, 36, 30);
    --lighter-bg-color: rgb(47, 61, 52);
    --darker-bg-color: rgb(22, 30, 25);
    --text-color: white;
    --text-grayed: rgb(118, 118, 118);
    --accent-color: rgb(106, 185, 132);
    --accent-color-highlighted: rgb(177, 215, 189);
}

body {
    background-color: var(--background-color);
    font-family: Verdana, sans-serif;
    color:  var(--text-color);
    overflow-wrap: break-word;
}

main {
    width: 50rem;
    margin-left: auto;
    margin-right: auto;
}

img, audio, video {
    max-width: 100%;
    display: block;
}

a {
    all: unset;
    cursor: pointer;
    text-decoration: underline;
    color: var(--accent-color);
}

a:hover {
    all: unset;
    cursor: pointer;
    text-decoration: underline;
    color: var(--accent-color-highlighted);
}

h1, h2, h3 {
    margin-bottom: 0;
}

h1 {
    margin-top: 1%;
}

p {
    margin-top: 0;
}

code {
    font-size: 1.18rem;
    line-height: 1.3em;
    background-color: var(--darker-bg-color);
}

blockquote {
    margin: 0;
    padding-left: 1.4rem;
    border-left: 4px solid var(--accent-color);
}

li::marker {
    color: var(--text-grayed);
}

th, td {
    border: 1px solid var(--text-grayed);
    padding: 5px;
}

table {
    border-collapse: collapse;
}

header {
    display: flex;
    justify-content: space-between;
}

header > p {
    color: var(--text-grayed);
    line-height: 1em;
}

header > p > a {
    text-decoration: none;
}

p { line-height: 1.3em; }
/* h2 { line-height: 1.813em; }
h3 { line-height: 1.438em; }
h4 { line-height: 1.188em; }
h5 { line-height: 1em; } */

.note {
    width: 96%;
    background-color: var(--lighter-bg-color);
    padding: 2%;
    margin-top: 2%;
    margin-bottom: 2%;
    line-height: 1.3rem;
}

details {
    width: 96%;
    background-color: var(--lighter-bg-color);
    padding: 2%;
    margin-top: 2%;
    margin-bottom: 2%;
    line-height: 1.3rem;
}

details > summary {
    cursor: pointer;
}

details > div > p {
    margin: 0;
    margin-top: 2%;
}

/* .note::first-letter {
    font-size: 1.5rem;
    line-height: 1.3rem;
} */

li {
    margin-bottom: 1%;
}

.notfound {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}

@media (orientation: portrait) {
    main {
        width: auto;
    }
}