@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;
	margin: 1.0416666666666666667%;
}

nav {
	width: auto;
	position: absolute;
	bottom: 20px;
	right: 15.625%;
}

nav ul {
	display: flex;
	text-align: right;
	list-style-type: none;
}

nav li {
	font-size: 1.25em;
	font-family: 'Goudy Bookletter 1911', serif;
	margin: 20px 5.714285714285714%;
	text-align: left;
}

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

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

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

#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;
}

#color-bar h3 {
	color: #fff;
	font-family: 'Goudy Bookletter 1911', serif;
	font-size: 1em;
	padding: 10px 0px;
	text-align: center;
}

#wrapper-white {
	width: 90%;
	background-color: #fff;
	display: flex;
	margin: 40px auto;
}
main {
	padding: 486px 20px 20px;
}

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

aside {
	width: 31.25%;
	height: 300px;
	position: relative;
	float: right;
	border: 3px solid #16325a;
	margin-left: 4.166666666666667%;
	text-align: center;
}

aside .book-details {
    opacity: 1;
}

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

.mask {
    width: 109.3333333333333333%;
    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: 1.25em;
    opacity: 1;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    padding: 16px 10.36585365853659%;
    margin-top: 20px; 
}

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

aside h2 {
	color: #a32973;
	font-family: 'Goudy Bookletter 1911', serif;
	text-align: center;
	margin: 20px 6.66666666666666667%;
}

section p {
	font-size: 1em;
	color: #000;
	font-family: 'Lato', sans-serif;
	margin: 10px .52083333333333333%;
	line-height: 1.5;
}

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

aside img {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.uppercase {
	text-transform: uppercase;
}

.order-summary-page #shop-content {
            display: flex;
            flex-direction: column;
        }

.order-summary-page h1 {
            color: #a32973;
            font-family: 'Goudy Bookletter 1911', serif;
            text-align: center;
            text-transform: uppercase;
            font-size: 24px; 
        }

.order-summary-page h2 {
            color: #a32973;
            font-family: 'Goudy Bookletter 1911', serif;
            font-size: 20px; 
            padding: 5px;
        }

.order-summary-page #shop-content {
            text-align: left; 
        }

.order-summary-page table {
            width: 40%; 
            margin-top: 20px;
            border-collapse: separate; 
            border-spacing: 0; 
            border-radius: 10px;
            overflow: hidden; 
            float: left;
            font-family: 'Lato', sans-serif;
        }

.order-summary-page th, .order-summary-page td {
            padding: 10px;
            text-align: left;
            border: 1px solid #16325a; 
        }

.order-summary-page th {
            background-color: #16325a;
            color: #ffffff;
        }
.order-summary-page tr {
            background-color: #ffffff;
        }
.order-summary-page td {
            text-align: right; 
        }

.order-summary-page td:nth-child(1) {
            text-align: center;
        }

.order-summary-page p {
            padding: 2px;
            font-family: 'Lato', sans-serif;
        }

.order-summary-page fieldset {
            margin-top: 20px;
            border-radius: 10px;
            border: 1px solid #16325a;
            padding: 15px;
            font-family: 'Lato', sans-serif;
        }

.order-summary-page legend {
            color: #16325a;
            font-weight: bold;
            font-size: 18px;
        }

.order-summary-page .form-group {
            margin-bottom: 10px;
        }

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

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

#shop-content {
	width: 80%;
	margin-left: auto;
	margin-right: auto;
	display: flex;
}

.shop-box {
	width: 31.25%;
	margin: 50px 1.666666666666666667%;
	text-align: center;
	display: inline;
}

.shop-box:first-of-type {
	margin-right: 26px;
}

.shop-box:last-of-type {
	
}

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

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

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

.shop-box img {
    opacity: 0.7;
    transition: opacity 0.5s ease;
}

.shop-box img:hover {
    opacity: 1;
}

footer {
	padding: 20px 0;
	overflow: hidden;
	background-color: #16325a;
	font-family: 'Lato', sans-serif;
}

#footer-content {
	width: 80%;
	margin: 0 auto;
}

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

#footer-content p {
	font-size: 1em;
	color: white;
	opacity: 70%;
	padding-bottom: 10px;
	line-height: 1.5;
}

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

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

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

.team {
    width: 20.8333333333333333333%;
    text-align: center;
    display: inline;
	margin-bottom: 60px;
}

.team:first-of-type {
    margin-right: 2.604166666666667%;
}

.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.604166666666667%;
}

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

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

@media only screen and (max-width: 1024px) {
	#header-content {width: 100%;
	text-align:center;}
	#head-content img{height: 100px;}
	
	nav {
		width: 80%;
		position: relative;
		bottom: 0;
		right: 0;
		margin: 10px auto;
	}
	
	#banner {height: 200px;}
	#banner img {height: 200px;}
	
	#color-bar h3 {
		font-size: 0.875em;
		padding: 5px 0;
	}
	
	#wrapper-white {
		margin: 10px auto;
	}
	
	section h1 {
		font-size: 1.625em;
	}
	
	section p {
		font-size: 0.75em;
	}
	
	section {
		width: 70%;
	}
	
	aside {
		width: 30%;
		height: 270px;
		margin: 10px 0px;
	}
	
	aside img {
		height: 150px;
	}
	
	.mask {
		height: 270px;
	}
	.mask:hover h2 {
		font-size: 1.375em;
	}
	.mask:hover p {
		font-size: 1em;
	}
	.mask:hover .learn {
		font-size: 1em;
		padding: 16px 5%;
	}
	
	#wrapper-shop h1 {
		font-size: 1.375em;
		margin: 0px 0px 28px 0px;
	}
	
	#shop-content {
		display: block;
	}
	
	.shop-box {
		display: block;
		width: 100%;
		margin: 30px 1.666666666666666667%;
	}
	
	.shop-box img {
		min-width: 100%;
		max-height: 100px;
		object-fit: cover;
		object-position: top;
	}
	.team {
		display: block;
		width: 100%;
		margin-bottom: 40px;
	}
	
	.shop-box h3, .team h3 {
		font-size: 1.375em;
	}
	
	#shop-content .shop-box p {
		margin-bottom: 10px;
	}
	
	.shop-box a {
		width: 80%;
	}
	
	.circle {
		width: 0.9375%;
		height: 9px;
	}
	
	#slideshow-wrapper, #slideshow {
		height: 225px;
	}
	
	aside p {
		font-size: 0.75em;
	}
	
@media only all and (max-width: 480px) {

	#header-content img {height: 50px;}
	
	nav {
		width: 100%;
		margin: 0px auto;
		background-color: #a32973;
	}
	
	nav a {
		color: #fff;
		display: block;
		border-bottom: 1px solid white;
		padding: 2px 0px;
	}
	
	nav a:hover {
		color: none;
	}
	
	nav li {
		margin: 0px;
	}
	
	#banner {
		max-height: 150px;
	}
	
	#banner img {
		height: 150px;
		margin-bottom: 0;
	}
	
	#color-bar h3 {
		font-size: 0.8333333333333333333em;
	}
	
	#wrapper-white {
		width: 100%;
		display: block;
	}
	
	section, aside {
		display: block;
	}
	
	section {
		width: 90%;
		margin: 0 auto;
	}
	
	section h1 {
		font-size: 1em;
		text-align: center;
	}
	
	aside {
		width: 90%;
		margin: 5px auto;
	}
	
	footer {
		text-align: center;
		margin: 0px;
	}
	
	#footer-content {
		display: block;
	}
	
	#footer-left {
		width: 80%;
		margin: 0 auto;
		padding: 0;
		font-size: 0.8333333333333333em;
	}
	
	#footer-right {
		float: none;
		display: block;
		text-align: center;
		width: 80%;
		margin: 0 auto;
	}
	
	}
}