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

html {
	font-family: "Helvetica", sans-serif;
	font-size: 100%;

}

:root {
	/* backgrounds */
	--background: #292929;
	--bar: black;
	--bento: #1F1F1C;
	--notes: #1C1B1B;
	/* text */
	--color-100: #E3DDCF;
	--color-200: #8E897D;
	--color-300: #6C675A;
	--color-400: #28281E;
	--color-500: #1C1B1B;
	--text-color-nav-hover: GoldenRod;
	--text-color-nav-active: GoldenRod;
	--text-color-page: black;
	/* buttons */
	--button-primary: #C38E0D;
	--button-secondary: #8E897D;
	--button-text-secondary: #1C1B1B;
	--button-ready: #A8140D;
	--button-set: #BB6000;
	--button-go: #378106;

}

body {
	display: flex;
	flex-direction: column;
	/* Alignment */
	align-items: center;
	justify-items: center;
	/* Colors */
	background-color: var(--background);
	color: var(--color-100);
	font-family: sans-serif;
	margin: 0;
}

h1, h2, h3, h4, h5 {
	font-family: "Garamond", sans-serif;
	text-align: center;
	padding: .4rem;
}

p, a {
	line-height: 1.5em;
	padding: .7em;
}

img {
	flex: auto;
	max-width: 100%;
	vertical-align: middle;
	height: auto;
}

.greyed-out {
	pointer-events: none;
	opacity: 0.5;
}

/* finding your way */

nav {
	width: 100%;
	margin-bottom: 5%;
}

.nav-container {
	display: flex;
	justify-content: space-between;
	background-color: var(--bar);
	index: 1;
	padding: 2%;
	font-size: 1.2rem;
}

.nav-container a:link {
	text-decoration: none;
	color: var(--color-100);
}

.nav-container a:visited {
	color: var(--color-200);
	font-weight: normal;
}

.nav-container a:hover {
	color: var(--button-primary);
}

.nav-container a:active {
	color: var(--button-set);
}

.name a, .name a:visited {
	color: var(--color-100);
}

.nav-categories {
	display: flex;
	justify-items: space-between;
	text-decoration: none;
	list-style: none;
}


/* title */

header #about {
	max-width: 1200px;
	min-width: 0;
	width: 100%;
	display: flex;
	flex-direction: column;
}

header h1 {
	font-size: 2.0rem;
	color: var(--color-100);
}

header h2 { 
	font-size: 1.3rem;
	margin: 0;
	color: var(--color-200);
}

/* section */
section {
	/* height of container 
	height: 100vh; */
	max-width: 1200px;
	min-width: 0;
	width: 100%;
	justify-items: center;
	align-items: center;
}

/* what's in a bento box */

#bento {
	display: flex;
	justify-content: center;
	align-content: center;
}

.bento-box { 
	display: grid;
	grid-auto-columns: 200px;
	grid-auto-rows: 200px;
	grid-template-areas: 
	"box-1 box-1 box-2 box-3"
	"box-1 box-1 box-4 box-3";
	gap: .5rem;
	padding: 5%;
}

.box {
	justify-items: center;
	align-items: center;
	object-fit: fill;
}

.box img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}

.box a:hover img {
	border: 1px solid GoldenRod;
	border-radius: .3em;
	box-shadow: 0 0 1px 1px #B8860B;
}

/* journaling */

article {
	display: flex;
	flex-direction: column;
	justify-items: center;
	align-items: center;
	width: 100%;

}


#field-notes {
	display: flex;
	flex-direction: column;
	max-width: 1260px;
	/* Styling */
	background-color: var(--notes);
	color: var(--color-100);
	min-width: 0;
	padding-bottom: 3%;
}

.notes-about { 
	background-color: var(--bar);
	font-size: 1.1rem;
	padding: 3%;
	margin: 0;
}

.notes-data {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	width: 100%;
	padding: 1% 0;
	background: var(--color-400);
}

.date {
	padding: 1%;

}
.series {

}

.note {
	display: flex;
	justify-items: space-between;
	width: 100%;
	padding: 2%;
	background: var(--notes);
	color: var(--color-100);
	border-radius: 8rem;
}

.backstory {
	padding: 2%;
}

.note h3 {
	text-align: left;
	padding-top: 3%;
	font-size: 1.4rem;
	line-height: 1.6rem;
}

.note p {
}

.note-image img {
	max-width: 450px;
}

/* Footer */

footer {
display: flex;
flex-direction: column;
width: 100%;
/* Alignment */
justify-content: center;
align-content: center;
background-color: var(--bar);
color: var(--color-200);
min-width: 0;
}

.footer-container {
	display: flex;
	max-width: 100%;
	/* Alignment */
	align-content: center;
	justify-content: center;
	padding: 5% 2% 1% 2%;
	gap: 2rem;
		/* Styling */
	color: var(--text-color-light);
	line-height: 1.2em;
	
}

.footer-about {
	width: 50%;

}

.footer-social {
	width: 20%;
}

.footer-support {
	width: 20%;
}

.footer-support a {
	pointer-events: none;
}

.footer-container h3, .footer-container p {
	text-align: left;
}

footer a {
	color: var(--text-button);
	text-decoration: none;
}

.footer-container .license {
	align-content: center;
	justify-content: center;

}

.license {
	grid-column-start: 1;
	grid-column-end: 5;
	text-align: center;
	
}


/* Large devices */
@media only screen and (min-width: 75rem) {

	.bento-box {
		display: grid;
		grid-auto-columns: 250px;
		grid-auto-rows: 250px;
		grid-template-areas:
		"box-1 box-1 box-2 box-3"
		"box-1 box-1 box-4 box-3";
	}
}

/* Medium devices */
@media only screen and (max-width: 62rem) {

	.bento-box {
		display: grid;
		grid-auto-columns: 200px;
		grid-auto-rows: 200px;
		grid-template-areas:
		"box-1 box-1 box-2 box-3"
		"box-1 box-1 box-4 box-3";
	}

		.backstory {
		max-width: 100%;
		min-width: 0;
	}

	.note-image img {
		max-width: 100%;
		height: auto;
	}
}

/* Small devices */
@media only screen and (max-width: 48.75rem) {

	.bento-box {
		display: grid;
		grid-auto-columns: 200px;
		grid-auto-rows: 200px;
		grid-template-areas:
		"box-1 box-1"
		"box-1 box-1"
		"box-2 box-3"
		"box-4 box-3";
	}

	.note {
	display: flex;
	flex-wrap: wrap;
}

	.backstory {
		order: 2;
		width: 100%;
	}

	.note-image img {
		order: 1;
	}
}

/* Mobile */
@media only screen and (max-width: 37.5rem) {

	.backstory {
		order: 2;
		width: 100%;
	}

	.note-image img {
		order: 1;
		display: flex;
		flex-wrap: wrap;
		flex: auto;
		padding-top: 3%;
	}

	.bento-box {
		display: grid;
		grid-auto-columns: 180px;
	  grid-auto-rows: 180px;
		grid-template-areas:
		"box-1 box-1"
		"box-1 box-1"
		"box-2 box-3"
		"box-4 box-3";
	}

	.footer-container {
		display: flex;
		flex-wrap: wrap;
		gap: 0.5rem;
}

	.footer-about, .footer-social, .footer-support {
		padding: 1rem;
		width: 100%;
	}

	.footer-about h3, .footer-social h3, .footer-support h3, 
	.footer-about p, .footer-social p, .footer-support p 
	.footer-about a, .footer-social a, .footer-support a {
		line-height: 1.8rem;
		padding: 0;
	}

.license {
	padding-bottom: 2rem;
}
}
