[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;
	}
}

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}


.cookies-warning{
    position: fixed;
    bottom: .625rem;
    left: .625rem;
    display: flex;
    align-items: center;
    background: var(--body-color);
    padding: 1em;
    max-width: 100%;
    z-index: 100;
    border-radius: .325rem;
    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);
    animation: slideInLeftToRight 500ms ease;
    animation-fill-mode: both;
    animation-delay: 5s;
}

.cookies-warning.hidden{
    display: none;
}

.cookies-warning .info{
    display: flex;
    align-items: center;
}

.cookies-warning span{
    font-weight: 400;
}

.cookies-warning a{
    font-weight: 600;
    text-decoration: underline;
}

.cookies-warning .ico-holder{
    width: 40px;
    margin-right: 1.25em;
}

.cookies-warning .btn-holder{
    margin-left: 1.6em;
}

.cookies-warning .btn-holder button{
    padding: 0 2.5em;
}

/* section{
    scroll-snap-align: start;
    scroll-snap-stop: always;
} */
/* //HAMBURGER */
.side {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--body-color);
    padding-top: 70px;  
    display: none;
    z-index: 99;
    animation: ease-in-out .5s slideInLeft;
}

.hamburger-menu{
    display: none;
}

.hamburger-menu .login{
    font-weight: 600;
    background: var(--primary);
    color: var(--body-color);
    border: 2px solid transparent;
    padding: 7px 20px;
    border-radius: 6px;
    transition: 300ms;
}

.hamburger-menu .login:hover{
    background: var(--body-color);
    border-color: var(--primary);
    color: var(--primary);
}

.hamburger-menu .side ul{
    height: 100%;
    display: flex;
    margin: auto;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    font-size: 2.5rem;
    margin: 0;
   
}

.hamburger-menu .side ul .login{
    margin-top: 50px;
}


.hamburger-menu .side ul li{
    margin: 0;
    padding-left: 20px;
    letter-spacing: 0;
    line-height: 1.6;
    font-weight: 600;
}

.hamburger-menu .side ul a:hover{
    color: var(--secondary);
}

.slide {
    margin: 0;
    position: absolute;
    height: 30px;
    width: 30px;
    cursor: pointer;
    opacity: 0;
    z-index: 9;
}

.slide:checked~.spans span {
    transition: .5s;
}
.slide:checked~.spans span:first-child {
    transform: rotate(45deg);
    position: absolute;
    bottom: 50%;
}

.slide:checked~.spans span:last-child {
    transform: rotate(-45deg);
    position: absolute;
    bottom: 50%;
}

.spans {
    width: 22px;
    height: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    cursor: pointer;
    z-index: 999;
}

.spans span {
    background: var(--primary);
    height: 2px;
    width: 100%;
    display: inline-block;
  
} 


/* //END OF HAMBURGER */

section {
    position: relative;
}


section .title h1 {
    font-size: 2em;
    font-family: var(--lora);
    font-weight: 400;
    margin-bottom: 3em;
}

section .mobile-title{
    position: absolute;
    top: 0;
    bottom: 0;
    right: -20px;
    left: -20px;
    align-items: center;
    background: #fff;
    height: 100%;
    z-index: 10;
    animation: fadeOut 1s ease-in-out 2s, putZindex  .1s ease 3s; 
    animation-fill-mode: forwards; 
    display: none;
}

section .mobile-title h1{
    margin: auto;
    font-size: 4em;
    font-family: var(--lora);
    font-weight: 400;
   animation: fadeInUp 1s ease-in-out, fadeOutUp 1s ease-in-out 2s;
   padding-left: 20px;
   opacity: 0;
   animation-fill-mode: forwards; 
}

.welcome {
    padding: 0;
    height: 100vh;
    height: max(100vh, 600px);
    position: relative;
    background: linear-gradient(to right, #fff 0% 35%, rgba(var(--rgb-primary), .06) 35% 100%);
    overflow-x: hidden;
    overflow: hidden;
}

header {
    display: flex;
    min-height: 90px;
    padding: 0 20px;
    align-items: center;
    justify-content: space-between;
    animation: fadeIn .5s ease-in-out;
}

header .logo img {
    height: 1.5625em;
}

header nav ul {
    display: flex;
    list-style: none;
}

header .full-nav ul a {
    margin: 0 13px;
}
footer nav ul li,
header nav ul li {
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: .8em;
    font-weight: 600;
    transition: .4s;
}
footer nav ul li:hover,
header .full-nav ul li:hover {
    color: var(--secondary);
}


header .buttons-box {
    display: flex;
}


header .buttons-box > a {
    padding: 5px 20px;
    font-weight: bold;
    border-radius: 5px;
    transition: .5s;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    cursor: pointer;
}

header .buttons-box .login {
    margin-right: 10px;
    background: var(--body-color);
    color: var(--primary);
    border: 2px solid var(--primary);
}

header .buttons-box .login:hover {
    background: var(--primary);
    color: var(--body-color);
}

header .buttons-box .register {
    background: var(--primary);
    color: var(--body-color);
    border: 2px solid var(--primary);
}

header .buttons-box .register:hover {
    background: var(--body-color);
    color: var(--primary);
}

.welcome .container {
    height: calc(var(--height-of-page, 100vh) - 90px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.welcome .container .content {
    margin-top: -5vh;
    display: grid;
    grid-gap: 2em;
    grid-template: 1fr / .87fr 1fr;
    align-items: center;
    position: relative;
}

/* --Slider down ico-- */

.slide-down-holder{
    font-size: 1rem;
    justify-content: flex-end;
    align-items: center;
    display: none;
}

.slide-down{
    height: 6em;
    width: 3.5em;
    border-radius: 3em;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    animation: move-cursor 2s ease-in-out infinite;
    margin-bottom: -2vh;
}

.slide-down::before{
    content: "";
    position: absolute;
    height: 2em;
    width: 2em;   
    /* background: rgba(var(--rgb-primary), .9); */
    background: var(--secondary);
    border-radius: 50%;
    opacity: 1;
    animation: 2s fadeCicle ease-in-out infinite;
    margin-bottom: .5em;
}

.welcome .container .content .info {
    padding: 60px 0;
    padding-right: 10px;
    position: relative;
}

.welcome .container .content .info  > *{
    animation: fadeInUp .5s ease-in-out;
    animation-fill-mode: both;
}

.welcome .container .content .info  > *:nth-child(1){
    animation-delay: .4s;
}
.welcome .container .content .info  > *:nth-child(2){
    animation-delay: .6s;
}
.welcome .container .content .info  > *:nth-child(3){
    animation-delay: .8s;
}
.welcome .container .content .info  > *:nth-child(4){
    animation-delay: 1s;
}
.welcome .container .content .info  > *:nth-child(5){
    animation-delay: 1.5s;
}


.welcome .container .content .info h1 {
    font-size: 3em;
    font-family: var(--lora);
    color: #111;
    line-height: 1.2;
    margin: 30px 0;
}

.welcome .container .content .info p {
    margin: 0;
    font-size: 1.2em;
    color: #111;
}

.container .content .info .button-holder{
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.container .content .info a {
    font-size: 1em;
    position: relative;
    border-radius: 6px;
    margin-top: 0;
}

.container .content .info a i{
    margin-left: 5px;
}

.container .content .info .button-holder .take-a-look-inside{
    background: var(--body-color);
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-style: dashed;
    padding: 7px 15px;
    opacity: .8;
    transition: 500ms;
}

.container .content .info .button-holder .take-a-look-inside i{
    margin-right: .5em;
}

.container .content .info .button-holder .take-a-look-inside:hover{
    opacity: 1;
    border-style: solid;
    border-color: var(--primary);
    background: var(--primary);
    color: var(--body-color);
}

.welcome .container .content .info .ticket-holder {
    font-size: .9em;
    margin-top: 20px;
    text-decoration: underline;
    font-weight: 500;
    color: rgba(var(--rgb-primary), .68);
}

.welcome .container .content .info .under:hover {
    color: var(--primary)
}


.welcome .container .content .info .under i {
    transform: rotate(-45deg);
    margin-right: 10px;
    color: var(--secondary)
}

.welcome .container .content .info .under:hover i {
    animation: 1s ease-in-out rotate-dance;
}

/* //Mobel */

.welcome .container .content .mcokup-holder{
    display: flex;
    justify-content: center;
    align-items: center;
}

.welcome .container .content .mockup {
    position: relative;
    margin: auto;
}


.mockup .mobile {
    width: 100%;
    max-width:  12.5em;
    height: 25.625em;
    border-radius: 1.25em;
    border: 0.5em solid #ececeb;
    background: #fff;
    z-index: 1;
    position: absolute;
    top: 20%;
    left: -4%;
    box-sizing: content-box;
    box-shadow: 0 1em 2.5em rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column; 
    animation: fadeIn .5s ease-in-out;
    animation-fill-mode: both;
    animation-delay: .3s;
}

.mockup .mobile .side-buttons {
    position: absolute;
    top: 2.5em;
    left: -1.2em;
}

.mockup .mobile .side-buttons div {
    width: .5em;
    height: 2em;
    background: #b3b3ae;
    border-radius: 0.3125em;
}

.mockup .mobile .side-buttons div:first-child {
    margin-bottom: 3em;
    height: 3em;
}

.mockup .mobile .side-buttons div:last-child {
    margin-top: 0.625em;
}

.mockup .mobile .header {
    font-size: .6em;
    padding: 0 2em;
    min-height: 4em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ddd;
    animation: fadeIn 1s ease;
    overflow: hidden;
}

.mockup .mobile .header > div{
    flex-shrink: 0;
}

.mockup .mobile .header i {
    margin: 0 0.3125em;
    font-size: .8em;
}

.mockup .mobile .body {
    padding: 0 1.25em;
    font-size: .6em;
    flex: 1;
    font-family: var(--lora);
    line-height: 1.5;
    overflow: hidden;
}

.mockup .mobile .body .overlay {
    animation: 10s scroll ease-in-out infinite;
}

.mockup .mobile .footer {
    padding: 0 0.625em;
    min-height: 1.875em;
    display: flex;
    align-items: center;
    /* border-top: 1px solid #ddd; */
    font-size: .9em;
}

.mockup .mobile .footer .progress {
    width: 100%;
}

.mockup .mobile .footer .line-holder {
    background: #bababa;
    height: 1px;
    border-radius: 1.25em;
}

.mockup .mobile .footer .line .circle,
.mockup .mobile .footer .line {
    background: #eee;
}

.mockup .mobile .footer .line-holder .line .circle span {
    color: #777;
}

.mockup .mobile .footer .line-holder .line {
    display: flex;
    background: var(--primary);
    height: 100%;
    align-items: center;
}

.mockup .mobile .footer .line-holder .line .circle {
    height: 3px;
    width: 3px;
    background: var(--primary);
    margin-left: auto;
    border-radius: 50%;
    display: flex;
    position: relative;
}

.mockup .mobile .footer .line-holder .line .circle span {
    position: absolute;
    top: -10px;
    margin: auto;
    font-size: .3em;
}

/* //website */

.mockup .website {
    width: 100%;
    max-width: 44.25em;
    height: 25em;
    border: 2px solid #eee;
    border-radius: 0.625em;
    box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2);
    animation: fadeIn .5s ease-in-out;
    animation-delay: .4s;
    animation-fill-mode: both;
}

.mockup .website .header {
    min-height: 1.25em;
    border-bottom: 2px solid #eee;
    padding: 0 10px;
    background: #F4F4F4;
    border-radius: 7px 7px 0 0;
    display: flex;
    align-items: center;
}

.mockup .website .header>.circle {
    --bg-col: #eee;
    height: 0.4375em;
    width: 0.4375em;
    border-radius: 100px;
    background: var(--bg-col);
    margin-right: 0.625em;
}

.mockup .website .body {
    background: url("https://i.ibb.co/YfNLvWN/bg.png");
    background-size: cover;
    width: 100%;
    height: calc(100% - 20px);
    border-radius: 0 0 10px 10px;
    position: relative;
}

.mockup .website .body .books {
    position: absolute;
    bottom: 3.875em;
    left: calc(100% - 3.25em);
    display: flex;
}

.mockup .website .body .books > *:nth-child(1){
    animation: fadeIn .5s ease-in-out;
    animation-fill-mode: both;
    animation-delay: .5s;
}

.mockup .website .body .books > *:nth-child(2){
    animation: fadeInLeft .5s ease-in-out;
    animation-fill-mode: both;
    animation-delay: 1s;
}

.mockup .website .body img {
    width: 4.625em;
    height: 6.5em;
    border-radius: 0 2px 2px 0;
    box-shadow: 0px 8px 20px 1px rgb(6 35 64 / 30%);
    object-fit: cover;
    transition: filter 0.2s;
    margin-right: 1.25em;
}

.welcome .book-shelf {
    display: flex;
    margin: 7.5em 0 3.125em 3.75em;
}

.welcome .book-shelf .book {
    margin-right: 3.125em;
}

/* //CUSTOMISE READING TO YOUE NEEDS// */

.customise-reading {
    position: relative;
}

.customise-reading .container {
    display: grid;
    grid-template: 1fr / 1.6fr 1fr;
}

.customise-reading .container .reader-holder {
    background: rgba(var(--rgb-primary), .06);
    padding: 100px 20px;
}

/* // READER /// */

.customise-reading .container .reader-holder .reader {
    background: #fff;
    box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    max-width: 85em;
    margin: 0 -100px 0 50px;
    font-family: var(--lora);
}

.reader .header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #ddd;
}

.reader .header .tools{
    position: relative;
}

.reader .header i {
    cursor: pointer;
    position: relative;
}

.reader .header .customise-holder{
    position: absolute;
    left: -50%;
    top: -6px;
    height: 30px;
    width: 30px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    
}




  /* @keyframes jump {
    0% {
      box-shadow:  0 0 0 #cccccc,
                   0 0 0 #ffffff,
                    10px 10px 10px #cccccc inset,
                    -10px -10px 10px #ffffff inset;
    }
    100% {
      box-shadow:  10px 10px 10px #cccccc,
                   10px 10px 10px #ffffff,
                   0 0 0 #cccccc inset,
                   0 0 0 #ffffff inset;
    }
  } */


.reader .header .back i {
    margin-right: 10px;

}

.reader .header .tools i{
    margin-right: 20px;
}

.reader .header .tools i:last-child{
    margin-right: 0;
}

.reader .body {
    padding: 20px 60px;
    position: relative;
}

.reader .body .text-holder {
    height: 411px;
    max-width: inherit;
    column-fill: auto;
    column-gap: 50px;
    column-width: 225px;
    overflow: hidden;
    line-height: 1.5;
    text-align: justify;
}

.reader .body .text-holder p {
    margin: 0;
}

.reader .body mark {
    --col-of-mark: var(--gorgeous-light);
    background: var(--col-of-mark);
}

.reader .progress {
    padding: 20px 30px;
}

.reader .line-holder {
    width: 100%;
    background: #bababa;
    height: 2px;
    border-radius: 20px;
}

.reader .line .circle,
.reader .line {
    background: #eee;
}

.reader .line-holder .line .circle span {
    color: #777;
}

.reader .line-holder .line {
    display: flex;
    background: var(--primary);
    height: 100%;
    width: 36%;
    /*  Line progress in procents */
    align-items: center;
}

.reader .line-holder .line .circle {
    height: 7px;
    width: 7px;
    background: var(--primary);
    margin-left: auto;
    border-radius: 50%;
    display: flex;
    position: relative;
}

.reader .line-holder .line .circle span {
    position: absolute;
    top: -25px;
    margin: auto;
    font-size: 13px;
}

/* Reader themes // */

.customise-reading .container .reader-holder .reader.dark {
    --color-animation: #111;
    background: #211e37;
    color: #eeedef;
}

.customise-reading .container .reader-holder .reader.dark .line-holder {
    background: #555;
}

.customise-reading .container .reader-holder .reader.dark .line .circle,
.customise-reading .container .reader-holder .reader.dark .line {
    background: #fff;
}

.customise-reading .container .reader-holder .reader.tan {
    background: #fbf3e6;
    color: #4d1d0c;
    border-bottom-color: #4d1d0c;
}

/* // reader components */

.component-customise {
    position: relative;
}

.component-customise .aside {
    display: block;
    font-size: .9rem;
    max-width: 300px;
    border: none;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 2px 4px 0 rgba(14, 30, 37, .12);
}

.component-customise .aside .header {
    border-top: 1px solid #eee;
    border-color: #eee;
}

/* // Most popular books */

.popular-books .grid {
    display: grid;
    grid-template: 1fr 1fr / repeat(3, 1fr);
   
}

.popular-books .grid .book {
    display: grid;
    grid-template: 1fr / auto 215px; 
    margin: 0;
    margin-bottom: 50px;
}

.popular-books .grid .book .book-info {
    padding: 20px;
}

.popular-books .grid .book .book-info .author {
    font-size: .7em;
    margin-bottom: 5px;
    color: #a5a4aa;
}

.popular-books .grid .book .book-info .title {
    font-size: 1.3em;
    font-family: var(--lora);
    font-weight: 400;
}

.popular-books .grid .book .book-info .stars-holder {
    margin-top: 10px;
}

/* // Audio player showoff :)  */

.audio-player {
    padding: 100px 0;
}

.audio-player .grid {
    display: grid;
    grid-template: 1fr / 1fr 1.6fr;
}

/* --=--------------=-=-=-=-=-=-=-----------=====------===-=-=-=-=-=-=-= */

.audio-player .grid .audio-track-holder {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 20px;
    position: relative;
}

.audio-player .grid .audio-track-holder .audio-track {
    margin-top: 20px;
    background: linear-gradient(to right, rgba(var(--rgb-secondary), .15), transparent);
    padding: 10px 20px 10px 30px;
    border-radius: 10px;
    position: relative;
    box-sizing: content-box;
    width: 75%;
    cursor: pointer;
}

.audio-player .grid .audio-track-holder .audio-track[disabled] {
    filter: grayscale(100%);
    user-select: none;
    pointer-events: none;
    opacity: .5;
    font-size: .8rem;
}

.audio-player .grid .audio-track-holder .audio-track.active {
    border: 1px solid var(--secondary);
    background: rgba(var(--rgb-secondary), .09);

}

.audio-player .grid .audio-track-holder .audio-track.active .title {
    font-weight: 600;
}

.audio-player .grid .audio-track-holder .audio-track.active .circle {
    background: #fff;
}


.audio-player .grid .audio-track-holder .audio-track .circle {
    height: 25px;
    width: 25px;
    border-radius: 50%;
    color: var(--body-color);
    display: grid;
    place-items: center;
    position: absolute;
    top: 50%;
    left: 0px;
    transform: translate(-50%, -50%);
    background: var(--secondary);
    font-size: .5em;
}

.audio-player .grid .audio-track-holder .audio-track .title {
    font-size: .8em;
}

.audio-player .grid .audio-track-holder .audio-track .info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .7em;
    color: #7C8BA0;
}


.audio-player .grid .player-holder {
    background: rgba(var(--rgb-primary), .06);
    padding: 100px 20px;
}

.audio-player .grid .audio-track-holder .audio-track .sound-waves {
    display: none;
}

.audio-player .grid .audio-track-holder .audio-track.active .sound-waves {
    display: flex;
}

.audio-player .grid .audio-track-holder .audio-track.active i {
    display: none;
}

.audio-player .grid .player {
    display: flex;
    flex-direction: column;
    max-width: 85em;
    margin: 0 40px 0 -90px;
    min-height: 555px;
    background: #fff;
    box-shadow: 0 16px 24px 2px rgb(0 0 0 / 14%), 0 6px 30px 5px rgb(0 0 0 / 12%), 0 8px 10px -5px rgb(0 0 0 / 20%);
    border-radius: 10px;
}

.audio-player .grid .player .header {
    height: 60px;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
}

.audio-player .grid .player .header .title {
    font-size: .9em;
    font-family: var(--lora);
}

.audio-player .grid .player .header .author {
    font-size: .7em;
    color: #a5a4aa;
    margin-top: 2px;
}

.audio-player .grid .player .header .profile img {
    height: 30px;
    width: 30px;
    border: none;
}

.audio-player .grid .player .header .profile span {
    font-size: .7em;
    margin-left: 7px;
}

.audio-player .grid .player .main {
    flex: 1;
    display: flex;
    overflow: hidden;
}

.audio-player .grid .player .main .books-holder {
    display: flex;
    margin: auto;
    width: 100%;
    justify-content: space-between;
    position: relative;
}

/* //MobileOnly */

.books-holder .mobile-info .title{
    margin-top: 10px;
    font-size: 1.1em;
    font-family: var(--lora);
    text-overflow: ellipsis;
    width: 207px; 
    white-space: nowrap; 
    overflow:hidden;
}

.books-holder .mobile-info .author{
    font-size: 1em;
    color: #a5a4aa;
    margin-top: 7px;
}

.audio-player .grid .player .main .books-holder .book {
    margin: 0;
}

.audio-player .grid .player .main .books-holder .book .cover img{
    box-shadow: none;
    box-shadow:
    -10px -10px 30px #fff,
    10px 10px 30px #aeaec040;
}

.audio-player .grid .player .main .books-holder .book-small-left {
    transform: scale(.8);
    margin-left: -50px;
}

.audio-player .grid .player .main .books-holder .book-small-left::before,
.audio-player .grid .player .main .books-holder .book-small-right::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 5;
}

.audio-player .grid .player .main .books-holder .book-small-left::before {
    background: linear-gradient(to right, rgba(var(--rgb-primary), .3), transparent);
   
}

.audio-player .grid .player .main .books-holder .book-small-right {
    transform: scale(.8);
    margin-right: -50px;
}

.audio-player .grid .player .main .books-holder .book-small-right::before {
    background: linear-gradient(to left, rgba(var(--rgb-primary), .3), transparent);
}

.audio-player .grid .player .player-controls {
    height: 60px;
    display: flex;
    padding: 0 20px;
    position: relative;
}

.audio-player .grid .player .player-controls > div {
    flex: 1;
}

.player .player-controls .audio-progress-bar {
    position: absolute;
    height: 4px;
    width: 100%;
    background: #eee;
    top: -5px;
    left: 0;
    border-radius: 5px;
    cursor: pointer;
}

/* OnlyMobile */
.player-holder .player .player-controls div.progress-bar-mobile{
    flex: 0;
}

.player .player-controls .sound-controler:hover .progress .line,
.player .player-controls .audio-progress-bar:hover .progress {
    background: var(--secondary);
}

.player .player-controls .sound-controler .progress .line,
.player .player-controls .audio-progress-bar .progress {
    background: rgba(var(--rgb-secondary), .5);
    width: var(--width);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-radius: 5px;
    cursor: pointer;
}

.player .player-controls .audio-progress-bar {
    transition: background 0.2s ease-in-out;
}

.player .player-controls .audio-progress-bar .progress {
    transition: all 0.03s linear;
}


.player .player-controls .sound-controler .progress .line .circle,
.player .player-controls .audio-progress-bar .progress .circle {
    height: 12px;
    width: 12px;
    position: absolute;
    background: var(--secondary);
    border-radius: 50px;
    cursor: pointer;
    margin-right: -7px;
    transform: scale(0);
    position: absolute;
}

.player .player-controls .sound-controler:hover .progress .line .circle,
.player .player-controls .audio-progress-bar:hover .progress .circle {
    transform: scale(1);
}


.player .player-controls .book-details {
    align-self: center;
}

.player .player-controls .book-details .title {
    font-size: .7em;
}

.player .player-controls .book-details .duration {
    font-size: .6em;
    color: var(--secondary);
}

.player .player-controls .book-details .duration span {
    min-width: 15px;
    display: inline-block;
    text-align: center;
}

.player .player-controls .main-controls {
    display: flex;
    align-items: center;
    justify-content: center;
}

.player .player-controls i {
    font-size: .7em;
}

.player .player-controls .main-controls>div {
    margin: 0 7px;
}


.player .player-controls .main-controls .stop-play {
    cursor: pointer;
    background: var(--secondary);
    height: 1.875em;
    width: 1.875em;
    display: flex;
    border-radius: 50%;
    box-shadow: 0 20px 50px rgba(var(--rgb-secondary), .6);
    color: var(--body-color);
}

/* // Loading animtion while whaithing for audio to load.. */

.player .player-controls .main-controls .stop-play.loading i{
    animation: rotate 2.5s cubic-bezier(0, 1.49, 1, 0.89) infinite;
    
} 

.player .player-controls .main-controls .stop-play i {
    margin: auto;
}

.player .player-controls .main-controls .stop-play i.fa-play {
    transform: translateX(1px);
}



.player .player-controls .main-controls .stop-play:hover {
    transform: scale(1.05);
}


.player .player-controls .main-controls .stop-play:active {
    transform: scale(.97);
}


.player .player-controls .main-controls .thirty-sec {
    --size: 1.5625em;
}

.player .player-controls .main-controls .back-and-forward {
    --size: 1.5625em;
}



.player .player-controls .sound-controler {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.player .player-controls .sound-controler .volume {
    position: relative;
    width: 10px;
    cursor: pointer;
}

.player .player-controls .sound-controler .volume .wifi {
    transform: rotate(90deg) translate(-50%);
    position: absolute;
    top: 58%;
    display: none;
    font-size: 5px;
    right: -2px;
}

.player .player-controls .sound-controler .progress {
    max-width: 100%;
    width: 80px;
    height: 4px;
    background: #eee;
    margin-left: 10px;
    border-radius: 4px;
    cursor: pointer;
}

/* //PRICING */

.pricing {
    padding-bottom: 100px;
}

.pricing .grid{
    display: grid;
    grid-template: 1fr / 1fr 1fr;
}

.pricing .grid .price-info-holder{
    background:  rgba(var(--rgb-primary), .06);
    padding: 100px 20px;
}

.pricing .grid .price-info-holder .pricing-info{
    background: var(--body-color);
    padding: 40px 50px;
    box-shadow: 0 16px 24px 2px rgb(0 0 0 / 14%), 0 6px 30px 5px rgb(0 0 0 / 12%), 0 8px 10px -5px rgb(0 0 0 / 20%);
    border-radius: 10px;
    margin: 0 -100px 0 50px;
}

.pricing-info h2{
    font-family: var(--lora);
    font-weight: 400;
    font-size: 1.5em;
    padding-bottom: 10px;
}

.pricing-info .you-get .card{
    margin-bottom: 30px;
}

.pricing-info .you-get .card .header{
    display: flex;
    align-items: center;
    margin-bottom: 7px;
}

.pricing-info .you-get .card .header .img img{
    height: 40px;
    background: transparent;
   
}

.pricing-info .you-get .card .header span{
    margin-left: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.pricing-info .you-get .card .body span{
    display: block;
    margin-left: 50px;
}

.pricing-info .you-get .card .body ul li::marker{
    color: var(--secondary);
}

.pricing .grid .price-options{
    display: flex;
    flex-direction: column; 
    align-items: flex-end;
    justify-content: space-between;
    padding-left: 20px;
}

.pricing .grid .price-options .option{
    display: grid;
    grid-template: 1fr / 1fr 1fr;
    position: relative;
    background: var(--body-color);
    margin-bottom: 20px;
    padding: 10px;
    box-shadow:0 16px 40px rgba(0,0,0,0.12);
    border-radius: 5px;
}

.price-options .option .left {
    padding: 1.8em 3.7em 1.8em 1.8em;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.price-options .option .left .name {
    font-family: var(--lora);
    font-size: 2em;
    font-weight: 400;
}
.price-options .option .left .name span{
    display: block;
}

.price-options .option .left .name span:last-child{
    font-size: .5em;
}

.price-options .option .right{
   padding: 0.6em 2.5em;
   display: flex;
   background: rgba(var(--rgb-secondary), .09);
}

.price-options .option .right .price-info{
    margin: auto;
}

.price-options .option .right .previus-price{
    font-size: 1.3em;
    font-weight: 500;
    color: rgba(var(--rgb-primary), .8);
    position: relative;
    display: inline-block;

}

/* .price-options .option .right .previus-price::after{
   content: "";
   position: absolute;
   top: 50%;
   left: -3px;
   right: -3px;
   background: var(--secondary);
   height: 1px;
} */

.price-options .option .right .price{
    font-size: 2.5em;
    line-height: 1;
    font-weight: 600;
    padding-right: 10px;
    color: var(--secondary);
}

.price-options .option .right .annually{
    font-size: .9em;
    color: rgba(var(--rgb-primary), .8)
}


/* discount */
.price-options .option .right .price-info .discount{
   position: absolute;
   top: -.5em;
   right: -1.5em;
   padding: .5em 3em .5em 1em;
   font-size: 1em;
   font-weight: 500;
   color: #fff;
   background: var(--primary);
   clip-path: polygon(100% 0, 84% 50%, 100% 100%, 0 100%, 0 0);

}


.price-options .option .left .enroll{
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-weight: 600;
    font-size: 1em;
    letter-spacing: 1px;
    border: 2px solid var(--secondary);
    padding: 10px 20px;
    margin-top: 30px;
    border-radius: 5px;
    transition: .2s linear;
}

.price-options .option .left .enroll i{
    font-size: 1em;
    transition: .2s linear;
    margin-left: 10px;
}


.price-options .option .left .enroll:hover{
    background: var(--secondary);
    color: var(--body-color);
}

.price-options .option .left .enroll:hover i{
    transform: translate(5px);
}

.price-options .option .sale{
    position: absolute;
    right: -30px;
    top: -10px;
    padding: 10px 40px 10px 20px;
    background: var(--primary);
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    clip-path: polygon(0 0, 100% 0, 85% 46%, 100% 100%, 0 100%);
}

.price-options .enter-coupon{
    border-radius: 5px;
    margin-left: 120px;
    background: var(--body-color);
    margin-bottom: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow:0 16px 40px rgba(0,0,0,0.12);
}

.price-options .enter-coupon::before{
    content: "";
    position: absolute;
    top: -1px;
    left: -155px;
    height: 207px;
    width: 47em;
    background: rgba(var(--rgb-secondary), .09);
    border-radius: 38%;
    z-index: -1;
}

.price-options .enter-coupon::after{
    content: "";
    position: absolute;
    top: -100px;
    left: -300px;
    height: 434px;
    width: 60em;
    background: rgba(var(--rgb-secondary), .09);
    border-radius: 38%;
    transform: rotate(-28deg);
    z-index: -1;
    
}

.price-options .enter-coupon .info h2{
    margin: 0;
    font-size: 2em;
    line-height: 1.1;
}


.price-options .enter-coupon form .form-elements{
    display: flex;
}

.price-options .enter-coupon form  label{
    display: block;
    margin-bottom: 6px;
    font-size: .8em;
    font-weight: 600
}

.price-options .enter-coupon form .form-elements .input-holder{
    flex: 1;
    margin-right: 10px;
}

.price-options .enter-coupon form .form-elements input{
    background: white;
    padding: 12px 10px;
    border: none;
    border: 2px solid var(--secondary);
    width: 100%;
    height: 48px;
    padding: 0px 14px;
    padding-right: 30px;
    font-size: 16px;
    border-radius: 5px;
}

.price-options .enter-coupon form .form-elements button{
    background: var(--secondary);
    color: #fff;
    font-weight: 600;
    font-size: 1em;
    padding: 10px 40px;
    border: 2px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    transition: .2s;
    letter-spacing: .5px;
}

.price-options .enter-coupon form .form-elements button:hover{
    color: var(--secondary);
    background: var(--body-color);
    border-color: var(--secondary);
}

.price-options .enter-coupon form .form-elements button[disabled]{
    filter: grayscale(50%);
}

.price-options .enter-coupon form .form-elements button[disabled]:hover{
    color: #fff;
    background: var(--secondary);
    border: 2px solid transparent;
}

.price-options .enter-coupon form .form-elements button[disabled]:active{
    transform: none;
}


.price-options .enter-coupon form .form-elements button:active{
    transform: scale(.95) perspective(1px) translateZ(0);
    backface-visibility: hidden;
}


.price-options .enter-coupon  form span{
    opacity: 0;
    position: absolute;
}

.price-options .enter-coupon form span.error{
    opacity: 1;
    display: inline-block;
    margin-top: 10px;
    font-size: .7em;
    padding: 5px 10px;
    background: rgba(var(--rgb-secondary), .15);
    color: var(--secondary);
    transition: 300ms;
}
/* // Footer */

footer {
    background: rgba(var(--rgb-primary), .06);
    padding: 40px 50px;
    padding-bottom: 0;
}

footer .content{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

footer .content .right{
    display: flex;
    flex-direction: column;
}

footer .content .right .social{
    margin-bottom: 20px;
}

footer .content .right .social .ico{
   font-size: 1.5em;
   margin-right: 20px;
   font-family: var(--lora);
   border-bottom: 1px solid rgba(var(--rgb-primary), .5);
   position: relative;
   transition: .3s;
}

footer .content .right .social .ico::before{
    content: "\f30c";
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    position: absolute;
    height: 10px;
    width: 10px;
    top: -2px;
    right: -7px;
    font-size: 10px;
    transform: rotate(45deg);
    color:rgba(var(--rgb-primary), .5);
    transition: .3s;

 }

 footer .content .right .social .ico:hover{
    color: var(--secondary);
    padding-bottom: 2px;
 }
 footer .content .right .social .ico:hover::before{
    transform: rotate(45deg) translate(2px, -3px);
}

footer .right .legal{
    margin-bottom: 20px;
}

footer .right .legal ul{
    list-style: none;
    margin: 0;
    padding: 0;
}

footer .right .legal ul li{
    color: rgba(var(--rgb-primary), .6);
    margin-bottom: 5px;
    font-weight: 500;
    text-decoration: underline;
}

footer .right .legal ul li a{
    transition: .5s;
}

footer .right .legal ul li a:hover{
    color: var(--secondary);
}

footer nav ul{
    display: flex;
    list-style: none;
    padding: 0;
    margin-top: 50px;
}

footer nav ul li{
    margin-right: 20px;
}


footer .logo{
    display: inline-block;
}

footer .logo img {
    height: 25px;
}

footer .copy-rights {
    display: block;
    margin-top: 40px;
    margin-bottom: 10px;
    font-size: .8em;
}




.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    height: 50px;
    width: 50px;
    background: rgba(var(--rgb-primary), .68);
    border-radius: 50%;
    z-index: 100;
    display: flex;
    cursor: pointer;
    display: none;
}

.back-to-top:hover {
    background: rgba(var(--rgb-primary), .78);
}

.back-to-top i {
    margin: auto;
    font-size: 1em;
    color: #fff;
}



/* //RESPOSNIVE STUFF */

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

    /* .welcome .container .content {
        grid-gap: 30px;
        grid-template: 1fr / .7fr 1fr;
    } */

    .audio-player .grid .audio-track-holder {
       padding-left: 15px;
    }

    /* Audio */

    .audio-player .grid .player {
        margin: 0 20px 0 -70px;    
    }

}

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

    body{
        font-size: .9rem;
        /* background: yellowgreen; */
    }
    /* //Welecome */
    .welcome{
        background: linear-gradient(to right, #fff 0% 45%, rgba(var(--rgb-primary), .06) 45% 100%);
    }

    .welcome .info{
        font-size: .9em;
    }

    .mockup .website .body .books{
        display: none;
    }

    .mockup-holder{
        margin-left: 4em;
    }

    /* Reader */

    .customise-reading .container .reader-holder .reader {
        margin: 0 -90px 0 -10px;
    }

}


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

    /* .welcome .container .content {
        grid-template: 1fr / .6fr 1fr;
    } */
    
    .mockup .website{
        font-size: .8em;
    }

    .mockup .mobile{
        font-size: .6rem;
    }

     /* Reader */

    .customise-reading .info{
        padding-left: 20px;
    }

    /* //Popular books */
    .popular-books .grid {
        display: grid;
        grid-template: 1fr 1fr / repeat(2, 1fr);
    }


    /* //Audio */

    .audio-player .grid .player {
        margin: 0 0px 0 -50px;    
        font-size: 1rem;
    }

    /* //Price */
    
    .pricing .grid .price-info-holder .pricing-info{
        margin: 0 -90px 0 0px;
    }

}

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

    nav .full-nav{
        display: none;
    }

    nav .hamburger-menu {
        display: block;
    }

    .welcome{
        height: unset;
        background: #fff;
    }

    .welcome .container{
        display: block;
        height: unset;
    }

    .welcome .container .content {
        grid-template: 1fr / 1fr .4fr;
        margin: 100px 0;
    }

    .welcome .container .content .mockup {
        position: relative;
    }

    .mockup .website{
        display: none;
    }

    .mockup .mobile {
        font-size: 1rem;
        width: 12.5em;
        position: relative;
        left: unset;
    }

    /* Reader */
    .customise-reading .info{
        padding-left: 10px;
    }

    .customise-reading .container {
        display: grid;
        grid-template: 1fr / 1.9fr 1fr;
    }

    .customise-reading .container .reader-holder {
        padding:0;
        background: transparent;     
    }

    .customise-reading .container .reader-holder .reader {
        max-width: 85em;
        margin: 0;
    }

    .segment:nth-child(3){
        display: none;
    }

    .component-customise .aside{
       margin-top: 20px;
        position: relative;
        align-self: center;
    }

    /* //Audio */

    .audio-player .grid {
        display: grid;
        grid-template: 1fr / 1fr 1.8fr;
    }

    .audio-player .grid .audio-track-holder .audio-track {
        width: 85%;
    }

    .audio-player .grid .player {
        margin: 0;    
        font-size: .9rem;
        width: 100%;
    }

    .audio-player .grid .player-holder {
        padding: 0;
        background: transparent;
        height: 100%;
        display: flex;
        align-items: center;
       
    }
    .audio-player .grid .audio-track-holder .audio-track:last-of-type,
    .audio-player .grid .audio-track-holder .audio-track:first-of-type {
        display: none;
    }

    /* //Pricing */

    .pricing .grid{
        grid-template: auto auto / 1fr;
    }

    .pricing .grid .price-options{
        padding-left: 0;
    }


    .pricing .grid .price-info-holder{
        padding: 0;
        background: transparent;
        display: flex;
        align-items: center;
    }

    .pricing .grid .price-info-holder .pricing-info{
        box-shadow: 0 16px 40px rgb(0 0 0 / 12%);
        padding: 20px 25px;
        width: 100%;
        margin-bottom: 20px;
    }

    .pricing .grid .price-info-holder .pricing-info .you-get{
        display: flex;
        justify-content: space-between;
        margin-top: 40px;
    }

    .pricing .grid .price-info-holder .pricing-info .you-get .card{
        flex: 1;
        padding-left: 40px;
    }

    .pricing .grid .price-info-holder .pricing-info .you-get .card:first-child{
        padding-left: 0;
    }

    .pricing-info .you-get .card .body span{
        margin-left: 0;
    }

    .price-options .enter-coupon{
        margin-left: 0;
    }

    .pricing .grid .price-options{
        align-items: center;
    }

}

[mobileOnly]{
    display: none;
}

@media screen and (max-width: 775px) {
    [opacity]{
        opacity: 0;
    }

    [mobileOnly]{
        display: block;
        
    }

    body{
        background: #fff;
        font-size: .9em;
    }

    header{
        min-height: 60px;
        border-bottom: 1px solid var(--border-color);
    }

    header .logo img {
        height: 1.3em;
    }

    .big-funtenjer{
        padding: 0 23px;
    }


    .cookies-warning{
        bottom: 0;
        left: 0;
        padding: 2em 1em;
        flex-direction: column;
    }

    .cookies-warning .btn-holder{
        margin-left: 0;
        flex-basis: 100%;
        width: 100%;
    }
    
    .cookies-warning .btn-holder button{
        padding: 0;
        margin-top: 1.5em;
        width: 100%;
    }


    .slide-down-holder{
        display: flex;
    }
  
    .scroll-container{
        /* scroll-snap-type: y mandatory;
        overflow-y: scroll; */
        height: var(--height-of-page);
     } 

    .welcome .container .content{
        grid-template: 1fr  auto / 1fr;
        margin: 0 auto;
      }  

    .welcome .container .content .info {
        padding: 50px 0;
    }

    .welcome .container .content .info h1{
        margin: 10px 0 30px 0;
        font-size: 3em;
    }

    .welcome .container .content .info a{
        width: 100%;
        height: 48px;
        display: flex;
        align-items: center;
        font-size: 1.1em;
    }
    .welcome .container .content .info a.btn-primary,
    .container .content .info .button-holder .take-a-look-inside{
        padding: 5px 25px;
    }
    .container .content .info .button-holder .take-a-look-inside i{
        margin-left: 0;
    }

    .container .content .info .button-holder a:first-child{
        justify-content: space-between;
    }
    .container .content .info .button-holder a:first-child i{
        font-size: 1.5em;
        animation: slideInLeftToRight 1.6s ease-in-out infinite alternate;
    }

    .container .content .info .button-holder{
        margin-top: 30px;
    }

    .mockup .mobile{
        display:none; 
    } 

   

    /* Reader */

    .customise-reading .container {
        grid-template: 1fr / 1fr 0;
        position: relative;
    }

    .customise-reading .container .reader-holder .reader {
        box-shadow: none;
        border-radius: 0px;
        margin: 0 -20px;
    }

    .reader .body .text-holder {
        column-width: 325px;
        height: calc(var(--height-of-page) - 140px);
    }

    .customise-reading .title{
       display: none;
    }

    .customise-reading .info{
        position: absolute;
        top: 60px;
        right: -20px;
        display: none;
    }

    .component-customise .aside{
        width: 250px;
    }

    .reader .header .customise-holder{
        animation: 1s jump infinite ease alternate;
    }

    .reader .body {
        padding: 20px 40px;
    }

    
    /* //Popular books */
    .popular-books{
        padding: 50px 0;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        margin-right: -20px;
    }


    /* .popular-books > .title{
        margin-top: auto ;
    } */

    .popular-books .grid {
        grid-template: 1fr / repeat(6, 1fr);
        overflow-y: hidden;
        overflow-x: auto;
        font-size: 1rem;
    }

    .popular-books .grid::-webkit-scrollbar {
        display: none;
    }
    
    .popular-books .grid {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .popular-books .grid .book {
        font-size: .9em;
        display: block;
        margin-bottom: 50px;
        margin-right: 100px;
    }

    .popular-books .grid .book .book-info{
      padding: 0;
      padding-top: 20px;
    }

    /* //Audio */

    .audio-player{
        /* scroll-snap-stop: always; */
        padding: 0;
    }

    .audio-player > .title{
        display: none;
    }

    .audio-player .grid {
        display: block;
        margin: 0 -20px;
    }

    .audio-player .grid .audio-track-holder {
        display: none;
    }

    .audio-player .grid .player{
        box-shadow: none;
        border-radius: 0;
        height: var(--height-of-page);
    }

    /* audio player header */

    .audio-player .grid .player .header {
        border-bottom: none;
    }

    .audio-player .grid .player .header .author,
    .audio-player .grid .player .header .profile,
    .audio-player .grid .player .header .title{
       display: none
    }


 
    .audio-player .grid .player .main .books-holder .book-small-left,
    .audio-player .grid .player .main .books-holder .book-small-right{
        display: none;
    }
    /* audi player main */

    .audio-player .grid .player .main .books-holder {
        width: auto;
    }

    .audio-player .grid .player .main .books-holder .book{
        font-size: 1.3rem;
    }

    /* audio player controls */

    .player .player-controls{
        font-size: 1rem;
    }

    .audio-player .grid .player .player-controls {
        height: 150px;
        font-size: 1.5rem;
    }

    .player .player-controls .sound-controler,
    .player .player-controls .book-details {
        display: none;
    }

    .player .player-controls .progress-bar-mobile{
        display: flex;
        align-items: flex-end;
        position: absolute;
        width: 100%;
        top: 0px;
        left: 0;
    }
    
    .player .player-controls .progress-bar-mobile span{
        font-size: .5em;
        margin: 0 15px;
        width: 40px;
    }
    
    .player .player-controls .progress-bar-mobile .audio-progress-bar{
        position: relative;
    }

    .player .player-controls .main-controls>div {
        margin: 0 10px;
    }

    /* //Pricing */

    .pricing .grid{
        display: block;
    }

    .pricing .title h1{
        margin-bottom: 30px;
    }

    .pricing .grid .price-info-holder .pricing-info .you-get{
        display: block;
        margin-top: 40px;
    }

    .pricing .grid .price-info-holder .pricing-info .you-get .card{
        padding-left: 0;
    }


    .price-options .enter-coupon form .input-holder{
        display: block;
    }

    .price-options .enter-coupon form .input-holder input{
        margin-bottom: 10px;
    }

    .price-options .option .sale{
        right: 20px;
    }
    
    .price-options .option .right{
        flex: 1.1;
    } 

    .price-options .option .left {
        padding: 1.8em 2em 1.8em 1.5em;
    }

    .price-options .option {
        width: 100%;
    }
    .price-options .option .left {
        padding: 30px 10px;
        flex: 1;
    }

    .price-options .option .right{
        flex: 1;
        padding: 0;
    } 

    .price-options .enter-coupon form .form-elements{
        display: block;
    }
    /* // Footer */
    footer{
        padding: 40px 10px;
    }

    footer .content{
        flex-direction: column-reverse;
    }

    footer nav{
        display: none;
    }

}

/* //END */

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

    body{
        font-size: .8em;
    }

}

/* // Animations */


@keyframes slideInLeftToRight {
	from {
	  -webkit-transform: translate3d(-200%, 0, 0);
	  transform: translate3d(-200%, 0, 0);
	  visibility: visible;
	}
  
	to {
	  -webkit-transform: translate3d(0, 0, 0);
	  transform: translate3d(0, 0, 0);
	}
  }


@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 fadeCicle {
    50%{
        opacity: .1;
        transform: translateY(-3em);
    }

    100%{
        opacity: 1;
        transform: translateY(0);
    }
}


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

  @keyframes scroll {
    0%,
    10%,
    100% {
        transform: translateY(0);
    }

    25%,
    40% {
        transform: translateY(-20%);
    }

    50%,
    80% {
        transform: translateY(-40%);
    }
}

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

  @keyframes jump {
    0% {
      transform: scale(1);
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    }
    100% {
      transform: scale(1.05);
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
  }

  @keyframes rotate {
    from{
        transform: rotate(0) translateX(1px);
       
    }
    to{
        transform: rotate(360deg) translateX(1px);
        
    }
}
input{
	border-radius: 0;
}

.funtenjer {
	position: relative;
}

.search-aside,
.bookmark-aside,
.chapters-aside,
.aside {
	position: absolute;
	top: -20px;
	right: 0;
	background: #fff;
	border: 2px solid var(--primary);
	font-family: 'Poppins', sans-serif;
	max-width: 350px;
	width: 100%;
	display: none;
	z-index: 10;
	border-top: 1px solid;
}

main.light .search-aside,
main.light .bookmark-aside,
main.light .chapters-aside,
main.light .aside.light {
	background: var(--light-theme-background);
	color: var(--light-theme-color);
}

/* main.tan .search-aside,
main.tan .bookmark-aside,
main.tan .chapters-aside,
main.tan .aside {
	background: var(--tan-theme-background);
	color: var(--tan-theme-color);
} */

main.dark .search-aside,
main.dark .bookmark-aside,
main.dark .chapters-aside,
main.dark .aside {
	background: var(--dark-theme-background);
	color: var(--dark-theme-color);
}

.aside nav input {
	display: none;
}

.search-aside nav .header,
.bookmark-aside nav .header,
.chapters-aside nav .header,
.aside nav .header {
	padding: 0 20px;
	height: 60px;
	display: flex;
	align-items: center;
	border-bottom: 2px solid #333;
	justify-content: space-between;
}

.search-aside nav .header div i,
.bookmark-aside nav .header div i,
.chapters-aside nav .header div i,
.aside nav .header div i {
	margin-right: 10px;
}

.search-aside nav .header>i,
.bookmark-aside nav .header>i,
.chapters-aside nav .header>i,
.aside nav .header>i {
	cursor: pointer;
	position: relative;
}

.search-aside nav .header>i::after,
.bookmark-aside nav .header>i::after,
.chapters-aside nav .header>i::after,
.aside nav .header>i::after {
	content: "";
	position: absolute;
	top: -20px;
	right: -20px;
	left: -20px;
	bottom: -20px;
}

.aside nav .header>i:active {
	font-size: 0.875em;
}

.aside .body {
	padding: 0 20px;
}

.aside .body .segment:not(:last-child) {
	border-bottom: 1px solid #eee;
}

.aside .body .segment {
	padding-bottom: 10px;
}

.aside .body .segment:first-child {
	padding-bottom: 20px;
}

.aside .body .segment .row {
	display: flex;
	align-items: center;
}

.aside .body .segment h3 {
	font-size: 0.9375em;
	font-weight: 400;
}

.aside .body .segment .colors .color-circle {
	margin-right: 10px;
	width: 40px;
	height: 40px;
	background: var(--page-color);
	border: 1px solid #eee;
	border-radius: 50%;
	cursor: pointer;
	position: relative;
}

.aside .body .segment .colors .color-circle::before {
	content: '';
	height: 5px;
	width: 5px;
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translate(-50%, 0);
	background: var(--primary);
	border-radius: 50%;
	opacity: 0;
	transition: 0.5s;
}

.aside .body .segment .colors input:checked+.color-circle::before {
	opacity: 1;
}

.aside .body .segment i {
	cursor: pointer;
}

.aside .body .segment i:active {
	font-size: 0.875em;
}

.aside .body .segment .color-circle .active {
	border: 1px solid var(--star-background);
	border-radius: 50%;
	width: 100px;
	height: 100px;
	background: #333;
}

.aside .body .segment .change-circle {
	display: flex;
	justify-content: center;
	position: relative;
	align-items: center;
	height: 25px;
	width: 25px;
	border-radius: 50%;
	font-size: 0.625em;
	border: 1px solid #333;
	cursor: pointer;
}

.aside .body .segment .change-circle::after {
	content: '';
	position: absolute;
	top: -10px;
	left: -10px;
	right: -10px;
	bottom: -10px;
}

.aside .body .segment .change-circle:active i {
	font-size: 0.875em;
}

.aside .body .segment .value {
	margin: 0 13px;
	font-size: 1.25em;
}

.aside .body .segment .column {
	display: flex;
	flex-direction: column;
}

.aside .body .segment .option {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
}

.aside .body .segment .option input:checked+label::before {
	opacity: 1;
}

.aside .body .segment .option label {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	width: 20px;
	height: 20px;
	background: #fff;
	border: 1px solid var(--primary);
	border-radius: 50%;
	cursor: pointer;
}

.aside .body .segment .option label::after {
	content: '';
	position: absolute;
	top: -10px;
	left: -10px;
	right: -144px;
	bottom: -10px;
}

.aside .body .segment .option label::before {
	content: '';
	height: 8px;
	width: 8px;
	background: var(--primary);
	position: absolute;
	border-radius: 50%;
	opacity: 0;
	transition: 0.3s;
}

.aside .body .segment .option span {
	margin-left: 10px;
	font-size: 0.813em;
}

.aside .body .segment .line-height,
.aside .body .segment .justification {
	border: 1px solid var(--primary);
	display: flex;
	border-radius: 5px;
	overflow: hidden;
}

.aside .body .segment .line-height input:checked+label,
.aside .body .segment .justification input:checked+label {
	background: var(--primary);
	color: #fff;
	font-weight: 700;
}

.aside .body .segment .line-height label,
.aside .body .segment .justification label {
	flex: 1;
	padding: 3px 20px;
	font-size: 0.813em;
	cursor: pointer;

}

.aside .body .segment .justification label:first-of-type {
	border-right: 1px solid var(--primary);
}

.aside .body .segment .line-height label:nth-child(4) {
	border-right: 1px solid var(--primary);
	border-left: 1px solid var(--primary);
}

/* ///////////////////////////////// CHAPTER //////////////////////////////// */

.chapters-aside{
	-webkit-user-select: none;        
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none; 
}

.chapters-aside .body {
	overflow-y: auto;
	overflow-x: hidden;
	max-height: calc(100vh - 200px);
}

.highlights-container input[type='text'],
.search-aside .body input[type='text'],
.chapters-aside input[type='text'] {
	width: 100%;
	padding: 15px 20px;
	border: none;
	border-bottom: 1px solid var(--primary);
	background: #f7f7f7;
	border-radius: 0;
}

/* // Dark theme */
main.dark ~ .highlights-popup .highlights-container input[type='text'],
main.dark .search-aside .body input[type='text'],
main.dark .chapters-aside input[type='text'] {
	background: var(--dark-theme-background);
	color: var(--dark-theme-color);
	-webkit-text-fill-color: var(--dark-theme-color);
	box-shadow: none;
}

.search-aside .body{
	position: relative;
}

.search-aside .body input[type='text'] {
	border: 0;
	border-radius: 0;
}

.search-aside .body .suggestions{
	background: #fff;
	border: 2px solid #333;
	border-top: none;
	position: absolute;
	top: calc(100% + 2px);
	right: -2px;
	left: -2px;
	max-height: calc(100vh - 190px);
	overflow: auto;
	/* display: none; */
}

.search-aside .body .suggestions .row{
	padding: 15px 20px;
	font-size: .8em;
	border-bottom: 1px solid #eee;
	transition: 300ms;
	cursor: pointer;
}

/* // Dark theme */
main.dark .search-aside .body .suggestions .row{
	background: var(--dark-theme-background);
	color: var(--dark-theme-color);
}

.search-aside .body .suggestions .row:hover{
	background: rgba(var(--rgb-primary), .06);
}



.search-aside .body .suggestions .row span{
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	width: 300px;
}


.chapters-aside .body .row {
	padding: 10px 20px;
	display: flex;
	align-items: center;
	cursor: pointer;
	border-bottom: 1px solid #eee;
}

.chapters-aside .body .row.locked {
	position: relative;
    user-select: none;
    pointer-events: none;
	background: rgba(var(--rgb-primary), .03);
}

.chapters-aside .body .row.locked::after{
	content: "\f023";
	font-weight: 900;
	font-family: "Font Awesome 6 Pro";
	position: absolute;
	right: 10px;
    font-size: .7em;
	color: rgba(var(--rgb-primary), .6);
}

main.dark .chapters-aside .body .row.locked::after{
	color: #eee;
}

.chapters-aside .body .row .arrow{ 
	font-size: .6em;
	margin-right: 10px;
}

.chapters-aside .body .row .title{
	flex: 1;
	text-overflow: ellipsis;
	overflow: hidden;
}

.chapters-aside .body .row .page {
	padding-left: 10px;
	
}

.chapters-aside .body .row:hover span {
	text-decoration: underline;
}

.chapters-aside .body .row span {
	font-size: 0.813em;
}

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

.bookmark-aside .body .row {
	padding: 10px 20px;
	display: flex;
	align-items: center;
	cursor: pointer;
	transition: background 0.3s linear;
}

.bookmark-aside .body .row:hover {
	background: var(--primary);
	color: #fff;
}

.bookmark-aside .body .row i {
	margin-right: 10px;
}

.chapters-aside .body .row span {
	font-size: 0.813em;
}

/* // Highlights box */

.highlights-popup{
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(var(--rgb-primary), .3);
	display: none;
	z-index: 20;
}

.highlights-popup .highlights-container{
	background: #fff;
	border-right: 2px solid #333;
	max-width: 400px;
}

/* // Dark theme */
main.dark ~ .highlights-popup .highlights-container{
	background: var(--dark-theme-background);
	color: var(--dark-theme-color);
}

.highlights-popup .highlights-container .header{
	border-bottom: 1px solid #333;
}

.highlights-popup .highlights-container .header .title{
	display: flex;
	align-items: center;
	padding: 20px;
}

.highlights-popup .highlights-container .header span{
	margin-left: 10px;
}
.highlights-container input[type='text']{
	border-top: 2px solid #333;
}


.highlights-popup .highlights-container .body{
	overflow: auto;
	height: calc(100vh - 114px);
}

.highlights-popup .highlights-container .row{
	font-family: var(--lora);
	line-height: 1.5;
	padding-bottom: 10px;
	cursor: pointer;
	padding: 10px 30px 10px 20px;
}


.highlights-popup .highlights-container .row:hover{
	background: rgba(var(--rgb-primary), .04)
}

.highlights-popup .highlights-container .row mark{
	background: var(--color);
}

/* // Dark theem */

main.dark ~ .highlights-popup .highlights-container .row mark{
	color: var(--dark-theme-color);
}


/* // Customise for mobile */
.customise-aside-mobile{
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: #fff;
	display: none;
	border-radius: 20px 20px 0 0;
	overflow: hidden;
	box-shadow:0 .25rem 1rem rgba(48,55,66,.15);
	z-index: 10;
}

.customise-aside-mobile .aside{
	display: block;
	position: unset;
	border: none;
	max-width: unset;
}

.customise-aside-mobile .aside .segment{
	padding: 20px 0;
}

.customise-aside-mobile .segment.modes .row{
	justify-content: space-around;
}


.customise-aside-mobile .font-size-holder{
	width: 100%;
}

.customise-aside-mobile .font-size-holder .letter{
	font-size: 1em;
	font-family: var(--lora);
	font-weight: 900;
}

.customise-aside-mobile .font-size-holder .letter:last-child{
	font-size: 1.5em;
}

.customise-aside-mobile .font-size-holder .line{
	flex: 1;
	display: flex;
	position: relative;
	align-items: center;
	height: 2px;
	border-radius: 50px;
	background: #111;
	margin: 0 20px;
}

.customise-aside-mobile .font-size-holder .line::before{
	content: "";
	position: absolute;
	top: -20px;
	bottom: -20px;
	left: 0;
	right: 0;
}


.customise-aside-mobile .font-size-holder .line .circle{
	position: absolute;
	left: calc( var(--left) - 15px);
	width: 30px;
	height: 30px;
	background: var(--primary);
	border-radius: 50%;
}

.customise-aside-mobile .segment.fonts{
	overflow: auto;
}

.customise-aside-mobile .segment.fonts {
    -ms-overflow-style: none; /* for Internet Explorer, Edge */
    scrollbar-width: none; /* for Firefox */
    overflow-y: scroll; 
}

.customise-aside-mobile .segment.fonts::-webkit-scrollbar {
    display: none; /* for Chrome, Safari, and Opera */
}

.customise-aside-mobile .segment .fonts .option{
	margin: 0;
}

.customise-aside-mobile .segment .fonts .option label{
	width: unset;
	height: unset;
	display: block;
	border-radius: 1em;
	margin-right: 10px;
	padding: 5px 15px;
}

.customise-aside-mobile .segment .fonts .option label span{
	margin: 0;
	white-space: nowrap;
}

.customise-aside-mobile .segment .fonts .option label::before{
	display: none;
}

.customise-aside-mobile .segment .fonts .option input:checked + label{
	background: var(--primary);
	color: #fff;
}

/* .customise-aside-mobile .segment.justification{
	padding: 5px 0;
} */

.customise-aside-mobile .segment .line-height label,
.customise-aside-mobile .segment.justification .justification label{
	padding: 5px 20px;
}
.customise-aside-mobile .segment.justification .justification label i{
	margin-right: 5px;
}

@media screen and (max-height: 870px) {
	.aside .body{
		overflow: auto;
		height: calc(100vh - 140px);
	}

	.customise-aside-mobile .aside .body{
		overflow: unset;
		height: unset;
	}
}


@media screen and (max-width: 1200px) {
	body::after{
		content: "";
	}
} 

@media screen and (max-width: 800px) {
.search-aside,
.bookmark-aside,
.chapters-aside,
.aside {
	position: absolute;
	top: -20px;
	right: -20px;
	left: -20px;
	width: unset;
	max-width: unset;
	border: none;
	box-shadow:0 .25rem 1rem rgba(48,55,66,.15);
}

.highlights-container input[type='text'],
.search-aside .body input[type='text'],
.chapters-aside input[type='text'] {
	padding: 30px;
}

.search-aside .body .suggestions .row,
.chapters-aside .body .row,
.bookmark-aside .body .row{
	padding: 20px;
}
}
