/* Base styles copied from src/styles/global.css */
/*
  The CSS in this style tag is based off of Bear Blog's default CSS.
  https://github.com/HermanMartinus/bearblog/blob/297026a877bc2ab2b3bdfbd6b9f7961c350917dd/templates/styles/blog/default.css
  License MIT: https://github.com/HermanMartinus/bearblog/blob/master/LICENSE.md
 */
html, body {
	overflow-x: hidden;
}
@media (min-height:650px) {
	html, body {
		height: 100%;
	}
}
body {
	margin: auto;
	padding: 0;
	text-align: left;
	word-wrap: break-word;
	overflow-wrap: break-word;
	line-height: 1.5;
	color: #444;
}
a {
	color: #3273dc;
}
.active {
	border: none;
}
nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
nav a {
	margin: 0 10px;
}
textarea {
	width: 100%;
	font-size: 16px;
}
input {
	font-size: 16px;
}
content {
	line-height: 1.6;
}
table {
	width: 100%;
}
img {
	max-width: 100%;
	height: auto;
}
code {
	padding: 2px 5px;
	background-color: #f2f2f2;
}
pre {
	padding: 1rem;
}
pre > code {
	all: unset;
}
blockquote {
	border: 1px solid #999;
	color: #222;
	padding: 2px 0px 2px 20px;
	margin: 0px;
	font-style: italic;
}

/* Color Variables */
:root {
	--color-mint: #F3FAF6;
	--color-highlight: #D0ECDC;
	--color-forest: #002D13;
	--color-forest-rgb: 0,45,19;
}
@media (prefers-color-scheme: dark) {
	:root {
		--color-mint:  #19221d;
		--color-highlight: #58655e;
		--color-forest: #F3FAF6;
		--color-forest-rgb: 12,23,17;
	}
}

/* Layout */
body {
	font-family: "Manrope", sans-serif;
	background-color: var(--color-mint);
	color: var(--color-forest);

	flex-direction: column;
}

main {
	width: auto;
	margin: 0 20px;
}

/* Type */
h1 {
	font-size: 28px;
	line-height: 1.1em;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 3px;
}
	h1 span {
		display: block;
		font-size:50%;
		margin-top: 8px;
		letter-spacing: 2px;
	}

@media (min-width:1200px) {
	h1 {
		font-size: 38px;
		letter-spacing: 4px;
	}
		h1 span {
			float: right;
			margin-top: 2px;
		}
}

h2 {
	font-size: 30px;
	line-height: 1em;
	margin: 0 0 10px;
}

h2, h3, .big-type {
	font-family: "DM Serif Display", serif;
}

	
p {
	font-size: 14px;
	letter-spacing: 0.5px;
	margin: 0 0 20px;
}

@media (min-width:600px) {
    h2 {
        font-size: 40px;
        line-height: 42px;
    }

    p {
        font-size: 20px;
        letter-spacing: 0.5px;
        margin: 0 0 20px;
    }
}

a {
	color: var(--color-forest);
	border-bottom: 2px solid var(--color-highlight);
	text-decoration: none;
}
a:hover {
	background-color: var(--color-highlight);
}

/* Header/Footer component styles from src/components */
header {
	display: flex;
	position: relative;
	justify-content: center;
	z-index: 1;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin: 20px 0;
}
.name.active {
	display: none;
}
footer {
	padding: 25px;
	text-align: center;
}

/* Homepage-specific styles from src/pages/index.astro */
@media (min-width:600px) {
	body {
		display: flex;
		align-items: center;
		justify-content: space-around;
	}
	main {
		width:80%;
		margin: 0 auto;
	}
}
/* Big Type */
.big-type {
	font-size: 40vw;
	line-height: 28vw;
	letter-spacing: -0.5vw;
	word-wrap: normal;
	margin: 0 -3vw 0;
}
@media (min-width:600px) {
	.big-type {
		font-size: 22vw;
		line-height: 18vw;
	}
}
/* Paragraph size: 14px <600px, 20px ≥600px */
