@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

* {
  margin: 0;
  padding: 0;
}

:root {
  --green: #27ae60;
  --blue: #0071b8;
  --black: #192a56;
  --border: 0.1rem solid rgba(0, 0, 0, 0.1);
  --dark-color: #273aaa;
  --black: #444;
  --light-color: #666;
  --border-hover: 0.1rem solid var(--black);
  --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

/* All Version */
.tombol {
  border-radius: 40px;
  margin-right: 80px;
  margin-left: 460px;
  color: white;
  font-weight: bold;
}

.tombol:hover {
  color: #fff !important;
}

section {
  padding: 1.5rem 5%;
}
.heading {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.heading::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  height: 0.01rem;
  background: rgba(0, 0, 0, 0.1);
  z-index: -1;

  margin-right: -100px;
}

.heading span {
  font-size: 30px;
  padding: 0.1rem 1rem;
  color: var(--black);
  background: #fff;
  border: var(--border);
}
/* Navbar */
.navbar-brand {
  margin-left: 70px;
}
.nav-link {
  color: #fff !important;
  font-weight: bold;
}
.nav-link {
  margin-right: 90px;
  margin-left: -50px;
}

.nav-link:hover {
  color: #5a46aa !important;
  background: #fff;
  border-radius: 0.5rem;
  padding: 0.5rem 1.5rem;
  font-weight: bold;
}

/* Bagian List Buku */
#kategoribuku {
  margin-left: 50px;
  margin-top: 30px;
}

.line {
  position: relative;
  width: 90px;
  height: 2.8px;
  background-color: #00bfa6;
  border-radius: 30px;
  margin-top: 20px;
  margin-bottom: 10px;
}
/* Akhir Navbar */

/* Jumbotron */
#particles-js {
  background-image: url(../img/background.jpg);
  background-size: cover;
  height: 800px;
  margin-top: -90px;
}

.jumbotron h1 {
  position: absolute;
  color: #ff487e;
  padding-top: 270px;
  margin-left: 5px;
  font-size: 55px;
  font-family: 'Francois+One', sans-serif;
  text-align: center;
}

.jumbotron p {
  position: absolute;
  color: #00415c;
  margin-left: 120px;
  padding-top: 410px;
  font-size: 25px;
  font-family: 'Francois+One', sans-serif;
}

.tombol1 {
  position: absolute;
  margin-left: 180px;
  margin-top: 470px;
  border-radius: 40px;
  color: #fff;
  background: #6d5ea8;
  padding: 0.3rem 2rem;
  font-size: 20px;
  cursor: pointer;
  font-weight: 500;
}

.tombol1:hover {
  background: #5a46aa;
  color: #fff;
}

/* Akhir Jumbotron */

/* Fitur ICONS*/
.icons-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 1.5rem;
  padding-top: 2rem;
}

.icons-container .icons1 {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 0;
}

.icons-container .icons1 i {
  font-size: 2.5rem;
  color: var(--blue);
  padding-left: 5rem;
}

.icons-container .icons1 h3 {
  font-size: 1.3rem;
  color: var(--black);
  padding-bottom: 0.5rem;
}

.icons-container .icons1 p {
  font-size: 1.2rem;
  color: var(--light-color);
}

/*  */
.icons-container .icons2 {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 0;
}

.icons-container .icons2 i {
  font-size: 2.5rem;
  color: var(--blue);
  padding-left: 4rem;
}

.icons-container .icons2 h3 {
  font-size: 1.3rem;
  color: var(--black);
  padding-bottom: 0.5rem;
}

.icons-container .icons2 p {
  font-size: 1.2rem;
  color: var(--light-color);
}
/*  */

/*  */
.icons-container .icons3 {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 0;
}

.icons-container .icons3 i {
  font-size: 2.5rem;
  color: var(--blue);
  padding-left: 1rem;
}

.icons-container .icons3 h3 {
  font-size: 1.3rem;
  color: var(--black);
  padding-bottom: 0.5rem;
}

.icons-container .icons3 p {
  font-size: 1.2rem;
  color: var(--light-color);
}
/*  */

/*  */
.icons-container .icons4 {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 0;
}

.icons-container .icons4 i {
  font-size: 2.5rem;
  color: var(--blue);
  padding-left: 1rem;
}

.icons-container .icons4 h3 {
  font-size: 1.3rem;
  color: var(--black);
  padding-bottom: 0.5rem;
}

.icons-container .icons4 p {
  font-size: 1.2rem;
  color: var(--light-color);
}
/*  */
/* Akhir Fitur */

/* List Buku Effect Coverflow */
.list-buku {
  width: 100%;
  padding-bottom: 100px;
}

.list {
  background-position: center;
  background-size: cover;
  width: 300px;
  height: 400px;
  -webkit-box-reflect: below 1px linear-gradient(transparent, transparent, #0006);
}

.list img {
  display: block;
  width: 100%;
}
/* Akhir List Buku Effect Coverflow */

/* Parallax Contribution*/
.newsletter {
  background: url(../img/bg1.jpg) no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  margin-top: 100px;
  margin-bottom: 50px;
  height: 620px;
}

.newsletter h3 {
  color: #000;
  margin-left: 470px;
  margin-top: 220px;
  font-family: 'Righteous', sans-serif;
}
.tombol2 {
  position: absolute;
  margin-left: 500px;
  margin-top: 10px;
  border-radius: 40px;
  color: #fff;
  padding: 0.3rem 2rem;
  font-size: 20px;
  background: var(--blue);
  cursor: pointer;
  font-weight: 500;
}

.tombol2:hover {
  background: #0160bc;
  color: #fff;
}
/* Akhir Parallax Contribution */

/* New Arrival */
.newarrival .book-stand {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.newarrival .book-stand .wraper {
  flex: 1 1 10rem;
  text-align: center;
  margin-top: 2rem;
}
.newarrival .book-stand .wraper a img {
  height: 17rem;
}

.newarrival .book-stand .wraper a:hover img {
  transform: scale(0.9);
  transition: 0.3s;
}

.stand {
  width: 100%;
  margin-top: -2rem;
}
/* Akhir New Arrival */

/* Buku Terpopuler */
.bukupopuler .buku-populer .box {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 1rem;
  border: var(--border);
  margin: 1rem 0;
  text-decoration: none;
}

.bukupopuler .buku-populer .box:hover {
  border: var(--border-hover);
}

.bukupopuler .buku-populer .box .image img {
  height: 10rem;
}

.bukupopuler .buku-populer .box .informasi h3 {
  font-size: 1.5rem;
  color: var(--black);
  text-decoration: #000;
}

.bukupopuler .buku-populer .box .informasi p {
  font-size: 1rem;
  color: var(--black);
  text-decoration: none;
}

.bukupopuler .buku-populer .box .informasi .stars i {
  font-size: 1rem;
  color: var(--green);
}
/* Akhir Terpopuler */

/* Buku Terbaik */
.deal {
  background: #f3f3f3;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.deal .content {
  flex: 1 1 10rem;
}

.deal .image {
  flex: 1 1 10rem;
}

.deal .image img {
  width: 300px;
  margin-left: 200px;
}

.deal .content h3 {
  color: #0071b8;
  font-size: 1.7rem;
  padding-bottom: 0.5rem;
}

.deal .content h1 {
  color: var(--black);
  font-size: 2rem;
}

.deal .content p {
  padding: 1rem 0;
  color: var(--light-color);
  font-size: 1.1rem;
  line-height: 2;
}

.tombol3 {
  display: inline-block;
  position: absolute;
  border-radius: 0.5rem;
  color: #fff !important;
  padding: 0.4rem 1rem;
  font-size: 20px;
  background: var(--blue);
  cursor: pointer;
  font-weight: 500;
}

.tombol3:hover {
  background: #0160bc;
  color: #fff;
}
/* Akhir Buku Terbaik */

/* Other Website */
.otherwebsite .website-slider .box1 {
  margin: 2rem 0;
  border: var(--border);
  margin-top: -20px;
}

.otherwebsite .website-slider .box1:hover {
  border: var(--border-hover);
}

.otherwebsite .website-slider .box1 .image {
  height: 17rem;
  width: 100%;
  overflow: hidden;
}

.otherwebsite .website-slider .box1 .image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.otherwebsite .website-slider .box1:hover .image img {
  transform: scale(1.1);
  transition: 0.8s;
}

.otherwebsite .website-slider .box1 .content {
  padding: 1.5rem;
}

.otherwebsite .website-slider .box1 .content h3 {
  font-size: 1.5rem;
  color: var(--black);
}

.otherwebsite .website-slider .box1 .content p {
  font-size: 1rem;
  color: var(--light-color);
  padding: 1rem 0;
  line-height: 2;
}

.tombol4 {
  display: inline-block;
  position: absolute;
  border-radius: 0.5rem;
  color: #fff !important;
  padding: 0.3rem 1rem;
  font-size: 15px;
  background: var(--blue);
  cursor: pointer;
  font-weight: 500;
  margin-top: -20px;
}

.tombol4:hover {
  background: #0160bc;
  color: #fff;
}
/* Akhir Other Website */

/* Video */
iframe {
  margin-left: 200px;
}
/* AKhir Vido */

/* Foooter */
.footer .box2-container {
  padding-top: 20px;
  margin-left: 100px;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.5rem;
}

.footer .box2-container .box2 h3 {
  padding: 0.5rem 0;
  font-size: 25px;
  color: #2b2a2a;
  text-decoration: none;
  font-weight: bold;
}

.footer .box2-container .box2 a {
  display: block;
  padding: 0.5rem 0;
  font-size: 18px;
  color: #2b2a2a;
  text-decoration: none;
}

.footer .box2-container .box2 a:hover {
  color: var(--green);
}

.line1 {
  border-top: 0.2rem solid rgba(255, 244, 244, 0.1);
  width: 1150px;
  margin-left: 100px;
  padding-top: 1rem;
  margin-top: 1rem;
  margin-bottom: -15px;
}
.footer .credit {
  text-align: center;
  font-size: 20px;
  color: #2b2a2a;
  padding: 0.5rem;
  text-decoration: none;
}

.footer .credit span {
  color: var(--green);
}
/* Akhir Footer */

/*scroll up*/
#myBtn {
  background-color: #222227;
  height: 50px;
  width: 30px;
  border: 2px solid rgb(255, 255, 255);
  position: fixed;
  right: 20px;
  bottom: 20px;
  border-radius: 50px;
  cursor: pointer;
  display: none;
  z-index: 99;
}

#myBtn::before,
#myBtn::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 3.5px;
  height: 10px;
  width: 10px;
  transform: translate(-50%, -100%) rotate(225deg);
  border: 2px solid rgb(255, 255, 255);
  border-top: transparent;
  border-left: transparent;
  animation: scroll-up 1s ease-in-out infinite;
}

#myBtn::before {
  top: 30%;
  animation-delay: 0.3s;
  /* animation: scroll-down 1s ease-in-out infinite; */
}

#myBtn:active {
  background-color: #e099bd !important;
}

#myBtn:hover {
  background-color: #9e99e0;
}

/*animate function*/
@keyframes scroll-up {
  100% {
    /* top:20%; */
    opacity: 0;
  }

  60% {
    opacity: 1;
  }

  30% {
    opacity: 1;
  }

  0% {
    top: 90%;
    opacity: 0;
  }
}

/* Smartphone Version */
@media (min-width: 768px) {
}
