body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
}

header {
    background-image: url('../images/headerBackground.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    height: 100px;
    width: 100%;
    border-bottom: 2px solid black;
    display: flex;
    align-items: center;
    position: relative;
}

.header-title {
	font-family: "Pacifico", cursive;
	font-weight: 400;
	font-style: normal;
  
    font-size: 40px;
    color: orange;
    padding-left: 20px;
    margin-right: 30px;
    /* Space before the icons */
}

.header-icons a {
    margin-left: 20px;
    /* Space between icons */
    display: inline-block;
    vertical-align: middle;
}

.header-icons img {
    height: 60px;
    /* Adjust based on actual size needed */
}

.main-content {
    background-image: url('../images/mainBackground.jpg');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    width: 100%;
    height: calc(100% - 102px);
    background-color: lightyellow;
    position: relative;
	
    /* font-family: 'SeaweedScript', cursive; */
}

.main-title {
	font-family: "Pacifico", cursive;
	font-weight: 400;
	font-style: normal;

    font-size: 105px;
    color: purple;
    /* font-weight: bold; */
    /* Assuming bold is available in Seaweed Script, otherwise font may not render bold */
    position: absolute;
    left: 80px;
    top: 40px;
}

.about-book {
    background-color: #88aaaaaa;
    width: 630px;
    height: 360px;
    position: absolute;
    left: 80px;
    top: 210px;
    padding: 10px;
    font-size: 20px;
    border: 2px solid black;
	overflow: hidden;
}

.about-author
{
	background-color: #88aaaaaa;
	width: 660px;
	height: 390px;
    position: absolute;
    left: 80px;
    top: 210px;
	padding: 10px;
	font-size: 20px;
	border: 2px solid black;
	overflow: hidden;
}

.scroll-image {
    background-image: url('../images/scroll.png');
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    right: 120px;
    top: 80px;
    width: 190px;
    height: 252px;
    padding: 45px;
    font-size: 22px;
}

#audioSampleContainer
{
	width:560px;
}

.audio-sample-container {
    background-color: #88aaaaaa;
    width: 600px;
    height: 320px;
    position: absolute;
    left: 80px;
    top: 210px;
    padding: 10px;
    font-size: 15px;
    border: 2px solid black;
}

@media (max-width: 768px) {
    .scroll-image {
        right: 20px;
        /* Adjust for smaller screens */
    }
}

/* audio player */
.audio-sample-container2 {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

.audio-player {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 8px;
    background-color: #f9f9f9;
    width: 100%;
    max-width: 600px;
    position: relative;
}

.chapter-title {
    font-weight: bold;
    margin-right: 10px;
}

.book-icon {
    width: 50px;
    height: auto;
}

button {
    padding: 10px 20px;
    font-size: 16px;
}

.timer {
    font-size: 16px;
    width: 60px;
    text-align: right;
}

.progress-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #eee;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.progress-bar {
    width: 0;
    height: 100%;
    background-color: #007bff;
    transition: width 0.1s;
}

.scrollable {
    max-height: 300px;
    overflow-y: auto;
}

#waveform 
{
    width: 300px;
    height: 40px;
    background-color: #fefefe55;
    border: 1px solid #ccc;
}

#soundPlayer
{
	padding: 8px;
    background-color: #fefefe55;
	position: absolute;
	bottom: 50px;
	right: 100px;
    border: 2px solid black;
}