@charset "utf-8";

header {width: 100%;
margin: 0 auto; position: relative}

nav {
    position: absolute;
    bottom: 20px;
    right: 120px;
        border: 1px solid black;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav li {
    display: inline-block;
}

nav a {
    text-decoration: none;
    font-family: 'Goudy Bookletter 1911', serif;
    color: #16325a;
    padding: 10px 15px;
}

nav a:hover {
    background-color: #16325a;
    color: #fff;
    border-radius: 5px;
}


#banner {background-image: url("images/home-banner.jpg"); height: 440px;}

#color-bar {background-color: #a32973; color: #fff; text-align: center; padding: 10px 0;}
#color-bar2 {background-color: #a32973; color: #fff; text-align: center; padding: 10px 0;}

#wrapper-white {width: 100%; margin: 30px auto; display: flex;}

section {width: 60.4%; padding: 10px 1.04167%;}
section h1 {font-size: 2.25em; color: #a32973; text-transform: uppercase; font-family: 'Goudy Bookletter 1911', serif;}
section p {font-size: 1em; line-height: 1.5; font-family: 'Lato', sans-serif;}
aside {width: 31.25%; border: 3px solid #16325a; padding: 10px 1.04167%;}

aside h2 {text-align: center; margin:10px 0; color: #a32973; font-size: 1.25em; font-family: 'Goudy Bookletter 1911', serif;}

.uppercase {text-transform: uppercase;}
aside img{display: block; margin: 0 auto; padding: 10px 1.04167%;}


#shop-content { width: 100%; margin:0 auto;}

.shop-box { width: 31.25%; margin: 0 auto; text-align: center;}

#shop-content h3 {color: #a32973; text-transform: uppercase; text-align: center; padding:10px 1.04167%; font-size: 1.75em; font-family: 'Goudy Bookletter 1911', serif;}

#shop-content p {line-height: 1.5; font-size: 0.875em; margin: 10px 0 20px 0; font-family: 'Lato', sans-serif;}

.shop-box a {text-decoration: none;  background-color: #a32973; color: #fff; font-size: 0.875em; padding: 5px 0.52083%;}


footer {border: 1px solid yellow;
background-color: #16325a; color: #fff; padding: 20px 0;}
#footer-content {width: 100%; border: 1px solid black; margin: 0 auto; display: flex;}

#footer-left {width: 40%; border: 1px solid green;}

#footer-right {width: 40%; border: 1px solid blue; margin-left: 31.25%; text-align: right;}

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

#footer-content p {line-height: 1.5; font-family: 'Lato', sans-serif;}


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


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

.mask {
     width: 100%;
     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: 120px;
     opacity: 1;	
}

.mask:hover p {
font-size: 1.25em;
color: #fff;
margin-bottom: 20px;
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-align: center;
text-decoration: none;
padding: 16px 3.54167%;
}

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



#team h3 {
	text-transform: uppercase;
    color: #FF007F;
    font-family: "Goudy Bookletter 1911", serif;
    text-align: center;
    font-size: 2em;
    margin: 0 0 28px 0;
}

.shop-box h3, .team h3 {
	
}

.team p, .shop-box p {
	
}

.team {
	width: 20.83%;
    text-align: center;
    display: inline-block;
	margin-top: 30px;
}

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

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

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

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


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

@media only screen and (max-width: 1024px) { 
	
	#header-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    text-align: center;
	padding-bottom: 50px;
}


nav ul {display: flex;
        justify-content: center;
        align-items: center;
        gap: 40px; 
        padding: 0;
        margin: 0 auto; 
        list-style: none;}
	
	#shop-content {display: flex; flex-direction: column; }	
	.shop-box { width: 90%; margin: 0 auto; text-align: center; padding-bottom: 50px}
	.shop-box a {display: inline-block; width: 100%; max-width: 350px; text-decoration: none;  background-color: #a32973; color: #fff; font-size: 0.875em; padding: 5px 0.52083%;}
.shop-box a {display: inline-block; width: 100%; max-width: 350px; text-decoration: none;  background-color: #a32973; color: #fff; font-size: 0.875em; padding: 5px 0.52083%;}
	#wrapper-white {width: 80%;}
	#banner {margin-top: -5px; background-image: url("images/home-banner.jpg"); height: 300px;}
	nav {margin-top: 50px; border: none;}
	#team {
        text-align: center;
    }

    .team {
        display: flex;
        flex-direction: column; /* Stacks team members vertically */
        align-items: center; /* Centers everything horizontally */
        text-align: center;
        width: 100%;
    }
	
	
.team h3 {
        margin-bottom: -15px; /* Reduce space between name and description */
    }

	#slideshow {
    height: 300px; padding: 0;	
}
	
	#color-bar2 {margin-top: -120px;}
	
	aside {
		width: 35%;
		padding: 15px 2%;
	}
	

}/* @media only screen and (max-width: 1024px) */

@media only all and (max-width: 480px) {	
	.header-picture {
		max-width: 150px;
	}
	
	nav {
        display: flex;
        flex-direction: column; /* Stacks links vertically */
        align-items: center; /* Centers links */
        width: 100%;
        position: static; /* Removes absolute positioning */
        border: none;
        padding: 10px 0;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        gap: 1px;
        width: 100%;
        text-align: center;
        list-style: none;
    }

    nav li {
        display: block;
        width: 100%;
        text-align: center;
    }

    nav a {
        display: block;
        font-size: 1.2em;
        width: 100%;
        text-align: center;
        background: #a32973;
        color: white;
    }
	
		#banner {margin-top: -30px; background-image: url("images/home-banner.jpg"); height: 200px;}
    #wrapper-white {
        display: flex;
        flex-direction: column-reverse; /* Moves Book of the Week below */
        align-items: center; /* Centers content */
        width: 100%;
        text-align: center;
    }

    section {
        width: 100%; /* Make the book shop section full width */
        padding: 20px;
    }

    aside {
        width: 80%; /* Make the book of the week box full width */
        padding: 20px;
        text-align: center;
		font-size: 25px;
        order: -1; /* Moves the Book of the Week above the book shop */
		height: 450px
    }

    aside img {
        width: 100%; /* Make the image responsive */
        max-width: 250px; /* Adjust to fit smaller screens */
        height: auto;
        margin: 0 auto;
    }
	#slideshow {height: 200px;
	}
	#color-bar2 {
	margin-top: -200px;
	}
	
	.team-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.team {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.team img {
    width: 100%;
    max-width: 220px;
    height: auto;
}
	
 #footer-content {
        display: flex;
        flex-direction: column; /* Stacks the footer sections */
        align-items: center; /* Centers the content */
        text-align: center; /* Ensures text is properly aligned */
    }

	  #footer-left, #footer-right {
        margin-bottom: 30px;
		width: 400px
    }
	
	#footer-right {
		padding-right:150px;
		text-align: center;
	}
}


.ordersummary {
    width: 60%;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    background-color: #f4f3f0;
    border-radius: 8px;
}

.ordersummary table {
    width: 50%;
    margin: 0 auto 20px auto;
    border-collapse: separate;
	border-spacing: 0;
	border-radius: 10px;
	overflow: hidden;
}

.ordersummary th,
.ordersummary td {
    padding: 10px;
    border: 1px solid #ccc;
	text-align: center;
}

tr:first-child th:first-child, tr:first-child th:last-child, tr:last-child td:first-child, tr:last-child td:last-child

tr:first-child th:first-child {border-radius: 10px 0px 0px 0px}
tr:first-child th:last-child {border-radius: 0px 10px 0px 0px}
tr:last-child td:first-child {border-radius: 0px 0px 0px 10px}
tr:last-child td:last-child {border-radius: 0px 0px 10px 0px}


.ordersummary th {
    background-color: #16325a;
    color: white;
}

.ordersummary td {
    background-color: white;
}

.ordersummary p {
    font-size: 1.2em;
}

#wrapper-shop {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* align content to top */
    width: 100%;
    padding-top: 20px; /* adds spacing from top */
}

h2 {padding-bottom: 10px;
font-size: 18px;
font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
color: #a32973;
}

