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

@import url('https://fonts.googleapis.com/css2?family=Goudy+Bookletter+1911&family=Lato&display=swap');
/* font-family: 'Lato', sans-serif;
  font-family: 'Goudy Bookletter 1911', serif;*/
header {width: 960px;
margin:0 auto; position: relative;}

nav {position: absolute;
	bottom: 20px;
	right: 31.25%; /* 300px / 960px */;
	
	}

nav li {display: inline-block;}
nav a {padding: 5px 2.08% /* 20 px/960px */; text-decoration: none; color: #16325a;}

nav a:hover {background-color: #16325a;
color: #fff; font-family: 'Goudy Bookletter 1911', serif;}

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

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

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

section {width: 60.41%; padding: 10px 1.04%;} /* 580px/960px */
section h1 {font-size: 2.25em; /* 36px/16px = 2.25em */
	color: #a32973; text-transform: uppercase; font-family: 'Goudy Bookletter 1911', serif;}
section p {font-size: 1em;/*16px/16px*/
	line-height: 1.5; margin-top: 15px; font-family: 'Lato', sans-serif;}

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

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

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

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

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

#shop-content {width: 960px; margin: 0 auto; text-align: center;}

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

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

.shop-box a {display: block; width: 70%;
	background-color: #a32973; color: #fff;
	text-align: center; text-decoration: none;
	margin: 15px auto 40px auto;
	padding: 12px 0; margin-top: 15px;
	font-family: 'Lato', sans-serif;}

.shop-box p,.team p {line-height: 1.5; font-size: .875em; margin: 10px 0 20px 0; font-family: 'Lato', sans-serif;}

.team {width: 20.83% /*200px/960px*/; text-align: center; display: inline-block; vertical-align: top;}
/*pseudo class spacing between columns*/
.team:first-of-type {
     margin-right: 2.6% /*25px/960px*/;
}
.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.6%;
}

footer {background-color: #16325a; color: #fff; padding: 20px 0;}
#footer-content {width: 960px; margin: 0 auto; display: flex;}

#footer-left {width: 40%;}
#footer-right {width: 40%; margin-left: 31.25% /*300px/960px*/; 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;}

/* ----- TRANSITION EFFECTS ---- */

aside.book-details {opacity: 1;}

.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; color: #fff; margin-top: 25%; opacity: 1;}

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

.mask:hover .learn {background-color: #16325a;
	color: #fff;
	font-family: Lato; font-size: 1.25em;
	opacity: 1;
	text-transform: uppercase; text-align: center;
	text-decoration: none; padding: 16px 10.36%;}

/* --------- 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: 1.56%;}
#circle-nav {margin-top: -50px; text-align: center;}

/*------media query---tablet-------*/

@media only screen and (max-width: 1024px){
	/*reset containers */
	header, 
    #wrapper-white, 
    #shop-content, 
    #footer-content {width: 100%; padding-left: 2.08%; padding-right: 2.08%; box-sizing: border-box;}
	
	header {width: 100%; text-align: center; display: block;}
	#header-content img {display: block; margin: 0 auto 15px auto;}
	nav {
        position: relative; bottom: auto; right: auto; width: 100%; text-align: center;}
	
	#banner, #slideshow-wrapper, #slideshow {height: 300px;}
	#color-bar h3 {font-size: 0.85em;}
	section h1 {font-size: 1.75em;}
	
	#wrapper-white {flex-direction: column; width: 95%;}
	section, aside {width: 95.83%; margin: 10px auto; float: none;}
	
	#shop-content {width: 100%;}

    .shop-box {width: 90%; margin: 0 auto 40px auto; display: block;}

    .shop-box img {width: 100%; height: 250px; object-fit: cover; opacity: 0.6; display: block;}

   
    .shop-box h3 {margin-top: -45px; position: relative; z-index: 10; background-color: #f4f3f0;}

    .shop-box p {padding: 0 10%; position: relative; z-index: 10;}
	
	.circle {width: 9px; height: 9px;}
	
	
}

/*----media query-----smartphone-----*/

	@media only all and (max-width: 480px){
/*reset containers*/
header, 
#shop-content, 
#footer-content {box-sizing: border-box; width: 100%;}
		
#header-content img {width: 70%; margin: 0 auto; display: block;}
	
	nav {margin-top: 15px; padding: 0;}
    nav ul {padding: 0; margin: 0;}
	nav li {display: block; border-top: 1px solid #fff;}
	nav a {display: block; background-color: #a32973; color: #fff; padding: 12px 0;
		font-family: 'Goudy Bookletter 1911', serif; font-size: 1.2em;}
	
	#banner, #slideshow-wrapper, #slideshow {height: 200px;}	
	#wrapper-white {padding: 0 5%; width: 90%;}
	
	section {width: 100%; padding: 10px 0;}

    aside {width: 90%; margin: 20px auto; padding: 20px 5%;}
	
	.shop-box img {height: 120px;}
	.shop-box h3 {margin-top: -30px;}
    .shop-box a {width: 100%;}
	
	.team {margin-bottom: 30px;}
	.team img {width: 60%; opacity: 1;}

    #footer-content {display: block; padding: 0 5%;}
    #footer-left, #footer-right {display: block; width: 100%; margin: 0; padding: 0; text-align: center;}
    #footer-left {padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid #fff;}
		
}
	