@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;600;700&display=swap');
html,body {
	height: 100%;
	scrollbar-gutter: stable;
}
i, span {
	font: inherit;
}
h4 {
	font: 400 1.1rem Rubik;
}
div.mainbox {
	margin: 0 5rem;
	position: relative;
}
div#overlay {
	position: absolute;
	top: 0;
	left: 0;
	background: rgba(255,255,255, 0.7);
	height: 100vh;
	width: 100%;
	z-index: 2000;
}
div#header {
	padding: 1rem 2rem;
}
div#banner img {
	width: 100%;
	height: auto;
	margin: 0 auto;
}
a#logo {
	width: 10rem;
}
a#logo img {
	width: 100%;
	height: auto;
}
a#menu {
	padding: 1rem;
}
a#menu span,a#close span {
	display: none;
}
a#menu i, a#close i {
	font-size: 1.2rem;
	color: black;
}
div#navbox {
	padding: 1rem;
	padding-bottom: 2rem;
	padding-left: 2rem;
	background: white;
	border: 4px solid black;
	border-left: 0;
	border-top: 0;
	width: 30vw;
	position: fixed;
	top: 0;
	left: -1000;
	z-index: 3000;
}
div#navbox>div {
	display: grid;
}
div#navbox>div>a {
	font: 500 1.2rem Rubik;
	color: rgba(0, 0, 0, 0.8);
	padding: 0.5rem 1rem;
}
div#social a span {
	display: none;
}
div#social a {
	padding: 1rem;
}
div#social i {
	font-size: 1.2rem;
	color: black;
}
div#footer {
	margin-top: 2rem;
	padding: 2rem;
	text-align: center;
}
div#footer p {
	font-size: 0.8rem;
	font-weight: 400;
}
div.bookbox {
	display: grid;
	grid-template-columns:repeat(4,1fr);
	grid-gap: 0.5rem;
}
div.bookbox>div {
	background: grey;
	padding: 1rem 2rem;
	/*bdisplay: grid;
	background: url(/assets/2022/images/bg_whitepaint.png);*/
	background: #F9F9F9;
	background: #F7F7F6;
}
div.bookbox>div:hover {
	background: rgba(0,0,0,0.1);
}

a.bookcover {
	display: grid;
	aspect-ratio:  1/1;
	padding: 1rem;
	position: relative;
}
a.bookcover>div {
	aspect-ratio: 1/1;
}
a.bookcover img {
	width: 50%;
	height: auto;
	justify-self: center;
	align-self: center;
	box-shadow: 10px 10px 2rem -3px rgba(0, 0, 0, 0.4);
	border-radius: 2px;
	border-right: 3px solid #e6e6e6;
	position: relative;
}
div.bookinfo {
	text-align: center;
	font-family: Rubik;
	font-size: 1rem;
}
div.bookinfo h4>a {
	color: rgba(0,0,0,0.8);
}
div.bookbuy {
	padding: 1rem 0;
	text-align: center;
}
div.bookbuy a {
	display: inline-block;
	border: 2px solid black;
	border: none;
	padding: 0.5rem 1rem;
	font: 400 0.8rem Rubik;
	color: black;
	background: white;
	background: none;
}
a.bookcover.label::after {
	display: inline-block;
	padding: 0.5rem;
    text-align: center;
    line-height: 1rem;
    top: 0.5rem;
    right: 1rem;
    position: absolute;
    border-radius: 0.2rem;
    color: white;
    font: 900 0.8rem/1rem Rubik;
    text-transform: uppercase;
    box-shadow: 4px 4px 0 0 rgba(0, 0, 0, 0.1);
}
a.bookcover.new::after {
    content: "baru";
    background-color: #ef4a58;
}
a.bookcover.comingsoon::after {
    content: "akan terbit";
    background-color: #3b2e6f;
}
div.booksingle {
	padding: 5rem;
	background: #F7F7F6;
	margin: 0.2rem auto;
	display: grid;
	width: 100%;

}
div.booksingle img {
	width: auto;
	height: 55vh;
	justify-self: center;
	align-self: center;
	box-shadow: 10px 10px 2rem -3px rgba(0, 0, 0, 0.4);
	border-radius: 2px;
	border-right: 3px solid #e6e6e6;
}
div.bookslide {
	display: grid;
	aspect-ratio:  1/1;
	padding: 1rem;
	position: relative;
	background: #F7F7F6;
	margin: 0.2rem;
}
div.bookslide img {
	transition: all .2s ease-in-out;
	width: 40%;
	height: auto;
	justify-self: center;
	align-self: center;
	box-shadow: 10px 10px 2rem -3px rgba(0, 0, 0, 0.4);
	border-radius: 2px;
	border-right: 3px solid #e6e6e6;
	position: relative;
	opacity: 0.8;
}
div#titlebox {
	text-align: center;
	padding: 2rem 1rem;
}
div#titlebox h1 {
	font: 600 3rem Rubik;
	margin: 1rem 0;
}
div#titlebox h5 {
	font: 300 1.5rem Rubik;
	margin: 1rem 0;
}
div#booktext {
	max-width: 80%;
	margin: 0 auto;
	padding: 3rem 0;
}
div#booktext p {
	font-size: 1.2rem;
	line-height: 1.7rem;
	margin-bottom: 1rem;
}
div#booktext ol,
div#booktext ul {
	display: block;
	width: 80%;
	margin: 2rem 0;
	margin-left: 3rem;
}
div#booktext li {
	font-family: Rubik;
	font-size: 1.2rem;
	line-height: 1.7rem;
	margin-bottom: 1rem;
}
div#booktext b, div#booktext i {
	font-family: inherit !important;
	font-size: inherit !important;
}
div#booktext b {
	font-weight: 600;
}
div#bookspec {
	display: grid;
	grid-template-columns: repeat(5,1fr);
	width: 50vw;
	margin: 0 auto;
	grid-gap: 0.5rem;
	padding: 1rem 2rem;
}
div#bookspec p {
	font-weight: 600;
}
div#bookspec p:first-child {
	color: rgba(0,0,0,0.8);
	font-weight: 400;
}
div.bookbutton {
	/*display: grid;
	grid-template-columns: repeat(4,1fr);*/
	margin: 2rem auto;
	width: 50vw;
}
div.bookbutton h4 {
	margin-bottom: 1rem;
	text-align: center;
}
div.bookbutton img {
	height: 1.5rem;
	width: auto;
	margin-right: 0.5rem;

}
div.bookbutton.ebook img {
	height: 2.5rem !important;
}
div.bookbutton a.buy {
	padding: 0.5rem;
	display: inline-flex;
	align-items: center;
	text-align: center;
	justify-content: center;
	border: 1px solid rgba(0, 0, 0, 0.2);
}
div.bookbutton span {
	font: 400 0.9rem Rubik;
	color: rgba(0, 0, 0, 0.9);

}
div.bookbutton2 {
	padding: 1rem 2rem;
}
div.bookbutton2 a {
	border: 2px solid black;
	padding: 0.5rem;
	margin: 0.15rem;
}
div.bookbutton2 a>span {
	color: black;
	font: 500 1rem "DM Sans";
}
a.buy_ebook>img {
	border-radius: 0.2rem;
}
li.is-active img {
	width: 60%;
	opacity: 1;
}
.splide__arrow svg {
	fill: black !important;
}
.splide__arrow {
	background: white !important;
}
div.itembox {
	display: grid;
}
.nodisplay {
	display: none;
}
.noscroll {
	overflow-y: hidden;
}
.scale-in-tl {
	-webkit-animation: scale-in-tl 0.1s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	        animation: scale-in-tl 0.1s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

/*GRID TEMPLATE*/
.grid {
	display: grid;
}
.col2 {
	grid-template-columns: repeat(2,1fr);
}
.col4 {
	grid-template-columns: repeat(4,1fr);
}
.col5 {
	grid-template-columns: repeat(5,1fr);
}
.mainboxtitle h1 {
	font: 700 1.5rem Rubik;
	width: fit-content;
	
	margin: 2rem auto;
	margin-top: 4rem;
}
div.bs {
	position: relative;
}
div.bs a::after {
	display: none !important;
}
div.bs img {
	width: 75% !important;
}
div.bestseller {
	grid-template-columns: repeat(5,1fr) !important;
	margin: 4rem auto;
}
div.bestseller>div {
	counter-increment: pts-bestseller;
}
div.bestseller>div::after {
	content: counter(pts-bestseller);
	text-align: center;
	line-height: 2.5rem;
	height: 2.5rem;
	width: 2.5rem;
	top: 1rem;
	right: 1rem;
	position: absolute;
	background-color: #e7245c;
	border-radius: 100px;
	color: white;
	font: 900 1.1rem/2.5rem Rubik;
}
@media screen and (max-width: 1280px){
	div.bookbox {
		grid-template-columns:repeat(4,1fr);
		grid-gap: 0.25rem;
	}
	a.bookcover img {
		width: 70%;
		box-shadow: 5px 5px 1rem -3px rgba(0, 0, 0, 0.3);
	}
	div.bestseller {
		grid-template-columns: repeat(4,1fr) !important;
	}
}
@media screen and (max-width:800px){
	div.mainbox {
		margin: 0 1rem;
	}
	div.bookbox {
		grid-template-columns:repeat(3,1fr);
		grid-gap: 0.25rem;
	}
	div.bestseller {
		grid-template-columns: repeat(3,1fr) !important;
	}
	a.bookcover img {
		width: 70%;
		box-shadow: 5px 5px 1rem -3px rgba(0, 0, 0, 0.3);
	}

}
@media screen and (max-width:640px){
	div#header {
		padding: 1rem;
	}
	a#logo {
		width: 5rem;
	}
	div.mainbox {
		margin: 0;
	}
	div.bookbox {
		grid-template-columns:repeat(2,1fr);
		grid-gap: 0.25rem;
	}
	div.bestseller {
		grid-template-columns: repeat(2,1fr) !important;
	}
	a.bookcover img {
		border-right: 3px solid #e6e6e6;
		width: 90%;
	}
	a.bookcover.label::after {
		top: 0.1rem;
		left: 0;
		right: auto;
		margin: 0 auto;
		box-shadow: 2px 2px 0 0 rgba(0, 0, 0, 0.1);
	}
	div.bookinfo {
		font-size: 0.8rem;
	}
	div#navbox {
		width: 100vw;
		padding: 2rem 3rem;
		border-right: 0;
	}
	div.bookslide img {
		width: 60%;
	}
	div#booktext {
		max-width: 100%;
		padding: 3rem 2rem;
	}
	div#bookspec {
		width: 90%;
		grid-template-columns: repeat(2,1fr);
	}
	div#bookspec p {
		font-size: 0.9rem;
	}
	div#titlebox {
		padding: 2rem 2rem;
		text-align: unset;
	}
	div#titlebox h1 {
		font-size: 2rem;
	}
	div.booksingle img {
		height: auto;
		width: 100%;
	}
	div.bookbutton {
		width: 100%;
		padding: 2rem;
/*		grid-template-columns: repeat(2,1fr);*/
		grid-gap: 0.5rem;
	}
	div.bookbutton img {
		height: 1.8rem;
	}
	.m-col2 {
		grid-template-columns: repeat(2,1fr) !important;
	}
}



/* ----------------------------------------------
 * Generated by Animista on 2022-8-9 14:50:42
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation scale-in-tl
 * ----------------------------------------
 */
@-webkit-keyframes scale-in-tl {
  0% {
    -webkit-transform: scale(0);
            transform: scale(0);
    -webkit-transform-origin: 0% 0%;
            transform-origin: 0% 0%;
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-transform-origin: 0% 0%;
            transform-origin: 0% 0%;
    opacity: 1;
  }
}
@keyframes scale-in-tl {
  0% {
    -webkit-transform: scale(0);
            transform: scale(0);
    -webkit-transform-origin: 0% 0%;
            transform-origin: 0% 0%;
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-transform-origin: 0% 0%;
            transform-origin: 0% 0%;
    opacity: 1;
  }
}
