/*!
Theme Name: Emily Henry
Theme URI: http://underscores.me/
Author: Megi Chkhetia
Author URI: http://underscores.me/
Description: The final project theme for Emily Henry
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: finalproject2023
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

*/

@import url("https://use.typekit.net/rgj4noo.css");
@import url("https://use.typekit.net/rgj4noo.css");
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&display=swap');


*{
	margin:0;
	border:0;
	padding:0;
}

:root{
	--color-primary:#EDBEE1;
	--color-secondary: #D29157;
	--color-third: #EFAC70;
	--color-fourth: #f4a261;
	--general-black: #000;
	--general-white: #fff;

}

body,
button,
input,
select,
optgroup,
textarea {
	font-family: "Dancing Script", serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
}

p {
	font-family: "Dancing Script", serif;
}


/********************** Home Banner ***********************************/

.home-banner {
	background-color: var(--color-primary);
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	padding:4%;

}




.home-banner p {
	font-family: 'Dancing Script', sans-serif;
	font-size: 3em;
	margin: 0;
}





@media screen and (max-width: 768px) {
	.home-banner, .bio-banner {
		padding: 30px 15px;
	}

	.home-banner p, .bio-banner p {
		font-size: 2em;
	}

}

/********************** Home Bio ***********************************/
.bio-banner {
	background-color: var(--general-white);
	margin: 0 auto;
	padding: 0 40px;
	display: flex;
	align-items: center;
	justify-content: center;

}

.bio-banner p {
	font-family: 'Dancing Script', sans-serif;
	font-size: 2.5em;
	margin: 0;
}

/********* Sub Heading and Headings ******************/

.sub-heading{
	font-size: 3em;
	color: var(--color-secondary);
	padding: 2% 2% 2% 2%;
}

.heading{
	font-size: 4em;
	font-weight: bold;
	color: var(--general-black);
	padding-right: 4%;
	padding-left:4%;
}

@media screen and (max-width: 768px){
	.sub-heading{
		font-size:2.2em;
	}

	.heading{
		font-size: 3em;
	}
}




/********* Global Button ************/

.global-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: "Dancing Script", serif;
	font-size: 1.5em;
	font-weight: bold;
	color: white;
	background-color: var(--color-secondary);
	padding: 12px 24px;
	border-radius: 40px;
	border: none;
	position: relative;
	cursor: pointer;
	text-decoration: none;
	box-shadow: 6px 6px 0 var(--color-third);
}

.global-button::after {
	content: '▶';
	margin-left: 10px;
	font-size: 16px;
}

.global-button:hover {
	box-shadow: 2px 2px 0 var(--color-third);
	transform: translate(2px, 2px);
}

.global-button:active {
	box-shadow: none;
	transform: translate(4px, 4px);
}

.wp-block-button__link {
	background-color: transparent;
	border-radius: 0;
	box-shadow: none;
	text-decoration: none;
	padding: 0;
	font-size: 1.125em;
}


/***** Navigation ********/

.new-navigation {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 2rem;
	padding: 1rem 5%;
}

.new-navigation ul {
	display: flex;
	gap: 2rem;
	padding: 0;
	margin: 0;
}

.new-header {
	font-size:1.5em;
	color: var(--color-third);
	width:100%;
	display:flex;
	justify-content: space-between;
	align-items:center;


}

.new-header img {
	padding-left: 20%;
	padding-top:10px;
}


.new-navigation li {
	list-style: none;
	font-size: 2.5rem;
}

.new-navigation a {
	text-decoration: none;
	color: var(--general-black);
	position: relative;
	font-weight: bold;
	transition: color 0.3s ease-in-out;
}


.new-navigation a:hover {
	color: var(--color-secondary);
}


.new-navigation a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -5px;
	width: 100%;
	height: 3px;
	background-color: var(--color-secondary);
	transform: scaleX(0);
	transition: transform 0.3s ease-in-out;
}

.new-navigation a:hover::after {
	transform: scaleX(1);
}


.new-navigation .current-menu-item a {
	color: var(--color-secondary);
}

.new-navigation .current-menu-item a::after {
	transform: scaleX(1);
}



@media screen and (max-width: 768px) {
	.navigation-image{
		max-width: 70%;
	}

	.wp-block-image {
		width: 90% !important;
	}
	.new-navigation {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		background: rgba(255, 255, 255, 0.95);
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 2rem;
		transform: translateY(-100%);
		transition: transform 0.3s ease-in-out;
		z-index: 999;
		padding: 2rem;
		opacity: 0;
		pointer-events: none;
	}


	.new-navigation.active {
		transform: translateY(0);
		opacity: 1;
		pointer-events: auto;
	}


	.new-navigation ul {
		display: flex;
		flex-direction: column;
		gap: 1.5rem;
		text-align: center;
		padding: 0;
		margin: 0;
	}

	.new-navigation li {
		list-style: none;
		font-size: 2rem;
	}

	.new-navigation a {
		text-decoration: none;
		color: var(--general-black);
		font-weight: bold;
		transition: color 0.3s ease-in-out;
	}

	.new-navigation a:hover {
		color: var(--color-secondary);
	}


	.menu-toggle {
		display: block;
		background: var(--color-secondary);
		color: #fff;
		border: none;
		padding: 12px 16px;
		font-size: 2rem;
		font-weight: bold;
		border-radius: 50px;
		cursor: pointer;
		z-index: 1000;
		box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
		transition: background 0.3s ease-in-out;
		margin:5%;
	}

	.menu-toggle:hover {
		background: var(--general-black);
	}
}


@media screen and (min-width: 769px) {
	.new-navigation {
		display: flex !important;
		position: static;
		padding: 1rem 5%;
	}

	.menu-toggle {
		display: none;
	}
}


/***************** Footer **************/
.footer-widgets {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 20px;

}

.footer-widgets .widget {
	font-size: 2rem;
	text-align: center;
}



/*************** Books on Home Page ************/

.books-container {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 2rem;
}

.book-item {
	text-align: center;
	max-width: 300px;
	padding: 3rem;
	background: rgba(237, 190, 225, 0.3);
	border-radius: 15px;
	box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease-in-out;
}


.book-item:hover {
	transform: translateY(-5px);
}
.book-item img {
	width: 120%;
	max-width: 220px;
	height: auto;
	transition: transform 0.3s ease-in-out;
}


.book-item img:hover {
	transform: scale(1.1);
}

.kb-row-layout-id8_d72a4e-5a > .kt-row-column-wrap{
	padding:0;
}
.kb-row-layout-id8_ccb09b-16 > .kt-row-column-wrap{
	padding:0;
}


/******************** Bookcase *****************/

.bookcase {
	width: 90vw;
	max-width: 700px;
	height: auto;
	background: #d4a373;
	margin: 20px auto;
	padding: 30px;
	border-radius: 15px;
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
	border: 8px double #c08457;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	overflow: hidden;
}


.shelf {
	width: 100%;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 15px;
	background: #b97a56;
	padding: 20px;
	border-radius: 10px;
	box-shadow: inset 0 -6px 8px rgba(0, 0, 0, 0.3);
	margin: 20px auto;
	justify-items: center;
}


.book {
	height: 170px;
	width: 120px;
	max-width: 100%;
	background: linear-gradient(to bottom, #eac4d5, #d8a7b1);
	color: #4a2c2a;
	font-family: 'Dancing Script', cursive;
	font-size: 16px;
	font-weight: bold;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 10px;
	border-radius: 8px;
	box-shadow: 3px 4px 8px rgba(0, 0, 0, 0.3);
	transition: transform 0.2s ease-in-out;
}


.book:hover {
	transform: scale(1.1);
	box-shadow: 5px 7px 12px rgba(0, 0, 0, 0.4);
}


@media (max-width: 768px) {
	.bookcase {
		width: 80vw;
		padding: 20px;
	}

	.shelf {
		grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
		gap: 12px;
	}

	.book {
		height: 170px;
		width: 100px;
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	.bookcase {
		width: 80vw;
		padding: 20px;
	}

	.shelf {
		grid-template-columns: repeat(2, 1fr);
		gap: 8px;
	}

	.book {
		height: 160px;
		width: 90px;
		font-size: 12px;
	}
}

@media screen and (max-width: 768px){
	.book-image{
		max-width: 30%;

	}
}


/************ Bio *******************/

.profile-img-wrapper {
	position: relative;
	display: inline-block;
}

.profile-img-wrapper::before {
	content: "";
	width: 300px;
	height: 300px;
	background-color: var(--color-fourth);
	border-radius: 50%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: -1;
}

.profile-img {
	display: block;
	position: relative;
	height: auto;
	border-radius: 50%;
}

/********** Bio FLower Icon *************/
.flower {
	position: relative;
	width: 120px;
	height: 120px;
	margin: 0 auto;
}

.petal-container {
	position: absolute;
	width: 100%;
	height: 100%;
	animation: spin 5s linear infinite;
	transform-origin: center;
}

.petal {
	position: absolute;
	width: 30px;
	height: 50px;
	background: var(--color-fourth, #ffcc00);
	border-radius: 50%;
	top: 0;
	left: 50%;
	transform: translate(-50%, 0%);
	transform-origin: 50% 100%;
}


.petal:nth-child(1) { transform: translate(-50%, 0%) rotate(0deg) translateY(-10px); }
.petal:nth-child(2) { transform: translate(-50%, 0%) rotate(45deg) translateY(-10px); }
.petal:nth-child(3) { transform: translate(-50%, 0%) rotate(90deg) translateY(-10px); }
.petal:nth-child(4) { transform: translate(-50%, 0%) rotate(135deg) translateY(-10px); }
.petal:nth-child(5) { transform: translate(-50%, 0%) rotate(180deg) translateY(-10px); }
.petal:nth-child(6) { transform: translate(-50%, 0%) rotate(225deg) translateY(-10px); }
.petal:nth-child(7) { transform: translate(-50%, 0%) rotate(270deg) translateY(-10px); }
.petal:nth-child(8) { transform: translate(-50%, 0%) rotate(315deg) translateY(-10px); }

.center {
	position: absolute;
	width: 30px;
	height: 30px;
	background: var(--color-primary, #ff6600);
	border-radius: 50%;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -85%);
	z-index: 2;
}

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


.kb-row-layout-id10_f26f19-41 > .kt-row-column-wrap{
	padding-bottom: 0;
}


/************* Bio Timeline ********************/

.ctl-wrapper{
	padding: 0 20%;
}

.ctl-wrapper .ctl-vertical-wrapper .ctl-arrow{
	background-color: transparent;
	box-shadow: none;
}

.ctl-wrapper .ctl-vertical-wrapper:not(.ctl-compact-wrapper,.ctl-clean-skin) .ctl-story.odd .ctl-title{
	background-color: #fff;
}


.ctl-content{
	background-color: transparent;
}


.ctl-label-big .story-date{
	color: var(--general-black) !important;
}


/***** Bio Info *************/

.bio-emily{
	background: rgba(237, 190, 225, 0.3);
	max-width: 50%;
	margin: 0 auto;
	border-radius: 10px 10px;
	border: 1px solid var(--color-secondary);
	padding:2em;
}


/*********** Random Review ***********/
.random-review {
	background: var(--color-primary);
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	padding: 20px;
	margin-bottom: 20px;
	font-family: 'Arial', sans-serif;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.review-content {
	background: var(--general-white);
	padding: 15px;
	border-radius: 6px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.review-text {
	font-size: 16px;
	color: var(--general-black);
	line-height: 2;
	margin: 0;
}

.review-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.reviewer-info {
	color: var(--general-black);
}

.reviewer-info p {
	margin: 5px 0;
}

.reviewer-name {
	font-weight: bold;
	color: var(--general-black);
}

.reviewer-location {
	font-style: italic;
	color: var(--general-black);
}

.review-rating {
	text-align: right;
}

.rating-stars {
	font-weight: bold;
	color: var(--color-fourth);
}



/*********** Flickering candle **************/
.flickering-candle-container {
	display: flex;
	justify-content: left;
	align-items: center;
	padding-left: 10%;

}

.candle {
	position: relative;
	width: 30px;
	height: 120px;
	background-color: var(--color-primary);
	border-radius: 10px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.flame {
	position: absolute;
	top: -30px;
	left: 50%;
	width: 15px;
	height: 25px;
	background-color: var(--color-third);
	border-radius: 50%;
	transform: translateX(-50%);
	animation: flicker 1s infinite;
	box-shadow: 0 0 20px rgba(255, 140, 0, 0.5);
}

.flame:before {
	content: '';
	position: absolute;
	top: 5px;
	left: 50%;
	width: 5px;
	height: 10px;
	background-color: var(--color-fourth);
	border-radius: 50%;
	transform: translateX(-50%);
	animation: flicker-before 1s infinite;
}

.candle-holder {
	position: absolute;
	bottom: -20px;
	left: 50%;
	width: 70px;
	height: 30px;
	background-color: var(--color-secondary);
	border-radius: 50%;
	transform: translateX(-50%);
	box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

@keyframes flicker {
	0% {
		transform: translateX(-50%) scaleY(1);
		opacity: 1;
	}
	50% {
		transform: translateX(-50%) scaleY(1.2);
		opacity: 0.8;
	}
	100% {
		transform: translateX(-50%) scaleY(1);
		opacity: 1;
	}
}

@keyframes flicker-before {
	0% {
		transform: translateX(-50%) scaleY(1);
		opacity: 1;
	}
	50% {
		transform: translateX(-50%) scaleY(0.8);
		opacity: 0.5;
	}
	100% {
		transform: translateX(-50%) scaleY(1);
		opacity: 1;
	}
}


/**************** Flickering Lamp ***************/
.body-lamp {
	padding: 0;
	margin: 0;
	height: 30vh;
	width: 30vw;
	display: flex;
	justify-content: left;
}

.container {
	height: 100%;
	width: 100%;
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes sway {
	0% { transform: rotate(-5deg); }
	50% { transform: rotate(0deg); }
	100% { transform: rotate(5deg); }
}

#lamp-bulb {
	margin: 0 auto;
	position: relative;
	top: 50px;
	right: -15px;
	z-index: 1;
	height: 40px;
	width: 40px;
	background-color: var(--color-third);
	border: solid 4px var(--color-secondary);
	border-radius: 100%;
	box-sizing: border-box;
}

#lamp-body {
	margin: 0 auto;
	height: 50px;
	width: 40px;
	background-color: var(--color-primary);
	border: solid 4px var(--color-secondary);
	border-radius: 50% 0 0 50%;
	box-shadow: -25px 0px 0px -22px var(--color-primary),
	-25px 0px 0px -18px var(--color-secondary);
	animation: sway 1s infinite alternate ease-in-out;
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
	z-index: 1;
}

.lamp-connector {
	top: 50px;
	height: 30px;
	width: 5px;
	background-color: var(--color-primary);
	border: solid 4px var(--color-secondary);
	border-radius: 0 10px 10px 0;
	box-shadow: 0 40px 0 -4px var(--color-primary),
	0 40px 0 0 var(--color-secondary),
	0 80px 0 -4px var(--color-primary),
	0 80px 0 0 var(--color-secondary);
}

.lamp-joint {
	top: 80px;
	height: 6px;
	width: 6px;
	border-radius: 100%;
	background-color: var(--color-secondary);
	border: solid 4px var(--color-primary);
	box-shadow: 0 0 0 4px var(--color-secondary),
	0 40px 0 -4px var(--color-secondary),
	0 40px 0 0 var(--color-primary),
	0 40px 0 4px var(--color-secondary);
}

#lamp-foot {
	margin: 0 auto;
	position: relative;
	top: 58px;
	height: 10px;
	width: 80px;
	background-color: var(--color-primary);
	border: solid 4px var(--color-secondary);
	border-radius: 15px 15px 0 0;
}

.root{
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
}


/********** Global  Banner *******************/
.global-banner {
	background-color: var(--color-primary);
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	padding: 50px;
	text-align: center;
}


.global-banner::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -20px;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 65px solid transparent;
	border-right: 65px solid transparent;
	border-top: 35px solid var(--color-primary);
}

.global-banner p {
	font-family: 'Dancing Script', sans-serif;
	font-size: 3em;
	margin: 0;
}


@media (max-width: 768px) {
	.global-banner {
		padding: 30px 15px;
	}

	.global-banner p {
		font-size: 2em;
	}


	.global-banner::after {
		bottom: -10px;
		border-left: 45px solid transparent;
		border-right: 45px solid transparent;
		border-top: 20px solid var(--color-primary);
	}
}

/************ Image sizing ***********/


.wp-block-image img {
	max-width: 100% !important; /* Force it to respect this rule */
}


.wp-block-image{
	width:75%;
	margin:0 auto;

}


/***************** Background Color on Books, Contact, Quiz ************/

.post-12{
	background-color: rgba(237, 190, 225, 0.5);
;
}

.post-265{
	background-color: rgba(237, 190, 225, 0.5);

}

.post-591{
	background-color: rgba(237, 190, 225, 0.5);

}


/******** Quiz Page *****************/


.quiz-question {
	margin-bottom: 30px;
	padding: 25px;
	background-color: var(--color-primary);
	border-radius: 15px;
	color: var(--general-black);
	border: 3px solid var(--color-third);
}


label {
	display: block;
	font-size: 2.2em;
	margin-bottom: 15px;
	font-weight: bold;
	color: var(--general-black);
}


input[type="radio"] {
	font-size:1.3em;
	cursor: pointer;
	accent-color: var(--color-fourth);
}


.nav-arrows {
	display: flex;
	justify-content: space-between;
	margin-top: 30px;
}

.nav-arrows button {
	background-color: transparent;
	color: var(--color-third);
	border: none;
	font-size: 28px;
	cursor: pointer;
}

.nav-arrows button:disabled {
	color: #bdc3c7;
	cursor: not-allowed;
}



#quiz-container{
	background-color: var(--general-white);
	padding: 20px;
	border-radius: 20px;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
	width: 90%;
	max-width: 800px;
	margin: 40px auto;
	text-align: center;
	border: 3px solid var(--color-third);

}

#quiz-result h3 {
	font-size: 26px;
	font-weight: bold;
	margin-bottom: 10px;
	color: var(--color-third);
}


.quiz-question {
	display: none;
}

.quiz-question.active {
	display: block;
}


.quiz-button {
	align-items: center;
	justify-content: center;
	font-family: "Dancing Script", serif;
	font-size: 1.5em;
	font-weight: bold;
	color: white;
	background-color: var(--color-secondary);
	padding: 12px 24px;
	border-radius: 40px;
	border: none;
	position: relative;
	cursor: pointer;
	text-decoration: none;
	box-shadow: 6px 6px 0 var(--color-third);
}

.quiz-button:hover {
	box-shadow: 2px 2px 0 var(--color-third);
}

.quiz-button:active {
	box-shadow: none;
}


/*********** C0ntact Form ****************/

form , .thank-you{
	background: var(--color-primary);
	padding: 30px;
	border-radius: 15px;
	max-width: 500px;
	margin: auto;
	box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
	font-family: 'Dancing Script', cursive;
}

form div {
	margin-bottom: 20px;
}


form label {
	display: block;
	font-size: 1.4em;
	color: var(--general-black);
	margin-bottom: 8px;
	font-weight: bold;
}


form input, form textarea {
	width: 100%;
	padding: 12px;
	font-size: 1.1em;
	border: 2px solid var(--color-third);
	border-radius: 8px;
	background: var(--general-white);
	transition: 0.3s;
}


form input:focus, form textarea:focus {
	border-color: var(--color-secondary);
	outline: none;
	background: #fae3d9;
}


form textarea {
	width: 97%;
	padding: 12px;
	font-size: 1.1em;
	border: 2px solid var(--color-third);
	border-radius: 8px;
	background: var(--general-white);
	transition: 0.3s;
	resize: none;
}


/************* Individual Books **************/
/* Main wrapper */
.main-wrapper {
	background-color: rgba(237, 190, 225, 0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 2rem;
	margin: 0;
	box-sizing: border-box;
}

/* Book layout */
.book-layout {
	background-color: rgba(237, 190, 225, 0.5);
	display: flex;
	flex-wrap: wrap;
	padding: 2rem;
	margin: 0;
	box-sizing: border-box;
	width: 100%;
	justify-content: center;
	align-items: flex-start; /* Prevents stretching */

}

/* Book container */
.book-container {
	width: 90%;
	max-width: 70vw;
	background: #d4a373; /* Vintage warm wood */
	padding: 3rem;
	border-radius: 1rem;
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3);
	border: 0.5rem double #c08457; /* Fancy golden border */
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
}

/* Book details */
.book-details {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	flex-wrap: wrap;
}

/* Book Title */
.book-title {
	font-size: 3rem;
	margin-bottom: 0.5rem;
	font-weight: bold;
}

/* Book Synopsis */
.book-synopsis {
	font-size: 1.2rem;
	font-style: italic;
	line-height: 1.8;
}

/* Fancy border for title */
.book-description h2 {
	border-bottom: 0.2rem solid var(--color-primary);
	padding-bottom: 0.5rem;
	margin-bottom: 1rem;
}

.review-section {
	width: 50%;
	background-color: #d4a373;
	padding: 2rem;
	border-radius: 1rem;
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3);
	border: 0.5rem double #c08457;
	font-size: 1.1rem;
}

.review-box {
	background-color: #e4c3a3; /* Light beige */
	border-left: 6px solid var(--color-secondary); /* #D29157 */
	padding: 1.5rem;
	border-radius: 0.8rem;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	margin-bottom: 1.5rem;
	transition: transform 0.2s ease-in-out;
}

.review-box:hover {
	transform: translateY(-3px); /* Subtle lift effect */
}


.book-info-section {
	background-color: #d4a373;
	border-radius: 12px;
	padding: 1.5rem;
	width: 100%;
	max-width: 400px;
	height: auto; /* Ensures it only grows as needed */
	overflow: hidden; /* Prevents content overflow */
	margin: 0 auto;
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3);
	border: 0.5rem double #c08457;
}

.book-info-section p {
	max-width: 100%;
	word-wrap: break-word; /* Prevents text from overflowing */
}
/* Title Styling */
.section-title {
	text-align: center;
	font-size: 1.4rem;
	font-weight: bold;
	color: var(--general-black);
	margin-bottom: 1rem;
}

/* Book Details Container */
.book-details-box {
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
}

/* Detail Row */
.detail-group {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 1rem;
	padding: 0.6rem 0.8rem;
	border-bottom: 1px solid var(--color-primary);
}

/* Label */
.detail-group label {
	font-weight: bold;
	color: var(--general-black);
}

/* Detail Text */
.detail-group span {
	color: var(--general-black);
	font-weight: normal;
}

/* Responsive for smaller devices (max-width: 768px) */
@media (max-width: 768px) {
	.main-wrapper {
		height: auto;
		padding: 1.5rem;
	}
	.book-container {
		max-width: 80%;
		padding: 2rem;
	}
	.book-details {
		flex-direction: column;
		align-items: flex-start;
		text-align: left;
	}
	.book-description {
		width: 90%;
	}

	.book-title {
		font-size: 2rem;
	}

	.book-synopsis {
		font-size: 1rem;
	}
	.review-section {
		width: 100%;
	}
	.book-info-section {
		width: 100%;
		max-width: 100%;
	}
}

/* Responsive for mobile devices (max-width: 480px) */
@media (max-width: 480px) {
	.main-wrapper {
		padding: 1rem;
	}
	.book-container {
		padding: 1rem;
	}
	.book-details {
		flex-direction: column;
		align-items: flex-start;
		width: 100%;
	}
	.book-title {
		font-size: 1.6rem;
	}

	.book-synopsis {
		font-size: 0.9rem;
	}

	.review-section {
		width: 100%;
		padding: 1rem;
		font-size: 1rem;
	}
	.book-info-section {
		width: 100%;
		max-width: 100%;
		padding: 1rem;
	}
	.book-details-box {
		padding: 0;
	}
}

/* Responsive adjustments for the form section */
.book-information {
	margin-top: 20px;
}

.book-info h3 {
	font-size: 24px;
	color: #333;
	margin-bottom: 15px;
	text-align: center;
}

.form-group {
	margin-bottom: 15px;
}

.form-group label {
	display: block;
	font-weight: bold;
	color: #444;
	margin-bottom: 5px;
}

.form-group p {
	font-size: 16px;
	color: #555;
	margin: 0;
}


/********** Spinning Star **************/

.spinning-star {
	display: inline-block;
	font-size: 30px;
	color: #f39c12;
	animation: spin 2s infinite linear;

}

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


/******** Contact Information **********/
.contact-info-wrapper {
	background-color: var(--color-primary);
	padding: 2rem;
	border-radius: 12px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	margin-bottom: 2rem;
	transition: all 0.3s ease-in-out;
	font-size: 1.5em;
}





/* Contact info section */
.contact-info-wrapper .contact-info, .contact-info-wrapper .follow-info {
	margin-bottom: 1.5rem;
}

.contact-info-wrapper ul {
	list-style-type: none;
	padding: 0;
}

.contact-info-wrapper li {
	margin-bottom: 0.5rem;
	font-size: 1.4rem;
	color: var(--general-black);
	padding: 0.4rem 0;
	border-bottom: 1px solid var(--color-secondary);
}

.contact-info-wrapper a {
	color: var(--general-black);
	text-decoration: none;
}

.contact-info-wrapper a:hover {
	text-decoration: underline;
}

/* Follow section */
.contact-info-wrapper .follow-info a {
	color: var(--general-black);
}

.contact-info-wrapper .follow-info a:hover {
	text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
	.contact-info-wrapper {
		padding: 1rem;
	}

	.contact-info-wrapper h2 {
		font-size: 1.5rem;
	}

	.contact-info-wrapper li {
		font-size: 1rem;
	}
}





html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}












/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;

}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */



/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;

}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */


html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/


h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}



dfn,
cite,
em,
i {
	font-style: italic;
}







code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}


hr {
	background-color: #ccc;
	border: 0;
	height: 1px;

}



ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {

	width: 100%;
}



/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}








.main-navigation a {
	display: block;
	text-decoration: none;
}




.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}



.updated:not(.published) {
	display: none;
}



.page-links {
	clear: both;

}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}



.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {

	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;

}



.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {

	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;


}

.alignright {

	/*rtl:ignore*/
	float: right;


}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;

}
