.shipping,
.login,
.search-bar {
  font-family: "radley", serif;
}

.shipping,
.logo {
  color: #735b58;
}

.shipping {
  background-color: #eee8da;
  border: solid #eee8da 3px;
  font-size: 15px;
  margin-top: 0px;
  text-align: center;
}

.header {
  align-items: center;
  border-bottom: 1px solid #776e5945;
  display: flex;
  padding: 0 80px;
  min-height: 100px;
  background-color: #ffffff;
}

nav {
  display: flex;
  justify-content: end;
}

.logo {
  font-size: 25px;
}

.logo:hover {
  color: #DA6457;
  transition: 1s;
}

.nav-item,
.search-bar input {
  font-size: 17px;
  font-family: "radley", serif;
}

/* Style the links inside the navigation bar */
.nav-item,
.logo {
  margin-left: 20px;
  padding: 14px 16px;
  text-align: center;
  text-decoration: none;
}

.nav-item {
  color: #d07e75;
}

/* Change the color of links on hover */
.nav-item:hover,
.cart {
  color: #da6457;
}

.logo {
  display: flex;
  font-family: "yeseva one", serif;
  letter-spacing: 3px;
  margin-left: 0;
  text-transform: uppercase;
  width: 100%;
}

.hidden {
  display: none;
}

/* Style the search box inside the navigation bar */
.search-bar {
  align-items: center;
  border: solid 2px #eee8da;
  border-radius: 50px;
  color: #eee8da;
  display: flex;
  padding: 6px;
  width: 100%;
}

.search-bar input,
button {
  border: none;
}

.search-bar input:focus {
  outline: none; 
  color: #d07e75;
  opacity: 70%;
}

.nav-cart-container {
  align-items: center;
  display: flex;
  justify-content: end;
  width: 100%;
}

.cart {
  background-color: #ffffff;
  display: flex;
  justify-content: end;
  margin-left: 30px;
  padding-right: 30px;
}

/* When the screen is less than 600px wide, stack the links and the search field vertically instead of horizontally */
@media screen and (max-width: 600px) {
  /* Consider using using a hamburger menu and icons instead
  of full search bar and nav items 
  */
  .header {
    flex-direction: column;
  }
}

hr {
    border-top: 1px solid #776e59;
}
.display-1 {
    color: #DA6457;
    font-family: "Yeseva One", serif;
    text-align: center;
    font-size: 30px;
    margin-top: 30px;
}

.description {
    color:#928181;
    font-family: "radley", serif;
    text-align: center;
    margin-bottom: 30px;
}

.book-card:hover {
    margin-top: -10px;
    margin-bottom: 10px;
    transition: 1s; 
}

.card-deck {
    display: grid;
    gap: 50px;
    grid-template-columns: repeat(5, 170px);
    justify-content: center;
}

.card-image {
    width: 100%;
}

.title {
    color:#D07E75;
    font-family: "yeseva one", serif;
    font-size: 12px;
    text-overflow: ellipsis;
}

.discount-price {
    font-style: oblique;
}

.author {
    color: #928181;
    font-family: "radley", serif;
    font-size: 11px;
    margin-top: -15px;
}

.price {
    color: #DA6457;
    font-family: "radley", serif;
    font-size: 11px;
    margin-top: -15px;
}

body {
    min-height: 100vh;
    margin: 0;
    position: relative;
  }
  
  header {
    min-height: 50px;
    background: lightcyan;
  }
  
  footer {
    background: #EEE8DA;;
  }
  
  /* Trick: */
  body {
    position: relative;
  }
  
  body::after {
    content: '';
    display: block;
    height: 50px;
    /* Set same as footer's height */
  }
  
  .contact {
    font-family: "radley", serif;
    margin-top: 18px;
    margin-left: 120px;
    color:#735B58;
  }

  .mailing {
    margin-top: -7px;
  }

  .email {
    position: relative;
    margin-left: 900px;
    margin-top: -50px;
    font-family: "radley", serif;
    border-radius: 10px;
    border: none;
  }

  .email input:focus {
    outline: none; 
    color: #735b58;
}
  
  .sign-up {
    font-family: "radley", serif;
    color: #ffffff;
    background-color: #735B58;
    border-radius: 5px;
    border: none;
    padding: 3px;
  }

  .sign-up:hover {background-color: #D07E75}

  .button:active {
    background-color: #D07E75;
    box-shadow: 0 5px #666;
    transform: translateY(4px);
  }
  
  footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 74px;
  }