@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: 1.25em; /* 20px / 16px */ 
	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: 1.875em;/* 30px / 16px */ 
	margin-bottom: 0;
}

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


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

aside .book-details {
     opacity: 1;
}

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

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


.mask {
     width: 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 / 16px */ 
     color: #fff;
     margin-top: 25%;
     opacity: 1;
}
.mask:hover p {
     font-size: 1.25em;/* 20px / 16px */ 
     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 / 16px */
    opacity: 1;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    padding: 16px 34px;
    display: inline-block; /* Ensures padding is applied correctly */
}

.mask:hover .p {
    background-color: #16325a;
    color: white;
    font-family: 'Lato', sans-serif;
    font-size: 1.25em;/* 20px / 16px */
    opacity: 1;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    padding: 16px 34px;
    display: inline-block; /* Ensures padding is applied correctly */
}

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



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


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

aside p {
	font-size: 1em;/* 16px / 16px */
	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;
}

#wrapper-shop h1 {
    text-align: center;
    font-family: "Goudy Bookletter 1911", serif;
    text-transform: uppercase;
    font-size: 1.875em;/* 30px / 16px */
    color: #a32973;
    font-weight: bold;
    padding: 20px 0 0 0;
}
#shop-content {
	display:flex;
	width: 960px;
	margin-left: auto;
	margin-right: auto;
}

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

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

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

.shop-box h3,
.team h3 {
    text-transform: uppercase;
    color: #a32973; /* Bright pink, adjust the color as per your guide */
    font-family: "Goudy Bookletter 1911", serif;
    text-align: center;
    font-size: 2em;/* 32px / 16px */
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 28px;
    margin-left: 0;
}

.team {
    width: 200px; /* Fixed width for each team member box */
    display: inline-block; /* Allows side-by-side layout of blocks */
    text-align: center; /* Center-aligns all text within the team div */
    vertical-align: top; /* Aligns the items at the top */
}

.team:first-of-type {
    margin-right: 25px; /* Right margin for the first item */
}

.team:nth-of-type(2),
.team:nth-of-type(3) {
    margin-left: 24px; /* Left margin for the second and third items */
    margin-right: 24px; /* Right margin for the second and third items */
}

.team:last-of-type {
    margin-left: 25px; /* Left margin for the last item */
}

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

.shop-box a {
	display: block;
	background-color: #a32973;
	padding: 10px 20px;
	font-family: 'Lato', sans-serif;
	font-size: 0.875em;/* 14px / 16px */
	color: #fff;
	text-decoration: none;
	width: 160px;
	margin: 0 auto;
}
.shop-box p,
.team p {
    font-size: 1em;/* 16px / 16px */ /* Ensure consistency in font sizing */
    color: #000; /* Standard text color, adjust as needed */
    line-height: 1.5; /* Adjust line height for readability */
    margin-bottom: 16px; /* Spacing below paragraphs */
    text-align: center; /* Center-align text */
}

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

}

footer h3 {
	font-family: 'Goudy Bookletter 1911', serif;
	color: #fff;
	text-transform: uppercase;
	font-size: 1em;/* 12px / 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;
}
.shop-box {width:330px;
height:214px;
border-radius: 5px;
display:block;
margin:5px;
background-size: 100%;
background-repeat: no-repeat;
opacity: 0.7;	
transition: opacity 1s	
}

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

/* Correctly assign background images */
.events {
    background-image: url("images/events.jpg");
}

.workshops {
    background-image: url("images/workshops.jpg");
}

.monthly-picks {
    background-image: url("images/monthly-picks.jpg");
}

/* --------- SLIDESHOW --------- */
#slideshow-wrapper {
    width: 100%;
    height: 441px;
    position: relative; /* Needed for absolute positioning of children */
}

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

#slideshow img {
    width: 100%;
    height: 100%;
    display: inline-block; /* Line up images horizontally */
}

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

#circle-nav {
    position: absolute;
    bottom: 10px; /* Adjust according to your design */
    width: 100%;
    text-align: center;
    margin-top: -50px; /* Adjusts the vertical positioning */
}

/* Tablet view */
@media only screen and (max-width: 1024px) {
	#header-content {width:100%;
	text-align: center;}
	
    #header-content img {
        height: 100px;
        margin-left: auto;
        margin-right: auto;
		width:10%;
		margin-bottom:20px;
    }

    nav {
        width: 100%;
        text-align: center;
        position: relative;
        margin-bottom: 20px;
    }

    nav ul {
        
        text-align: center;
    }

    nav li {
        font-size: 1em; /* Smaller text for tablets */
       
        padding: 10px;
    }

    #banner {
        height: 300px;
    }

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

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


    section h1, aside h2 {
        font-size: 1.75em;
    }

    .team {
        width: 100%;
        display: block;
        margin-bottom: 20px;
    }
	
	#shop-content{display:block;}
	.shop-box{display:block;
		width:100%;
	margin-bottom:50px;
	padding-top:50px;}
	

    footer {
        text-align: center;
    }
}

/* Mobile Devices (max-width: 480px) */
@media screen and (max-width: 480px) {
    /* Adjusting the wrapper width */
    #wrapper {
        width: 100%;
        margin: 0;
    }

    /* Navigation block layout */
    nav {
        width: 100%;
    }

    /* Making the navigation items stack */
    nav ul {
        margin: 6px 0;
        display: block;
		background-color:#a32973;
		
    }

    nav li {
       	display: block;
        width: 100%;
        border-bottom: 1px solid white;
		text-align:center;
		color: white;
		
    }
	nav a{color: white;}
	nav a:link{color: white;}

    /* Adjusting the aside to fit 90% width and center it */
    aside {
        width: 80%;
        float: none;
        margin-right: auto;
        margin-left: auto;
		
    }
	
	
	#wrapper-white {display:block;width:100%}
	
	#wrapper-shop {display:block;width:100%}
	
	#shop-content {display:block;width:100%}
	
	#banner, #slideshow-wrapper, #slideshow{height:200px;}
	
	section{float:none;
	width:100%;}

    /* Adjusting column width to 91.5% and centering the content */
    .column-center, .column-left, .column-right {
        width: 91.5%;
        margin: 6px 0;
        padding: 14px 4.375%;
        float: none;
        margin-right: auto;
        margin-left: auto;
    }

    /* Adjusting the logo image */
    .logo {
        max-width: 80px; /* Smaller logo */
        margin: 0 auto;
        display: block;
    }

    /* Adjusting the slideshow height */
    .slideshow {
        height: 200px; /* Smaller slideshow */
    }

    /* Adjusting slideshow circle size */
    .slideshow-circles {
        height: 8px;
        width: 8px;
    }

    /* Adjusting h1 and h2 font sizes */
    h1, h2 {
        font-size: 1.2em;
    }

    /* Adjusting the images in the About page */
	
	.team{display: inline-block;}
    .team img {
        display: block;
        width: 80%;
        margin: 0 auto;
    }

    /* Stacking footer sections vertically */
    footer {
        display: block;
        font-size: 0.8em;
        text-align: center;
    }

    /* Centering the main section */
    section {
        width: 100%;
        float: none;
    }
}
