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

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

.book{
  border: 4px;
  border-radius: 2px;
  border-color: #000000;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
  margin-bottom: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.book h2{
  padding-bottom: 10px;
}

.book p{

}

.shop-box {
  background-color: #f4f3f0;
  width: 31.25%; /*300px/960px*/
  display: inline-block;
}

.shop-box h3, .team h3{
  color: #a32973;
  font-size: 1.875em; /*30px/16px*/
  line-height: normal;
  font-family: 'Source Serif 4', sans-serif;
}
.shop-box p, .team p {
  padding-bottom: 15px;
}
.shop-box a {
  font-size: 1.25em; /*20px/16px*/
  text-align: center;
  vertical-align: middle;
  padding: 5px 5px 0.52083333%; /*5px960px*/
  display: inline-block;
}

.team{
  width: 20.83333333%; /*200px/960px*/
  text-align: center;
  display: inline-block;
  position: relative;
}

.team:first-of-type {
     margin-right: 12.5%; /*25px/200px*/
}
.team:nth-of-type(2),
.team:nth-of-type(3){
     margin-left: 12%; /*24px/200px*/
     margin-right: 12%; /*24px/200px*/
}
.team:last-of-type {
     margin-left: 12.5%; /*25px/200px*/
}

h1 {
  font-size: 1.8125em; /*29px/16px*/
  text-transform: uppercase;
  color: #a32973;
  text-align: center;
  font-family: 'Source Serif 4', sans-serif;
}

section p {
line-height: normal;
font-size: 0.875em; /*14px/16px*/
margin-top: 10px;
margin-bottom: 10px;
}

a {
  text-align: center;
  text-decoration: none;
  background-color: #a32973;
  color: #ffffff;}

#color-box h3 {
background-color: #16325a;
text-align: center;
font-family: 'Source Serif 4', sans-serif;
}

/*Basic CSS*/

h2{
  color: #a32973;
  padding-bottom: 20px;
  font-family: 'Source Serif 4', sans-serif;
}

header {
  position: relative;
}

header img {
  padding-left: 1.45833333%; /*14px/960px*/
}

section {
  width: 60.41666667%; /*580px/960px*/
}

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

aside a {
  color: #000000;
  background-color: inherit;
}

/*Start of Nav*/

nav {
  float: right;
  position: absolute;
  color: #ffffff;
  top: 80px;
  left: 450px;
  word-spacing: 20px;
}

nav a {
  background-color: #ffffff;
  color: #16325a;
  font-size: 1.25em; /*20px/16px*/
  transition: 0.5s;
}

nav li {
  display: inline;
  background-color: #ffffff;
  font-size: 1em; /*16px/16px*/
}

nav ul {
  text-decoration: none;
  float: right;
}

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

/*Start of the Footer*/

footer {
  background-color: #16325a;
  width: 100%;
  position: absolute;
  clear: both;
  overflow: hidden;
  padding-top: 20px;
  padding-bottom: 20px;
}

footer h3 {
  font-size: 1em; /*16px/16px*/
  color: #ffffff;
  text-transform: uppercase;
  font-family: 'Source Serif 4', sans-serif;
}

footer p {
  font-size: 1em; /*16px/16px*/
  color: #ffffff;
  opacity: 70%;
  }

table {
  background-color: #d4d4d4;
  border: solid #000000 2px;
  margin-left: auto;
  margin-right: auto;
  width: 270px;
  border-radius: 5%;

}

td {
  border: solid #000000 2px;
  padding: 3px;
  width: 200px;
  text-align: center;
  vertical-align: middle;
}

th {
  background-color: #16325a;
  color: #ffffff;
  padding-top: 10px;
  padding-bottom: 10px;
}

input {
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
  vertical-align: middle;
}

#footer-right {
  vertical-align: middle;
  float: right;
  padding-right: 2.08333333%; /*20px/960px*/
}

#footer-left {
  vertical-align: middle;
  float: left;
  padding-left: 2.08333333%; /*20px/960px*/
}

#footer-right h3 {
  text-align: right;
  font-family: 'Source Serif 4', sans-serif;
}

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

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

#footer-content {
  width: 100%;  /*960px/960px*/
  margin-left: auto;
  margin-right: auto;
}

/*Start of the Main Body*/

#shop-content {
  background-color: #f4f3f0;
  margin-left: auto;
  margin-right: auto;
  width: 100%;  /*960px/960px*/
}

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

#wrapper-shop {
background-color: #f4f3f0;
padding-top: 70px;
padding-bottom: 50px;
margin-left: auto;
margin-right: auto;
width: 100%;
text-align: center;
justify-content: center;
position: relative;
}

#wraper-shop a {
  position: relative;
}

#wrapper-white {
background-color: #ffffff;
display: flex;
padding-top: 50px;
padding-left: 115px;
padding-right: 7.8125%; /*75px/960px*/
padding-bottom: 5.20833333%; /*50px/960px*/
position: relative;
margin-left: auto;
margin-right: auto;
text-align: left;
height: 300px;
}

#color-bar {
background-color: #a32973;
text-align: center;
color: #ffffff;
height: 30px;
padding-top: 15px;
width: 100%
}

/* Head Content */

#header-content {
  text-align: left;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  width: 100%;  /*960px/960px*/
}

.book-details {
  outline-style: solid;
  outline-offset: 10px;
  text-align: center;
  margin-left: 11.76470589%; /*40px/340px*/
  margin-right: 11.76470589%; /*40px/340px*/
  margin-bottom: 100px;
  font-size: 1.84020835em; /*Use online PT to EM converter*/
  text-overflow: clip;
  clear: both;
  display: inline-block;
  white-space: nowrap;
}

.shop-box a {
  border-radius: 5px;
}

/*Effects*/

aside .book-details {
  opacity: 0;
}

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

.mask {
     width: 34.16666667%; /*328px/960px*/
     height: 334px;
     position: absolute;
     top: 0;
     left: 0;
     text-align: center;
     background-color: #a32973;
     opacity: 0;
     transition: linear 2s;
}

.mask p {
  text-align: center;
}

.mask:hover {
     opacity: 1;
}

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

.mask:hover h2 {
  font-size: 2em; /*32px/16px*/
  color: #ffffff;
  opacity: 1;
  margin-top: 25%;
}

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

.mask:hover .learn {
  background-color: #16325a;
  color: #ffffff;
  font-family: Lato, Helvetica, sans-serif;
  font-size: 1.25em; /*20px/16px*/
  opacity: 1;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  padding: 16px 3.54166667%; /*34px/960px*/
}

.shop-box img {
  opacity: 70%;
  transition: 2s;
  border-radius: 3px;
}

.shop-box img:hover{
  opacity: 100%;
  transform: scale(1.1);
}

/*Slideshow*/

#slideshow-wrapper{
  width: 100%;
  height: 100%;
}

#slideshow {
  width: 100%;
  height: 100%;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 0;
}

#slideshow img {
width: 100%;
height: 100%;
display: inline-block;
}

#circle-nav {
  text-align: center;
}

.circle {
  display: inline-block;
  background-color: lightgrey;
  width: 12px; /*1.25%*/
  height: 12px;
  border-radius: 50%;
  margin-right: 15px;
  z-index: 2;
  position: relative;
}

@media only screen and (max-width: 1024px) {
  #header-content img {
    text-align: center;
  }

  nav {
    float: none;
  }

  #slideshow {
    max-height: 300px;
  }

  .circle {
    width: 9px;
  }

  h1 {
    font-size: 1.375em; /*22px/16px*/
  }

  h2 {
    font-size: 1em;
  }



}

@media only all and (max-width: 480px) {
  #header-content img {
    text-align: center;
  }

  #slideshow {
    max-height: 200px;
  }

  section {
    width: 100%;
    float: none;
  }

  aside {
    width: 90%;
    float: none;
    text-align: center;
  }
}
