/* General Body Styles */
body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: rgb(236, 230, 184); /* Parchment-style background */
    font-family: 'Georgia', serif;
}

/* Book Spread Layout */
.book-spread {
    width: 800px;
    height: 600px;
    background: #fef4e5;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    overflow: hidden;
}

/* Left Page Styles */
.left-page {
    width: 50%;
    padding: 20px;
    border-right: 2px solid #906f3e;
    display: flex;
    flex-direction: column;
    justify-content: column; /* Align content to the top */
    text-align: center;
    padding-top: 40px; /* Increase padding to push content higher */
}

.left-page h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: burlywood;
    margin-top: 170px;
}

.left-page p {
    font-size: 1rem;
    color: burlywood;
}

/* Right Page Styles */
.right-page {
    width: 50%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: column;
    align-items: left;
    gap: 25px; /* Adds space between dropdown, slider, and button */
}

label {
    font-size: 1rem;
    color: rgb(90, 60, 30);
    margin-top: 70px;
}

select, input[type="range"], button {
    width: 100%;
    padding: 10px;
    border: 1px solid rgb(144, 111, 62);
    border-radius: 4px;
    font-size: 1rem;
    max-width: 100%; /* Ensures it doesn't exceed the container */
    box-sizing: border-box; /* Includes padding in width calculation */
    font-family:Georgia, 'Times New Roman', Times, serif;
}

button {
    background: burlywood;
    font-family:Georgia, 'Times New Roman', Times, serif;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 80px;
}

button:hover {
    background: #6e5032;
}

/* Slider Labels */
.slider-labels {
    display: flex;
    justify-content: space-between;
    width: 100%; /* Ensure labels span the width of the slider */
    margin-top: 1px; /* Adjusts spacing between slider and labels */
}

.low-label,
.high-label {
    font-size: 0.8rem;
    color: rgb(90, 60, 30);
    margin-left: 10px; /* Adds space on the left of the 'Low' label */
    margin-right: 10px; /* Adds space on the right of the 'High' label */
}

.nav {
    margin-bottom: 20px;
    display: flex;
    gap: 538px; /* Adjust space between buttons */
}

.nav-link {
    font-size: 1rem;
    text-decoration: none;
    color: #6e5032;
    background: burlywood;
    padding: 10px 15px;
    border-radius: 4px;
    border: 1px solid #906f3e;
    transition: background 0.3s ease;
}

.nav-link:hover {
    background: #906f3e;
    color: white;
}

/* Quote Styles */
.quote {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #9b7d5a;
    text-align: left;
    font-style: italic;
    margin-top: 90px; /* Adjust to move it upwards */
    line-height: 40px;
    margin-left: 3px;
}

.title {
    font-size: 2.4rem;
    text-align: left;
    color: burlywood;
    margin-top: 380px;
    margin-left: 12px;
}

.description {
    font-size: 0.9rem;
    font-family:Georgia, 'Times New Roman', Times, serif;
    line-height: 1.6;
    color: rgb(207, 167, 115);
    text-align: left;
    font-style: normal;
    margin-left: 12px;
    margin-top: -10px;
}

.dots {
    font-size: 3rem;
    text-align: left;
    margin-left: 20px;
    color: #b20000;
}

.error {
    font-size: 5.3rem;
    text-align: left;
    color: #b20000;
    margin-top: 230px;
    margin-bottom: 20px;
    margin-left: 4px;
}

.message {
    font-size: 1rem;
    font-family:Georgia, 'Times New Roman', Times, serif;
    line-height: 1.6;
    color: #810000;
    text-align: left;
    font-style: normal;
    margin-left: 12px;
    margin-top: -10px; 
}

img {
    width: 70px;
    height: auto;
    border-radius: 8px;
    margin-top: 300px;
    margin-left: 145px;
}

