/* --------------------------------------------------- */
/* home.css					               						         */
/* version 1.1       															     */
/* Sunday, February 11, 2024                           */
/* Change in line	141 to increase min-height to 100vh  */
/* --------------------------------------------------- */


/* Custom Properties---------------------------- */

:root {
		/* colours */
		--clr-dark: 34, 31%, 23%;
		--clr-accent: 66, 38%, 44%;
		--clr-light: 46, 60%, 95%;
		--bg-light: 97, 21%, 89%;

		/* font-sizes */
		--fs-800: 2.625rem;
		--fs-700: 2.063rem;
		--fs-600: 1.875rem;
		--fs-500: 1.625rem;
		--fs-400: 1.25rem;
		--fs-300: 1rem;
		--fs-200: 0.875rem;
		--fs-100: 0.75rem;

		/* font-weights */
		--fw-bold: 700;
		--fw-semi: 500;
		--fw-reg: 400;

		/* font-families */
		--ff-serif: "Georgia", serif;
		--ff-sans: "OpenSans", sans-serif;

		/* spacing & gaps */
		--gap: 1.5rem;

		/* line & rule weight */
		--line: 1px;

		/* border default  */
		--thin-border: solid calc(var(--line) /2) hsl(var(--clr-dark));
		--border: solid var(--line) hsl(var(--clr-dark));

		/* drop-shadow */
		--drop: drop-shadow(1rem 1rem 1rem rgba(0, 0, 0, 0.4));
		--drop-sm: drop-shadow(.25rem .25rem .25rem rgba(0, 0, 0, 0.25));
}


/* Reset --------------------------------------- */

/* Box sizing */
*,
*::before,
*::after {
		box-sizing: border-box;
}

/* Reset margins */
body,
h1,
h2,
h3,
h4,
h5,
p,
ul,
figure,
picture {
		margin: 0;
}

/* make images easier to work with */
img,
picture {
	max-width: 100%;
	display: block;
}

/* make form elements easier to work with */
input,
button,
textarea,
select {
		font: inherit;
}

/* remove animations for people who've turned them off */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		-webkit-animation-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		-webkit-animation-iteration-count: 1 !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}


/* Utility Classes ------------------- */

/* general */

.flex {
		display: flex;
		flex-direction: column;
		gap: var(--gap);
}

.grid {
		display: grid;
		gap: var(--gap, 1rem);
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
/* 	clip: rect(0, 0, 0, 0); */
	white-space: nowrap; /* added line */
	border: 0;
}

/* Page styling ------------------- */
body {
	line-height: 1.5;
	font-family: var(--ff-serif);
	color: hsl(var(--clr-dark));
}

.container {
	flex-direction: column;
	justify-content: center;
	min-height: 100vh;
	background: url(../images/acorn-bg-fade.jpg) repeat;
}

.wrapper {
	display: flex;
	flex-direction: column;
	justify-content: center;
	max-width: calc(100% - 2rem);
	margin: 0 auto;
	padding: var(--gap);
	background-color: hsl(var(--clr-light));
	border: solid 3px hsla(var(--clr-dark), .04)
}

a, a:visited {
	color: hsl(var(--clr-dark));

}

blockquote:before,
blockquote:after {
	content: ""
}

blockquote,
q {
	quotes: """"
}

article > * {
	margin-bottom: var(--gap);
}

/* header --------------- */

header #logo {
	margin: 1rem auto;
	max-width: 32rem;
}

#home header #logo {
	width: 75%;
	margin: 1rem auto;
}

header #logo img {
	height: auto;
	max-width: 500px;
}

header nav {
	margin: var(--gap) auto;
	font-weight: bold;
	text-align: center;
	font-size: 1rem;
	line-height: 1.4;
	border-top: var(--thin-border);
	border-bottom: var(--thin-border);
	padding: .5rem 0;
}

header nav a {
	display: block;
	text-decoration: none;
	color: hsl(var(--clr-dark));
	background-color: transparent;
	padding: 5px 0;
}

header nav a:hover {
	color: hsl(var(--clr-light));
	background-color: hsl(var(--clr-dark));
}

header nav.flex {
	gap: 0;
}


/* home-content --------------- */

#home-content > * {
}

#home-content blockquote {
	margin-left: calc(var(--gap)*2);
	font-style: italic;
	font-size: var(--fs-200);
}

#home-content .quoted span {
	white-space: nowrap;
}

.home-postcard img {
	height: auto;
	margin: 0 auto;
	padding: calc(var(--gap)/8);
	padding: 1px;
	border: solid var(--line) hsl(var(--clr-dark));
}

#home-content blockquote {
	margin-bottom: 0;
}

/* footer --------------- */
footer {
	margin-top: var(--gap);
	text-align: center;
	font-size: .9em;
	font-style: italic;
	line-height: 1.4;
}

/* footer > * {
	max-width: 25rem;
} */


@media (min-width: 768px) {
	.flex {
		flex-direction: row;
	}

	.container {
		padding: var(--gap);
	}

	.wrapper {
		max-width: 60rem;
		margin: 0 auto;
	}

	header {
	}

	header nav {
		justify-content: center;
		text-decoration: none;
		margin: var(--gap) auto;
	}

	header nav a {
		display: inline;
		padding: .4rem 0 0 0;
		margin: 0 1.5%;
		border-bottom: 5px solid transparent;
	}

	header nav a:hover {
		color: hsl(var(--clr-dark));
		background-color: hsl(var(--clr-light));
		border-bottom-color: hsl(var(--clr-dark));
	}

	header #brand_photo {
		width: calc(41.6666666667% - 2.8333333333rem);
		float: left;
		margin-left: 2rem;
		margin-left: calc(8.3333333333% - 2.1666666667rem + 4rem)
	}

	header #logo {
		width: 50%;
		height: auto;
	}

	header #brand_photo {
		height: auto
	}

	#home-content blockquote {
		font-size: var(--fs-300);
	}




	footer {
		max-width: 60rem;
		margin: var(--gap) auto;
	}


}

