/* cormorant-sc-regular - latin */
@font-face {
    font-display: block;
    font-family: 'Cormorant SC';
    font-style: normal;
    font-weight: normal;
    src: url('/fonts/cormorant-sc-v19-latin-regular.woff2') format('woff2');
}

/* cormorant-sc-700 - latin */
@font-face {
    font-display: swap;
    font-family: 'Cormorant SC';
    font-style: normal;
    font-weight: bold;
    src: url('/fonts/cormorant-sc-v19-latin-700.woff2') format('woff2');
}

h1, h2, h3, h4, h5 {
    font-family: 'Cormorant SC';
}

body {
    margin : 0px;
}

input {
    font-family: 'Serif';
}

textarea {
    font-family: 'Serif';
}

html {
  background: url("/images/gettyBackgroundDesaturated.jpg") no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

#page {
    display: block;
    margin : 0px 30px;
}

#main {
}

#header {
    padding : 25px 5%;
    margin : 0;
    background-color : #4492B1;
    color: #fff;
}

#header-title {
    font-family: 'Cormorant SC';
    font-size: 70px;
    display: grid;
}

#header-banner {
    justify-content: flex-start;
    font-family: 'Cormorant SC';
    display: grid;
    grid-template-columns: 1fr 2fr;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

#header-logo {
    float : left;
}

#header-logo-img {
    height : 80px;
}

#header-nav {
    font-family: 'Cormorant SC';
    display: flex;
    justify-content: space-evenly;
}

.header-nav-item {
    margin : 0px 5px;
}
.header-nav-item:link {
    color: #000;
}

.header-nav-item:visited {
    color: #fff;
}

@media (max-width: 920px) {

    #header-title {
        text-align: center;
    }

    #header-banner {
        justify-content: center;
    }
}

#footer {
    text-align: center;
}


.book-list-contents {
    display: flex;
    flex-wrap: wrap;

}

.book-list-item {
  list-style: none;
  border: 1px solid black;
  border-radius: 5px;
  margin: 12px;
  padding: 10px 10px;
  width: 400px;
  display: grid;
  grid-template-columns: 1fr 1fr ;
  justify-content: space-evenly;
}

.book-list-item-title {
  margin: 0px;
  padding: 0px 0px;
}

.book-list-item-description {
  margin: 0px;
  padding: 0px 0px;
}

.book {
    margin : 0px 0px;
}

.book-details {
    padding: 20px 0px;
    display : flex;
    flex-wrap: wrap;
}

.book-title {
    margin: 0px;
}

.book-about {
    margin : 20px 0px;
    clear: left;
}

.book-details-image {
    margin-right: 30px;
}

.book-details-content {
    min-width: 40%;
    display : grid;
    align-items: start;
    row-gap: 10px;
}

@media (max-width: 750px) {
    .book-details {
        display: grid;
    }

    .book-details-image {
        margin-right: 0px;
    }

    .book-details-content {
        margin-top: 10px;
    }
}

.buynowbutton {
    font-family: 'Cormorant SC';
    font-size: 15px;
    font-weight: bold;
    padding: 8px 15px;
    text-decoration:none;
    border-radius:15px;
    cursor:pointer;
    color: #000;
    outline: 2px solid black;
    background-color: #fff;
}


.buynowbutton:hover {
    background-color: #ccc;
    outline: 2px solid white;
}

.buynowbutton:active {
    background-color: #000;
    color: white;
    outline: 2px solid white;
}

.hr-separator {
    margin : 20px 10%;
}

.slideshow* {box-sizing:border-box}

.slideshow {
    display: flex;
    justify-content: center;
}

/* Slideshow container */
.slideshow-container {
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.slideshow-slide {
    display: none;
    justify-content: center;
}

/* restrict size of the image */
.slideshow-img {
    height: 300px;
}

/* Next & previous buttons */
.slideshow-prev, .slideshow-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: black;
    font-weight: bold;
    font-size: 30px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.slideshow-next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.slideshow-prev:hover, .slideshow-next:hover {
  background-color: rgba(0,0,0,0.4);
}

/* The dots/bullets/indicators */
.slideshow-dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
    outline-color: #fff;
    outline-style: solid;
    outline-width: medium;

}

.slideshow-active, .slideshow-dot:hover {
    outline-color: #000;
    background-color: #fff;
}

/* Fading animation */
.slideshow-fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes slideshow-fade {
  from {opacity: .4}
  to {opacity: 1}
}


/* contact form */
.contact-form {
    display : grid;
    width: 100%;
}

.contact-form-item {
    width: 50%;
    margin-bottom: 20px;
    padding: 5px;
}

.contact-form-label {
    margin: 0;
    margin-left: 5px;
}

.contact-form-message {
    width: 100%;
    min-height: 180px;
}

.contact-form-submit {
    font-family: 'Cormorant SC';
    font-size: 15px;
    font-weight: bold;
    padding: 8px 20px;
    text-decoration:none;
    border-radius:15px;
    cursor:pointer;
    color: #000;
    background-color: #fff;
    border-color: #000;
    border-style: solid;
    margin-right: 0px;
    margin-left: auto;
    width: 160px;
}

.contact-form-submit:hover {
    background-color: #ccc;
    border-color: #fff;
}

.contact-form-submit:active {
    border-color: #fff;
    background-color: #000;
    color: #fff;
}
