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

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

nav {
	width: 730px;
	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: 20px;
	color: #16325a;
	padding: 0 30px;
	text-align: left;
}

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

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

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

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

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

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

aside {
	width: 300px;
	height: 300px;
	float: right;
	position: relative;
	border: 3px solid #16325a;
	padding: 20px 14px 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: 28px;
	margin-bottom: 18px;
}

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

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

.uppercase {
	text-transform: uppercase;
}

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

#shop-content {
	width: 960px;
	margin-left: auto;
	margin-right: auto;
}

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

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

.shop-box:last-of-type {
	margin-left: 26px;
}

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

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

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

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

}

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

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

#footer-content {
	width: 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;
	 transition: opacity 1s linear;
}

aside .book-details:hover {
    opacity: 0;
}

.mask {
    width: 328px;
    height: 334px;
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    background-color: #a32973;
    color: white;
    font-size: 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 2s linear;
}

.mask:hover {
    opacity: 1;
}

.mask h2,
.mask p,
.mask .learn {
    opacity: 0;
    transition: opacity 2s linear;
}

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

.mask:hover p,
.mask:hover .learn {
    opacity: 1;
}

.learn {
    display: inline-block;
    background-color: white;
    color: #a32973;
    padding: 10px 15px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 15px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

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

.mask:hover .learn {
    background-color: #16325a;
    color: white;
    font-family: 'Lato', sans-serif;
    font-size: 20px;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    padding: 16px 34px;
    display: inline-block;
    border-radius: 5px;
    opacity: 1;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.mask:hover .learn:hover {
    background-color: white;
    color: #a32973;
}

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

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

/* -------- THE TEAM SECTION -------- */

/* Format "The Team" heading */
#wrapper-shop h1 {
    text-align: center;
    font-family: "Goudy Bookletter 1911", serif;
    text-transform: uppercase;
    font-size: 30px;
    color: #a32973;
    font-weight: bold;
    padding: 10px 0 0 0;
	margin-bottom: 20px;
	margin-top: 0px;
}


.shop-box h3,
.team h3 {
    text-transform: uppercase;
    color: #a32973;
    font-family: 'Goudy Bookletter 1911', serif;
    font-size: 28px; 
    text-align: center;
    margin: 0 0 10px 0;
	margin-top: 15px;
    white-space: nowrap; 
}


.shop-box p,
.team p {
    font-size: 14px;
    text-align: center;
    margin-bottom: 0px;
}


.team {
    width: 200px;
    text-align: center;
    display: inline-block;
    vertical-align: top;
    margin-bottom: 20px; 
}


.team:first-of-type {
    margin-right: 25px;
}

.team:nth-of-type(2),
.team:nth-of-type(3) {
    margin-left: 24px;
    margin-right: 24px;
}

.team:last-of-type {
    margin-left: 25px;
}


.team img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}


/* --------- SLIDESHOW --------- */

#slideshow-wrapper {
    width: 100%;
    height: 441px;
    position: relative;
}

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

/* Styles for the images inside the slideshow */
#slideshow img {
    width: 100%;
    height: 100%;
    display: inline-block;
}

/* Circle navigation styles */
.circle {
    display: inline-block;
    background-color: lightgrey;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 15px;
}


#circle-nav {
    margin-top: -50px;
    text-align: center;
}
/* Order Summary Page */
table {
    width: 50%;
    border-collapse: collapse;
    margin: 20px 0;
    border-radius: 10px;
    overflow: hidden;
    background-color: white;
}

th, td {
    border: 2px solid #16325a;
    padding: 10px;
    text-align: center;
    font-family: 'Lato', sans-serif;
}

th {
    background-color: #16325a;
    color: white;
    font-family: 'Lato', sans-serif;
}

th:first-child, td:first-child, 
th:nth-child(2), td:nth-child(2), 
th:nth-child(3), td:nth-child(3) {
    text-align: left;
}

td:last-child {
    text-align: right;
}

tr td[colspan="2"] {
    text-align: right;
    font-family: 'Lato', sans-serif;
    font-weight: bold;
}

td {
    font-size: 16px;
    font-family: 'Lato', sans-serif;
    text-align: right;
}


h2 {
    font-size: 20px;
    color: #a32973;
    font-family: "Goudy Bookletter 1911", serif;
    text-align: left;
    margin-top: 20px;
}

.shipping-option, .customer-name {
    font-size: 16px;
    color: #16325a;
    text-align: left; 
}

.shipping-option {
    margin-bottom: 10px;
}

.customer-name {
    margin-top: 10px;
}

td input[type="number"] {
    width: 30px;
    padding: 5px; 
    font-size: 14px; 
    text-align: center; 
    display: block; 
    margin-left: auto;
    margin-right: auto;
}

/* Place Order Button Styling */
.place-order-btn {
    padding: 5px 20px;
    font-size: 12px;
    background-color: #EAEAEA;
    color: black;
    border: none;
    cursor: pointer;
    display: block;
    margin-left: auto;
    margin-top: 10px;

}

