/* Stylesheet */
pre {
  background: #000; color: #fff;
}
.bg-translucent, .checkout-col, .search-result {
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(2px);
}

.search-result {
  margin-bottom: 0.5rem;
  color: #fff;
  padding: 0.5rem;
  border-radius: 0.25rem;
  transition: background 0.3s;
}

.search-result:hover {
  color: #fff;
  text-decoration: none !important;
  background: #8c110ab2;
}

.checkout-col {
  padding: 0.5rem; 
}

.shop-book {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  position: relative;
  color: #fff;
  text-decoration: none !important;
  padding-top: 153.8461538461538%;
  text-align: center;
  width: 100%;
  display: block;
}

@media (max-width: 767px) {
  .shop-book {
    margin: 4rem auto 4rem;
  }
  .shop-book .title {
    position: relative;
    top: calc(100% + 1.5rem);
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.7);
    font-size: 1.2rem;
    padding: 0.5rem 0.5rem 0;
  }
  .shop-book .price {
    background: rgba(0,0,0,0.7);
    padding: 0 0.5rem 0.5rem;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
  } 

}

@media (min-width: 768px) and (min-height: 800px) {
  #home-main {
    min-height: calc(100vh - 267px); /** 174 */
    position: relative;
  }
  #home-cover {
    position:absolute;
    top:30%;
    left:50%;
    transform: translate(-50%,-50%);
  }
  #home-main:after {
    position: absolute;
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 20px 100px 0px 100px;
    border-color: var(--primary) transparent transparent transparent;
    bottom: 20px;
    left: calc(50% - 100px);
	animation-duration:8s;
  	animation-fill-mode:both;
  	animation-iteration-count:infinite;
  	animation-name:bounce;
  	transform-origin:center bottom; 
  }  
}

@media (min-width: 768px) {
  .shop-book .title {
    background: rgba(0,0,0,0.7);
    padding: 0.5rem;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: opacity 0.3s;
    opacity: 0;
  }

  .shop-book .price {
    background: rgba(0,0,0,0.7);
    padding: 0.5rem;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    transition: opacity 0.3s;
    opacity: 0;
  } 
  .shop-book:hover .title, .shop-book:hover .price {
    opacity: 1;
  }
  body {
    display: flex;
    flex-direction: column;
  }
  #theme-3 {
    margin-top: auto;
  }
}


@keyframes bounce {
  0%,
  5%,
  13.25%,
  25%,
  to {
    animation-timing-function:cubic-bezier(.215,.61,.355,1);
    transform:translateZ(0)
  }
  10%,
  10.75% {
    animation-timing-function:cubic-bezier(.755,.05,.855,.06);
    transform:translate3d(0,-30px,0) scaleY(1.1)
  }
  17.5% {
    animation-timing-function:cubic-bezier(.755,.05,.855,.06);
    transform:translate3d(0,-15px,0) scaleY(1.05)
  }
  20% {
    transform:translateZ(0) scaleY(.95);
    transition-timing-function:cubic-bezier(.215,.61,.355,1)
  }
  22.5% {
    transform:translate3d(0,-4px,0) scaleY(1.02)
  }
}







