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

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

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

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

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

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

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

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

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

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

/* Circle navigation container */
#circle-nav {
    margin-top: -50px;
	text-align: center;
}

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

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

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

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

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

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

aside .book-details {
     opacity: 1;
}

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

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

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

.mask:hover p {
	font-size: 1.25em; /* 20px/16 */
	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/16 */
	opacity: 1;
	text-transform: uppercase;
	text-align: center;
	text-decoration: none;
	padding: 16px 3.541666666666%; /* 34px/ 960(328) * 100 */
}

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

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

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

aside p {
	font-size: 1em; /* 16px/16 */
	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: 96%; /* 960px/ 1000 * 100 */
	margin-left: auto;
	margin-right: auto;
}

#shop-content img {
    opacity: 0.7;
    transition: opacity 0.5s ease;
}

#shop-content img:hover {
    opacity: 1;
}


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

.shop-box:first-of-type {
	margin-right: 2.708333333333%; /* 26px/ 960(300) * 100 */
}

.shop-box:last-of-type {
	margin-left: 2.708333333333%; /* 26px/ 960(300) * 100 */
}

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

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

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

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

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

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

}

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

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

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

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

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

/* --------- SLIDESHOW --------- */
@media only screen and (max-width: 1024px) {
  /* Center the logo above the navigation */
	#header-content{
		width: 100%;
		text-align: center;
	}
	#header-content img{
		height: 126px;
	}
	nav{
		width: 80%;
		position: relative;
		bottom: auto;
		right: auto;
		margin: 12px auto 8px;
	}
	nav ul{
		text-align: center;
	}
	#banner{
		min-height: 300px;
	}
	.circle{
		width: 0.9375%; /* 9px/960 */
		height: 9px;
	}
	#color-bar{
		padding: 6px 0;
	}
	#color-bar h3{
		font-size: 0.75em; /* 12/16*/
	}
	#wrapper-white {
		width: 90%;
		display: flex;
		margin: 40px auto;
	}
	section h1{
		font-size: 1.25em; /* 20px/ 16px*/
	}
	aside h2{
		font-size: 1.25em; /*20px/16px*/
	}
	#shop-content .theshop{
		display: block;
	}
	#shop-content .theteam.team{
		width: 100%;
		margin-bottom: 50px;
		display: inline-block;
	}
	.shop-box{
		width: 100%;
		margin-bottom: 50px;
		display: block;
		padding-top: 20px;
	}
	.shop-box img{
		max-height: 120px;
		object-fit: cover;
		min-width: 100%;
		object-position: top;
	}
	.shop-box:first-of-type{
		margin-right: auto;
	}
	
	.shop-box:last-of-type{
		margin-left: auto;
	}
	.team img{
		display: inline-block;
		padding-top: 20px;
		margin-left: auto;
		margin-right: auto;
	}
	#slideshow-wrapper, #slideshow{
		height: 300px;
	}
	.shop-box h3, .team h3{
		font-size: 1em; /* 16/16 */
	}
	.shop-box p, section p, .team p, #footer-content p{
		font-size: 0.75em;
	}
	#footer-content h3, aside p {
		font-size: 0.75em
	}
	#footer-right{
		margin-left: 0%;
		padding-left: 17.5%;
	}
	#footer-left{
		margin: 0px;
	}
}

@media only all and (max-width: 480px) { 	
	#header-content{
		width: 100%;
		text-align: center;
	}
	#header-content img{
		height: 100px;
	}
	nav {
		width: 100%;
		margin: 5px auto;
		background-color: #a32973;
	}
	nav a {
		color: white;
		display: block;
		border-bottom: 1px solid white;
		padding: 10px 0px;
	}
	nav a:hover{
		color: none;
	}
	nav li{
		margin: 0px;
		display: block;
		text-align: center;
	}
	#banner{
		max-height: 150px; /*150px*/	
	}
	#banner img{
		height: 150px;
		margin-bottom: 0px;
	}
	#banner1{
		max-height: 150px; /*150px*/	
	}
	#banner1 img{
		height: 150px;
		margin-bottom: 0px;
	}
	#color-bar h3{
		font-size:0.833333333333em;
	}
	#wrapper-white{
		display: block;
		width: 100%
	}
	section h1{
		font-size: 1em;
		text-align: center;
	}
	section, aside{
		width: 80%;
		float: none;
		margin: 0 auto;
	}
	footer{
		text-align: center;
		margin: 0px;
	}
	#footer-content{
		display: block;
	}
	#footer-left{
		width: 100%;
		margin: 0 auto;
		padding: 0;
		font-size: 0.833333333333em;
	}
	#footer-right{
		float: none;
		display: block;
		text-align: center;
		width: 80%;
		margin: 0 auto;
		padding: 0;
		font-size: 0.833333333333em;
	}
	.shop-box p, .team p{
		margin-bottom: 0px;
		padding-bottom: 5px;
	}
	.shop-box, .team {
		margin-bottom: 0px;
		padding-bottom: 5px;
	}
	.circle{
		height: 4px;
	}
	#slideshow-wrapper, #slideshow{
		height: 175px;
	}
	#shop-content{
		display: block;
	}
	/*.shop-box{
		display: block;
		width: 100%;
		margin: 30px 1.666666666667%;
	}*/
	.team{
		display: block;
		width: 100%
	}
	.team img{
		display: inline-block;
		padding-top: 20px;
		margin: 0 auto;
	}
	.shop-box h3, .team h3{
		font-size: 1.375em;
	}
}
