@charset "UTF-8";
/* CSS Document */
/* Assignment 1 Css Start*/

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

nav,h1,h2,h3{font-family: 'Goudy Bookletter 1911', serif;}
p {font-family: 'Lato', sans-serif;}


header { width:100%; }

#header-content {margin: 0 auto;
  width: 960px;
  padding: 10px;position:relative; }
nav {
	position:absolute; 
	bottom: 20px; 
	right:120px; 
}
nav li {display:inline-block;padding:10px 20px;}
nav a {text-decoration: none;}
nav a:hover  {background-color: #16325a;}
section {width:580px;}
section h1 {
  font-size: 36px;
  color: #a32973; /* Changed from font-color to color */
  text-transform: uppercase;
  padding: 10px 0;
}
section p {
  font-size: 16px;
  color: #000; /* Changed from font-color to color */
  line-height: 1.5;
  margin-top: 10px;
  padding: 10px;
}
aside {width:300px; border-width:3px; border-color:#16325a; border-style:solid; text-align: center; position: relative;}
aside h2 {color:#a32973; font-size: 25px; padding: 10px 0;}
#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;}
#wrapper-white {width:960px; margin: 0 auto; display:flex;}
#wrapper-shop {background-color:#f4f3f0;width:100%; margin-bottom:20px; padding:30px;}
#shop-content {width:960px; margin: 0 auto; display:flex; text-align:center;}
#shop-content h3 {font-size: 28px; text-transform:uppercase;color:#a32973; padding: 5px 0; }
#shop-content p {font-size: 14px; margin-bottom: 20px; padding:10px;line-height: 1.5; }
#shop-content a {text-decoration:none; color: #fff; background-color:#a32973;padding:5px;}
.shop-box {width:300px;margin-left:15px;}
footer{background-color:#16325a;margin:0 auto; width:100%; alignment:center; color:white; padding: 20px 0;}
footer h3 { font-size:16px; font-color:white;text-transform:uppercase;}
footer p { font-size:16px; font-color:white;opacity: 70%; line-height: 1.5; }
#footer-content {width:960px; margin:0 auto; display:flex; justify-content: space-between;}
#footer-left {text-align:left;}
#footer-right {text-align:right;}
.book-details {}
.uppercase {text-transform:uppercase;}

/* Assignment 2 transitions below */
aside .book-details {
     opacity: 1;
}
aside .book-details:hover {
     opacity: 0;
     transition: linear 1s;
}
.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: 32px;
     color: #fff;
     margin-top: 25%;
     opacity: 1;
}
.mask:hover p {
  font-size: 20px;
  color: white; /* Changed from font-color to color */
  margin-bottom: 40px;
  opacity: 1;
}
.mask:hover .learn {
  background-color: #16325a;
  color: white; /* Changed from font-color to color */
  font-family: 'Lato';
  font-size: 20px;
  opacity: 1;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  padding-top: 16px;
  padding-bottom: 16px;
  padding-left: 34px;
  padding-right: 34px;
}









