[hidden] {
	display: none !important;
}

[opacity] {
	opacity: 1;
}

[debug] * {
	border: 1px solid pink;
}

[unselectable] {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

::-moz-selection {
	/* Code for Firefox */
	background: rgba(var(--rgb-secondary), 0.7);
}

::selection {
	background: rgba(var(--rgb-secondary), 0.7);
}

* {
	/* outline: none; */
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
}

a {
	text-decoration: none;
	-moz-text-decoration: none;
	-moz-text-decoration: none;
	color: inherit;
}

/* i{
	color: #95979b;
} */

:root {
	color-scheme: only light;
	/* #edf2f7 */
	/* #1b252d; */
	/* #2f3738 */
	/* --primry:#111; */
	--font-color: #111;
	--body-color: #fff;
	/* #faf9f5 as a color for a light theme */
	--secondary: #b893fc;
	/* --secondary: red; */
	/* --secondary: #1ec981; */
	--primary: #111;
	--main-font-color: #111;
	--gorgeous-light: #f7f7f7;

	/* Relevant colors*/
	--green-light: rgb(223, 255, 217);
	--green-dark: rgb(79, 159, 58);
	--green-dark-rgb: 79, 159, 58;

	--red-light: #fbd4c5;
	--red-dark: rgb(217, 57, 57);
	--red-hover: #e7c6b9;
	--red-rgb: 234, 84, 85;
	--red-dark-rgb: 217, 57, 57;

	--yellow-rgb: 255, 210, 76;
	--yellow-dark: rgb(211, 172, 57);
	/* #ec6931 */

	/* font */
	--lora: 'Lora', serif;
	--popins: 'Poppins', sans-serif;

	/* rgb color */
	--rgb-primary: 17, 17, 17;
	--rgb-secondary: 30, 201, 129;
	--rgb-secondary: 184, 147, 252;

	/* hsl colors */
	--hdl-secondary: 261, 95%, 78%;

	/* Border color */
	--border-color: rgba(0, 0, 0, 0.09);
}

html {
	height: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--main-font-color);
	position: relative;
	height: 100%;
	font-family: 'Poppins', sans-serif;
	background: var(--body-color);
}

img {
	user-select: none;
	pointer-events: none;
}

/* ////// Logo */

.logo {
	position: relative;
	transition: 300ms;
}

.logo:hover {
	opacity: 0.65;
}

.logo img {
	height: 1.5625em;
}

.logo::after {
	content: 'Beta';
	position: absolute;
	bottom: -25%;
	left: calc(100% + 5px);
	font-family: inherit;
	font-weight: 600;
	font-size: 0.8em;
	text-transform: uppercase;
}

.big-funtenjer {
	max-width: 1600px;
	margin: 0 auto;
	padding: 0 40px;
}

.funtenjer {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 20px;
}

.min-funtenjer {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* /// INPUTS */

/* // checkbox */

/* /////////////////////////////////INPUT: CHECKBOX */

.cbx {
	position: relative;
	display: flex;
	-webkit-user-select: none;
	user-select: none;
	cursor: pointer;
	padding: 6px 8px;
	border-radius: 6px;
	overflow: hidden;
	transition: all 0.2s ease;
}

.cbx:hover {
	background: rgba(var(--rgb-primary), 0.06);
}

.cbx span {
	margin-top: 4px;
	float: left;
	vertical-align: middle;
	transform: translate3d(0, 0, 0);
	color: rgba(var(--rgb-primary), 0.6);
}

.cbx span a {
	font-weight: 500;
	color: var(--primary);
	text-decoration: underline;
}

.cbx span:first-child {
	margin-top: 3px;
	position: absolute;
	width: 18px;
	height: 18px;
	border-radius: 4px;
	transform: scale(1);
	border: 2px solid #c8ccd4;
	transition: all 0.2s ease;
}

.cbx span:first-child svg {
	position: absolute;
	top: 2px;
	left: 1px;
	fill: none;
	stroke: #fff;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-dasharray: 16px;
	stroke-dashoffset: 16px;
	transition: all 0.3s ease;
	transition-delay: 0.1s;
	transform: translate3d(0, 0, 0);
}

.cbx span:last-child {
	padding-left: 25px;
	line-height: 18px;
}

.cbx:hover span:first-child {
	border-color: var(--primary);
}

.inp-cbx:checked + .cbx span:first-child {
	background: var(--primary);
	border-color: var(--primary);
	animation: wave 0.4s ease;
}

.inp-cbx:checked + .cbx span:first-child svg {
	stroke-dashoffset: 0;
}

.inline-svg {
	position: absolute;
	width: 0;
	height: 0;
	pointer-events: none;
	user-select: none;
}

@-moz-keyframes wave {
	50% {
		transform: scale(0.9);
	}
}

@-webkit-keyframes wave {
	50% {
		transform: scale(0.9);
	}
}

@-o-keyframes wave {
	50% {
		transform: scale(0.9);
	}
}

@keyframes wave {
	50% {
		transform: scale(0.9);
	}
}

::-webkit-scrollbar {
	width: 6px;
}

::-webkit-scrollbar-track {
	background: #eee;
}

::-webkit-scrollbar-thumb {
	background: var(--primary);
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Firefox */
input[type='number'] {
	-moz-appearance: textfield;
}

input[type='text'],
input[type='password'],
input[type='email'],
input[type='number'] {
	font-family: inherit;
	border: 2px solid var(--body-color);
	background: var(--body-color);
	border-radius: 6px;
	width: 100%;
	height: 48px;
	padding: 0px 14px;
	-webkit-text-fill-color: var(--primary);
	outline: none;
	box-shadow: rgb(255 255 255) 0px 0px 0px 1000px inset;
}

input.negative {
	border: 2px solid transparent;
	background: rgba(var(--rgb-primary), 0.06);
	border-radius: 6px;
	width: 100%;
	height: 48px;
	padding: 0px 14px;
	-webkit-text-fill-color: var(--primary);
	outline: none;
	box-shadow: #f1f1f1 0px 0px 0px 1000px inset;
}

input::placeholder {
	opacity: 0.5;
}

input[type='password'] {
	padding-right: 40px;
}

input:focus {
	border: 2px solid var(--primary);
}

input:focus-visible {
	outline: none;
}

.input-holder small {
	display: none;
}

/* // Wrong input hendaler */
.input-holder.corect,
.input-holder.wrong {
	position: relative;
}

.input-holder.wrong input {
	padding-right: 35px;
	background: var(--body-color);
	box-shadow: none;
	border: 1px solid rgba(var(--rgb-secondary), 0.7);
	box-shadow: 0px 0px 0 3px rgba(var(--rgb-secondary), 0.3);
	transition: 300ms;
	/* animation: shake .2s; */
}

.input-holder.wrong::after {
	content: '\f06a';
	font-family: 'Font Awesome 6 Pro';
	font-weight: 900;
	position: absolute;
	bottom: 15px;
	right: 10px;
	color: rgba(var(--rgb-secondary), 0.9);
	/* animation: shake .2s; */
}

.input-holder.wrong small {
	display: block;
	position: absolute;
	font-size: 0.7em;
	margin-left: 2px;
	margin-top: 4px;
	color: var(--secondary);
}

@keyframes shake {
	0% {
		transform: translateX(0);
	}
	10% {
		transform: translateX(-5px);
	}
	40% {
		transform: translateX(5px);
	}
	50% {
		transform: translateX(-5px);
	}
	80% {
		transform: translateX(5px);
	}
	100% {
		transform: translateX(0);
	}
}

/* // Corect input hendlaer */

.input-holder.corect::after {
	content: '\f058';
	font-family: 'Font Awesome 6 Pro';
	font-weight: 900;
	position: absolute;
	bottom: 15px;
	right: 10px;
	color: var(--green-dark);
	animation: shake 0.2s;
}

.input-holder.corect input {
	border: transparent;
	background: var(--green-light);
	box-shadow: none;
}

/* /////////// Button ///////// */

button {
	font-family: 'Poppins', sans-serif;
}

button:disabled {
	cursor: not-allowed;
	filter: grayscale(1);
	opacity: 0.8;
}

.btn-primary {
	background: var(--secondary);
	display: inline-block;
	margin-top: 20px;
	padding: 7px 40px;
	color: var(--body-color);
	letter-spacing: 1px;
	border-radius: 5px;
	font-weight: bold;
	transition: 0.5s ease;
	border: 2px solid var(--secondary);
	cursor: pointer;
}

.btn-primary:hover {
	background: var(--body-color);
	color: var(--secondary);
	border-color: var(--secondary);
}

button.secondary-btn {
	border: none;
	border-radius: 6px;
	height: 48px;
	padding: 0 55px;
	cursor: pointer;
	font-size: 1em;
	font-weight: 600;
	color: var(--body-color);
	appearance: none;
	background-color: var(--primary);
	border: 2px solid transparent;
	outline: none;
	transition: 300ms;
}

button.secondary-btn:focus {
	border-color: var(--secondary);
}

button.secondary-btn:hover:enabled {
	background: var(--body-color);
	border-color: var(--primary);
	color: var(--primary);
}

button.secondary-btn[disabled] {
	cursor: not-allowed;
	background: rgba(var(--rgb-primary), 0.08);
	color: var(--primary);
}

.input-reverse {
	border: 2px solid transparent;
	background: rgba(var(--rgb-primary), 0.06);
	border-radius: 6px;
	width: 100%;
	height: 48px;
	padding: 0px 14px;
	font-size: 16px;
	-webkit-text-fill-color: var(--primary);
	/* border: 1px solid #111; */
	outline: none;
}

/* // google and facebook button */

.register-with-button {
	display: flex;
	justify-content: center;
	align-items: center;
	border: 2px solid var(--primary);
	background: var(--body-color);
	border-radius: 6px;
	width: 100%;
	height: 48px;
	outline: none;
	cursor: pointer;
	font-weight: 500;
	font-size: 0.9em;
	transition: 300ms;
	margin-bottom: 15px;
}

.register-with-button svg {
	margin-right: 10px;
}

.register-with-button:hover {
	background: var(--primary);
	color: var(--body-color);
}

.register-with-button:active {
	transform: translateY(2px);
}

/* // Loading button loader spinner */

body button.loading {
	background: var(--body-color);
	border: 2px solid var(--primary);
	color: var(--primary);
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: default;
	transition: 300ms;
}

button.loading .loading-button-loader {
	display: block;
}

.loading-button-loader {
	--size: 1em;
	display: none;
	width: var(--size);
	height: var(--size);
	border-radius: 50%;
	position: relative;
	margin-right: 0.5em;
	animation: rotate 1s linear infinite;
}
.loading-button-loader::before {
	content: '';
	box-sizing: border-box;
	position: absolute;
	inset: 0px;
	border-radius: 50%;
	border: 0.212em solid var(--primary);
	animation: prixClipFix 2s linear infinite;
}

@keyframes rotate {
	100% {
		transform: rotate(360deg);
	}
}

@keyframes prixClipFix {
	0% {
		clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0);
	}
	25% {
		clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0);
	}
	50% {
		clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%);
	}
	75% {
		clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%);
	}
	100% {
		clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0);
	}
}

/* ////////// template ///////// */

aside {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 20px 30px;
	overflow: auto;
	background: var(--body-color);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
	border-right: 1px solid rgba(0, 0, 0, 0.09);
}

aside .logo {
	font-size: 0.8rem;
	display: flex;
}

aside .logo img {
	margin: 0 auto;
}

aside .logo::after {
	left: 76%;
}

aside nav {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

aside nav ul {
	display: flex;
	flex-direction: column;
	list-style: none;
	padding: 0;
	margin: 0;
	margin-top: 20px;
}

aside nav ul > div {
	padding-top: 20px;
	border-top: 1px solid rgba(0, 0, 0, 0.09);
}

aside nav .help {
	background: rgba(var(--rgb-primary), 0.06);
	padding: 20px 30px;
	margin: 0 -30px;
	margin-bottom: -20px;
	cursor: pointer;
	transition: 300ms;
	font-size: 0.8em;
}

aside nav .help:hover {
	background: rgba(var(--rgb-primary), 0.12);
}

aside nav .help i {
	color: rgba(var(--rgb-primary), 0.5);
	margin-right: 7px;
	font-size: 1em;
}

aside nav ul li {
	display: flex;
	align-items: center;
	font-weight: 500;
	padding: 10px 30px;
	cursor: pointer;
	color: rgba(var(--rgb-primary), 0.5);
	font-size: 1rem;
	transition: 300ms;
	border-radius: 10px;
	margin: 15px 0;
	border-bottom: 2px solid transparent;
}

/* disabled element */

aside nav ul li.disabled {
	--background: rgba(var(--rgb-primary), 0.03);
	--color: rgba(var(--rgb-primary), 0.5);
	position: relative;
	background: var(--background);
	color: var(--color);
	cursor: not-allowed;
	opacity: 0.6;
}

aside nav ul li.disabled::after {
	content: '\f023';
	font-weight: 900;
	font-family: 'Font Awesome 6 Pro';
	position: absolute;
	right: -10px;
	height: 30px;
	width: 30px;
	background: rgba(var(--rgb-primary), 0.2);
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50%;
}

aside nav ul li.disabled:hover i,
aside nav ul li.disabled i {
	color: var(--color);
}

aside nav ul li.disabled:hover {
	background: var(--background);
	color: var(--color);
	border-color: rgba(var(--rgb-primary), 0.08);
	border-color: transparent;
}

aside nav ul li.active {
	background: rgba(var(--rgb-primary), 0.06);
	color: var(--primary);
}

aside nav ul li i {
	margin-right: 12px;
	color: var(--primary);
	color: rgba(var(--rgb-primary), 0.6);
}

aside nav ul li:hover {
	background: rgba(var(--rgb-primary), 0.06);
	color: var(--primary);
	border-color: rgba(var(--rgb-primary), 0.08);
}

aside nav ul li:hover i {
	color: var(--primary);
}

/* ////////ENDE ASIDE /////////// */

.page-grid {
	display: grid;
	grid-template: 1fr / 300px 1fr;
	height: 100%;
}

.page-grid main {
	--side-padding: 20px;
	padding: 20px var(--side-padding);
	overflow: auto;
}

.access-warning {
	position: relative;
	background-color: rgba(var(--yellow-rgb), 0.3);
	margin: calc(var(--side-padding) * -1);
	margin-bottom: 20px;
	margin-top: -20px;
	padding: 20px 20px;
	font-size: 0.9em;
}

.access-warning i {
	color: var(--yellow-dark);
	font-size: 1em;
}

.access-warning a {
	font-weight: 500;
}

.access-warning a:hover {
	text-decoration: underline;
}

.explanation .header {
	position: relative;
	display: flex;
	align-items: center;
	background-color: rgba(var(--yellow-rgb), 0.3);
	padding: 1em;
	margin-bottom: 1em;
}

.page-grid main header {
	position: relative;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	padding: 0 30px;
}

.page-grid main header .notifications {
	position: relative;
	margin-right: 20px;
	cursor: pointer;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: 300ms;
	font-size: 1rem;
}

.page-grid main header .notifications.active {
	background: rgba(var(--rgb-primary), 0.06);
}

.page-grid main header .notifications .circle {
	position: absolute;
	top: 0.25em;
	right: 0.25em;
	height: 0.4375em;
	width: 0.4375em;
	border-radius: 50%;
	box-sizing: content-box;
	background: var(--secondary);
	color: var(--body-color);
	border: 2px solid var(--body-color);
}

/* .page-grid main header .notifications.active .circle{
	display: none;
} */

.page-grid main header .notifications i {
	color: rgba(var(--rgb-primary), 0.6);
}

/* // Notifications  feed*/

.notification-nav {
	display: none;
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	background: var(--body-color);
	box-shadow: 0px 10px 50px rgb(0 0 0 / 10%);
	z-index: 10;
	border-radius: 6px;
	max-width: 400px;
	width: 100%;
	animation: fadeIn 300ms;
}

.notification-nav::after {
	content: '';
	position: absolute;
	top: -6px;
	left: 45px;
	width: 0;
	height: 0;
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
	border-right: 6px solid transparent;
	border-bottom: 6px solid #fff;
	border-left: 6px solid transparent;
}

.notification-nav .header {
	height: 1.875em;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid #eee;
	padding: 1.25em;
}

.notification-nav .header h3 {
	margin: 0;
	font-size: 0.9em;
	font-weight: 500;
}

.notification-nav .header .read {
	position: relative;
	cursor: pointer;
}

.notification-nav .header .read i {
	color: var(--secondary);
}

.notification-nav .header .read:active i {
	color: var(--green-dark);
}

.notification-nav .header .read .flag {
	--color: #ddd;
	padding: 5px 10px;
	background: var(--color);
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: calc(100% + 10px);
	animation: fadeIn 300ms;
	display: none;
	border-radius: 5px;
}

.notification-nav .header .read .flag span {
	font-size: 0.7em;
	white-space: nowrap;
	opacity: 0.9;
}

.notification-nav .read .flag::before {
	content: '';
	position: absolute;
	top: 50%;
	left: -9px;
	width: 0;
	height: 0;
	transform: translateY(-50%) rotate(-90deg);
	border-right: 6px solid transparent;
	border-bottom: 6px solid var(--color);
	border-left: 6px solid transparent;
}

.notification-nav .read:hover .flag {
	display: block;
}

/* // types of notificatins */

.new-book {
	display: grid;
	align-items: flex-start;
	padding: 0.9em 1.25em;
	grid-template: 1fr / 33px 1fr;
	font-size: 0.8rem;
	border-radius: 0.3125em;
	border: 1px solid transparent;
	border-bottom-color: #eee;
	position: relative;
}

.new-book.seen::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(var(--rgb-primary), 0.06);
}

.new-book:last-child {
	border: none;
}

.new-book .img-holder {
	position: relative;
}

.new-book .img-holder img {
	height: 50px;
	width: 33px;
	border-radius: 5px;
}

.new-book .img-holder .flag {
	position: absolute;
	right: -6px;
	bottom: -6px;
	height: 17px;
	width: 17px;
	font-size: 0.6em;
	background: var(--secondary);
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50%;
	border: 2px solid #fff;
	box-sizing: content-box;
}

.new-book .content {
	padding-left: 20px;
}

.new-book .content .content-header {
	display: flex;
	align-items: center;
	margin-bottom: 5px;
}

.new-book .content .content-header .title {
	font-weight: 600;
}

.new-book .content .content-header .dot {
	height: 3px;
	width: 3px;
	margin: 0 5px;
	border-radius: 50%;
	background: rgba(var(--rgb-primary), 0.6);
}

.new-book .content .content-header .time {
	font-size: 0.8em;
	color: rgba(var(--rgb-primary), 0.7);
}

.new-book .content .content-body p {
	margin: 0;
	font-size: 0.9em;
	color: rgba(var(--rgb-primary), 0.9);
}

/* // End */

.page-grid main header .notification-nav .header {
	height: 30px;
	border-bottom: 1px solid #eee;
}

.page-grid main header .notification-nav .body {
	overflow: auto;
	min-height: 350px;
	height: 350px;
}

.page-grid main header .notification-nav .body .no-content {
	display: none;
	flex-direction: column;
	align-items: center;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.page-grid main header .notification-nav .body .no-content i {
	font-size: 5em;
	color: rgba(var(--rgb-secondary), 0.4);
}

.page-grid main header .notification-nav .body .no-content span {
	font-size: 0.9em;
	color: rgba(var(--rgb-primary), 0.5);
	margin-top: 10px;
}

.page-grid main header .search {
	position: relative;
	width: 800px;
	max-width: 100%;
	margin-left: auto;
	margin-bottom: 0;
	margin-right: 20px;
}

.page-grid main header .search input[placeholder] {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-family: inherit;
}

/* // Ubaci animacijuu */
.page-grid main header .search .suggested-books {
	position: absolute;
	background: var(--body-color);
	z-index: 10;
	width: 100%;
	padding: 20px 10px;
	padding-bottom: 0;
	border-radius: 6px;
	box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.06);
	top: calc(100% + 5px);
	border: 1px solid #eee;
	display: none;
	box-shadow: 0px 10px 50px rgb(0 0 0 / 10%);
}

/* // Book Card */

.book-card {
	display: grid;
	padding: 5px;
	grid-template: 1fr / 60px 1fr;
	font-size: 0.8rem;
	border-radius: 5px;
	border: 1px solid transparent;
	border-bottom-color: #eee;
	margin-bottom: 10px;
}

.book-card:last-child {
	border: none;
}

.book-card:hover {
	background: rgba(var(--rgb-primary), 0.06);
}

.book-card.focus {
	background: rgba(var(--rgb-primary), 0.06);
}

.book-card .book-img {
	position: relative;
}

.book-card .book-img.audio::after {
	content: '\f58f';
	font-family: 'Font Awesome 6 Pro';
	font-weight: bold;
	font-size: 12px;
	position: absolute;
	top: 5px;
	right: 15px;
	padding: 5px;
	color: var(--body-color);
	background: var(--secondary);
	border-radius: 50%;
}

.book-card .book-img img {
	height: 50px;
	width: 33px;
	border-radius: 5px;
}

.book-card .other .info {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.book-card .other .info .author {
	font-weight: 300;
	color: rgba(var(--rgb-primary), 0.6);
	font-size: 0.8rem;
}

.page-grid main header .search i {
	font-size: 0.8rem;
	position: absolute;
	top: 50%;
	right: 2%;
	transform: translate(-50%, -50%);
	background: #f1f1f1;
}

.profile {
	position: relative;
	margin-left: auto;
	display: flex;
	align-items: center;
}

/* in explorer mode */

.explorer-buttons {
	display: flex;
}

.explorer-buttons a {
	font-size: 0.9em;
	border-radius: 6px;
	padding: 7px 20px;
	font-weight: 700;
	border: 2px solid transparent;
	transition: 500ms;
}

.profile .login-button {
	margin-right: 10px;
	width: max-content;
	border-color: var(--primary);
}

.profile .login-button:hover {
	color: var(--body-color);
	background: rgba(var(--rgb-primary), 1);
}

.profile .register-button {
	color: var(--body-color);
	background: rgba(var(--rgb-primary), 1);
	box-shadow: 0 16px 40px rgb(0 0 0 / 12%);
}

.register-button:hover {
	background: var(--body-color);
	color: var(--primary);
	border-color: var(--priamry);
}

/* // END */

.profile:hover .nav {
	display: block;
}

.profile .img-holder {
	position: relative;
}

.profile .nav {
	position: absolute;
	top: calc(100% + 10px);
	left: 50%;
	transform: translateX(-80%);
	width: 270px;
	padding: 0.9375em 0;
	background: var(--body-color);
	box-shadow: 0px 10px 50px rgb(0 0 0 / 10%);
	z-index: 20;
	border-radius: 0.375em;
	display: none;
	animation: fadeIn 300ms;
}

.profile .nav::after {
	content: '';
	top: -20px;
	right: 0;
	left: 0;
	position: absolute;
	padding: 20px;
}

.profile .nav::before {
	content: '';
	position: absolute;
	top: -6px;
	left: 80%;
	width: 0;
	height: 0;
	transform: translateX(-50%);
	border-right: 6px solid transparent;
	border-bottom: 6px solid #fff;
	border-left: 6px solid transparent;
}

.profile .row {
	padding: 0.5em 2em;
	display: block;
	opacity: 0.8;
	margin: 0.3125em 0;
	font-size: 0.9em;
}

.profile .row i {
	margin-right: 0.3125em;
}

.profile .row:hover {
	background: rgba(var(--rgb-primary), 0.06);
	opacity: 1;
}

.profile hr {
	display: block;
	height: 0.0625em;
	border: 0;
	background: #e7e7e9;
	margin: 0 2em;
}

.profile img {
	display: inline-block;
	width: 40px;
	height: 40px;
	object-fit: cover;
	border-radius: 50%;
	box-sizing: content-box;
	border: 2px solid rgba(0, 0, 0, 0.09);
	position: relative;
	object-fit: cover;
}

.profile span {
	margin-left: 10px;
	font-size: 0.9rem;
}

.profile .more i {
	margin-left: 10px;
	color: #141212;
}

/* / Book  */
.book {
	max-width: 10em;
}

.book .stars {
	font-size: 0.9em;
	margin-bottom: 10px;
}

main .banner .img-holder .cover,
.book .cover {
	position: relative;
}

.book .cover img {
	/* background: #f1f1f1; */
	animation: gradient 5s ease-in-out infinite;
	background: linear-gradient(270deg, #f1f1f1, #d3cbcb, #f1f1f1);
	background-size: 200% 200%;
}

@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

.book .cover.read img {
	border: 3px solid var(--primary);
	border-radius: 5px;
	position: relative;
}

.book .cover.read::before {
	content: '\f00c';
	position: absolute;
	font-family: 'Font Awesome 6 Pro';
	font-weight: 900;
	font-size: 0.8em;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #fff;
	top: -10px;
	right: calc(100% - 20px);
	--size: 1.7625em;
	height: var(--size);
	width: var(--size);
	border: 2px solid #fff;
	border-radius: 50%;
	background: var(--primary);
	z-index: 10;
}

.book .cover img {
	display: block;
	width: 10em;
	height: 15em;
	position: relative;
	border-radius: 0 2px 2px 0;
	/* box-shadow: 0px 8px 20px 1px rgba(6, 35, 64, 0.3); */
	box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.06);
	object-fit: cover;
	transition: filter 0.2s;
}

.book .cover:hover img {
	filter: brightness(1.05);
}

.book .cover .audio-tag {
	position: absolute;
	top: 5px;
	right: -10px;
	font-size: 0.9em;
	padding: 10px 5px 20px;
	color: var(--body-color);
	background: var(--secondary);
	border-radius: 2px;
	clip-path: polygon(0 0, 100% 1%, 100% 100%, 51% 79%, 0 100%);
}

main .banner .img-holder .cover::after,
.book .cover::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	background: linear-gradient(
		to right,
		rgba(0, 0, 0, 0.1) 0%,
		rgba(211, 211, 211, 0.1) 5%,
		rgba(255, 255, 255, 0.15) 5%,
		rgba(255, 255, 255, 0.1) 9%,
		rgba(0, 0, 0, 0.01) 100%
	);
}

.book .title {
	font-family: var(--lora);
	font-size: 1em;
	line-height: 1.3;
	display: block;
	margin-bottom: 5px;
	margin-top: 15px;
	cursor: pointer;
	font-weight: 600;
}

.book .author {
	font-size: 0.8125em;
	margin-bottom: 5px;
	color: #a5a4aa;
}

.book .progress {
	display: flex;
	align-items: center;
	margin-top: auto;
}

.book .progress span {
	margin-left: 0.625em;
	font-size: 0.8125em;
}

.book .progress progress {
	-webkit-appearance: none;
	border: none;
	height: 5px;
}

.book .progress progress::-webkit-progress-bar {
	background: #ddd;
}

.book .progress progress::-webkit-progress-value {
	background: var(--secondary);
}

.book-stack .cover::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
}

.book-price {
	font-family: var(--popins);
	font-size: 1.1em;
	color: var(--star-background);
	font-weight: 600;
	margin-top: -5px;
}

/* Rate book */
.rate-book-holder {
	position: absolute;
	display: none;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(var(--rgb-primary), 0.3);
	z-index: 100;
}

.rate-book {
	position: relative;
	margin: auto;
	width: 100%;
	max-width: 400px;
	background: #fff;
	box-shadow: 0px 10px 50px rgb(0 0 0 / 10%);
	z-index: 2;
	border-radius: 6px;
}

.rate-book .book-card {
	margin: 30px 20px 10px 20px;
	border: none;
}

.rate-book .book-card:hover {
	background: none;
}

.rate-book .close {
	position: absolute;
	display: flex;
	top: 7px;
	right: 7px;
	font-size: 1em;
	cursor: pointer;
	height: 25px;
	width: 25px;
	border-radius: 50%;
	translate: 300ms;
}

.rate-book .close i {
	margin: auto;
}

.rate-book .close:hover {
	background: rgba(var(--rgb-primary), 0.06);
}

.rate-book .stars-holder {
	display: flex;
	padding: 20px 50px;
	justify-content: space-between;
	background: rgba(var(--rgb-primary), 0.06);
}

.rate-book .stars-holder .star {
	font-size: 1.2em;
	cursor: pointer;
	color: rgba(var(--rgb-primary), 0.2);
}

.rate-book .stars-holder .star.active i {
	color: var(--star-background);
	transition: 300ms;
}

.rate-book .stars-holder .star.chosen {
	animation: rotate 1s;
}

/* // Notifications */
.notification-success {
	position: absolute;
	display: none;
	align-items: center;
	height: 80px;
	bottom: 10px;
	left: 20px;
	right: 20px;
	background: #fff;
	border-radius: 6px;
	overflow: hidden;
	animation: fadeIn 0.3s ease-in-out;
}

.notification-success .ico-holder {
	display: flex;
	background: var(--green-light);
	color: var(--green-dark);
	height: 100%;
	width: 50px;
}

.notification-success .ico-holder i {
	margin: auto;
}

.notification-success .info {
	margin-left: 20px;
}

.notification-success .info h3 {
	margin: 0;
}

.notification-success span {
	font-size: 0.9em;
	opacity: 0.8;
}

/* ///STARS////// */

:root {
	--star-size: 15px;
	--star-color: rgba(var(--rgb-primary), 0.1);
	--star-background: #ffaf00;
}

.stars {
	--percent: calc(var(--rating) / 5 * 100%);
	display: inline-block;
	font-size: var(--star-size);
	font-family: Times;
}
.stars::before {
	font-family: 'Font Awesome 6 Pro';
	content: '\f005 \f005 \f005 \f005 \f005';
	font-weight: 900;
	letter-spacing: 3px;
	background: linear-gradient(90deg, var(--star-background) var(--percent), var(--star-color) var(--percent));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.stars span {
	font-family: var(--popins);
	font-size: 0.8em;
	margin-left: 5px;
}

/* ///END////// */

/* // progress bar for Firefox */

::-moz-progress-bar {
	background-color: var(--secondary);
}

.simple-hover {
	--size: 0;
	width: var(--size);
	height: var(--size);
	display: flex;
	border-radius: 50%;
	transition: background 0.5s ease;
	cursor: pointer;
}

.simple-hover i {
	margin: auto;
}

.simple-hover:hover {
	background: #f6f7fa;
}

.simple-hover:active {
	transform: scale(0.96);
}

category {
	padding: 2px 10px;
	margin-right: 5px;
	display: inline-block;
	margin-top: 10px;
	border-radius: 10px;
	font-size: 0.8rem;
	background: var(--gorgeous-light);

	-webkit-user-select: none; /* Safari */
	-moz-user-select: none; /* Firefox */
	-ms-user-select: none; /* IE10+/Edge */
	user-select: none; /* Standard */
}

category i {
	margin-left: 5px;
}

/* ////////////////SCROLL BAR/////////////////////// */

/* width */
::-webkit-scrollbar {
	width: 7px;
	height: 7px;
}

/* Track */
::-webkit-scrollbar-track {
	background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
	background: rgb(204, 203, 203);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
	background: #999;
}

* {
	scrollbar-color: #999 #f1f1f1;
	scrollbar-width: thin;
}

/* ///////progress???????????? */

progress {
	width: 100%;
	-webkit-appearance: none;
	border: none;
	height: 5px;
	/* transform: translateY(5px); */
}

progress::-webkit-progress-bar {
	background: #eee;
}

progress::-webkit-progress-value {
	background: var(--secondary);
}

/* // Highlighter som fixes */

.fa-highlighter {
	font-weight: 400;
}

/* ///sound waves ico */

.sound-waves {
	display: flex;
	align-items: center;
}

.sound-waves div {
	background: var(--secondary);
	width: 2px;
	animation: 0s onlyScale infinite;
}

.sound-waves div:not(:last-child) {
	margin-right: 2px;
}

.sound-waves div:nth-child(5),
.sound-waves div:nth-child(1) {
	height: 6px;
}

.sound-waves div:nth-child(4),
.sound-waves div:nth-child(2) {
	height: 12px;
	animation-duration: 3s;
}

.sound-waves div:nth-child(3) {
	height: 18px;
	animation-duration: 3.5s;
}

/* ALLL ANIMATION */

@keyframes rotate-dance {
	50% {
		transform: rotate(45deg);
	}

	100% {
		transform: rotate(-45deg);
	}
}

@keyframes itemLoading {
	from {
		background: #f1f1f1;
		opacity: 0;
	}
	to {
		background: transparent;
		opacity: 1;
	}
}

@keyframes bounceIn {
	from,
	20%,
	40%,
	60%,
	80%,
	to {
		-webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
		animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
	}

	0% {
		opacity: 0;
		-webkit-transform: scale3d(0.3, 0.3, 0.3);
		transform: scale3d(0.3, 0.3, 0.3);
	}

	20% {
		-webkit-transform: scale3d(1.1, 1.1, 1.1);
		transform: scale3d(1.1, 1.1, 1.1);
	}

	40% {
		-webkit-transform: scale3d(0.9, 0.9, 0.9);
		transform: scale3d(0.9, 0.9, 0.9);
	}

	60% {
		opacity: 1;
		-webkit-transform: scale3d(1.03, 1.03, 1.03);
		transform: scale3d(1.03, 1.03, 1.03);
	}

	80% {
		-webkit-transform: scale3d(0.97, 0.97, 0.97);
		transform: scale3d(0.97, 0.97, 0.97);
	}

	to {
		opacity: 1;
		-webkit-transform: scale3d(1, 1, 1);
		transform: scale3d(1, 1, 1);
	}
}

@keyframes bookApear {
	0% {
		opacity: 0;
		transform: scale(0.5);
	}

	100% {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes onlyScale {
	0% {
		transfom: scaleY(1);
	}
	50% {
		transform: scaleY(0.5);
	}

	100% {
		transform: scaleY(1);
	}
}

@keyframes putZindex {
	to {
		z-index: -40;
	}
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		-webkit-transform: translate3d(0, 100%, 0);
		transform: translate3d(0, 100%, 0);
	}

	to {
		opacity: 1;
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
}

@keyframes fadeOutUp {
	from {
		opacity: 1;
	}

	to {
		opacity: 0;
		-webkit-transform: translate3d(0, -100%, 0);
		transform: translate3d(0, -100%, 0);
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes fadeOut {
	0% {
		opacity: 1;
	}

	100% {
		opacity: 0;
	}
}

@keyframes slideInUp {
	from {
		-webkit-transform: translate3d(0, 150%, 0);
		transform: translate3d(0, 150%, 0);
		visibility: visible;
	}

	to {
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
}

@keyframes slideInLeft {
	from {
		-webkit-transform: translate3d(-150%, 0, 0);
		transform: translate3d(-150%, 0, 0);
		visibility: visible;
	}

	to {
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
}

@keyframes rotate {
	to {
		transform: rotate(360deg);
	}
}

.logo .small {
	display: none;
}

@media screen and (max-width: 1450px) {
	.page-grid {
		grid-template: 1fr / 60px 1fr;
	}

	aside {
		padding: 0;
	}

	aside .logo img,
	aside .logo::after,
	aside nav ul li span,
	aside nav .help {
		display: none;
	}

	.logo .small {
		display: block;
		margin-top: 10px;
	}

	aside nav ul {
		height: unset;
		display: flex;
	}

	aside nav ul li {
		border-radius: 0;
		width: 100%;
		padding: 0;
		margin: 0;
		width: 100%;
		height: 60px;
		display: flex;
		border-bottom: none;
	}

	aside nav ul li i {
		margin: auto;
	}

	aside nav ul li.disabled::after {
		display: none;
	}
}

/* // screeen size not supported */

.no-support {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 100;
	background: white;
	display: flex;
	padding: 40px;
	display: none;
}

.no-support .content {
	margin: auto;
}

.no-support .content .back {
	background: rgba(var(--rgb-primary), 0.06);
	position: absolute;
	top: 40px;
	left: 40px;
	display: flex;
	width: 50px;
	height: 40px;
	transition: 300ms;
	margin-bottom: auto;
}

.no-support .content .back:hover {
	background: var(--primary);
	color: var(--body-color);
}

.no-support .content .back i {
	margin: auto;
	transition: 300ms transform;
}

.no-support .content .back:hover i {
	transform: translateX(-5px);
}

.no-support h2 {
	font-family: var(--lora);
	font-size: 2em;
}

.no-support .devices-holder {
	--color: rgba(var(--rgb-secondary), 0.7);
	width: 100%;
	display: flex;
	/* justify-content: space-between; */
	justify-content: center;
	align-items: center;
	padding: 20px;
}

.no-support .devices-holder > i {
	color: rgba(var(--rgb-primary), 0.5);
	font-size: 2em;
	display: none;
}

.no-support .laptop {
	width: 150px;
}

.no-support .laptop .screen {
	width: 100%;
	height: 100px;
	border: 5px solid var(--color);
	display: flex;
	border-radius: 10px;
}

.no-support .laptop .screen i {
	margin: auto;
	font-size: 2em;
	color: var(--secondary);
}

.no-support .laptop .keyboard {
	height: 10px;
	background: var(--color);
	margin-top: 5px;
	margin: 5px -10px;
	border-radius: 10px;
}

.no-support .devices-holder .mobile {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-left: 30px;
	/* margin-top: -10px; */
}

.no-support .devices-holder .mobile i:first-child {
	font-size: 7em;
	color: var(--secondary);
}

.no-support .devices-holder .mobile i:last-child {
	position: absolute;
	font-size: 1.5em;
	margin-bottom: 10px;
	color: #fff;
}

/* // More icon */

.more-options {
	height: 30px;
	width: 30px;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	font-size: 0.8rem;
	transition: 0.5s ease;
	border: 2px solid transparent;
}

.more-options.active,
.more-options:hover {
	background: #f6f7fa;
}

@media screen and (max-width: 1200px) {
	.no-support {
		display: flex;
	}
}

@media screen and (max-width: 900px) {
	*::-webkit-scrollbar {
		display: none;
	}

	* {
		-ms-overflow-style: none;
		scrollbar-width: none;
	}

	.page-grid {
		grid-template: 1fr 60px / auto;
	}

	.page-grid main {
		--side-padding: 10px;
	}

	main {
		grid-column-start: 1;
		grid-row-start: 1;
	}

	.logo .small {
		display: none;
	}

	aside nav {
		border-top: 1px solid #eee;
		overflow: hidden;
	}

	aside nav ul {
		flex-direction: row;
		margin: 0;
	}

	aside nav ul li.active i {
		font-weight: bold;
		color: var(--primary);
	}

	aside nav ul > div {
		display: flex;
		padding: 0;
		border: none;
		flex: 1;
	}

	aside nav ul a {
		flex: 1;
	}

	.page-grid main header {
		flex-wrap: wrap;
		padding: 0;
	}

	.page-grid main header .profile {
		order: 0;
		margin: 0;
		margin-right: auto;
		position: unset;
	}

	.page-grid main header .profile .img-holder {
		position: unset;
	}

	.page-grid main header .profile .nav {
		position: absolute;
		top: 54px;
		left: 0;
		right: 0;
		transform: translateX(0);
		width: unset;
		font-size: 1.05rem;
	}

	.page-grid main header .profile .nav::before {
		display: none;
	}

	.page-grid main header .notifications {
		order: 1;
		margin: 0;
	}

	.page-grid main header .search {
		order: 2;
		margin: 0;
		margin-top: 10px;
		width: 100%;
	}

	.notification-nav {
		max-width: unset;
		font-size: 1rem;
		top: 53px;
	}

	.notification-nav::after {
		display: none;
	}

	.notification-nav .header .read .flag {
		display: none;
	}
}

/* // for now */

.discount-popup {
	position: fixed;
	bottom: 1rem;
	right: 1rem;
	background: #fff;
	border-radius: 0.325rem;
	box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
	z-index: 99;
	max-width: 500px;
	width: 100%;
	border-top: 5px solid var(--secondary);

	transform: translateX(110%);
	opacity: 0;
	z-index: -2;
	transition: 500ms;
}

.discount-popup.show {
	transform: translateX(0);
	opacity: 1;
	z-index: 999;
}

.discount-popup .header {
	position: relative;
	display: flex;
	padding: 1rem 2rem;
	padding-right: 4.5rem;
}

.discount-popup .header .close {
	--size: 2rem;
	position: absolute;
	right: 20px;
	width: var(--size);
	height: var(--size);
	border-radius: 50%;
	display: flex;
	transition: 300ms;
	cursor: pointer;
}

.discount-popup .header .close:hover {
	background: rgba(var(--rgb-primary), 0.06);
}

.discount-popup .header .close:active {
	transform: scale(0.98);
}

.discount-popup .header .close i {
	margin: auto;
}

.discount-popup .header .logo-holder {
	display: flex;
	border-right: 2px dashed var(--border-color);
	padding: 1rem 1rem 1rem 0;
	margin-right: 2rem;
}

.discount-popup .header .logo-holder img {
	width: 3rem;
	margin: auto;
}

.discount-popup .header .more-info {
	display: flex;
	flex-direction: column;
}

.discount-popup .header .more-info h3 {
	margin: 0;
	margin-bottom: 5px;
}

.discount-popup .header .more-info p {
	margin: auto;
	font-weight: 500;
}

.discount-popup .header .more-info b {
	font-size: 1.1rem;
}

.discount-popup .body {
	padding: 0 1rem;
}

.discount-popup .body .button-holder {
	border-top: 2px dashed var(--border-color);
	padding: 0.7rem 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.discount-popup .body .button-holder a {
	background: var(--primary);
	color: var(--body-color);
	font-weight: 600;
	padding: 0.4rem 2rem;
	border-radius: 6px;
}

.discount-popup .body .button-holder span {
	color: rgba(var(--rgb-primary), 0.5);
	font-size: 0.9rem;
	padding: 1px 5px;
}

@media screen and (max-width: 800px) {
	.discount-popup {
		bottom: 0;
		left: 0;
		right: 0;
	}
	.discount-popup .body .button-holder a {
		padding: 0.7rem 2rem;
	}
}

@media screen and (max-width: 400px) {
	.discount-popup .header {
		padding: 20px;
		padding-right: 2.5rem;
	}

	.discount-popup .header .logo-holder {
		border-right: none;
		padding: 0;
		margin-right: 2rem;
	}

	.discount-popup .header .logo-holder img {
		width: 2.5rem;
	}

	.discount-popup .body .button-holder a {
		width: 100%;
		text-align: center;
	}

	.discount-popup .body .button-holder span {
		display: none;
	}
}

body{
    /* overflow-x: hidden; */
}

header {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.funtenjer {
    max-width: 1120px;
    width: 100%;
    margin: 0 auto;
}

main {
    height: calc(100vh - 80px);
    display: flex;
}

article {
    display: flex;
    align-items: center;
    margin: auto;
    width: 100%;
}

article .book {
    position: relative;
    margin-right: -130px;
    z-index: 1;
    font-size: 1.5rem;
}

article .book .back {
    position: absolute;
    left: 0;
    top: -100px;
    font-size: .5em;
    padding: 10px 20px;
    background: rgba(var(--rgb-primary), .06);
    z-index: 2;
    cursor: pointer;
    display: flex;
    align-items: center;
}

article .book .back i {
    font-size: 1.2em;
    margin-right: 5px;
    transition: 300ms;
}

article .book .back:hover i {
    transform: translateX(-5px);
}

article .book .back:hover span {
    text-decoration: underline;
}

article .content {
    position: relative;
    padding: 60px;
    padding-left: 200px;
    padding-right: 0;
    background: #cff0ea;
    background: rgba(var(--rgb-primary), .06);
    display: flex;
    flex: 1;
}

article .info {
    padding-right: 20px;
    flex: 1;
}

article author {
    display: block;
    font-size: .8em;
}

article .info h2 {
    font-family: var(--lora);
    font-size: 2em;
    margin: 0;
    margin-bottom: 10px;
}

article .info .sub-title {
    margin-bottom: 20px;
}

article .info .stars-holder {
    font-size: .8em;
    display: flex;
    justify-content: space-between;
}

article .info .description {
    overflow: auto;
    height: 17.4375em;
    margin: 10px 0;
    padding-right: 5px;

    /* -ms-overflow-style: none; 
    scrollbar-width: none;  */
}

article .info .description.book-buy {
    height: 13em;
}

/* article .info .description::-webkit-scrollbar {
    display: none;
} */

article .info .description p {
    font-size: .9em;
    line-height: 1.6;
    text-align: justify;
}

article nav {
    display: flex;
    padding-top: 10px;
}

article nav a>div {
    display: flex;
    margin-right: 20px;
    padding-right: 40px;
    height: 40px;
    position: relative;
    align-items: center;
    border-radius: 6px;
    background: rgba(var(--rgb-primary), .09);
    transition: 300ms;
    font-size: .8em;
    font-weight: 600;
    overflow: hidden;
}

article nav a > div.disabled {
    filter: grayscale(100%);
    user-select: none;
    pointer-events: none;
}

article nav a>div::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--secondary);
    transform: translate(-100%);
    transition: 300ms;
    z-index: -1;
}

nav a>div:active {
    transform: scale(.96);
}

article nav a>div .ico-holder {
    margin-right: 40px;
    height: 100%;
    width: 50px;
    display: flex;
    background: var(--secondary);
}

article nav a>div .ico-holder span {
    margin: auto;
    color: #fff;
}

article nav a>div .ico-holder i {
    margin: auto;
    color: #fff;
}

article nav a>div:hover::after {
    transform: translate(0);
}

article nav a>div.disabled:hover::after {
    transform: translate(-100%);
}

nav a>div:hover {
    opacity: .8;
    color: #fff;
}

nav a>div.disabled:hover {
    opacity: 1;
    color: var(--primary);
}

article .content .more {
    position: relative;
    width: 100px;
    /* background: rgba(var(--rgb-primary), .05); */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

article .content .more a {
    position: relative;
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    margin: 20px 0;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    transition: 300ms;
}

article .content .more a.disabled{
    user-select: none;
    pointer-events: none;
}

article .content .more a.disabled:hover{
    background: var(--body-color);
}

article .content .more a.disabled:hover .flag{
    display: none;
}

article .content .more a.disabled::after{
    content: "\f023";
	font-weight: 900;
	font-family: "Font Awesome 6 Pro";
	position: absolute;
	right: -5px;
	height: 25px;
	width: 25px;
    font-size: .7em;
	background: rgba(var(--rgb-primary), .2);
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50%;
}

article .content .more a.disabled.rate:hover + .rate-container{
    display: none;
}

article .content .more a i {
    margin: auto;
    font-size: .8em;
}

article .content .more a.active i {
    font-weight: bold;
}


article .content .more a:hover {
    background: #ddd;
}



article .content .more a .flag {
    --color: #ddd;
    padding: 5px 10px;
    background: var(--color);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: calc(100% + 10px);
    animation: fadeIn 300ms;
    display: none;
    border-radius: 5px;
}

article .content .more a .flag span {
    font-size: .8em;
    white-space: nowrap;
    opacity: .9;
}

article .content .more a .flag::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -9px;
    width: 0;
    height: 0;
    transform: translateY(-50%) rotate(-90deg);
    border-right: 6px solid transparent;
    border-bottom: 6px solid var(--color);
    border-left: 6px solid transparent;
}

article .content .more a:hover .flag {
    display: block;
}

article .content .more a.rate{
    position: relative;
}

article .content .more a.rate:hover + .rate-container{
    display: block;
}

article .content .more a.rate.rated i{
    font-weight: bold;
    color: var(--star-background);
    transition: 300ms;
}

article .content .more a.rate > span{
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    right: -5px;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: var(--star-background);
    color: var(--body-color);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    font-weight: bold;
    font-size: .7em;
    animation: fadeIn 300ms;
    display: none;
}
article .content .more a.rate.rated > span{
    display: flex;
}

article .content .more .rate-container {
    position: absolute;
    right: calc(100% - 10px);
    background: var(--body-color);
    padding: 1.25em 0.625em;
    border-radius: 6px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    display: none;
    transform: rotate(180deg);
    animation: fadeIn 300ms;
}

article .content .more .rate-container:hover{
    display: block;
}


article .content .more .rate-container::after {
    content: '';
    position: absolute;
    top: 50%;
    right: calc(100% - 10px);
    width: 0;
    height: 0;
    transform: translateX(-50%) rotate(-90deg);
    border-right: 6px solid transparent;
    border-bottom: 6px solid #fff;
    border-left: 6px solid transparent;
}

article .content .more .rate-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 100%;
    width: 20px;
    
}

article .content .more .rate-container .star {
    position: relative;
    display: flex;
    margin-bottom: 10px;
    color: rgba(var(--rgb-primary), .2);
    cursor: pointer;
    transform: rotate(36deg);
}

article .content .more .rate-container .star.active{
    color: var(--star-background);
}


article .content .more .rate-container .star:last-child {
    margin: 0;
}

/* subscribe to eKelimeh ico */

.ek-initials{
    margin: auto;
    font-family: var(--lora);
    font-weight: 600;
}

.ek-initials::after{
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    border-radius: 50%;
    border: 2px dashed rgba(var(--rgb-primary), .5);
    animation: rotate 17s linear infinite;
}

/* buying book */


.buy-book .price{
    font-weight: 600;
    font-size: 2em;
    /* font-family: var(--lora); */
}

.buy-book .btn-holder{
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.buy-book .btn-holder p{
    margin: 0;
    color: rgba(var(--rgb-primary), .6);
    margin-left: 10px;
    font-size: .8em;
}

.add-to-card {
    --background: var(--primary);
    --text: #fff;
    --cart: #fff;
    --tick: var(--background);
    position: relative;
    border: none;
    background: none;
    padding: 8px 50px;
    border-radius: 8px;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    overflow: hidden;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    min-width: 144px;
    flex-shrink: 0;
    color: var(--text);
    background: var(--background);
    transform: scale(var(--scale, 1));
    transition: transform 0.4s cubic-bezier(0.36, 1.01, 0.32, 1.27), opacity 300ms ease;
    outline: none;
  }

  .add-to-card:hover{
    opacity: .9;
  }

  .add-to-card:active {
    --scale: .95;
  }
  .add-to-card span {
    font-weight: 600;
    display: block;
    position: relative;
    padding-left: 24px;
    margin-left: -8px;
    line-height: 26px;
    transform: translateY(var(--span-y, 0));
    transition: transform 0.7s ease;
  }
  .add-to-card span::before, .add-to-card span::after {
    content: "";
    width: var(--w, 2px);
    height: var(--h, 14px);
    border-radius: 1px;
    position: absolute;
    left: var(--l, 8px);
    top: var(--t, 6px);
    background: currentColor;
    transform: scale(0.75) rotate(var(--icon-r, 0deg)) translateY(var(--icon-y, 0));
    transition: transform 0.65s ease 0.05s;
  }
  .add-to-card span::after {
    --w: 14px;
    --h: 2px;
    --l: 2px;
    --t: 12px;
  }
  .add-to-card .cart {
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -13px 0 0 -18px;
    transform-origin: 12px 23px;
    transform: translateX(-150px) rotate(-18deg);
    opacity: 0;
  }
  .add-to-card .cart::before, .add-to-card .cart::after {
    content: "";
    position: absolute;
  }
  .add-to-card .cart::before {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 2px var(--cart);
    bottom: 0;
    left: 9px;
    filter: drop-shadow(11px 0 0 var(--cart));
  }
  .add-to-card .cart::after {
    width: 16px;
    height: 9px;
    background: var(--cart);
    left: 9px;
    bottom: 7px;
    transform-origin: 50% 100%;
    transform: perspective(4px) rotateX(-6deg) scaleY(var(--fill, 0));
    transition: transform 1.2s ease var(--fill-d);
  }
  .add-to-card .cart svg {
    z-index: 1;
    width: 36px;
    height: 26px;
    display: block;
    position: relative;
    fill: none;
    stroke: var(--cart);
    stroke-width: 2px;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .add-to-card .cart svg polyline:last-child {
    stroke: var(--tick);
    stroke-dasharray: 10px;
    stroke-dashoffset: var(--offset, 10px);
    transition: stroke-dashoffset 0.4s ease var(--offset-d);
  }
  .add-to-card.in-progress {
    --scale: .95;
    --span-y: -32px;
    --icon-r: 180deg;
    --fill: 1;
    --fill-d: .8s;
    --offset: 0;
    --offset-d: 1.73s;
  }
  .add-to-card.in-progress .cart {
    animation: cart 3.4s linear forwards 0.2s;
  }
  
  @keyframes cart {
    12.5% {
      transform: translateX(-60px) rotate(-18deg);
      opacity: 1;
    }
    25%, 45%, 55%, 75% {
      transform: none;
      opacity: 1;
    }
    50% {
      transform: scale(0.9);
    }
    44%, 56% {
      transform-origin: 12px 23px;
    }
    45%, 55% {
      transform-origin: 50% 50%;
    }
    87.5% {
      transform: translateX(70px) rotate(-18deg);
    }
    100% {
      transform: translateX(140px) rotate(-18deg);
    }
  }

  .add-to-card.active{
    --background: var(--secondary);
    transition: 300ms;
  }

  .add-to-card.active span{
    position: relative;
  }

  .add-to-card.active span::after{ 
    display: none;
}
  /* .add-to-card.active span::before{
    display: none;
  } */

  .add-to-card.active span::before{
    content:"\f00c";
	font-weight: 900;
	font-family: "Font Awesome 6 Pro";
    background-color: transparent;
    top: unset;
    left: 1px;
    transform: none;
  }




.buy-disclaimer{
    display: flex;
    margin-left: 15px;
    align-items: center;
    gap: 5px;
    
}

.buy-disclaimer i{
    font-size:1.15em;
    color: var(--secondary);
    box-shadow: rgba(var(--rgb-secondary), .9) 0px 8px 24px;
    cursor: pointer;
    border-radius: 50%;
}

.buy-disclaimer i:hover + span{
    opacity: 1;
}

.buy-disclaimer span{
    opacity: 0;
    font-size: .8em;
    color: rgba(var(--rgb-primary), .8);
    background: rgba(var(--rgb-primary), .06);
    padding: 5px 20px;
    border-radius: 6px;
    transition: 300ms;
    max-width: 100%;
    width: 100%;
}

@media screen and (max-width: 1380px) {
    .rate-container{
        font-size: 1.5rem;
    }
}


@media screen and (max-width: 1000px) {
    body {
        font-size: .9rem;
    }

    article nav a>div {
        padding-right: 20px;
    }

    article nav a>div .ico-holder {
        margin-right: 20px;
    }


}

@media screen and (max-width: 900px) {

    div.basket-popup{
		bottom: 75px;
    }

    body {
        font-size: 1rem;
    }

    .funtenjer {
        padding: 0;
    }

    header {
        display: none;
    }
    
    article nav {
        flex-direction: column;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 0 20px;
        padding-bottom: 20px;
        background: var(--body-color);
        box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    }

    article nav a{
        margin-top: 20px;;

    }

    article nav a>div {
        padding-right: 40px;
        margin: 0;
    }

    article .buy-book{
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        align-items: center;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding:10px;
        min-height: 80px;
        background: var(--body-color);
        box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    }

    /* ZA SAD */
    article .buy-disclaimer{
        display: none;
    }

    article .buy-book .price{
        background: rgba(var(--rgb-primary), .06);
        padding: 2px 20px;
        border-radius: 6px;
        font-size: 1.2em;
    }

    article .buy-book .btn-holder{
        margin-top: 0;
        flex: 1;
        display: flex;
    }

    article .buy-book .btn-holder .add-to-card{
        flex: 1;
        min-width: unset;
        padding: 8px 20px;
    }

    article .info .description p:last-child{
        padding-bottom: 64px;
    }

    article nav a>div .ico-holder {
        margin-right: 40px;
    }

    article {
        flex-direction: column;
        margin-top: 50px;
    }

    article .book {
        margin-right: 0;
        margin-bottom: -135px;
        font-size: 1.5rem;

    }

    article .book .back {
        position: absolute;
        padding: 7px 20px;
        top: -2em;
        left: -4em;
        background: #f1f1f1;
    }

    article .book .back span{
        display: none
    }

    article .book .back i{
        font-size: 3em;
    }


    article .content {
        padding-top: 200px;
        padding-left: 20px;
        flex-direction: column;
    }

    article .content .more {
        position: absolute;
        top: 10px;
        right: 10px;
        transform: translateY(-50%);
    }

    article .content .more a:hover .flag {
        display: none;
    }

    article .info .description.book-buy,
    article .info .description {
        height: unset;
    }

}

@media screen and (max-width: 500px) {
    article .book {
        font-size: 1rem;
        margin-left: -20px;
    }

    /* article .book .back {
        left: -105px;
        top: -35px;
        font-size: .8em;
    } */

}
/* Basket popup */

.basket-popup{
	position: fixed;
	transform: translate(-50%, 200px);
	bottom: 10px;
	left: 50%;
	box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
    border: 1px solid rgba(var(--rgb-primary), .06);
	border-radius: .5em;
	/* overflow: hidden; */
	transition: 400ms ease-in-out;
	opacity: 0;
	z-index: 500;
}

.basket-popup.active{
	transform: translate(-50%, 0);
	opacity: 1;
}

/* // Initials for phone */

.basket-popup .initials{
	--width:60px;
	--height: 50px;
	position: absolute;
	bottom: 10px;
	left: calc(var(--width) * -1);
	height: var(--height);
	width: var(--width);
	border-radius: 6px 0 0 6px;
	background: var(--body-color);
	display: flex;
	justify-content: center;
	align-items: center;
    border: 2px solid rgba(var(--rgb-primary), .06);
	border-right: none;
	display: none;
	transition: 500ms;
}

.basket-popup .initials:active{
	background: var(--primary);
	color: var(--body-color);
}

.basket-popup .items-holder{
	display: flex;
	align-items: center;
	padding: 20px;
	background: var(--body-color);
	border-radius: .5em;
}

.basket-popup .items-holder .img-holder{
	--size: 5em;
	height: var(--size);
	width: 6em;
	position: relative;
	background: rgba(var(--rgb-primary), .06);
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 6px;
}

.basket-popup .items-holder .img-holder img{
	width: 2.5em;
	border-radius: 4px;
	z-index: 2;
}

.basket-popup .items-holder .img-holder::before,
.basket-popup .items-holder .img-holder::after{
	content: "";
	width: 2.5em;
	height: 4em;
	border-radius: 4px;
	position: absolute;
	transform: rotate(-15deg);
	margin-left: -20px;
	transition: 400ms;
}

.basket-popup .items-holder .img-holder.one::after,
.basket-popup .items-holder .img-holder.two::before {
  transition: 400ms;
}

.basket-popup .items-holder .img-holder.one::after{
	background: var(--img1);
	background-size: cover;
	transform: rotate(-15deg);
	margin-right: 20px;
}

.basket-popup .items-holder .img-holder.two::before{
	background: var(--img2);
	background-size: cover;
	transform: rotate(15deg);
	margin-left: 20px;
}

.basket-popup .items-holder .info{
	margin: 0 40px 0 20px;
}

.basket-popup .items-holder .info .price{
	font-weight: 600;
	font-size: 1.3em;
}

.basket-popup .items-holder .info span{
	font-size: .9em;
	color: rgba(var(--rgb-primary), .7);
	text-transform: uppercase;
}

.basket-popup .items-holder .btn-holder{
	align-self: flex-end;
}

.basket-popup .items-holder .btn-holder a{
	display: block;
	margin: auto;
	background: var(--primary);
	border-radius: .5em;
	font-weight: 500;
	padding: 10px 20px;
	color: #fff;
	white-space: nowrap;
	border: 2px solid transparent;
}

.basket-popup .items-holder .btn-holder a:hover{
	border-color: var(--primary);
	background: var(--body-color);
	color: var(--primary);
}

.basket-popup .items-holder .btn-holder a i:first-child{
	margin-right: 7px;
	font-size: .8em;
}

.basket-popup .items-holder .btn-holder a i:last-child{
	margin-left: 10px;
}

.basket-popup .items-holder .close-container{
	align-self: flex-start;
}

.basket-popup .items-holder .close-container .close{
	--size: 1.5em;
	width: var(--size);
	height: var(--size);
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: 400ms;
	cursor: pointer;
}

.basket-popup .items-holder .close-container .close:hover{
	background: rgba(var(--rgb-primary), .06);
}

@media screen and (max-width: 800px){
	.basket-popup{
		transform: translate(140%,0);
		left: 0;
		right: 0;
		bottom: 60px;
		border-radius: 0;
		border-width: 2px 0 0 0; 
	}
	.basket-popup.active{
		transform: translate(100%,0);
	}

	.basket-popup .initials{
		display: flex;
	}

	.basket-popup .initials.reposition{
		bottom: unset;
		left: unset;
		top: calc(var(--height) * -1);
		right: 20px;
		border-right: 2px solid rgba(var(--rgb-primary), .06);
		border-bottom: none;
		border-radius: 6px 6px 0 0;
	}

	.basket-popup.show{
		transform: translate(0,0);
	}

	.basket-popup .items-holder{
		flex-wrap: wrap;
		gap: 20px;
	}

	.basket-popup .itmes-holder .img-holder,
	.basket-popup .items-holder .info{
		flex: 1;
	}

	.basket-popup .items-holder .btn-holder{
		flex: 2;
	}

	.basket-popup .items-holder .btn-holder a{
		display: flex;
		align-items: center;
	}

	.basket-popup .items-holder .btn-holder a i:last-child{
		margin-left: auto;
	}

	.basket-popup .items-holder .close-container {
		position: absolute;
		right: 20px;
	}
}
