@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: 90%;
	margin-left: auto;
	margin-right: auto;
	position: relative;
}

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

nav {
	width: 76.042%;
	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;
	color: #16325a;
	padding: 0 1.875em;
	text-align: left;
}

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

nav a:link {
	text-decoration: none;
	color: #16325a;
	padding: 10px 1.25em;
}

nav a:hover {
	background-color: #16325a;
	color: #fff;
	padding: 10px 1.25em;
}

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

#wrapper-white {
	width: 90%;
	background-color: #fff;
	margin-left: auto;
	margin-right: auto;
	padding: 60px 0;
	overflow: hidden;
}
main {
	padding: 486px 1.25em 20px;
}

section, aside {
	margin-bottom: 20px;
}
section {
	width: 60.42%;
	float: left;
}

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


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

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

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

aside p {
	font-size: 1em;
	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: 90%;
	margin-left: auto;
	margin-right: auto;
}

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

.shop-box:first-of-type {
	margin-right: 1.625em;
}

.shop-box:last-of-type {
	margin-left: 1.625em;
}

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

.shop-box p {
	font-size: 1.75em;
	margin-bottom: 24px;
}

.shop-box a {
	display: block;
	background-color: #a32973;
	padding: 10px 1.25em;
	font-family: 'Lato', sans-serif;
	font-size: 0.875em;
	color: #fff;
	text-decoration: none;
	width: 16.67%;
	margin: 0 auto;
}

.shop-box img {
	opacity: 70%;
}

.shop-box img:hover{
	 opacity:1;
	 transition-duration: 2s;
	 transition-timing-function: ease-in-out;
	 
 }

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

}

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

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

#footer-content {
	width: 90%;
	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;
}

.mask {
     width: 20.5em;
     height: 334px;
     position: absolute;
     top: 0;
     left: 0;
     text-align: center;
     background-color: #a32973;
     opacity: 0;
     transition: linear 2s;
	 transition-duration: 3s;
	 transition-timing-function: ease-in-out;
}

.mask:hover {
     opacity: 1;
}

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

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

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

.mask:hover .learn{
	
	Background-color:#16325a;
	color: white;
	Font-family: Lato;
	Font-size: 1.25em;
	Opacity: 1;
	text-transform:uppercase;
	text-align:center;
	text-decoration:none;
	padding-left:2.125em;
	padding-right:2.125em;
	padding-bottom:16px;
	padding-top:16px;
}

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

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

.shop-box h3,
.team h3{
     width:20.83%;
	 text-align:center;
	 display:inline-block;
}

.team p{
	font-size: 0.875em;
	margin-bottom: 24px;
	
}

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

.team{
	width:20.83%;
	text-align:center;
	display:inline-block;
	
}

.team:first-of-type {
     margin-right: 1.5625em;
}
.team:nth-of-type(2),
.team:nth-of-type(3){
     margin-left: 1.5em;
     margin-right: 1.5em;
}
.team:last-of-type {
     margin-left: 1.5625em;
}

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

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

	
	
}

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

#banner{text-align:center; position:static;}
nav ul{text-align:center; position:relative;}
nav li{text-align:center; position:relative;}
#slideshow{height:300px;}
#slideshow img{height:300px;}
.circle{Font-size: 9px;}
#color-bar h3{font-size:14px;}
#shop-content{display:flex; flex-direction:column; text align:center;}
#team{display:flex; flex-direction:column; text-align:center;}
h1 h2 {font-size:16px;}


}

@media only all and (max-width: 480px) { 
#headercontent img{text-align:center; size:150px;}
nav li{display:flex;flex-direction: column;}
#slideshow{height:200px;}
#slideshow img{height:200px;}
section{width:100%; float:none;}
aside{text-align:center; width:90%; float:none;}
#team{display:flex; flex-direction:column; text-align:center;}
#shop-content{display:flex; flex-direction:column; text align:center;}
#footer{display:flex; flex-direction:column;}
}