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

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

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

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

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

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

#banner img {
	width: 100%;
	height: 441px;
	background-repeat: no-repeat;
	background-size: cover;
	display: block;
}

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

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

section, aside {
	margin-bottom: 20px;
}

section {
	width: 60.42%; /*580px / 960 * 100 = 55%*/
	float: left;
}

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


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

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

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

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

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

.uppercase {
	text-transform: uppercase;
}

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

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

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

.img-box {
	opacity: 70%;
    transition: opacity 1s;
}

.img-box:hover {
    opacity: 100%;
}

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

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

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

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

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

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

}

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

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

#footer-content {
	width: 55%; /*960px*/
	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: ease-out 1s;
}

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

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

.mask:hover .learn {
	background-color: #16325a;
	color: white;
	font-family: "Lato";
	size: 1.25em; /*20px*/
	opacity: 1;
	text-transform: uppercase;
	text-align: center;
	text-decoration: none;
	padding: 16px 2.125em; /*34px*/
}

#wrapper-shop h1 {
	text-transform: uppercase;
	color: #a32973;
	font-family: 'Goudy Bookletter 1911', serif;
	text-align: center;
	font-size: 1.875em; /*30px*/
	font-weight: bold;
	padding: 20px 0 0 0;
	margin: 0 0 1.75em 0; /*28px*/
}

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

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

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

#circle-nav {
	margin-top: -3.125em; /*-50px*/
	text-align: center;
}

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

	 #header-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    nav {
        position: static;
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    nav ul {
        display: flex;
        justify-content: center;
        padding: 0;
    }

    nav li {
        display: inline-block;
        padding: 0 15px;
    }

    #banner img,
    #slideshow {
        height: 300px;
    }

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

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

    section h1 {
        font-size: 1.75em;
    }

    aside h2 {
        font-size: 1em;
    }

    section,
    aside,
    .shop-box {
        width: 100%;
        float: none;
        display: block;
        text-align: center;
        margin: 0 auto 20px auto;
    }

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

	.team img {
		size: auto;
	}

	.shop-box a {
		width: 100%;
	}
}

@media only all and (max-width: 480px) {
	#header-content img {
        width: 100px;
		height: 100px;
        display: block;
        margin: 0 auto;
    }

    /* Navigation stacked layout below logo */
    nav {
        position: static;
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    nav ul {
        padding: 0;
        text-align: center;
    }

    nav li {
        display: inline-flex;
		color: white;
		text-decoration: none;
		background-color: #a32973;
        padding: 10px 1em;
    }

	#banner img,
    #slideshow {
        height: 200px;
    }

    section {
        width: 100%;
        float: none;
    }

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

    .team {
        display: block;
        text-align: center;
    }

    .team img {
        display: block;
        width: 80%;
        margin: 10px auto;
    }

    #footer-content {
        display: block;
        text-align: center;
    }

    #footer-content div {
        display: block;
        width: 100%;
        margin-bottom: 10px;
		text-align: center;
		border-bottom: #fff;
    }
}