@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap');

* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Scrollbar */

::-webkit-scrollbar{
  width: 10px;
  height: 5px;
}

::-webkit-scrollbar-track{
  box-shadow: inset 0 0 8px rgba(0,0,0,0.2);
}

::-webkit-scrollbar-thumb{
  background: #3090d4;
  border-radius: 10px;
}

a {
  text-decoration: none;
  color: #555;
}

p {
  color: #555;
}

.row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-around;
}
.col-2 {
  flex-basis: 50%;
  min-width: 300px;
}
.col-2 img {
  max-width: 100%;
  height: 100%;
  padding: 50px 0;
}
.col-2 h1 {
  font-size: 50px;
  line-height: 60px;
  margin: 25px 0;
}
.btn {
  display: inline-block;
  background: #3090d4;
  color: #fff;
  padding: 8px 30px;
  margin: 30px 0;
  border-radius: 30px;
  transition: 350ms ease-in;
}

#details {
  display: block;
  padding: 6px 10px;
  background-color: #3090d4;
  color: white;
  transition: 350ms ease-in;
  border: 1.5px solid #333;
}

#viewMore {
  font-size: 15px;
  font-weight: 700;
}

#details:hover {
  background-color: #1e73b1;
}

#details .fa {
  color: white;
}

#bookDetails {
  display: none;
}

.header {
  background: radial-gradient(#fff, #ffd6d6);
}
.header .row {
  margin-top: 0px;
}
.btn:hover {
  background: #1e73b1;
}

.categories {
  margin: 70px 0;
}

.col-3 {
  flex-basis: 30%;
  min-width: 250px;
  margin-bottom: 30px;
  max-width: 280px;
  height: 400px;
}

.col-3 img {
  width: 100%;
}

.small-container {
  max-width: 1080px;
  margin: auto;
  padding-left: 25px;
  padding-right: 25px;
}

.small-container3 {
  max-width: 1080px;
  margin: auto;
  padding-left: 15px;
  padding-right: 15px;
}

.small-container2 {
  max-width: 1080px;
  margin: auto;
  padding-left: 5px;
  padding-right: 5px;
}

.col-4 {
  flex-basis: 25%;
  padding: 10px;
  min-width: 200px;
  margin-bottom: 50px;
  transition: transform 0.5s;
}
.col-4 img {
  width: 100%;
}
.title {
  text-align: center;
  margin: 0 auto 80px;
  position: relative;
  line-height: 60px;
  color: #555;
}
.title::after {
  content: "";
  background: #3090d4;
  width: 80px;
  height: 5px;
  border-radius: 5px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
h4 {
  color: #555;
  font-weight: normal;
}
.col-4 p {
  font-size: 14px;
}
.rating .fa {
  color: #ffdb56;
}
.col-4:hover {
  transform: translateY(-5px);
}

.row-2 {
  justify-content: space-between;
  margin: 100px auto 50px;
}

.single-product {
  margin-top: 80px;
  margin-bottom: 20px;
}
.single-product .col-2 img {
  padding: 0;
}
.single-product .col-2 {
  padding: 20px;
}
.single-product h4 {
  margin: 20px 0;
  font-size: 22px;
  font-weight: bold;
}
.single-product input {
  width: 50px;
  height: 35px;
  font-size: 20px;
  margin-right: 20px;
  border: 1px solid #3090d4;
  border-radius: 5px;
  text-align: center;
  cursor: pointer;
}
.single-product input:focus {
  outline: none;
}
.single-product .fa {
  color: #3090d4;
  margin-left: 10px;
}

.hidden {
  display: none;
}

/* Responsive Design */

@media only screen and (max-width: 600px) {

  .small-container3 {
    margin-bottom: 20px;
  }

  .row {
    text-align: center;
    margin: 0;
    padding: 0;
  }

  .col-2, .col-3, .col-4 {
    flex-basis: 100%;
  }

  .col-2 {
    flex-basis: 50%;
    min-width: 300px;
  }

  .col-2 img {
    max-width: 100%;
    max-height: 100%;
    padding: 100px 100px;
  }

  .col-4 img {
    max-width: 70%;
    max-height: 70%;
  }

  .single-product .row {
    text-align: left;
  }

  .single-product .col-2 {
    padding: 20px 0;
  }

  .single-product .col-2 img {
    padding: 0;
    margin-left: 40px;
  }

  .single-product h1 {
    font-size: 26px;
    line-height: 32px;
  }

}