*, a {
  color: #666666;
  text-decoration: none;
}

.bounce {
  animation: bounce 2s ease infinite;
}
@keyframes bounce {
	0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
	40% {transform: translateY(-30px);}
	60% {transform: translateY(-15px);}
}

.line {
  width: 60px;
  height: 3px;
  background-color: #b21f24;
  margin: auto;
}

.header {
  background-color: white;
  height: 80px;
  -webkit-box-shadow: 0px 0px 23px -7px rgba(0,0,0,0.75);
  -moz-box-shadow: 0px 0px 23px -7px rgba(0,0,0,0.75);
  box-shadow: 0px 0px 23px -7px rgba(0,0,0,0.75);
}

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

#banner .banner-img {
  height: 100vh;
  object-fit: cover;
  width: 100%;
}

#banner .content {
  font-size: 80px;
  width: 600px;
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
}

#banner .explore {
  opacity: 0;
}

#about .container, #catalog, #contact-us {
  padding-top: 140px;
}

#about .container p {
  max-width: 700px;
  line-height: 2;
  margin: auto;
  margin-bottom: 20px;
  letter-spacing: 0.7px;
  text-align: justify;
}

#catalog .modal {
  overflow: hidden;
}

#catalog .modal .modal-body {
  overflow: auto;
  height: calc(100vh - 200px);
}

#catalog .book-slick {
  background-position: 80%, 0;
  background-repeat: no-repeat;
  background-size: contain;
  height: 200px;
  width: 60%;
}

#catalog .book-cover {
  position: relative;
  cursor: pointer;
}

#catalog .book-cover .book-cover-main, #catalog .book-cover .book-cover-back {
  width: 100%;
  height: auto;
  padding: 10px 2px;
}

#catalog .book-cover .book-cover-main {
  transition: opacity ease-in-out .5s;
}

#catalog .book-cover .book-cover-back {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity ease-in-out .5s;
}

#catalog .book-cover:hover .book-cover-main {
  opacity: 0;
}

#catalog .book-cover:hover .book-cover-back {
  opacity: 1;
}

#catalog .book-title {
  font-weight: 600;
  text-align: center;
}

#catalog .slider-for .book-slick {
  height: 300px;
}

.modal .book-cover-detail {
  width: 100%;
}

#contact-us .phone, #contact-us .email {
  font-size: 20px;
  text-decoration: none;
  max-width: 500px;
  margin: 20px auto;
}

footer {
  background-color: #b21f24!important;
}


@media screen and (max-width: 991px) {
  .navbar .nav-item {
    border-bottom: 1px solid;
    background-color: white;
    padding: 0 10px;
  }
  .header .logo-img {
    height: 70px;
  }

  #banner .content {
    width: 100%;
    font-size: 70px;
    right: 50%;
    top: 50%;
    transform: translate(50%, -50%);
    text-align: center;
    color: #fff;
    line-height: 1.75;
  }

  #banner .banner-img {
    object-position: left;
  }

  #banner .overlay {
    background: rgba(178,31,36,.4);
    height: 100vh;
    width:100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.4;
  }

  #banner .explore {
    position: absolute;
    bottom: 10px;
    color: white;
    width: 100%;
    text-align: center;
    opacity: 1;
  }

  #banner .explore path {
    color: white;
  }

  #about .container, #catalog, #contact-us {
    padding-top: 80px;
  }
}

@media screen and (max-width: 480px) {
  #banner .content {
    font-size: 50px;
  }
}