/* Set default styles for all elements */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Set background color */
body {
    background-color: #EDBBBA;
    font-family: Arial, sans-serif;
}

/* Navigation bar styles */
header {
    background-color: #c9a09f;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
}

nav li {
    margin-left: 20px;
}

nav a {
    text-decoration: none;
    color: white;
    font-size: 20px;
    font-weight: bold;
}

nav a:hover {
    color: #ffb347;
}

/* Hero section styles */
.hero {
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    color: white;
    font-size: 50px;
    text-align: center;
    text-shadow: 2px 2px #000;
}

/* Updates section styles */
.updates {
    background-color: #c9a09f;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    margin: 0 auto;
    max-width: 800px;
}

.updates h2 {
    color: white;
    font-size: 32px;
    margin-bottom: 20px;
}

.updates article {
    background-color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    padding: 20px;
    width: 100%;
}

.updates .post-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.updates .post-image {
    max-width: 30%;
    height: auto;
    order: 2; /* Moves the image to the right */
}

.updates .post-content {
    width: 65%;
}

.updates p {
    margin-bottom: 20px;
}

.updates time {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
}

.updates a {
    color: #000;
    background-color: #ffb347;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

.updates a:hover {
    background-color: #ff9234;
}

/* Items for sale section styles */
.items-for-sale {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 50px auto;
    max-width: 800px;
}

.items-for-sale h2 {
    font-size: 32px;
    margin-bottom: 20px;
    text-align: center;
    width: 100%;
}

.item {
    width: calc((100% / 3) - 20px);
    background-color: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.item h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.item p {
    font-size: 16px;
    margin-bottom: 10px;
}

/*Book Details section styles */
.bookDetails {
    width: 50%;
    margin: 0 auto;
    text-align: left;
    margin-top: 200px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.text-content{
    padding-right: 20px;
}

.book-cover img{
    max-width: 300px;
}

.buy-button {
    display: inline-block;
    padding: 10px 20px;
    color: #fff;
    background-color: #007BFF;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.buy-button:hover {
    background-color: #0056b3;
}

.expanded {
    background-color: #f0f0f0;
}

/* About Me section styles */
.about-me {
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
    margin-bottom: 20px;
    max-width: 800px;
    margin: 0 auto;
    box-sizing: border-box;
}

.about-me h2 {
    font-size: 32px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.about-me p {
    text-align: center;
}

.about-me .container {
  max-width: 800px;
  padding: 0 20px;
  margin: 0 auto;
}

/* About Me Image Section Styles */
.about-me-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
    margin-top: 20px;
}

.about-me-image .container {
    max-width: 800px;
    margin: 0 auto;
}

.about-me-image img {
    max-width: 100%;
}

/* Bottom Sections styles */
.bottom-sections {
    margin-top: auto;
}

/* Countdown timer section styles */
.countdown-timer {
background-color: #c9a09f;
display: flex;
justify-content: center;
align-items: center;
padding: 20px;
margin: 0 auto;
max-width: 800px;
margin-bottom: 20px;
margin-top: 20px;
}

.countdown-timer h2 {
color: white;
font-size: 32px;
margin-right: 20px;
}

.countdown-timer p {
color: white;
font-size: 32px;
}

/* Social media section styles */
.social-media {
  background-color: #c9a09f;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  margin: 0 auto;
  max-width: 800px;
  margin-bottom: 20px;
  margin-top: 25px;
}

.social-media .social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
}

.social-media a {
  display: inline-block;
  margin: 0 10px;
}

.social-media img {
  width: 50px;
  height: 50px;
}

/* Footer styles */
footer {
background-color: #c9a09f;
color: white;
text-align: center;
padding: 20px;
margin-top: 125px;
}

.footer-container {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 800px;
margin: 0 auto;
}

.copyright {
font-size: 14px;
}

.made-by {
font-size: 14px;
font-weight: bold;
}

/* Responsive styles /
@media (max-width: 768px) {
/ Decrease hero title font size */
.hero h1 {
font-size: 36px;
}

/* Decrease book width and height */
.book {
width: 150px;
height: 250px;
}

@media (max-width: 576px) {
/* Decrease hero title font size even more */
.hero h1 {
font-size: 24px;
}

/* Decrease book width and height even more */
.book {
width: 100px;
height: 200px;
}
}