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

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

nav {
	width: 73%; /* 730px / 1000px = .73 */
	position: absolute;
	bottom: 18px;
	right: 2.8333%;
}

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 3.75%;
	text-align: left;
}

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

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

nav a:hover {
	background-color: #16325a;
	color: #fff;
}

#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: 40px 0 16px 0;
	text-align: center;
}

#color-bar h3 {
	color: #fff;
	font-family: 'Goudy Bookletter 1911', serif;
	font-size: 1.875em;
	margin-bottom: -0.416666666667%;
}

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

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

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


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

aside h2 {
	color: #a32973;
	font-family: 'Goudy Bookletter 1911', serif;
	font-size: 1.75em;
	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: 50.5%;
	margin-left: auto;
	margin-right: auto;
}

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

.shop-box:first-of-type {
	margin-right: 2.708333333333%;
}

.shop-box:last-of-type {
	margin-left: 2.708333333333%;
}

.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: 0.875em;
	margin-bottom: 24px;
}

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

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: 50.4%;
	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;
}

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

.mask {
	width: 0 ;
	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;
	margin-top: 25%;
	opacity: 1;
}

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

.mask:hover .learn {
	background-color:#16325a;
	color: white;
	font-family: 'Lato', sans-serif;
	font-size: 2em;
	opacity: 1;
	text-transform: uppercase;
	text-align: center;
	text-decoration: none;
	padding-top: 16px;
	padding-bottom: 16px;
	padding-left: 10.365853658537%;
	padding-right: 10.365853658537%;

}

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

.shop-box h3, .team h3{
	color: #a32973;
	font-family: 'Goudy Bookletter 1911', serif;
	font-size: 1.75em;
	margin-bottom: 18px; 
}

.team p, .shop-box p {
/* --------- covered by the "p" section above--------- */
}

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

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

/* --------- 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.625%;
    height: 12px;
    border-radius: 50%;
    margin-right: 0.78125%;
}

#circle-nav {
    margin-top: -2.604166666667%;
    text-align: center;
}

@media only screen and (max-width: 1024px){
	h1{font-size: 1.375em;} /* 22px /16 */
	nav li {margin: 0 0.3125%;}  /* 3xp/1000 */
	section {width: 100%; margin-bottom: 6px;}

	aside {
		width: 97.2%; /* 100% -2(1.4%) */
		min-height: 72px;
	}

	.shop-box{clear:both;}

	.shop-box{
		min-height:200px;
	}

	.shop-box p, .shop-box h3 {
		font-size: 0.75em;
		}

    header img {
        display: block;
        margin: 0 auto;
    }

    nav {
        position: relative;
        width: 100%;
        text-align: center;
        margin: 0 auto;
        bottom: auto;
        right: auto;
        padding-top: 20px;
    }
    
    #banner,#slideshow-wrapper {
        height: 300px;
    }

    .circle {
		height: 9px;
    }

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

    h1,h2 {
        font-size: 1.5em;
    }

    section,aside {
        width: 95%;
        float: none;
        margin-right: 0;
    }

    #wrapper-white {
        padding: 30px 0;
    }

    .shop-box,.team {
        margin: 0 auto 30px;
		width: 95%; /* sets them to stack*/
    }

	.shop-box img {
		position: relative;
        width: 100%;
        text-align: center;
        margin: 0 auto;
        bottom: auto;
        right: auto;
        padding-top: 0px;
	}

    section, aside {
        clear: both;
    }

	#shop-content {
		min-height:100px;
	}

	


	
	}



	@media only all and (max-width:480px){
		header img {
			width: 80%; /* Adjust the width as needed */
			display: block;
			margin: 0 auto; /* Center the logo */
		}

		nav {
			width: 100%; /* Full width */
			text-align: center; /* Center the navigation links */
			margin-top: 10px; /* Add some space between logo and navigation */
		}
	
		nav ul {
			display: block; /* Change to block layout */
			margin: 0 auto; /* Center the list */
			padding: 0; /* Remove default padding */
		}
	
		nav li {
			display: block; /* Display each item as a block */
			margin-bottom: 10px; /* Add some space between items */
		}

		#banner,
		#slideshow-wrapper {
			height: 200px; /* Set the height to 200px */
		}

		section {
			width: 100%; /* Set width to 100% */
			float: none; /* Remove float */
		}

		aside {
			width: 90%; /* Set width to 90% */
			margin: 0 auto; /* Center the aside */
			float: none; /* Remove float */
		}

		.team {
			width: 100%; /* Set width to 100% */
			margin: 0 auto 30px; /* Center and add margin */
			text-align: center; /* Center the content */
		}

		#footer-left,#footer-right {
			width: 100%; /* Set width to 100% */
			float: none; /* Remove float */
			text-align: center; /* Center the content */
			margin-bottom: 20px; /* Add some space between items */
		}
	
		.shop-box,.team {
			width: 91.25%;
			padding: 14px 4.375%; /* 14px/320px */
			margin: 6px 0;
			min-height: 72px;
		}
	}
