* {
  box-sizing: border-box;
  margin: 0;
}

body {
  font-family: "Poppins", sans-serif;
}
.container {
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: 2fr 8fr 4fr 5fr 5fr 3fr;
  grid-template-areas: "header header header header";
}
/* Navigation */
.navbg {
  background: #e1ddd2;
}

.nav-container {
  background: #e1ddd2;
  /* box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.25); */
  height: 100px;
  margin: 0 80px;
}

.wrapper {
  /* width: 1400px; */
  margin: 0 auto;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
  margin: 0 auto;
  max-width: 1400px;
}

nav ul {
  display: flex;
}
.nav-items li {
  list-style: none;
  margin-right: 24px;
}

.nav-items li:nth-last-of-type(1) {
  list-style: none;
  margin-right: 0;
}

.search-btn {
  margin: 0 24px 0 0;
}

/* .close-btn {
  margin: 0 14px;
} */

.nav-items li a {
  color: #131515;
  font-size: 14px;
  font-family: "Poppins", sans-serif;
  text-decoration: none;
}

/*Header*/

.bg-container {
  background: #e1ddd2;
}

.header-container {
  background-repeat: no-repeat;
  background-size: contain;
  height: calc(100vh - 100px);
  display: flex;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

/* Tried for background shape */

/* .header-container{
    background:  url(images/circlevector.svg);
    background-repeat: no-repeat;
    background-position: left;
} */

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 1400px;
  /* background-color: red; */
  margin: 0 0 50px 0;
}

.hero-container {
  max-width: 700px;
  margin: 0 100px 0px 0;
  color: #131515;
  line-height: 30px;
}

header h1 {
  font-family: Playfair Display;
  font-weight: 500;
  font-size: 46px;
  color: #131515;
  margin-bottom: 10px;
}

header h3 {
  font-family: Playfair Display;
  font-weight: 500;
  font-style: italic;
  font-size: 20px;
  margin-bottom: 10px;
}

header p {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: light;
  font-size: 14px;
  line-height: 30px;
  vertical-align: center;
  margin: 24px 0px 24px 0;
}

header a {
  color: #131515;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;

  background: #1768ac;
  border-radius: 4px;
  color: #ffffff;
  padding: 12px 18px;
}

.hero-image img {
  display: flex;
  align-items: center;
  margin: 100px 0 0 0;
}

.socialicons {
  display: flex;
}

.socialicons a {
  margin: 0 12px;
}
.socialicons a:nth-of-type(1) {
  margin: 0 12px 0 0;
  margin-bottom: 40px;
}
.socialicons a:nth-of-type(4) {
  display: flex;
  justify-content: center;
  margin: 0 12px 0 1175px;
  margin-bottom: 40px;
}
.socialicons a:nth-of-type(5) {
  display: flex;
  justify-content: center;
  margin: 0 12px 0 0px;
  margin-bottom: 40px;
}

/* Hidden Items */

.search-box {
  display: none;
}

.Title {
  font-family: Playfair Display;
  font-size: 20px;
  font-weight: 500;
  /* margin: 30px 0 30px 60px; */
  display: flex;
  max-width: 1400px;
  margin: 30px auto;
}
.card-container {
  display: flex;
  /* padding: 0 60px; */
  max-width: 1400px;
  margin: 0 auto;
  align-items: center;
}

.card img {
  width: 100%;
}

.card {
  height: 330px;
  flex: 1;
  box-shadow: 0 4px 8px 0 #c4c4c4;
  border-radius: 5px;
  margin-left: 30px;
}

.card:first-child {
  margin-left: 0;
}

.category-name {
  font-family: Poppins, sans-serif;
  font-size: 18px;
  font-weight: 400;
  display: flex;
  justify-content: center;
  padding: 20px 0 20px 0;
}

.booklist {
  .book-title {
    font-family: Playfair Display;
    font-size: 20px;
    font-weight: 500;
    max-width: 1400px;
    display: flex;
    margin: 30px auto;
  }
  .bookcard-container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
  }

  .bookcard img {
    height: 100%;
    width: 100%;
    border-radius: 10px;
  }

  .bookcard {
    height: 300px;
    flex: 1;
    box-shadow: 0 4px 8px 0 #c4c4c4;
    border-radius: 10px;
    margin-left: 30px;
  }

  .bookcard:first-child {
    margin-left: 0;
  }

  .book-name h4 {
    font-family: Poppins, sans-serif;
    font-size: 18px;
    font-weight: 500;
    font-variant: small-caps; /*I shall change this*/
    display: flex;
    justify-content: center;
    padding: 10px 0 10px 0;
  }

  .book-name h5 {
    font-family: Playfair Display;
    font-size: 16px;
    font-weight: 400;
    display: flex;
    justify-content: center;
    padding: 0;
  }
}

.booklist1 {
  margin: 90px 0 40px 0;

  .book-title {
    font-family: Playfair Display;
    font-size: 20px;
    font-weight: 500;
    max-width: 1400px;
    margin: 30px auto;
  }
  .bookcard-container {
    display: flex;

    max-width: 1400px;
    margin: 0 auto;
  }

  .bookcard img {
    height: 100%;
    width: 100%;
    border-radius: 10px;
  }

  .bookcard {
    background-color: red;
    height: 300px;
    flex: 1;
    box-shadow: 0 4px 8px 0 #c4c4c4;
    border-radius: 10px;
    margin-left: 30px;
  }

  .bookcard:first-child {
    margin-left: 0;
  }

  .book-name h4 {
    font-family: Poppins, sans-serif;
    font-size: 18px;
    font-weight: 500;
    font-variant: small-caps; /*I shall change this*/
    display: flex;
    justify-content: center;
    padding: 10px 0 10px 0;
  }

  .book-name h5 {
    font-family: Playfair Display;
    font-size: 16px;
    font-weight: 400;
    display: flex;
    justify-content: center;
    padding: 0;
  }
}

.footer-bg {
  background-color: #e1ddd2;
}

.footer {
  /* margin: 100px 0 0 0; */
  margin: 100px auto 0 auto;
  height: 220px;
  max-width: 1400px;
  background-color: #e1ddd2;
  /* background-color: red; */
}

.logo1 {
  display: flex;
  justify-content: center;
  padding-top: 40px;
}

.footer-item {
  list-style: none;
  display: flex;
  justify-content: space-between;
  justify-items: center;
  margin: 30px 500px;
}

.footer-item li a {
  color: #131515;
  font-size: 14px;
  font-family: "Poppins", sans-serif;
  text-decoration: none;
}

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

.socialicons1 a {
  margin: 0 12px;
}

/*for responsive*/
/* @media screen and (max-width: 900px) and (min-width: 600px) {
} */
