:root {
  --main: #fc5000;
  --main_light: #ff6600;
  --secondary: #198754;
}

footer {
  background-color: #f9f9f9;
}
.my-container {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  height: 100vh;
}
::-webkit-scrollbar {
  display: block;
  width: 10px;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb {
  background: rgb(211, 211, 211);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(161, 161, 161, 0.7);
}
.nav-pills .nav-link {
  color: #e9e9e9;
  padding: 0.7rem 1rem;
  font-weight: 700;
  background-color: transparent;
  border-bottom: 0.25rem solid transparent;
  border-radius: 0%;
}
.nav-pills .nav-link:hover,
.nav-pills .nav-link:focus {
  color: #fff;
  background-color: rgba(0, 0, 0, 0.1);
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: #fff;
  font-weight: bold;
  background-color: transparent;
  border-bottom-color: #fff;
}

.my-nav .nav-link {
  transition: 200ms;
  color: rgb(85, 85, 85);
}

.my-nav .nav-link:hover,
.my-nav .nav-link:focus {
  color: rgb(58, 58, 58);
  border-radius: 5px;
  transform: scale(1.02);
  background-color: rgba(0, 0, 0, 0.1);
}

.my-nav .active {
  color: var(--secondary);
  border: 1px solid var(--secondary);
  border-radius: 5px;
}

.my-nav .active:hover,
.my-nav .active:focus {
  color: var(--secondary);
}

.contact-link {
  text-decoration: none;
  padding: 10px;
  transition: 300ms;
  color: rgb(85, 85, 85);
}

.contact-link:hover,
.contact-link:focus {
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.1);
}

.my-link {
  text-decoration: none;
  padding: 10px;
  transition: 300ms;
  color: rgb(85, 85, 85);
}

.my-link:hover,
.my-link:focus {
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.1);
}

.my-link-simple {
  color: rgb(85, 85, 85);
}

.my-link-simple:hover,
.my-link-simple:focus {
  transition: 300ms;
  color: var(--secondary);
}

header {
  grid-column: 1;
  grid-row: 1;
  height: fit-content;
  z-index: 300;
}

nav {
  grid-column: 1;
  grid-row: 2;
  border-bottom: 0.5px solid rgb(212, 212, 212);
  z-index: 200;
}
.home-content {
  grid-column: 1;
  grid-row: 2;
  overflow: auto;
  z-index: 100;
}
.buku-content {
  grid-column: 1;
  grid-row: 3;
  z-index: 100;
}

.bg-main {
  background-color: var(--main);
}

.my-brand {
  display: none;
}

.carousel-caption {
  bottom: 3rem;
  z-index: 10;
}
.carousel-item {
  background-color: var(--main);
  height: 32rem;
}

.carousel-item > img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.buku-img {
  width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  cursor: pointer;
}

.bd-aside a {
  padding: 0.1875rem 0.5rem;
  margin-top: 0.125rem;
  margin-left: 0.3125rem;
  color: rgba(0, 0, 0, 0.85);
  text-decoration: none;
  background-color: transparent;
}

.bd-aside a:hover,
.bd-aside a:focus {
  color: rgba(0, 0, 0, 0.85);
  background-color: #28a7464d;
}

.bd-aside .active {
  background-color: #28a7464d;
  box-shadow: 0 0 0 1px #28a746;
}

.bd-aside .btn-group {
  padding: 0.25rem 0.5rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.65);
  border: 0px;
}

.bd-aside .btn-group:hover {
  background-color: #28a7464d;
  box-shadow: 0 0 0 0px;
}

.bd-aside .btn-group:focus {
  box-shadow: 0 0 0 0px;
}

.bd-aside .btn-group::before {
  margin-right: 5px;
  width: 1.25em;
  line-height: 0;
  content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%280,0,0,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
  transition: transform 0.35s ease;
  transform-origin: 0.5em 50%;
}

.bd-aside .btn-group[aria-expanded="true"]::before {
  transform: rotate(90deg);
}
@media (min-width: 768px) {
  .my-brand {
    display: block;
  }
}
@media (min-width: 900px) {
  .buku-container {
    grid-template-columns: 3fr 5fr;
    grid-template-rows: auto;
  }

  .buku-header {
    grid-column: 1 / span 2;
    grid-row: 1;
  }

  nav {
    grid-column: 1;
    grid-row: 2 / span 2;
    overflow: auto;
  }

  .buku-content {
    grid-column: 2;
    grid-row: 2;
    overflow: auto;
    scroll-behavior: smooth;
  }
}

.card-link {
  cursor: pointer;
  transition: 300ms;
}

.card-link:hover {
  transition: 300ms;
  transform: scale(1.03);
}

.buku-search-result {
  transition: 300ms;
}

.buku-search-result:hover {
  cursor: pointer;
  background-color: #28a7464d;
  transform: scale(1.02);
}

.my-divider {
  height: 3rem;
  background-color: rgba(0, 0, 0, 0.1);
  border: solid rgba(0, 0, 0, 0.15);
  border-width: 1px 0;
  box-shadow: inset 0 0.5em 1.5em rgba(0, 0, 0, 0.1),
    inset 0 0.125em 0.5em rgba(0, 0, 0, 0.15);
}

.list-dot {
  font-size: 8px;
  color: grey;
  margin-top: auto;
  margin-bottom: auto;
  margin-right: 10px;
}

.home-sidebar {
  width: 100%;
}

@media (min-width: 992px) {
  .home-sidebar {
    width: 320px;
  }
}

.stats-box {
  background-color: #a0a0a0;
  position: relative;
}

.stats-box-icon i {
  color: #fff;
  font-size: 1.5rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
