@charset "UTF-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Goudy+Bookletter+1911&family=Lato&display=swap');

/*
font-family: 'Goudy Bookletter 1911', serif;
font-family: 'Lato', sans-serif;
*/

Header {
	width:100%;
}

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

Nav{
	position: absolute;
	bottom: 20px;
	right: 120px;
	font-family: 'Goudy Bookletter 1911', serif;
}
nav li {
	display: inline-block;
	padding: 10px 20px;
}

nav a {
	text-decoration: none;
}

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

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

#color-bar{
	background-color: #A32973;
	color: white;
	text-align: center;
	padding: 10px 0;
	font-family: 'Goudy Bookletter 1911', serif;
}

#wrapper-white{
	width: 80%; /* 960px */
	margin-top: 15px;
	margin-bottom: 60px;
	margin-left: auto;
	margin-right: auto;
	display: flex;
	
}

section{
	width: 60.41666666666667%; /* 580px / 960 * 100 */
}

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

section p {
	font-size: 1em; /*16px / 16*/
	line-height: 1.5;
	margin-top: 10px;
	padding-right: 20px;
	font-family: 'Lato', sans-serif;
}

aside {
	width: 31.25%; /* 300px / 960 * 100 */
	border: 3px solid #16325a;
	text-align: center;
	position: relative;
}

aside h2 {
	color: #a32973;
	font-size: 1.5625em; /*25px / 16*/
	padding-top: 5px;
	padding-bottom: 10px;
	padding-left: 0px;
	padding-right: 0px;
	line-height: 1.5;
	font-family: 'Goudy Bookletter 1911', serif;
}

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

.uppercase{
	text-transform: uppercase;
}

#wrapper-shop{
	background: #f3f3f0;
	width: 100%;
	margin-bottom: 20px;
	padding: 20px;
}

#wrapper-shop h1{
	font-size: 28px;
	text-transform: uppercase;
	color: #a32973;
	text-align: center;
}

#shop-content{
	width: 80%;/* 960px */
	margin: 20px auto;
	display: flex;
	text-align: center;
}

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

.shop-box{
	width: 31.25%; /* 300px / 960px *100 */
	margin-left: 15px;
}

.learn {
	text-decoration: none;
	color: white;
	background-color: #16325a;
	padding: 20px;
	text-transform: uppercase;
}

#shop-content h3 {
	font-size: 1.75em;/*28px / 16*/
	text-transform: uppercase;
	color: #a32973;
	padding: 5px 0;
}

#shop-content p{
	font-size: 0.875em; /*14px / 16*/
	margin-bottom: 20px;
	margin-top: 10px;
	line-height: 1.5;
	font-family: 'Lato', sans-serif;
}

#shop-content a{
	text-decoration: none;
	color: white;
	background-color: #a32973;
	padding: 10px;
}

footer{
	width: 100%;
	background-color: #16325a;
	color: white;
	padding: 20px 0;
}

#footer-content{
	width: 80%; /* 960px */
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: auto;
	margin-right: auto;
	display: flex;
	justify-content: space-between;
}

footer h3{
	color: white;
	font-size: 1em; /*16px / 16*/
	text-transform: uppercase;
}

footer p{
	color: white;
	font-size: 1em; /*16px / 16*/
	text-transform: uppercase;
	opacity: 70%;
	line-height: 1.5;
	font-family: 'Lato', sans-serif;
}

#footer-left{
	
}

#footer-right{
	text-align: right;
}

team img{
	width: 20.83333333333333%; /* 200px / 960px *100 */
	text-align: center;
	display: inline-block;
	margin-left: 15px;
}

.team h3, .shop-box h3{
	
}

.team p, .shop-box p{
	
}

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

/*----------Transition Effects---------*/

aside.book-details {
	opacity:1;
}

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

.mask {
	width: 34.16666666666667%; /* 328px / 960 * 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; /*32px / 16*/
     color: #fff;
     margin-top: 25%;
     opacity: 1;
}

.mask:hover p {
     font-size: 1.25em; /*20px / 16*/
     color: #fff;
     margin-bottom: 40px;
     opacity: 1;
}

.mask:hover.learn {
     background-color: #16325a;
	 font-size: 1.25em; /*20px / 16*/
     color: #fff;
     padding: 16px 34px;
     opacity: 1;
	 text-transform: uppercase;
	 text-decoration: none;
	 text-align: center;
	 font-family: 'Lato', sans-serif;
}

.shop-box img {
opacity: 70%;
	transition:opacity 2s;
}

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

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

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

@media only screen and (max-width: 768px) {
	   /* Media queries for tablets */
    #header-content {
        width: 100%;
        text-align: center;
    }
    
    nav {
        position: relative;
        text-align: center;
        width: 80%;
        display: inline-block;
        margin-top: 10px auto;
    }
    
    #header-content img {
        margin: 0 auto 20px; /* Center logo and add spacing */
        max-width: 100%;
        height: 100px;
        display: block;
    }
    
    #banner {
        height: 200px; /* Reduced height */
    }
	
	#banner img{
        height: 200px; /* Reduced height */
    }
    
    #color-bar h3 {
        font-size: 0.875em; /* Reduced font size */
		padding: 5px 0;
    }
    
	#wrapper-white{
		margin: 10px auto;
	}
	
    section {
        width: 70%; /* Adjusted width */
        margin: 0 auto 20px; /* Centered and added margin */
    }
    
    section h1 {
        font-size: 1.625em; /* Reduced font size */
    }
    
    section p {
        font-size: 0.75em; /* Reduced font size */
    }
    
    aside {
        width: 30%; /* Adjusted width */
		height: 250px;
		margin: 10px 0px;
    }
	
	aside p{
		font-size: 0.75em; 
	}
    
    aside img {
        height: 150px; /* Reduced height */
    }
	
	.mask{
		height: 275px;
	}
	
	.mask:hover h2{
		font-size: 1.375em; /*22px / 16px */
	}
	
	.mask:hover p{
		font-size: 1em; /*16px / 16px */
	}
	
	.mask:hover.learn {
		font-size: 1em;
		padding: 16px 5%;
	}
	
	#wrapper-shop h1{
		font-size: 1.375em; /*22px / 16px */
	}
	
	#shop-content{
		display: block;
	}
	
	#shop-box{
		display: block;
		width: 100%;
		margin: 30px 1.666666666666667%;
		align-content: center;
	}
	
	shop-box img {
        min-width: 100%;
        max-height: 100px; /* Reduced height */
		object-fit: cover;
		object-position: top;
    }
	
	.team {
		display: block;
		width: 100%;
	}
	
	.team img{
		display: block;
		padding-top: 20px;
		margin: 0 auto;
	}
	
	.shop-box h3, .team h3 {
        font-size: 1.375em; /* Reduced font size */
    }
	
	#shop-content .shop-box p {
		margin-bottom: 10px;
	}
	
	.shop-box a {
		width: 100%;
	}
	
	#wrapper-shop h3{
		font-size: 1.375em; /*22px / 16px */
	}
	
    .shop-box, .team {
        width: 90%; /* Adjusted width */
        margin: 0 auto 30px; /* Centered and added margin */
    }
    
    .shop-box a {
        width: 80%; /* Adjusted width */
		
    }
	
	.circle{
		width: 0.9375%; /*9px / 960px*/
		height: 9px;
	}
	
	#slideshow-wrapper, #slideshow {
		height: 225px;
	}

footer h3{
	font-size: 0.75em; /*12px / 16*/
}

footer p{
	font-size: 0.75em; /*12px / 16*/
}		
}
	

@media only all and (max-width: 480px){
	  
    #header-content img {
        height: 50px;
    }
	
    nav {
        width: 100%;
        display: block;
        margin: 0px auto;
		background-color: #a32973;
		padding: 5px 0;
    }
	
	nav a {
		color: #fff;
		display: block;
		border-bottom: 1px solid white;
		padding: 2px 0px;
		text-decoration: none;
	}
	
	nav a:hover {
		color: none;
	}
	
	nav li {
		margin: 0px 0px;
		display: block;
	}
  
    #banner {
        min-height: 150px; /* Reduced height */
    }
	
	#banner img{
        max-height: 150px; /* Reduced height */
		margin-bottom: 0px;
    }
	
	#color-bar h3 {
		font-size: 0.83333333333333em;
	}
    
	#wrapper-white{
		width: 100%;
		display: block;
	}
	
    section, aside {
		display: block;
    }
	
	section{
		width: 90%;
		margin: 0 auto; 
	}
	
	section h1 {
        font-size: 1em; /* Reduced font size */
		text-align: center;
    }
    
    section p {
        font-size: 0.75em; /* Reduced font size */
    }
    
    aside {
        width: 90%; /* Adjusted width */
		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; 
	}

	.shop-box p, .team p {
		margin-bottom: 0px;
	}
	
	.shop-box, .team {
		margin-bottom: 0px;
		padding-bottom: 15px;
	}
	
	.circle{
		height: 4px;
	}
	
	#slideshow-wrapper, #slideshow{
		height: 175px;
	}
	
}