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

		body {
			font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
			line-height: 1.7;
			font-size: 1rem;
			background: #fff;
			color: #000;
			-webkit-font-smoothing: antialiased;
			text-rendering: optimizeLegibility;
			font-kerning: normal;
			margin: 2rem auto;
			max-width: 42rem;
			display: block;
			align-items: center;
		}
		/* ::selection {
		   background : rgba(255,223,0,0.4);
		 } */
		a, a:visited, a:active {
			color: #000;
			text-decoration: underline;
		}
		a:hover {
			text-decoration: none;
		}

		h1, h2, h3, h4, h5, h6 {
			font-size: inherit;
			font-weight: 600;
		}

		code {
			font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
			background: #eee;
			font-size: 0.9rem;
		}

		p, ul, div, hr, h1, h2, h3, hr { margin: 1rem 1rem; }

		header {
			display: inline-block;
			width: 100%;
			border-bottom: 0px solid #ccc;
		}
		header h1, header p {
			display: block;
			margin: 0 1rem;
			padding:0;
			float:left;
		}
		header nav p {
			display: inline-flex;
			align-content: flex-end;
			float:right;
			margin: 0 1rem;
			padding: 0;
		}
		img {
			display: block;
			width: 100%;
			margin: 0;
		}
		img.first-image {
			margin-top: 2rem;
		}
		ul.gallery {
			display: grid;
			grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
			grid-gap: 1rem;
			margin: 0;
		}
		li.gallery-image {
			margin: 0;
			list-style-type: none;
		}

		ul li, ol li {
			margin-left: 1rem;
			padding-left: 0rem;
		}
		ul > ul {
			margin: 0 1rem 0 2rem;
			padding: 0;
		}
		.inactive {
			opacity: 0.4;
		}

		hr {
			border: 0;
			height: 0;
			margin: 3rem 0 1em 0;
			border-bottom: 1px solid #ccc;
		}
		.footer {
			margin: 2rem 1em 5rem 1em;
		}

		blockquote {
			border-left: 1px solid #ccc;
			padding: 0 0 0 1rem;
			margin: 1rem;
		}

		textarea {resize: none;}

			.notes > li {
				margin: auto auto;
				display: flex;
				list-style-type: none;
				align-items: flex-start;
			}
			.notes li > span {
				min-width: 3rem;
			}

@media (prefers-color-scheme: dark) {
    body {
        background: #111;
        color: #ddd;
    }

    a, a:active, a:visited, a:hover {
        color: #ddd;
    }
}
