@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: 10px;
	padding-bottom: 10px;
	padding-left: 0px;
	padding-right: 0px;
	font-family: 'Goudy Bookletter 1911', serif;
}

.uppercase{
	text-transform: uppercase;
}

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

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

#order_summary {
	width: 30%;
	border-collapse: collapse;
	border-radius: 10px;
	overflow: hidden;
}

#order_summary th, #order_summary td {
	border: 1px solid #16325a;
	padding: 8px;
	text-align: center;
}

#order_summary td {
	background-color: #fff;
}

#order_summary th {
	background-color: #16325a;
	color: #fff;
}

.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 h2 {
	font-size: 1.75em;/*28px / 16*/
	text-transform: uppercase;
	color: #a32973;
	padding: 5px 0;
}

#shop-content h3 {
	font-size: 0.875em;/*14px / 16*/
	color: #a32973;
	padding: 5px 0;
	text-align: left;
}

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

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

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

@media only screen and (max-width: 768px) {
	
	#header-content{
		width:100%;
		text-align: center;
	}
	
	nav {
		position: relative;
		text-align: center;
		width: 100%;
		display: inline-block;
		bottom: 0;
		right: 0;
		margin-top: 20px;
		margin-left: auto;
		margin-right: auto;
	}
	
	#header-content img{
		margin: 0px auto;
		max-width: 100%;
		height: auto;
		display: block;
	}
	
	#banner{
		height: 200px;
	}
	
	#banner img {
		height: 200px;
	}
	
	#color-bar h3{
		font-size: 0.875em;
		padding: 5px 0;
	}
	
	#wrapper-white{
		margin: 10px auto;
	}
	
	section{
		width: 70%;
	}
	
	section h1{
		font-size: 1.625em;
	}
	
	section p{
		font-size: 0.75em;
	}
	
	aside{
		width: 30%;
		height: 250px;
		margin: 10px 0px;
	}
	
	aside img{
		height: 150px;
	}
	
	.mask{
		height: 270px; 
	}
	
	.mask:hover h2 {
		font-size: 1.25em;
	}
	
	.mask:hover p {
		font-size: 1em;
	}
	
	.mask:hover.learn{
		font-size: 1em; 
		padding: 16px 5%;
	}
	
	#wrapper-shop h1{
		font-size: 1.375em;
		margin: 0px 0px 28px 0px;
				
	}
	
	#shop-content{
		display: block;
	}
	
	.shop-box{
		display: block;
		width: 100%;
		margin: 30px 1.6666666666666667%;
	}
	
	.shop-box img {
		min-width: 100%;
		max-height: 100px;
		object-fit: cover;
		object-position: top;
	}
	
	.team{
		display: block;
		width: 100%;
		margin-bottom: 40px;
	}
	
	.shop-box h3, .team h3{
		font-size: 1.375em;
	}
	
	#shop-content, .shop-box p{
		margin-bottom: 10px;
	}
	
	.shop-box a{
		width: 80%;
	}
	
}

@media only all and (max-width: 480px){
	
	#header-content img{
		height: 50px;
	}
	
	nav {
		width: 100%;
		margin: 0px auto;
		background-color: #a32973;
	}
	
	nav a {
		color: #fff;
		display: block;
		border-bottom: 1px solid white;
		padding: 2px 0px;
	}
	
	nav a:hover {
		color:none;
	}
	
	nav li {
		margin: 0px;
	}
	
	#banner{
		min-height: 150px;
	}
	
	#banner img{
		height:150px;
		margin-bottom:0px;
	}
	
	#color-bar h3{
		font-size: 0.8333333333333333em;
	}
	
	#wrapper-white {
		width: 100%;
		display: block;
	}
	
	section, aside{
		display: block;
	}
	
	section {
		width: 90%;
		margin: 0 auto;
	}
	
	section h1{
		font-size: 1em;
		text-align: center;
	}
	
	aside{
		width: 90%;
		margin: 5 auto;
	}
	
	footer{
		text-align: center;
		margin: 0px;
	}
	
	#footer-content{
		display: block;
	}
	
	#footer-left{
		width: 80%;
		margin: 0 auto;
		padding: 0;
		font-size: 0.8333333333333333333;
	}
	
	#footer-right{
		float: none;
		display: block;
		text-align: center;
		width: 80%;
		margin: 0 auto;
		font-size: 0.8333333333333333333;
	}
}












