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

@import url('https://fonts.googleapis.com/css?family=Goudy+Bookletter+1911|Lato:400,900');
/*Not used to seeing the fonts in one import*/

body {
	background-color: #fff;
}

header {
	background-color: #fff;
	width: 100%; /* Assigning arbitrary no. 1000px */
	padding: 12px 0; /* No adjustment needed */
}

#header-content {
	width: 96%; /* 960px / 1000px */
	margin-left: auto; /* No adjustment needed */
	margin-right: auto; /* No adjustment needed */
	position: relative;
}

#header-content img {
	height: 146px;
}
	
nav {
	width: 76.04166666666667%; /* 730px / 960px */
	position: absolute;
	bottom: 18px;
	right: 0; /* No adjustment needed */
}

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 4.10958904109589%; /* 30px / 730px */
	text-align: left;
}

nav li:last-child {
	padding-right: 0; /* No adjustment needed */
}

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

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

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

#color-bar {
	background-color: #a32973;
	padding: 12px 0; /* No adjustment needed */
	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: 96%; /* 960px / 1000px */
	background-color: #fff;
	margin-left: auto; /* No adjustment needed */
	margin-right: auto; /* No adjustment needed */
	padding: 60px 0; /* No adjustment needed */
	overflow: hidden;
}
main { /* I don't have anything in main */
	padding: 486px 2% 20px; /* 20px / 1000px */
}

section, aside {
	margin-bottom: 20px;
}
section {
	width: 60.41666666666667%; /* 580px / 960px */
	float: left;
}

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


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%; /* 1000px */
	padding: 60px 0; /* No adjustment needed */
	background-color: #f4f3f0;
	overflow: hidden;
}

#shop-content {
	width: 96%; /* 960px / 1000px */
	margin-left: auto; /* No adjustment needed */
	margin-right: auto; /* No adjustment needed */
}

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

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

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

.shop-box:first-of-type, .shop-box:nth-of-type(2) {
	margin-right: 2.7%; /* 26px / 960px */
}

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

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

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

.team:last-of-type {
	margin-left: 2.60416666666667%; /* 25px / 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; /* No adjustment needed */
}

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

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

footer {
	padding: 40px 0 30px; /* No adjustment needed */
	width: 100%; /* 1000px */
	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: 96%; /* 960px / 1000px */
	margin: 0 auto; /* No adjustment needed */
}

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

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

.float-left {
	float: left;
	margin-left: 2%;
}

.float-right {
	float: right;
	margin-right: 2%;
}

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

aside .book-details {
	opacity: 1;
}

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

.mask {
	width: 100%; /* Adjusted to fit 100% of the container - the 108% looked strange*/
	max-width: 334px;
	height: 334px;
	position: absolute;
	top: 0;
	left: 0; /* No adjustment needed*/
	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: 15%;
	opacity: 1;
}

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

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

/*--------------------  SLIDESHOW --------------------*/
#slideshow-wrapper, #slideshow {
	width: 100%; /* 1000px */
	height: 441px;
}

#slideshow {
	overflow: hidden; /*Makes only the active image appear*/
	white-space: nowrap;
}

#slideshow img {
	width: 100%; /* 1000px */
	height: 100%;
	display: inline-block;
}

.circle {
	display: inline-block;
	background-color: lightgrey;
	width: 12px; /* Needs to stay the same to remain circular */
	height: 12px; 
	border-radius: 50%;
	margin-right: 1.5%; /* 15px / 1000px */
}

#circle-nav {
	margin-top: -50px;
	text-align: center;
}
/*--------------------  EXTRA CREDIT CLASS 2 --------------------*/

.shop-box img{
	opacity: 0.7;
	transition: linear 1s;
}

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

/*--------------------  ORDER SUMMARY TABLE --------------------*/
#shop-content h2 {
	color: #a32973;
	font-family: "Goudy Bookletter 1911", serif;
	font-size: 1.75em; /* 28px / 16px */
	margin-bottom: 18px;
}

#order-summary {
	width: 80%;
	margin: 0 auto;
}

#order-summary table {
	margin: auto;
}

#order-summary p {
	text-align: center;
}

.left {
	text-align: left;
}

.center {
	text-align: center;
}

.right {
	text-align: right;
}

table {
	background-color: white;
	border-spacing: 0;
	border-collapse: separate;
	border-radius: 10px;
	font-family: "Lato", sans-serif;
}

table, th, td {
	border: 1px solid #16325a;
}

th {
	background-color: #16325a;
	padding: 5px 0;
	color: white;
}

th:first-of-type {
	border-top-left-radius: 10px;
	width: 50%;
}

th:nth-of-type(2){
	width: 20%;
}

th:last-of-type {
	border-top-right-radius: 10px;
	width: 30%;
}

tr:last-of-type {
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
}

td {
	text-align: right;
	padding: 4px;
}


/*--------------------  MEDIA QUERIES --------------------*/
@media only screen and (max-width: 1024px) {
	#header-content img {
		position: relative;
		display: block;
		padding-bottom: 20px;
		margin: 0 auto;
	}
	nav {
		position: relative;
	}
	nav li {
		text-align: center;
	}
	#banner, #slideshow-wrapper, #slideshow {
		height: 300px;
	}
	.circle {
		width: 9px;
		height: 9px;
	}
	#color-bar {
		padding: 4px 0;
	}
	#color-bar h3 {
		font-size: 1.125em; /* 18px / 16px */
	}
	h1 {
		font-size: 1.5em; /* 24px / 16px */
	}
	h2 {
		font-size: 1.25em /* 20px / 16px */
	}
	#wrapper-white section h1 {
		margin-left: 4.375%;
	}
	#wrapper-white section p {
		font-size: 0.875em; /* 14p / 16px */
		margin: 0 4.375%;
	}
	#wrapper-white aside {
		margin-right: 4.375%;
	}
	#shop-content .shop-box img {
		margin: 0 auto;
		width: 96%;
		height: 150px;
		object-fit: cover;
		object-position: top;
		overflow: hidden;
	}
	#shop-content p {
		font-size: 0.875em; /* 14p / 16px */
		padding: 0 4.375%;
	}
	.shop-box {
		width: 100%;
		display: block;
		margin: 0 auto;
	}
	.shop-box a {
		border-bottom: 40px solid #f4f3f0; 
	}
	#footer-left h3, footer p {
		margin-left:4.375%;
	}
	#footer-right h3, footer p {
		margin-right:4.375%;
	}
}

@media only all and (max-width: 480px) {
	#header-content{
		width: 100%;
	}
	#header-content img {
		height: 125px;
		margin-bottom: 10px;
	}
	nav {
		width: 100%;
		padding: 0;
		margin: 0 auto;
	}
	nav li {
		display: block;
		background-color: #a32973;
		border-bottom: 1px solid #fff;
		padding: 6px 0;
		
	}
	nav a {
		color: #f4f3f0;
	}
	#banner, #slideshow-wrapper, #slideshow {
		height: 200px;
	}
	#color-bar h3 {
		font-size: 1.5em;
		padding: 3px 4.375%;
	}
	#wrapper-white section {
		width: 100%;
		float: none;
	}
	#wrapper-white section p {
		font-size: 1.25em;
	}
	
	#wrapper-white aside {
		width: 90%;
		float: none;
		margin: 0 auto;
	}
	#shop-content .team {
		margin: 0 auto;
		display: block;
	}
	.team {
		width: 100%;
	}
	#footer-content {
		display: block;
	}
	#footer-left {
		border-bottom: 1px solid #f2f3f0;
		padding-bottom: 10px;
	}
	#footer-left, #footer-right {
		float: none;
		width: 100%;
		text-align: center;
		margin: 0 auto;
	}
	#footer-left h3, #footer-right h3 {
		font-size: 1.25em;
	}
	#footer-left p, #footer-right p {
		font-size: 1.125em;
	}
	#footer-right {
		padding-top: 30px;
	}
}