@charset "UTF-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Goudy+Bookletter+1911&family=Lato&display=swap');
body {
  background-color: #fff;
}
#header-content {
  position: relative;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}
#header-content img {
  margin: 1.0416666666666667%;
}
nav {
  width: 76.0416666667%;
  position: absolute;
  bottom: 18px;
  right: 0;
}
nav ul {
  display: block;
  text-align: right;
  list-style-type: none;
}
nav li {
  display: inline-block;
  font-family: 'Goudy Bookletter 1911', serif;
  font-size: 1.25em;
  color: #16325a;
  padding: 0 3.125%;
  text-align: left;
}
nav li:last-child {
  padding-right: 0;
}
nav a:link {
  text-decoration: none;
  color: #16325a;
  padding: 10px 2.0833333333%;
}
nav a:hover {
  background-color: #16325a;
  color: #fff;
  padding: 10px 2.0833333333%;
}

#banner img {
  height: 441px;
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
}
#color-bar {
  background-color: #a32973;
}
#color-bar h3 {
  font-size: 1em;
  color: white;
  padding: 10px 0px;
  text-align: center;
  font-family: 'Lato', sans-serif;
}
#wrapper-white {
  width: 90%;
  display: flex;
  margin: 40px auto;
}
section {
  width: 52.0833333333333%;
}
section h1 {
  font-size: 2.25em;
  font-family: 'Goudy Bookletter 1911', serif;
  color: #a32973;
  text-transform: uppercase;
}
section p {
  font-size: 1em;
  font-family: 'Lato', sans-serif;
  line-height: 1.5;
  margin: 10px .520833333333333%;
}
aside {
  width: 31.25%;
  height: 300px;
  border: 3px solid #16325a;
  margin-left: 4.1666666666667%;
  position: relative;
}
aside h2 {
  text-align: center;
  font-family: 'Goudy Bookletter 1911', serif;
  margin: 20px 6.66666666666667%;
  color: #a32973;
  text-transform: uppercase;
}
.books-table {
  width: 65%;
  margin-left: auto;
  margin-right: auto;
}
.uppercase {
  text-transform: uppercase;
}
aside img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
#wrapper-shop {
  background-color: #f4f3f0;
  width: 100%;
}
#wrapper-shop h1 {
  text-transform: uppercase;
  color: #a32973;
  text-align: center;
  font-family: 'Goudy Bookletter 1911', serif;
  font-size: 2em;
  margin: 0px 0px 28px 0px;
}
#shop-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
}
#shop-content h2 {
  font-family: 'Goudy Bookletter 1911', serif;
  margin: 20px 6.66666666666667%;
  color: #a32973;
}
.shop-box {
  display: inline;
  width: 31.25%;
  margin: 50px 1.666666666666667%;
  text-align: center;
}
.team {
  display: inline;
  width: 20.8333333333333333%;
  text-align: center;
  margin-bottom: 60px;
}
.shop-box h3, .team h3 {
  font-size: 1.75em;
  text-transform: uppercase;
  color: #a32973;
  margin: 10px 0px;
}
#shop-content .shop-box p {
  margin: 10px 0px 30px 0px;
  line-height: 1.5;
  font-family: 'Lato', sans-serif;
  font-size: 0.875em;
}
.shop-box a {
  display: block;
  background-color: #a32973;
  color: white;
  text-decoration: none;
  padding: 10px 6.66666666666%;
  margin: 0 auto;
  width: 53.3333333333%;
}
footer {
  background-color: #16325a;
  font-family: 'Lato', sans-serif;
  padding: 20px 0px;
}
#footer-content {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
}
#footer-content h3 {
  font-size: 1em;
  color: white;
  text-transform: uppercase;
}
#footer-content p {
  font-size: 1em;
  color: white;
  opacity: 70%;
  padding-bottom: 10px;
  line-height: 1.5;
}
#footer-left {
  display: inline-block;
  color: #fff;
}
#footer-right {
  display: inline-block;
  color: #fff;
  text-align: right;
  margin-left: 50%;
}
aside .book-details {
  opacity: 1;
}
aside .book-details:hover {
  opacity: 0;
  transition: linear 1s;
}
.mask {
  width: 109.333333333333333%;
  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: white;
  opacity: 1;
  margin-top: 25%;
}
.mask:hover p {
  font-size: 1.25em;
  color: white;
  opacity: 1;
  margin-bottom: 40px;
}
.mask:hover .learn {
  background-color: #16325a;
  color: white;
  font-family: 'Lato', sans-serif;
  font-size: 1.25em;
  opacity: 1;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  padding: 16px 10.36585365853659%;
}
.shop-box img {
  opacity: .75;
}
.shop-box img:hover {
  transition: opacity 2s;
  opacity: 1;
}
.team:first-of-type {
  margin-right: 2.604166666666667%;
}
.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.604166666666667%;
}
.formatp {
  font-family: 'Lato', sans-serif;
  margin-bottom: 50px;
}
#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%;
  height: 12px;
  border-radius: 50%;
  margin-right: 10px;
}
#circle-nav {
  margin-top: -50px;
  text-align: center;
}
.centerbold {
  font-weight: bold;
  text-align: center;
  line-height: 1.5;
}
#shop-content.ordersummary {
  display: block;
}
.rightalign {
  text-align: right;
}
.leftalign {
  text-align: left;
  text-transform: none;
}
table {
  border-collapse: separate;
  width: 400px;
  margin: 20px 0;
  background-color: #fff;
}
#shop-content h1 {
  padding-top: 30px;
}
table tr th, table tr td {
  border-right: 3px solid #16325a;
  border-bottom: 3px solid #16325a;
  font-size: 1em;
  font-weight: 300px;
  color: #000;
  font-family: 'Lato', sans-serif;
  text-align: center;
  padding: 10px;
}
table tr th:first-child, table tr td:first-child {
  border-left: 2px solid #16325a;
}
table tr th {
  background: #16325a;
  border-top: 1px solid #16325a;
  text-align: left;
}
table tr:first-child th:first-child {
  border-top-left-radius: 10px;
}
table tr:first-child th:last-child {
  border-top-right-radius: 10px;
}
table tr:last-child td:first-child {
  border-bottom-left-radius: 10px;
}
table tr:last-child td:last-child {
  border-bottom-right-radius: 10px;
}
table tr th {
  background-color: #16325a;
  font-weight: bold;
  color: #fff;
}

.book-card {
  width: 250px;
  padding: 1rem;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 12px;
  background-color: #f9f9f9;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
}

.book-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.book-card h2 {
  font-size: 1.2rem;
  margin: 0.5rem 0;
}

.book-card h3 {
  font-size: 1rem;
  color: #666;
}

.out-of-stock {
  color: red;
  font-weight: bold;
}

.clearfix {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}