@charset "UTF-8";

/* CSS Document */

* {
	box-sizing: border-box;
}

.goudy-bookletter-1911-regular {
  font-family: "Goudy Bookletter 1911", serif;
  font-weight: 400;
  font-style: normal;
}

.lato-regular {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
}

#header-content {
	width: 80%;
	margin: 0 auto;
	position: relative;
}

nav {
	position: absolute;
	bottom: 20px;
	right: 12%;
}

nav li {
	display: inline-block;
	padding: 10px 1.25em;
}

nav a {
	font-family: "Goudy Bookletter 1911", serif;
	text-decoration: none;
}

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

#banner {
	background-image: url("images/home-banner.jpg");
	height: 440px;
	width: 100%;
}

#color-bar {
	background-color: #a32973;
	color: white;
	text-align: center;
	padding: 10px;
}

#color-bar h3 {
	font-family: "Goudy Bookletter 1911", serif;
	font-size: 1.5625em;
}

#wrapper-white {
	width: 78.431%; /*960px*/
	margin: 20px auto;
	display: flex; 
}

section {
	width: 60.417%; /*580px*/
	padding: 10px 1.042%; /*10px*/
}

section h1 {
	font-family: "Goudy Bookletter 1911", serif;
	font-size: 2.25em;
	color: #a32973;
	text-transform: uppercase;
}

section p {
	font-family: "Lato", sans-serif;
	font-size: 1em;
	line-height: 1.5;
	margin-top: 15px;
}

aside {
	width: 31.25%; /*300px*/
	height: 300px;
	border: 3px solid #16325a;
	margin-left: auto;
	padding: 20px 1.458% 1.458%; /*14px*/
	position: relative;
}

aside h2 {
	font-family: "Goudy Bookletter 1911", serif;
	color: #a32973;
	font-size: 1.5625em;
	text-align: center;
	margin: 10px;
}

aside img { 
	display: block;
	margin: 0 auto;
	padding: 3.333%;
}

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

aside p {
	text-align: center;
	margin-top: 20px;
}

.uppercase {
	text-transform: uppercase;
}

#wrapper-shop {
	background-color: #f4f3f0;
	margin-bottom: 20px;
	padding: 30px 0;
}

#shop-content {
	width: 78.431%; /*960px;*/
	margin: 0 auto;
	display: flex;
	text-align: center;

}

#wrapper-shop h1 {
	text-transform: uppercase;
	display: block;
	text-align: center;
	color: #a32973;
	font-family: "Goudy Bookletter 1911", serif;
	font-size: 2em;
	margin-top:0;
	margin-bottom: 28px;
	margin-left: 0;
	margin-right: 0;
}

.shop-box {
	width: 31.25%; /*300px*/
	margin-left: 1.563%; /*15px*/
}

.shop-box img {
	opacity: 0.7;
	margin-bottom: 10px;
	transition: 0.5s;
}

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


#shop-content h1 {
	text-transform: uppercase;
	display: block;
	text-align: center;
	color: #a32973;
	font-family: "Goudy Bookletter 1911", serif;
	font-size: 2em;
	margin-top:0;
	margin-bottom: 28px;
	margin-left: 0;
	margin-right: 0;
}

#shop-content h3, .team h3 {
	font-family: "Goudy Bookletter 1911", serif;
	font-size: 1.75em;
	margin-bottom: 5px;
	text-transform: uppercase;
	color: #a32973;
}

#shop-content a {
	font-family: "Lato", sans-serif;
	text-decoration: none;
	color: #fff;
	background-color: #a32973;
	padding: 10px 6.667%; /*20px*/
}

#shop-content p, .team p {
	font-family: "Lato", sans-serif;
	font-size: 0.875em;
	margin-bottom: 25px;
	line-height: 1.5;
}

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

/*.team:first-of-type {
	margin-right: 2.4%;
	margin-left: 0;
}*/

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

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

footer {
	width: 100%;
	background-color: #16325a;
	color: #fff;
	padding: 20px 0;
}

#footer-content {
	width: 78.431%; /*960*/
	margin:0 auto;
	display: flex;
	justify-content: space-between;
}

footer h3 {
	font-family: "Goudy Bookletter 1911", serif;
	color: #fff;
	font-size: 1em;
	text-transform: uppercase;
}

#footer-right {
	text-align: right;
}

footer p {
	font-family: "Lato", sans-serif; 
	color:white;
	font-size: 1em;
	opacity: 70%;
	line-height: 1.5;
}

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

aside .book-details {
	opacity: 1;
}

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

.mask {
	width: 100%; /*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;
	color: #fff;
	opacity: 1;
	margin-top: 25%;
}

.mask:hover p {
	font-size: 1.25em;
	color: #f4f3f0;
	margin-bottom: 40px;
	opacity: 1;
}

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


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

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

@media only screen and (max-width: 1024px) {
	
	#header-content img {
		display: block;
		margin: auto;
		margin-bottom: 50px;
	}

	nav{
		position: absolute;
		text-align: center;
		top: 150px;
		right: 30%;
		}



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

	#banner {
		height: 300px;
	}

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

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

	#color-bar {
		margin-bottom: 50px;
	}

	section h1 {
		font-size: 1.875em;
	}
	#shop-content h1 {
		font-size: 1.5625em;
	}

	aside h2 {
		font-size: 1.375em;
	}
	#wrapper-white {
		margin-bottom: 50px;
	}

	#shop-content {
		display: block;
	}

	.shop-box {
		width: 100%;
		margin-bottom: 40px;
	}
	.shop-box img {
		width: 100%;
	}

	#shop-content a {
		display: inline-block;
		width: 60%;
	}

}

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

	#header-content img {
		display: block;
		margin-top: 20px;
		width: 50%;
	}

	nav {
		width: 100%;
		height: 148px;
		right: 0;
		margin-bottom: 20px;
	}

	nav li {
		text-decoration: none;
		background: #a32973;
		color: #fff;
		display: block;
		width: auto;
		border-bottom: 1px solid #fff;
		text-align: center;
	}

	nav a{
		color: #fff;
		text-decoration: none;
	}
	nav a:hover {
		background:#a32973;
	}

	#banner {
		position: relative;
		margin-top: 180px;
		height: 200px;
	}

	#slideshow-wrapper {
			position: relative;
		margin-top: 180px;
		height: 200px;
	}
	#slideshow {
		height: 200px;
	}


#wrapper-white {
	display: block;
}
	section {
		width: 100%;
		margin-bottom: 20px;
	}

	aside {
		width: 90%;
		margin: 0 auto;
	}

	.team {
		width: 100%;
		display: block;
		margin: 0 auto;

	}
	.team h3 {
		margin-top: 20px;
	}

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

	.circle {
		width: 1%;
		height: 5px;
	}

		#footer-content {
		width: 100%;
		display: block;
	}

	#footer-left {
		text-align: center;
		margin-bottom: 20px;
	}

	#footer-right {
		text-align: center;
	}

}
