@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: 1.25% 0;
}

#header-content {
	width: 100%; /* 960px / 960px */
	margin-left: auto;
	margin-right: auto;
	position: relative;
}

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

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

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

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

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

#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: 1.25% 0;
	text-align: center;
}

#color-bar h3 {
	color: #fff;
	font-family: 'Goudy Bookletter 1911', serif;
	font-size: 1.875em; /* 30px / 16 */
	margin-bottom: 0;
}

#wrapper-white {
	width: 50%; /* 960px / 1920px */
	background-color: #fff;
	margin-left: auto;
	margin-right: auto;
	padding: 3.125% 0;
	overflow: hidden;
}
main {
	padding: 25.31% 1.042% 20px;
}

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

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


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

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

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

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

.uppercase {
	text-transform: uppercase;
}

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

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

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

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

.shop-box:last-of-type {
	margin-right: 2.71%;
}

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

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

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

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

}

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

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

#footer-content {
	width: 96%; /* 960px / 1000px */
	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: 31.25%; /* 300px / 960px */
    height: 334px;
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    background-color: #a32973;
    color: white;
    font-size: 1.125em; /* 18px / 16 */
    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: 2em; /* 32px / 16 */
    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: 1.04% 1.56%;
    text-decoration: none;
    font-size: 1em; /* 16px / 16 */
    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: 1.25em; /* 20px / 16 */
    color: white;
    margin-bottom: 40px;
    opacity: 1;
}

.mask:hover .learn {
    background-color: #16325a;
    color: white;
    font-family: 'Lato', sans-serif;
    font-size: 1.25em; /* 20px / 16 */
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    padding: 1.67% 3.54%;
    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: 1.875em; /* 30px / 16 */
    color: #a32973;
    font-weight: bold;
    padding: 1.04% 0 0 0;
	margin-bottom: 20px;
	margin-top: 0px;
}

/* Shared styles for both .shop-box h3 and .team h3 */
.shop-box h3,
.team h3 {
    text-transform: uppercase;
    color: #a32973;
    font-family: 'Goudy Bookletter 1911', serif;
    font-size: 1.75em; /* 28px / 16 */ /* Slightly smaller to fit longer names */
    text-align: center;
    margin: 0 0 1.04% 0;
	margin-top: 15px;
    white-space: nowrap; /* Prevents names from breaking onto multiple lines */
}

/* Shared styles for both .shop-box p and .team p */
.shop-box p,
.team p {
    font-size: 0.875em; /* 14px / 16 */
    text-align: center;
    margin-bottom: 0px;
}

/* Styling for the .team columns */
.team {
    width: 20.83%; /* 200px / 960px */
    text-align: center;
    display: inline-block;
    vertical-align: top;  /* Align all team members to the top */
    margin-bottom: 20px;  /* Space between team member containers */
}

/* Adjust margins for spacing between columns */
.team:first-of-type {
    margin-right: 2.6%;
}

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

/* Ensure images are the same size and aligned */
.team img {
    width: 100%;  /* Make the image take up the full width of the container */
    height: auto;  /* Maintain aspect ratio of the image */
    display: block;  /* Prevent extra space below the image */
    margin: 0 auto;  /* Center the image within the container */
}


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

/* Positioning the circle navigation */
#circle-nav {
    margin-top: -50px; /* Negative margin moves it above the next section */
    text-align: center;
}


@media only screen and (max-width: 1024px) {
    #header-content img {
        display: block;
        margin: 0 auto;
    }
    nav {
        width: 100%;
        position: relative;
        text-align: center;
        bottom: auto;
        right: auto;
    }
    nav ul {
        text-align: center;
        padding: 0;
    }
    nav li {
        display: inline-block;
        padding: 0 2.5%;
    }
    #banner {
        height: 18.75em; /* 300px / 16px */
    }
    #slideshow-wrapper {
        height: 18.75em; /* 300px / 16px */
    }
    #slideshow {
        height: 18.75em; /* 300px / 16px */
    }
    .circle {
        width: 0.9375%; /* 9px / 960px */
        height: 0.5625em; /* 9px / 16px */
    }
    #color-bar h3 {
        font-size: 1.5em; /* 24px / 16px */
    }
    section h1 {
        font-size: 1.875em; /* 30px / 16px */
    }
    aside h2 {
        font-size: 1.5em; /* 24px / 16px */
    }
    section, aside {
        width: 100%;
        float: none;
        margin-bottom: 2.5em; /* 20px / 8px */
    }
    main {
        padding: 10% 2% 1.25em; /* 20px / 16px */
    }
    .shop-box {
        width: 45%;
        margin-bottom: 2.5em; /* 20px / 8px */
        margin-right: 0;
        margin-left: 0;
        display: inline-block;
    }

    .shop-box:first-of-type {
        margin-right: 0;
    }
    footer h3 {
        font-size: 1.25em; /* 20px / 16px */
    }
    #footer-left, #footer-right {
        width: 100%;
        float: none;
        text-align: center;
        margin-bottom: 0.625em; /* 10px / 16px */
    }
    .team {
        width: 45%;
        margin: 0 2.5%;
        display: inline-block;
    }
    footer p {
        font-size: 0.875em; /* 14px / 16px */
    }
}

@media only all and (max-width: 480px) {
    #header-content img {
        width: 75%;
        display: block;
        margin: 0 auto;
    }
    nav {
        width: 100%;
        position: relative;
        text-align: center;
        bottom: auto;
        right: auto;
        margin-top: 1em;
    }
    nav ul {
        padding: 0;
        margin: 0;
        list-style-type: none;
    }
    nav li {
        display: block;
        padding: 0.5em 0;
    }
    #banner {
        height: 12.5em; /* 200px / 16px */
    }
    #slideshow-wrapper {
        height: 12.5em; /* 200px / 16px */
    }
    #slideshow {
        height: 12.5em; /* 200px / 16px */
    }
    .circle {
        width: 0.625%; /* 6px / 960px */
        height: 0.375em; /* 6px / 16px */
    }
    #color-bar h3 {
        font-size: 1.125em; /* 18px / 16px */
    }
    section h1 {
        font-size: 1.5em; /* 24px / 16px */
    }
    aside h2 {
        font-size: 1.25em; /* 20px / 16px */
    }
    section, aside {
        width: 100%;
        float: none;
        margin-bottom: 2.5em; /* 20px / 8px */
    }
    main {
        padding: 8% 2% 1.25em; /* 20px / 16px */
    }
    .shop-box {
        width: 90%;
        margin-bottom: 2.5em; /* 20px / 8px */
        margin-right: 0;
        margin-left: 0;
        display: inline-block;
    }
    .shop-box:first-of-type {
        margin-right: 0;
    }
    footer h3 {
        font-size: 1.125em; /* 18px / 16px */
    }
    #footer-left, #footer-right {
        width: 100%;
        float: none;
        text-align: center;
        margin-bottom: 1.25em; /* 20px / 16px */
    }
    .team {
        width: 90%;
        margin: 1.25em 0; /* 20px / 16px */
        display: block;
    }
    footer p {
        font-size: 0.75em; /* 12px / 16px */
    }
}

