 @font-face {
	font-family: Estedad;
	font-style: normal;
	font-weight: 500;
	src: url('src/fonts/Estedad/woff2/Estedad-Regular.woff2');
		 
}
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: Estedad !important;
}

body {
	display: grid;
	place-content: center;
	height: 100vh;
	width: 100vw;
	overflow: hidden;
	/* New background for the table theme */
	background: url("images/wooden-background.jpg");
	background-size: cover;
	/* background-repeat: no-repeat; */
}
/* 
.flipbook-container {
	perspective: 1500px;
} */

.flipbook {
	/* width: 800px;
	height: 500px; */
	/* Adding a shadow to lift the book off the "table" */
	filter: drop-shadow(10px 10px 10px rgba(0, 0, 0, 0.4));
    visibility: hidden;
}

.flipbook .hard-core {
	background: #2c2c54 !important;
	/* color: #fff; */
	/* font-weight: bold;
	border: none;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 10px; */
}

/* Style for the inner pages to look like a notebook */
.flipbook .page {
	color: #333;
	border: 1px solid rgba(0, 0, 0, 0.2);
	background-color: #fdfaf4;
	/* background-image: linear-gradient(
		to bottom,
		transparent 29px,
		#d4d0c9 1px
	); */
	background-size: 100% 30px;
	padding: 1.5 rem;
}

/* Adjust text to align with notebook lines */
.flipbook .page p {
	line-height: 30px;
	font-family: "Courier New", Courier, monospace;
	font-weight: 500;
	font-size: 14px;
	text-align: justify !important;
	padding: 1.5rem;
}

/* Style for the dark blue covers */
.flipbook .cover {
    /* --- Main Properties --- */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: bold;

    /* --- Background Image Styling (Corrected) --- */
    /* Fallback color if the image fails to load */
    background-color: #2c2c54; 
    
    /* Your image path */
    background-image: url("images/book-cover.jpg"); 

    /* This makes the image scale to cover the entire page */
    background-size: cover; 
    
    /* This centers the image within the page */
    background-position: center; 
}

@media screen and (max-width: 768px) {
  .flipbook .page p {
    font-size: 12px !important;
  }
}

.flipbook .back-cover {
    /* --- Main Properties --- */
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: bold;
    background-color: #2c2c54; 
    background-size: cover; 
    
    /* This centers the image within the page */
    background-position: center; 
}

.flipbook .cover small {
	font-style: italic;
	font-weight: lighter;
	opacity: 0.7;
	font-size: 14px;
}

/* Styles for the pinned photo */
.photo-frame {
	position: relative;
	transform: rotate(4deg);
}

/* .photo-frame img {
	height: 300px;
	width: auto;
	border: none;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
	border-radius: 3px;
} */
 .photo-frame img {
	width: 229px;
    height: 310px;
    border: 15px solid white;
    border-bottom-width: 45px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
    object-fit: cover;
}

.pin {
	position: absolute;
	top: -8px;
	left: 50%;
	transform: translateX(-50%);
	width: 25px;
	height: 25px;
	background: #e74c3c;
	border-radius: 50%;
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
	border: 2px solid #c0392b;
}

/* --- Audio Player Styles --- */
.player {
    font-family: 'Quicksand', sans-serif;
    position: relative;
    width: 350px;
    margin: 40px auto 0;
    display: flex;
    justify-content: center;
}

.track {
    position: absolute;
    top: -35px;
    left: 0;
    right: 0;
    margin: 0 auto;
    padding: 8px;
    background: #f5edf0;
    width: 90%;
    padding-left: 140px;
    border-radius: 15px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    z-index: 1;
    transition: all .5s ease-in-out;
}

.track.up {
    top: -53px;
}

.title {
    font-weight: bold;
    font-size: 14px;
    color: #4f4f4f;
}

.subtitle {
    font-weight: bold;
    font-size: 12px;
    margin-bottom: 4px;
    color: #a0a0a0;
}

.container-player {
    background: #fff2f6;
    border-radius: 15px;
    padding: 1px;
    position: relative;
    z-index: 2;
    /* min-width: 350px; */
    width: 95%;
    display: flex;
    justify-content: center;
    box-shadow: 0 0 10px 0 rgba(130, 0, 81, 0.1), 0px 40px 40px -25px rgba(130, 0, 81, 0.5);
}

.controlsOuter {
    display: flex;
    justify-content: center;
    align-items: center;
}

.controlsInner {
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

.controlsInner .btn {
    cursor: pointer;
    transition: all .1s ease-in-out;
    color: #c2b0c1;
    padding: 14px;
    border-radius: 8px;
}

.controlsInner .btn:hover {
    background: #c2b0c1;
    color: #fff2f6;
}

.play, .pause {
    font-size: 32px;
}

.pause {
    display: none;
}

.progress-container, .progress {
    border-radius: 2px;
}

.progress-container {
    background: #e9dbdb;
    width: 100%;
    margin: 0 8px;
}

.timeline {
    display: flex;
    align-items: center;
    font-size: 12px;
    font-weight: 500;
}

.progress {
    height: 4px;
    background: #fe38ab;
    width: 0;
}

.container-thumb {
    border-radius: 50%;
    box-shadow: 0px 0px 0px #d18eb88c;
    transition: all .5s ease-in-out;
    position: absolute;
    top: -50px;
    left: 10px;
}

.container-thumb.shadow {
    box-shadow: 0px 40px 25px -20px #2c2c5478;
    top: -60px;
}

.container-thumb.shadow .axis {
    box-shadow: inset 0px 6px 14px #2c2c5436;
}

.thumb {
    height: 100px;
    width: 100px;
    position: relative;
    z-index: 1;
    transition: all .5s ease-in-out;
}

.thumb .axis {
    transition: all .5s ease-in-out;
    content: ' ';
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #fff2f6;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.thumb img {
    border-radius: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
}

.thumb.spin {
    animation: spin 8s linear infinite;
}

#timer{
  color: #333;
}

#duration{
  color: #333;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.fas, .fa-solid {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}