@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: 80%; /* 960 px */
	margin-left: auto;
	margin-right: auto;
	position: relative;
}

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

nav {
	width: 76.04166666%; /* 730 / 960 */
	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; /* 20 / 16 */
	color: #16325a;
	padding: 0 3.125%; /* 30 / 960 */
	text-align: left;
}

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

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

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

#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; /* 30 / 16 */
	margin-bottom: 0;
}

#wrapper-white {
	width: 80%; /* 960px */
	background-color: #fff;
	margin-left: auto;
	margin-right: auto;
	padding: 60px 0;
	overflow: hidden;
}
main {
	padding: 486px 2.083333333% 20px; /* 20 / 960 */
}

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

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


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

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

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

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

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

.uppercase {
	text-transform: uppercase;
}

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

#shop-content {
	width: 80%; /* 960px */
	margin-left: auto;
	margin-right: auto;
}

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

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

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

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

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

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

.shop-box img {
	opacity: 0.7;
}

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

}

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

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

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

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

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

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

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

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

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

/*------------Transition Effects-----------*/

aside .book-details{
	opacity: 1;
}

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

.mask:hover {
	opacity: 1;
}

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

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

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

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

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


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

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

/* ------- Media query -------- */


@media only screen and (max-width:1024px){
	
	header{
		min-height: 200px;

	}
	
	
	header img {
		display:inline-block;
		position: absolute;
		top: 0px;
		left: 200px;
	}
	
	nav ul {
		position: absolute;
		width: 100%;
		text-align: center;
		top: 190px;
		right: 70px;
	}

	#banner{
	height: 300px;
	}

	.shop-box {
		width: 91.25%; /* 100% -2(4.375%) */
		padding: 14px 4.375%; /* 14 / 320 */
		margin: 6px 0;
		min-height: 72px;
		
	}
	
	.shop-box img {
		width: 91.125%; /* 100% -2(4.375%) */
		padding: 14px 4.375%; /* 14 / 320 */
		margin: 6px 0;
		object-fit: cover;
		object-position: 50% 10%;
		height: 100px;	
	}
	
	.shop-box a {
		width: 60%;
	}
	
	
	.circle{
		height: 9px;
	}
	#color-bar h3{
		font-size:1.5625em; /* 25 / 16 */
	}
	
	section h1{
		font-size: 1.8125em; /* 29 / 16 */
	}
	
	aside h2{
		font-size: 1.5em; /* 24 / 16 */ 
	}
}

@media only all and (max-width: 500px){
	
	
	nav {
		width: 100%;
		margin: 30px 0;
		
	}
	nav ul {
		margin: 6px 0;
		
	}
	nav li {
		display: block;
		width: 100%;
		border-bottom: 1px solid #fff;
		text-align: center;
		background-color: #a32973;
		color: white;
	}
	
	header {
		height:230px;
	}
	
	
	header img {
	top: -5px;
	left:120px;
	width: 50%;
	height: auto;
		
	}
	
	#banner {
		height: 200px;
	}
	
	section {
		clear: both;
		width: 100%;
	}
	
	aside {
		clear: both;
		width: 90%;
	}
	
	.team{
		width: 91.25%; /* 100% -2(4.375%) */
		padding: 14px 4.375%; /* 14 / 320 */
		margin: 6px 0;
		min-height: 72px;
	}
	
	
}