/* Reset some default browser styles */

body {
    font-family: 'Courier New', Courier, monospace; /* Typewriter style font */
    /*background-color: #FAEAD6; /* Soft Pink Background */
    color: #4E4A49; /* Dark gray text */
    margin: 0 auto;
    max-width: 1200px;
    padding: 20px;
    background-color: #ffffff;
}

.content-container {
    display: flex;
    justify-content: space-between;
}

/* Main content styling */
.main-content {
    flex: 3;  /* Takes up 3 parts of the available space */
    padding: 20px;
    border-right: 1px solid #e0e0e0; /* Optional separator line */
}

/* Ad space styling */
.ad-space {
    flex: 1; /* Takes up 1 part of the available space */
    padding: 20px;
    /* background-color: #333333; Optional background for clarity */
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    text-align: center; /* Centered content for symmetry */
}

h1, h2, h3 {
    font-family: 'Georgia', serif; /* Serif font for headers */
    color: #D35400; /* Mustard yellow headers */
}
a {
    color: #028090; /* Turquoise links */
    text-decoration: none;
}

h1 {
    font-size: 2.5em;
}

h2 {
    font-size: 2em;
    border-bottom: 2px solid #f1c40f; /* Accent color */
    padding-bottom: 10px;
}

h3 {
    font-size: 1.5em;
}

p {
    margin-bottom: 20px;
}

a {
    color: #0fcff1; /* Accent color */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

ul {
    list-style-type: none; /* Remove default bullets */
    padding-left: 20px;    /* Space for custom bullet/icon */
    margin-top: 20px;
    /*font-family: 'Georgia', serif;*/
    font-family: 'Courier New', Courier, monospace; /* Typewriter style font */
}

li {
    position: relative;    /* Positioning context for custom bullet */
    padding-left: 30px;    /* Space for custom bullet/icon */
    margin-bottom: 15px;   /* Spacing between list items */
    color: #4E4A49;        /* Dark gray text color */
}

/* Custom bullet */
li:before {
    content: '•';          /* Using a simple bullet here, but could be a custom icon */
    position: absolute;
    left: 0;
    color: #4ECDC4;        /* Turquoise bullet color */
    font-size: 20px;
}


button {
    background-color: #D49923; /* Mustard yellow buttons */
    color: white;
    border: none;
    padding: 10px 20px;
    margin-top: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #B07D12; /* Darkened yellow on hover */
}

.navbar {
    display: flex;
    justify-content: center; /* Adjusts the alignment of items */
    background-color: #333;
    padding: 10px 0;
    flex-wrap: wrap; /* Allows items to wrap in smaller screens */
}
.nav-link {
    color: white;
    text-decoration: none;
    padding: 10px; /* Reduced padding */
    margin: 0 5px; /* Adds a small margin on left and right for spacing */
    font-weight: bold;
}
.nav-link:hover {
    background-color: #555;
    border-radius: 5px;
}

.book-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.book-image-title {
    display: flex;
    align-items: flex-start;
}

.book-img {
    max-width: 100px; /* Adjust as needed */
    margin-right: 10px;
}

.book-title-author {
    display: flex;
    flex-direction: column;
}

.book-title {
    text-decoration: none;
    font-weight: bold;
    /* additional styling */
}

.book-description {
    margin-top: 10px;
    /* additional styling */
}

.affiliate-disclosure {
    border: 1px solid #e0e0e0;
    padding: 15px;
    margin: 20px 0;
    /*background-color: #FAEAD6;*/
}

.affiliate-disclosure h3 {
    text-align: center;
    color: #333;
}

.affiliate-disclosure p {
    font-size: 16px;
    line-height: 1.5;
    color: #555;
}

.book {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.book-img {
    width: 100px; /* Adjust as needed */
    margin-right: 20px;
}

.book-info {
    flex-grow: 1;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px; /* Adjust the space between the text and the image */
}

.header-container img {
    max-width: 100px; /* Adjust the size of the image */
    height: auto;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }

    .header-container img {
        max-width: 80px; /* Smaller image for mobile devices */
    }
}

@media (max-width: 600px) {
    .book {
        flex-direction: column;
        align-items: start;
    }

    .book-img {
        width: 80px; /* Smaller image size for mobile */
        margin-bottom: 10px;
    }
}

/* Media queries for responsiveness */

/* Example for devices with width less than 600px (like smartphones) */
@media only screen and (max-width: 600px) {
    nav li {
        display: block;
        margin-bottom: 10px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 10px;
    }
}

/* Media query for mobile devices */
@media screen and (max-width: 600px) { /* Adjust 600px based on your breakpoint for mobile devices */
    .content {
        display: flex;
        flex-direction: column;
    }

    .ad-space {
        order: 2; /* Moves the ad-space to the bottom */
        width: 100%; /* Optional: Adjust the width as needed */
        /* Any additional styling for mobile */
    }

    .main-content {
        order: 1;
    }
}

