@charset "UTF-8";
/* CSS Document */

@import url('https://fonts.googleapis.com/css2?family=Goudy+Bookletter+1911&family=Lato&display=swap');

/* .goudy-bookletter 1911-regular {
  font-family: "Goudy Bookletter 1911", serif;
  font-weight: 400;
  font-style: normal;
}

.lato-regular {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
}

*/
	
header {
	length: 960px;
	margin: 0 auto;
	position: relative;
}

nav {
	position: absolute;
	bottom: 20px;
	right: 15.625%;
	
}

nav li {
	display: inline-block;
	
}

nav a{
	padding: 5px 20%;
	text-decoration: none;
	color: #16325A;
	font-family: "Goudy Bookletter 1911", serif;
	
}

nav a:hover {
	background-color: #16325A;
	color: #FFFFFF;
}

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

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

#wrapper-white {
	width: 90%;
	margin: 40px auto;
	display: flex;
}

section {
	width: 52.083%;
	padding: 10px 1%;
}

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;
	margin-top: 15px;
	font-family: "Lato", sans-serif;
}


.mask {
	width: 109%;
	height: 364px;
	position: absolute;
	top: 0;
	left: 0;
	text-align: center;
	background-color: #A32973;
	opacity: 0;
	transition: linear 2s;
}
aside{
	width: 31.2%;
	border: 3px solid #16325A;
	padding: 10px 1%;
	position: relative;
}

aside p {
    width: 90%;
    margin: 20px auto;
    text-align:center;
	font-weight: bold;
} 

aside .book-details {
	opacity: 1;
}

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


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

.uppercase {
	text-transform: uppercase;
}

aside img {
	display: block;
	margin: 0px auto;
	padding: 10px 1%;
}

#wrapper-shop {
	width: 100%;
	background-color: #F4F3F0;
	padding: 50px 0px;
	
}

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

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

#wrapper-shop h3, .team h3 {
	color: #A32973;
	text-transform: uppercase;
	padding: 10px 1%;
	font-size: 1.75em;
	font-family: "Goudy Bookletter 1911", serif;
}

#shop-content p, .team p{
	text-align: center;
	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: #A32972;
	color: #FFFFFF;
	font-size: 0.875em;
	padding: 5px 1%;
	
	
}

footer{
	background-color: #16325A;
	color: #FFFFFF;
	padding: 20px 0;
}

#footer-content{
	width: 94%;
    margin: 0 auto;
	display: flex;
}

#footer-left{
    width: 40%;
}

#footer-right {
	width: 40%;
	margin-left: 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;
}


.mask h2, .mask p, .mask .learn {
	opacity: 0;
}

.mask:hover h2{
	font-size: 2em;
	color: #FFFFFF;
	margin-top: 25%;
	opacity: 1;
}

.mask:hover p{
	font-size: 1.25em;
	color: #FFFFFF;
	margin-bottom: 40px;
	opacity: 1;
}

.mask:hover .learn{
	background-color: #16325A;
	color: #FFFFFF;
	font-family: "Lato", sans-serif;
	font-size: 1.25em;
	opacity: 1;
	text-transform: uppercase;
	text-align: center;
	text-decoration: none;
	padding: 16 10%;
}


#shop-content h1{
	text-transform: uppercase;
	color: #A32972;
	font-family: "Goudy Bookletter 1911", serif;
	text-align: center;
	font-size: 2em;
	margin: 0 0 28 0;
}

.team {width: 20.8%;
text-align: center;
display: inline-block;}

.team:first-of-type {
     margin-right: 25px;
}
.team:nth-of-type(2),
.team:nth-of-type(3){
     margin-left: 2.5%;
     margin-right: 2.5%;
}
.team:last-of-type {
     margin-left: 25px;
}

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

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




@media only screen and (max-width: 1024px) {
	#header-content {
		width: 100%;
		text-align: center;}
	
	#header-content img {
		height: 100px;}
	
	nav {
	width: 80%;
	position: relative;
	bottom: 0;
	right: 0;
	margin: 10px auto;}
	
	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%;
	margin: 10px 0px;
	height: 250px;}
	
	aside p {
	font-size: 0.75em;}
	
	aside img {
	height: 150px;}
	
	.mask {
		height: 275px;}
	.mask:hover h2 {
		font-size: 1.375em;}
	.mask:hover p {
		font-size: 1em;}
	.mask:hover .learn{
	font-size: 1em;
	padding: 16 5%;}
	
	#wrapper-shop h1 {
	font-size: 1.35em;
	margin: 0 0 28 0;}
	
	#shop-content { 
	display: block;}
	
	.shop-box {
	display: block;
	width: 100%;
	margin: 30px 1.666666666667%;}
	
	.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: 100%;}
	
	.shop-box img {
	min-width: 100%;
	max-height: 100px;
	object-fit: cover;
	object-position: top;}
	
	.shop-box a {
	width: 80%;}
	
	.circle {
	width: 0.9375%;
	height: 9px;}
	
	#slideshow-wrapper, #slideshow {
	height: 225px;}
	
	#footer-content h3 {
	font-size: 0.75em;}
	
	#footer-content p { 
	font-size: 0.75em;}
	
}




@media only screen 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 {
		max-height: 150px;
	}
	#banner img {
		height: 150px;
		margin-bottom: 0px;
	}
	#color-bar h3 {
		font-size: 0.8333333em;
	}
	#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: 5px auto;
		
	}
	footer {
		text-align: center;
		margin: 0px;
	}
	#footer-content{
		display: block;
	}
	#footer-left {
		width: 80%;
		padding: 0;
		margin: auto;
		font-size: 0.83333em;
	}
	#footer-right {
		float: none;
		display: block;
		text-align-last: center;
		width: 80%;
		margin: 0 auto;
		font-size: 0.83333em;
	}
	.circle {
	height: 4px;}
	#slideshow-wrapper, #slideshow {
	height: 175px;}
	

	
}
