/* === Color Scheme Variables === */
:root {
    --color-background-grad: linear-gradient(to top left, #0b1118, #131C28);
    --container-color-background-grad: linear-gradient(to top, #25272a, #34393c);
    --container-color-background: #4f4f51;
    --color-text: #e1d9d5;
    --color-link: #4691db;
    --color-link-hover: #2873c3;
    --color-secondary-text: #c7b2b2;
    --color-border: #898989;
}

html {
	scrollbar-width: none;
	background-color: #131C28;
	background-image: var(--color-background-grad);
}
body::-webkit-scrollbar, body::-webkit-scrollbar-button { display: none; }

/* === Basic Reset === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-gutter: stable both-edges;
}

/* === General Styles === */
body {
    font-family: "Inter", "Segoe UI", Roboto, sans-serif;
    color: var(--color-text);
    line-height: 1.6;
	-ms-overflow-style: none;
}

.container {
    width: min(90%, 800px);
    margin: auto;
}

/* === Header === */
header {
    /* background: var(--color-header-bg, #fff); */
    border-bottom: 1px solid var(--color-border);
    padding: 2rem 0 1rem;
    text-align: center;
}

header h1 {
    font-size: 2rem;
    font-weight: 600;
}

header .tagline {
    color: var(--color-secondary-text);
    font-size: 1rem;
    margin: 0.5rem 0 1rem;
}

a:not(.skip-link-color) {
    color: var(--color-link);
    transition: color 0.2s ease;
}

a:not(.skip-link-color):hover {
    color: var(--color-link-hover);
}

nav {
    margin-top: 1rem;
}

nav a {
    color: #fdfdfd;
    text-decoration: none;
    margin: 0 0.75rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

nav .active {
	text-decoration: underline;
}

nav a:not(.active):hover {
    color: var(--color-link-hover);
}

/* === Sections === */
section h2 {
    font-size: 1.5rem;
    border-bottom: 2px solid #ddd;
    padding-bottom: 0.3rem;
    margin-bottom: 1rem;
	margin-top: 8px;
	display: flex;
	flex-direction: row;
	align-items: center;
	/* justify-content: center; */
}
h1 {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}

.entry h3 {
    font-size: 1.1rem;
    color: var(--color-text);
}

.entry p, .entry ul {
    margin-top: 0.25rem;
}

.entry ul {
    margin-left: 1.2rem;
    list-style-type: disc;
}

.subtext {
    color: var(--color-secondary-text);
    font-size: 0.95rem;
}

/* === Footer === */
footer {
    text-align: center;
    padding: 2rem 0;
    color: var(--color-secondary-text);
    font-size: 0.9rem;
}

footer a {
    color: var(--color-link);
}

footer a:hover {
    text-decoration: underline;
}

.github-link-image {
	display: flex;
	flex-direction: row;
	align-items: center;
	text-decoration: none;
}

.github-link-image > img {
	margin-left: 8px;
	display: inline;
    width: 20px;
    height: 20px;
    filter: brightness(1000%) invert(100%);
    transition: filter 0.2s;
	text-decoration: none;
}

.github-link-image > img:hover {
	filter: brightness(1000%) invert(75%);
}

.link-image {
	display: flex;
	flex-direction: row;
	align-items: center;
	margin-left: 8px;
	text-decoration: none;
}

.link-image > img {
	display: inline;
    width: 20px;
    height: 20px;
    transition: filter 0.2s;
	text-decoration: none;
}

.link-image > img:hover {
	filter: brightness(0.7);
}

.content-box {
    background: var(--container-color-background-grad);
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(46, 46, 46, 0.4);
}

/* === Responsive === */
@media (max-width: 600px) {
    header h1 {
        font-size: 1.6rem;
    }
    nav a {
        display: block;
        margin: 0.3rem 0;
    }
}

p + p {
    margin-top: 12px;
}
