@charset "UTF-8";
/* CSS Document */

@import url('https://fonts.googleapis.com/css?family=Goudy+Bookletter+1911|Lato:400,900');

* {
	box-sizing: border-box;
}

body {
	background-color: #fff;
}

header {
	background-color: #fff;
	width: 100%;
	padding: 12px 0;
}

#header-content {
	width: 78.43%;
	/* 960px/1224px */
	margin-left: auto;
	margin-right: auto;
	position: relative;
}

#header-content img {
	height: 146px;
}

nav {
	width: 76.04%;
	/* 730px/960px */
	position: absolute;
	bottom: 18px;
	right: 0;
}

nav ul {
	display: block;
	text-align: right;
	list-style-type: none;
}

nav li {
	display: inline-block;
	font-family: 'Goudy Bookletter 1911', serif;
	font-size: 1.25em;
	/* 20px/16px */
	color: #16325a;
	padding: 0 3.125%;
	/* 30px/960px */
	text-align: left;
}

nav li:last-child {
	padding-right: 0;
}

nav a:link {
	text-decoration: none;
	color: #16325a;
	padding: 10px 2.083%;
	/* 20px/960px */
}

nav a:hover {
	background-color: #16325a;
	color: #fff;
	padding: 10px 2.083%;
	/* 20px/960px */
}

#banner {
	width: 100%;
	height: 441px;
	background-image: url("images/home-banner.jpg");
	background-repeat: no-repeat;
	background-size: cover;
}

#color-bar {
	background-color: #a32973;
	padding: 12px 0;
	text-align: center;
}

#color-bar h3 {
	color: #fff;
	font-family: 'Goudy Bookletter 1911', serif;
	font-size: 1.875em;
	/* 30px/16px */
	margin-bottom: 0;
}

#wrapper-white {
	width: 78.43%;
	/* 960px/1224px */
	background-color: #fff;
	margin-left: auto;
	margin-right: auto;
	padding: 60px 0;
	overflow: hidden;
}

main {
	padding: 486px 2.083% 2.083%;
	/* 20px/960px */
}

section,
aside {
	margin-bottom: 20px;
}

section {
	width: 60.42%;
	/* 580px/960px */
	float: left;
}

aside {
	width: 31.25%;
	/* 300px/960px */
	height: auto;
	float: right;
	position: relative;
	border: 3px solid #16325a;
	padding: 20px 1.458% 1.458%;
	/* 14px/960px */
	text-align: center;
}

aside hr {
	width: 90%;
	margin: 20px auto;
	border-top: 1px solid #16325a;
}

section h1 {
	color: #a32973;
	text-transform: uppercase;
	font-family: 'Goudy Bookletter 1911', serif;
	font-size: 2.25em;
	/* 36px/16px */
	margin-bottom: 16px;
}

aside h2 {
	color: #a32973;
	font-family: 'Goudy Bookletter 1911', serif;
	font-size: 1.75em;
	/* 28px/16px */
	margin-bottom: 18px;
}

p {
	font-size: 1em;
	/* 16px/16px */
	color: #000;
	font-family: 'Lato', sans-serif;
	margin-bottom: 16px;
	line-height: 180%;
}

aside p {
	font-size: 1em;
	/* 16px/16px */
	line-height: 150%;
	font-family: 'Lato', sans-serif;
	margin-top: 10px;
	margin-bottom: 0;
}

.uppercase {
	text-transform: uppercase;
}

#wrapper-shop {
	width: 100%;
	padding: 60px 0;
	background-color: #f4f3f0;
	overflow: hidden;
}

#shop-content {
	width: 78.43%;
	margin-left: auto;
	margin-right: auto;
}

.shop-box {
	width: 31.25%;
	/* 300px/960px */
	text-align: center;
	display: inline-block;
}

.shop-box:first-of-type {
	margin-right: 2.71%
		/* 26px/960px */
}

.shop-box:last-of-type {
	margin-left: 2.71%
		/* 26px/960px */
}

.shop-box h3,
.team h3 {
	color: #a32973;
	text-transform: uppercase;
	font-family: 'Goudy Bookletter 1911', serif;
	font-size: 1.75em;
	/* 28px/16px */
	margin: 18px 0 12px;
}

.shop-box p,
.team p {
	font-size: 0.875em;
	/* 14px/16px */
	margin-bottom: 24px;
}

.shop-box a {
	display: block;
	background-color: #a32973;
	padding: 10px 2.083%;
	/* 20px/960px */
	font-family: 'Lato', sans-serif;
	font-size: 0.875em;
	/* 14px/16px */
	color: #fff;
	text-decoration: none;
	width: 160px;
	margin: 0 auto;
}

.team {
	width: 20.83%;
	/* 200px/960px */
	text-align: center;
	display: inline-block;
}

.team:first-of-type {
	margin-right: 2.604%;
	/* 25px/960px */
}

.team:nth-of-type(2),
.team:nth-of-type(3) {
	margin-left: 2.5%;
	/* 24px/960px */
	margin-right: 2.5%;
	/* 24px/960px */
}

.team:last-of-type {
	margin-left: 2.604%;
	/* 25px/960px */
}

#shop-content h1 {
	text-transform: uppercase;
	color: #a32973;
	font-family: 'Goudy Bookletter 1911', serif;
	text-align: center;
	font-size: 2em;
	/* 32px/16px */
	margin: 0 0 28px 0;
}

footer {
	padding: 40px 0 30px;
	width: 100%;
	font-size: 0.75em;
	/* 12px/16px */
	overflow: hidden;
	background-color: #16325a;

}

footer h3 {
	font-family: 'Goudy Bookletter 1911', serif;
	color: #fff;
	text-transform: uppercase;
	font-size: 1em;
	/* 16px/16px */
	font-weight: bold;
}

footer p {
	font-family: 'Lato', sans-serif;
	color: #fff;
	opacity: .70;
}

#footer-content {
	width: 78.43%;
	/* 960px/1224px */
	margin: 0 auto;
}

#footer-left {
	width: 35%;
	float: left;
}

#footer-right {
	width: 45%;
	float: right;
	text-align: right;
}

/* --------- TRANSITION EFFECTS --------- */

aside .book-details {
	opacity: 1;
}

aside .book-details:hover {
	opacity: 0;
	transition: linear 1s;
}

.mask {
	width: 328px;
	/* 328px/960px */
	height: 334px;
	position: absolute;
	top: 0;
	left: 0;
	text-align: center;
	background-color: #a32973;
	opacity: 0;
	transition: linear 2s;
}

.mask:hover {
	opacity: 1;
}

.mask h2,
.mask p,
.mask .learn {
	opacity: 0;
}

.mask:hover h2 {
	font-size: 2em;
	/* 32px/16px */
	color: #fff;
	opacity: 1;
	margin-top: 25%;
}

.mask:hover p {
	font-size: 1.25em;
	/* 20px/16px */
	color: #fff;
	margin-bottom: 40px;
	opacity: 1;
}

.mask:hover .learn {
	background-color: #16325a;
	color: white;
	font-family: Lato;
	font-size: 1.25em;
	/* 20px/16px */
	opacity: 1;
	text-transform: uppercase;
	text-align: center;
	text-decoration: none;
	padding: 16px 3.54%;
	/* 34px/960px */
}

.opacity-img {
	opacity: 0.7;
	transition: opacity 1.5s;
}

.opacity-img:hover {
	opacity: 1;
}

/* --------- SLIDESHOW --------- */

#slideshow-wrapper {
	width: 100%;
	height: 441px;
}

#slideshow {
	width: 100%;
	height: 441px;
	overflow: hidden;
	white-space: nowrap;
}

#slideshow img {
	width: 100%;
	height: 100%;
	display: inline-block;
}

.circle {
	display: inline-block;
	background-color: lightgrey;
	width: 12px;
	/* 12px/960px */
	height: 12px;
	border-radius: 50%;
	margin-right: 1.5625%;
	/* 15px/960px */
}

#circle-nav {
	margin-top: -50px;
	text-align: center;
}

/* NOTHING BELOW THIS LINE EXCEPT FOR TABLET AND MOBILE DEVICE STYLING */

/* TABLET */

@media only screen and (max-width: 1024px) {
	#header-content {
		text-align: center;
	}

	#header-content img {
		display: block;
		margin: 0 auto 10px;
	}

	nav {
		position: static;
		width: 100%;
		text-align: center;
		margin-top: 10px;
	}

	nav ul {
		text-align: center;
	}

	nav li {
		padding: 0 15px;
	}

	#banner,
	#slideshow,
	#slideshow-wrapper {
		height: 300px;
	}

	.circle {
		height: 9px;
		width: 9px;
	}

	#color-bar h3 {
		font-size: 1.25em;
	}

	section h1 {
		font-size: 1.75em;
	}

	#shop-content h1 {
		font-size: 1.5em;
	}

	aside h2 {
		font-size: 1.25em;
	}

	.mask:hover h2 {
		font-size: 1.5em;
	}

	p {
		font-size: 0.8em;
	}

	.shop-box {
		width: 100%;
		display: block;
		margin: 40px 0;
	}

	.shop-box:first-of-type,
	.shop-box:last-of-type {
		margin: 40px 0;
	}

	.mask {
		width: 100%;
		height: 100%;
	}

	.shop-box a {
		margin: 0 auto;
		width: 80%;
	}

	section {
		width: 60%;
	}

	aside {
		width: 35%;
		padding: 20px;
		height: auto;
	}

	aside h3 {
		font-size: 1em;
		margin: 10px;
	}

	aside p {
		font-size: 0.80em;
	}

	.team {
		width: 22%;
		margin: 0 1%;
		text-align: center;
	}

	.team:first-of-type,
	.team:nth-of-type(2),
	.team:nth-of-type(3),
	.team:last-of-type {
		margin: 0 1%;
	}

	main {
		padding: 40px 5%;
	}

	#wrapper-white,
	#shop-content,
	#footer-content {
		width: 90%;
	}

	.opacity-img {
		width: 100%;
		height: 170px;
		object-fit: cover;
		object-position: top;
		display: block;
	}

}

/* MOBILE */

@media only all and (max-width: 480px) {
	#header-content {
		text-align: center;
		width: 100%;
	}

	#header-content img {
		width: 40%;
		height: auto;
		margin: 0 auto 10px;
		display: block;
	}

	nav {
		position: static;
		width: 100%;
	}

	nav ul {
		padding: 0;
		margin: 0;
	}

	nav li {
		width: 100%;
		display: block;
		text-align: center;
		background-color: #a32973;
		margin: 2px 0;
		padding: 2px 0;
	}

	nav a {
		color: #f4f3f0;
		display: block;
	}

	#banner,
	#slideshow,
	#slideshow-wrapper {
		height: 200px;
	}

	main {
		padding: 30px 5%;
	}

	section {
		width: 100%;
		float: none;
	}

	aside {
		width: 90%;
		float: none;
		margin: 40px auto;
		height: auto;
	}

	.shop-box,
	.team {
		width: 100%;
		display: block;
		margin: 30px 0;
	}

	.opacity-img {
		width: 100%;
		height: 100%;
		display: block;
	}

	#footer-left,
	#footer-right {
		float: none;
		width: 100%;
		text-align: center;
		margin-bottom: 20px;
	}

	#footer-left::after {
		content: "";
		display: block;
		width: 60%;
		margin: 20px auto;
		border-top: 1px solid #f4f3f0;
	}

	footer {
		text-align: center;
	}
}