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

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

body {
	background-color: #fff;
}

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

#header-content {
	width: 100%; /* was 960px fixed — now fluid */
	max-width: 960px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
}

#header-content img {
	height: 9.125em; /* 146px / 16px */
}

nav {
	width: 76.041666666667%; /* 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.083333333333%; /* 20px / 960px */
}

nav a:hover {
	background-color: #16325a;
	color: #fff;
	padding: 10px 2.083333333333%; /* 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: 100%; /* fluid */
	max-width: 960px;
	background-color: #fff;
	margin-left: auto;
	margin-right: auto;
	padding: 60px 0;
	overflow: hidden;
}

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

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

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

aside {
	width: 31.25%; /* 300px / 960px */
	height: 300px;
	float: right;
	position: relative;
	border: 3px solid #16325a;
	padding: 20px 1.458333333333% 14px; /* 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: 100%;
	max-width: 960px;
	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.708333333333%; /* 26px / 960px */
}

.shop-box:last-of-type {
	margin-left: 2.708333333333%; /* 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.083333333333%; /* 20px / 960px */
	font-family: 'Lato', sans-serif;
	font-size: 0.875em; /* 14px / 16px */
	color: #fff;
	text-decoration: none;
	width: 16.666666666667%; /* 160px / 960px */
	margin: 0 auto;
}

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 (context is now footer's 12px base, so 16/12 = 1.333em) */
	font-weight: bold;
}

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

#footer-content {
	width: 100%;
	max-width: 960px;
	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;
	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;
	margin-top: 25%;
	opacity: 1;
}

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

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

/* Transition effects for shop box images */
.shop-box img {
	opacity: 0.7;
	transition: linear 0.5s;
}

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

/* --------- THE TEAM --------- */

#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;
}

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

.team:first-of-type {
	margin-right: 2.604166666667%; /* 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.604166666667%; /* 25px / 960px */
}

/* --------- 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;
	height: 12px;
	border-radius: 50%;
	margin-right: 15px;
}

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

/* MEDIA QUERY 1: TABLETS (max-width: 1024px) */

@media only screen and (max-width: 1024px) {

	/* Header: center logo above nav, nav stays inline */
	#header-content {
		text-align: center;
		padding: 0 20px;
	}

	#header-content img {
		display: block;
		margin: 0 auto 12px;
		height: 7em;
	}

	nav {
		position: static;
		width: 100%;
		text-align: center;
	}

	nav ul {
		text-align: center;
	}

	nav li {
		display: inline-block;
		font-size: 1.125em;
		padding: 0 2%;
		color: #16325a;
	}

	nav a:link {
		color: #16325a;
		padding: 8px 12px;
	}

	nav a:hover {
		background-color: #16325a;
		color: #fff;
		padding: 8px 12px;
	}

	/* Reduce banner and slideshow height */
	#banner,
	#slideshow-wrapper,
	#slideshow {
		height: 300px;
	}

	/* Smaller slideshow circles */
	.circle {
		width: 9px;
		height: 9px;
	}

	/* Reduce color bar font */
	#color-bar h3 {
		font-size: 1.25em;
		padding: 0 20px;
	}

	/* Wrapper padding */
	#wrapper-white {
		padding: 40px 3%;
		box-sizing: border-box;
	}

	/* Section and aside stay side-by-side on tablet */
	section {
		width: 58%;
		float: left;
	}

	aside {
		width: 36%;
		float: right;
		height: auto;
		display: block;
	}

	/* Reduce headings */
	section h1 {
		font-size: 1.75em;
	}

	aside h2 {
		font-size: 1.25em;
	}

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

	.shop-box h3,
	.team h3 {
		font-size: 1.25em;
	}

	/* Shop boxes: stack to full width */
	#shop-content {
		padding: 0 3%;
		box-sizing: border-box;
	}

	.shop-box {
		width: 80%;
		display: block;
		margin: 0 auto 30px !important;
	}

	.shop-box img {
		width: 100%;
		height: auto;
	}

	.shop-box a {
		width: auto;
		padding: 10px 20px;
	}

	/* Team: all 4 in a row */
	.team {
		width: 22%;
		margin: 10px 1% !important;
		vertical-align: top;
	}

	.team img {
		width: 100%;
		height: auto;
	}

	/* Footer stays side-by-side */
	#footer-left {
		width: 40%;
	}

	#footer-right {
		width: 50%;
	}
}


/* MEDIA QUERY 2: SMARTPHONES (max-width: 480px) */

@media only all and (max-width: 480px) {

	/* Smaller logo, centered */
	#header-content {
		text-align: center;
		padding: 10px 0;
	}

	#header-content img {
		display: block;
		height: 4.5em;
		margin: 0 auto 0;
	}

	/* Nav: stacked pink buttons */
	nav {
		position: static;
		width: 100%;
	}

	nav ul {
		text-align: center;
		padding: 0;
	}

	nav li {
		display: block;
		font-size: 1em;
		padding: 3px 0;
		text-align: center;
	}

	nav li a {
		display: block;
		background-color: #a32973 !important;
		color: #fff !important;
		padding: 10px 0;
		text-align: center;
		text-decoration: none;
	}
	/* Reduce banner and slideshow height */
	#banner,
	#slideshow-wrapper,
	#slideshow {
		height: 200px;
	}

	/* Color bar */
	#color-bar h3 {
		font-size: 1em;
		padding: 0 10px;
	}

	/* Wrapper */
	#wrapper-white {
		padding: 20px 4%;
		box-sizing: border-box;
	}

	/* Section: full width, no float */
	section {
		width: 100%;
		float: none;
	}

	/* Aside: centered, no float */
	aside {
		width: 90%;
		float: none;
		margin: 20px auto 0;
		height: auto;
		display: block;
		box-sizing: border-box;
	}

	/* Headings */
	section h1 {
		font-size: 1.5em;
	}

	aside h2 {
		font-size: 1.25em;
	}

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

	.shop-box h3,
	.team h3 {
		font-size: 1.125em;
	}

	/* Shop boxes: full width stacked */
	#shop-content {
		padding: 0 4%;
		box-sizing: border-box;
	}

	.shop-box {
		width: 100%;
		display: block;
		margin: 0 auto 30px !important;
	}

	.shop-box img {
		width: 100%;
		height: auto;
	}

	.shop-box a {
		width: auto;
		padding: 10px 20px;
	}

	/* Team: stacked one per row */
	.team {
		width: 70%;
		display: block;
		margin: 0 auto 30px !important;
		text-align: center;
	}

	.team img {
		width: 100%;
		height: auto;
	}

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