@charset "UTF-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Goudy+Bookletter+1911&family=Lato&display=swap');
/* .lato-regular {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
  } */
 /* .goudy-bookletter 1911-regular {
    font-family: "Goudy Bookletter 1911", serif;
    font-weight: 400;
    font-style: normal;
  } */  
header{width: 100%; }

#header-content{max-width: 96%; /* 960 / 1000 */
  margin:0 auto;position:relative; }

nav{position:absolute ; bottom: 20px; right:12.5%;  /* 120 / 960 */
  background-color: white; 
  font-family: "Goudy Bookletter 1911", serif;}

nav li {display: inline-block;padding:10px 2.08333333%;} /* 20 / 960 */

nav a {text-decoration: none;}

nav a:hover {background-color: #16325a; color: white;padding: 10px 2.08333333%;} /* 20 / 960 */

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

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

#wrapper-white{margin:20px auto; text-align: center; width:96%; /* 960 / 1000 */
  display: flex;}

section{width: 60.416667%; /* 580 / 960 */
  text-align: center; margin:1.041667%} /* 10 / 960 */

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

section p{font-size:1em; /* 16/16 */
   line-height: 1.5; margin-top: 10px; text-align: left;
  padding:10 1.724138%; /* 10 / 580 */
  font-family: "Lato", sans-serif;}

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

aside h2{color: #a32973;font-size: 1.5625em; /* 25/16 */
  padding:10px 0; margin-bottom: 10px;
  font-family: "Goudy Bookletter 1911", serif; }

.uppercase{text-transform: uppercase;}

#wrapper-shop{background-color: #f4f3f0;  margin-bottom:20px; padding:30px 3%; /* 30 / 1000*/}

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

#shop-content{margin:0 auto; width:96%; /* 960 / 1000 */
  display:flex;text-align: center;}

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

#shop-content h3,.team h3 {color: #a32973; font-size: 1.75em; /* 28 / 16 */
   text-transform: uppercase;padding:5px 0;font-family: "Goudy Bookletter 1911", serif;}

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

#shop-content a{color:white; background-color: #a32973; text-decoration:none; padding:5px 0.520833%; /* 5 / 960 */}



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

#footer-content{ text-align: center;align-content: center;margin: 0px auto; 
  width: 96%; /* 960 / 1000 */
  display:flex; justify-content: space-between;}

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

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

footer h3 {color: white; font-size: 1em; /* 16 / 16 */
  text-transform: uppercase;
  font-family: "Goudy Bookletter 1911", serif; }

footer p{color:white; font-size: 1em;  /* 16 / 16 */
  line-height: 1.5;font-family: "Lato", sans-serif; }

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


aside .book-details {
  opacity: 1;
}

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

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

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

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

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

/* case study 3 new styles*/

#shop-content h1{
  text-transform: uppercase;
  color: #a32973;
  font-family: "Goudy Bookletter 1911", serif;
  text-align: center;
  font-size: 2em; /* 32 / 16 */
  margin-top: 0; margin-right: 0; margin-bottom: 28px; margin-left: 0;
}

.team{
  width:20.833333%; /* 200 / 960 */
  text-align: center;
  display: inline-block;
}

.team:first-of-type {
  margin-right: 2.604167%; /* 25 / 960 */
}
.team:nth-of-type(2),
.team:nth-of-type(3){
  margin-left: 2.5%; /* 24 / 960 */
  margin-right: 2.5%; /* 24 / 960 */
}
.team:last-of-type {
  margin-left: 2.604167%; /* 25 / 960 */
}

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

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

/*table*/

table {
  border-collapse:separate; width:400px; margin:0 auto; background-color: #fff;border: 1px solid black; border-radius: 10px;
}
table tr:first-child th:first-child{border-top-left-radius:10px}
/* top-right border-radius */
table tr:first-child th:last-child {
  border-top-right-radius: 10px;
}

/* bottom-left border-radius */
table tr:last-child td:first-child {
  border-bottom-left-radius: 10px;
}

/* bottom-right border-radius */
table tr:last-child td:last-child {
  border-bottom-right-radius: 10px;
}
th {
  background-color: #16325a;
  color: white;
}
.rightalign{text-align: right;font-weight: normal;}

#table-content{margin:0 auto;}

#table-content h1{text-align: center;text-transform: uppercase;
  color: #a32973;
  font-family: "Goudy Bookletter 1911", serif;}
  #table-content h2{text-align: center;text-transform: uppercase;
    color: #a32973;
    font-family: "Goudy Bookletter 1911", serif;}

/* media cs 4 */

@media only screen and (max-width: 1024px)
 {
  #header-content{width:100%; text-align: center;}
#header-content img{height:100px; }
nav {position: relative;width: 80%; margin: 10px auto;right:0;bottom:0;text-align: center;}
#banner img {height:200px;}
#banner{height:200px;}
#colorbar h3{font-size: .875em;padding: 5px 0;}
#wrapper-white{margin:10px auto;}
#section h1{font-size: 1.625em;}
#section p{font-size: 0.75em;}
#section{width:60%;}
#aside{width:40%;height:250px;margin:0px;}
#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:16px 5%;}
#slideshow, #slideshow-content {height: 225px;}
.circle {max-height:9px;}
h1 {font-size: 1.375em;} /* 22px / 16 */
#wrapper-shop h1{font-size: 1.375em;margin: 0 0 28px 0}
#shop-content{display: block;}
.shop-box{display: block;width: 100%; margin:30px 1.666666666667%;}
.shop-box img{max-height:100px; object-fit: cover;min-width: 100%;
  object-position: top;}
.team{display: block;width:100%; margin-bottom:40px;}
.team img{display:inline-block;}
.shop-box h3, .team h3{font-size: 1.375em;}
#shop-content, .shop-box p{margin-bottom:10px;}
.shop-box a{width:80%;}
#footer-content h3, aside p{font-size: 1em;}
#color-bar{margin-top: 0;}

}

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