
/* ~*~*~ Global Variables ~*~*~ */

:root {

/* Colour Palette */

--white: #ffffff;
--black: #333333;

--mud: #894C29;
--clay: #C07640;
--gold: #E0A85A;
--fruit: #cd5e4d;
--dust: #fbede3;
--aloe: #C9CDBD;
--sage: #B5AE7D;
--pine: #666a57;

/* Type Variables */

font-size: 16px;

--body-font: "Crimson Pro";
--body-font-size: 1.5rem;
--body-line-height: 2rem;
--body-font-colour: var(--pine);

--title-font: "Fraunces";
--title-font-size: 2.5rem;
--subhed-font-size: 1.75rem;
--title-line-height: 3rem;
--title-font-colour: var(--clay);

--link-font-colour: var(--fruit);
--link-hover-colour: var(--gold);
--link-visited-colour: var(--sage);

/* Common Design Features */

--corner-radius: 0.2rem;
--text-block-width: 48rem;
--body-bg: var(--aloe);
--main-bg: var(--dust);
--wave-size: 7%;

}

/* ~*~*~ TYPOGRAPHY ~*~*~ */

body {
	font-family: var(--body-font);
	font-size: var(--body-font-size);
	line-height: var(--body-line-height);
	color: var(--body-font-colour);
}

a {
	color: var(--link-font-colour);
	text-decoration: none;
	transition: 0.5s;
}

a:hover {
	color: var(--link-hover-colour);
	transition: 0.5s;
}

nav a {
	text-decoration: var(--sage) wavy underline var(--wave-size);
	transition: 0.5s;
	font-size: 1.25rem;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--title-font);
}

h1 {
	color: var(--title-font-colour);
	font-size: var(--title-font-size);
	line-height: var(--title-line-height);
	font-weight: 900;
}

h2 {
	color: var(--pine);
	font-style: italic;
}

header h1 {

}

article time {
	font-size: 1rem;
	color: var(--sage);
	font-style: italic;

}

.underline {
	text-decoration: var(--aloe) double underline var(--wave-size);
	text-decoration-skip-ink: all;
}

figcaption {
	font-size: 1rem;
	font-style: italic;
	color: var(--sage);
}

.spoiler-text {
	filter: blur(4px);
	cursor: pointer;
	user-select: none;
	transition: filter 0.3 ease-in-out;
}

.spoiler-text:hover,
.spoiler-text:focus {
	filter: blur(0);
}

/* ~*~*~ LAYOUT ~*~*~ */

body {
	display: grid;
	background: var(--body-bg);
	margin: 0;
}

header {
	margin: 0 0rem;
	display: grid;
	grid-template-columns: 1fr min(var(--text-block-width),100%) 1fr;	
	margin: 0;
	min-height: 10vh;
	background: var(--white);
	padding: 0 1rem;
}

footer {
	margin: 0 0rem;
	display: grid;
	grid-template-columns: 1fr min(var(--text-block-width),100%) 1fr;	
	margin: 0;
	min-height: 100%;
	background: var(--aloe);
	padding: 0 1rem;
	font-size: 1.25rem;
}

nav {
	grid-column: 2;
}

nav ul {
	padding: 0;
}

nav li {
	margin-bottom: 0.25rem;
	font-size: 1.25rem;
	display: inline-block;
	margin-right: 0.75rem;
}

main {
	margin: 0rem;
	display: grid;
	grid-template-columns: 1fr 1fr min(var(--text-block-width),100%) 1fr 1fr;
	min-height: 100vh;
	padding: 2rem 2rem;
	background: var(--main-bg);
}

main article {
	grid-column: 3;
	overflow: hidden;
}

img {
	border-radius: var(--corner-radius);
	max-width: 100%;
}

.shedsnap {
	width: 100%;  /* Set the desired width for the cropped area */
  	height: 200px; /* Set the desired height for the cropped area */
  	object-fit: cover; /* This performs the cropping */
  	object-position: center 80%; /* Adjust the focal point */
}

.postlink {
	display: block;
	text-decoration: none;
	margin-bottom: 3rem;
}

.postlink p {
	margin-top: 0;
	color: var(--pine);
}

.postlink h3 {
	margin-bottom: 1rem;
	text-decoration: var(--sage) wavy underline var(--wave-size);
}

.notelink {

}

hr {
	color: var(--gold);
}

figure {
	margin: 0;
	padding: 0;
}

/* Media Queries */

/* Small Tablets & Large Mobile Devices */
@media screen and (min-width: 481px) {

	nav a {
		font-size: 1.25rem;
	}

	figcaption {
		font-size: 1.25rem;
		font-style: italic;
		color: var(--sage);
	}

	.shedsnap {
		width: 100%;  /* Set the desired width for the cropped area */
	  	height: 300px; /* Set the desired height for the cropped area */
	  	object-fit: cover; /* This performs the cropping */
	  	object-position: center 80%; /* Adjust the focal point */
	}

	:root {

	--title-font-size: 3rem;
	--subhed-font-size: 2rem;
	--title-line-height: 4rem;

	}

}

/* Large Tablets & Laptops */
@media screen and (min-width: 769px) {
	nav a {
		font-size: 1.5rem;
	}

	.shedsnap {
		width: 100%;  /* Set the desired width for the cropped area */
	  	height: 400px; /* Set the desired height for the cropped area */
	  	object-fit: cover; /* This performs the cropping */
	  	object-position: center 80%; /* Adjust the focal point */
	}

	:root {

	--title-font-size: 4rem;
	--subhed-font-size: 3rem;
	--title-line-height: 5rem;

	}

}

/* Desktops */
@media (min-width: 1025px) {

}

/* Super-Large */
@media (min-width: 1440px) {

}