* {
    box-sizing: border-box;
}

body {
    max-width: 1900px;
    margin: 0 auto;
    font-family: sans-serif;
    font-size: clamp(0.75rem, 0.625rem + 0.625, 1.25rem);
}

img {
    max-width: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

nav {
    justify-content: flex-end;
    align-items: center;
    position: sticky;
    top: 0;
    background-color: #5a3e36;
    padding: 15px;
}

nav a {
    margin: 0 1vw;
    padding: 3px 5px;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
}

nav a:not(.logo-icon):hover {
    border-bottom: thin solid #fff;
}

.logo-icon {
    width: 5%;
    display: inline-block;
    padding: 3px 10px;
    margin: 5px auto 5px 10px;
    max-height: 70px;
}

header {
    height: 500px;
    min-height: 350px;
    text-align: center;
    padding: 100px 50px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.home header {
    background-image: url(../images/book_club.jpg);
}

.about header {
    background-image: url(../images/bookstore.jpg);
}

.bookclub header {
    background-image: url(../images/book_club_1.jpg);
}

header div {
    flex-direction: column;
    color: #5a3e36;
    font-weight: bold;
    font-size: 1.5em;
    background-color: rgba(255, 255, 255, .85);
    border-radius: 15px;
}

.btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background-color: #d6a77a;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.btn:hover {
    background-color: #b88a63;
}

/* Home page */
.welcome-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 30px;
    background-color: #d6a67a26;
    width: 1900px;
}

.welcome-image img {
    width: 100%;
    max-width: 400px;
}

.welcome-text {
    margin: 30px;
    max-width: 500px;
}

.book-container {
    width: 1900px;
}

.book-container h2 {
    text-align: center;
}

.books {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    gap: 30px;
}

.book {
    text-align: center;
}

.book img {
    width: 150px;
    height: auto;
    margin-bottom: 10px;
}

.event-container {
    width: 1900px;
    background-color: #d6a67a26;
}

.event-container h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.events {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.event-img img {
    width: 250px;
    height: auto;
}

.event-text {
    max-width: 500px;
}

/* About Us page */
.about-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 30px;
    background-color: #d6a67a26;
    width: 1900px;
}

.about-text {
    max-width: 800px;
    font-size: larger;
}

.about-image img {
    width: 300px;
    height: auto;
}

.team-container {
    text-align: center;
    width: 1900px;
}

.team {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
    margin-bottom: 40px;
}

.team-member img {
    width: 200px;
    height: auto;
    border-radius: 50%;
    margin-bottom: 10px;
}

/* Book Club page */
.bookclub-container {
    text-align: center;
    max-width: 700px;
    padding: 20px;
    margin: auto;
    font-size: 1.1em;
}

.current-book-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 30px;
    background-color: #d6a67a26;
    width: 1900px;
}

.current-book-image img {
    width: 150px;
}

.current-book-text {
    margin: 30px;
    max-width: 500px;
}

.schedule-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 30px;
    width: 1900px;
}

.accordion-item {
    margin-bottom: 10px;
}

.accordion-header {
    background-color: #5a3e36;
    color: #fff;
    padding: 10px;
    cursor: pointer;
}

.accordion-content {
    display: none;
    padding: 10px;
    background-color: #f0ebe7;
}

.join-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 30px;
    width: 1900px;
}

footer {
    display: flex;
    flex-wrap: wrap;
    background-color: #5a3e36;
    color: #fff;
    padding: 2rem;
    justify-content: space-between;
    align-items: center;
}

.footer-section {
    max-width: 250px;
    margin-bottom: 1rem;
}

.footer-section a {
    color: #d6a77a;
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}
