/* General styles for the entire page */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: whitesmoke;
}

/* Image styles */
img {
    width: 100%;
    height: auto; /* Ensures images maintain their aspect ratio */
}

/* Specific image styles */
#img1 {
    width: 100%;
    height: auto;
    padding-top: 0; /* Reset padding for consistency */
    padding-bottom: 0;
}

/* Header styles */
header {
    background: #000000;
    color: #ffffff;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    height: 50px;
    font-size: 1.5rem; /* Adjusted font size for better responsiveness */
}

/* Warning message styles */
.caughtion {
    text-align: left;
    font-size: 1.5rem; /* Adjusted font size for better readability */
    padding-left: 1rem; /* Adjusted padding for consistency */
    font-weight: 800;
    color: red;
}

/* Hero section styles */
.herosection {
    height: auto; /* Adjusted height for better responsiveness */
    display: flex;
    flex-direction: column; /* Adjusted layout for smaller screens */
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.herosection .left {
    width: 100%;
    text-align: center; /* Centered text for better appearance on smaller screens */
}

.herosection .left h1 {
    font-size: 3rem; /* Adjusted font size for better responsiveness */
}

.herosection .left p {
    font-size: 1.25rem; /* Adjusted font size for better readability */
    color: rgb(28, 2, 2);
    padding: 1rem 0; /* Adjusted padding for consistency */
    font-weight: 400;
}

/* Menu section styles */
#menusection {
    padding: 2rem;
}

#menusection h1 {
    text-align: left;
    font-size: 2rem; /* Adjusted font size for better responsiveness */
}

/* Main content styles */
main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 1rem;
}

.book {
    width: 100%;
    max-width: 300px; /* Set max width for responsiveness */
    margin: 1rem; /* Added margin for spacing */
    border: 1px solid #8bc7ccf9;
    border-width: 2px;
    padding: 1rem;
}

.image {
    height: auto; /* Adjusted height for better responsiveness */
    width: auto; /* Adjusted width for better responsiveness */
}

/* Button styles */
button {
    background: rgb(247, 69, 4);
    padding: 0.5rem 1rem; /* Adjusted padding for better appearance */
    border-radius: 5px; /* Adjusted border radius for consistency */
    display: inline-block;
    transition: background-color 0.4s;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem; /* Adjusted font size for better readability */
    color: #fff;
}

button:hover {
    background-color: rgb(188, 53, 4); /* Adjusted hover color for consistency */
}

/* Footer styles */
footer {
    
        background-color: #333;
        color: #ccc;
        text-align: center;
        padding: 0.0000001px;
        position: fixed;
        bottom: 0;
        width: 100%;
        height: 38px;
        align-items: center;
        padding: 0px;
}

/* Responsive design for different screen sizes */
@media only screen and (max-width: 600px) {
    .herosection {
        padding: 1rem;
    }

    .herosection .left h1 {
        font-size: 2rem;
    }

    .herosection .left p {
        font-size: 1rem;
    }

    #menusection h1 {
        font-size: 1.5rem;
    }

    button {
        font-size: 0.875rem; /* Adjusted button font size for smaller screens */
        padding: 0.5rem;
    }
}

@media only screen and (max-width: 768px) {
    .book {
        width: 100%;
        max-width: 250px; /* Adjusted max width for better appearance on medium screens */
    }

    button {
        font-size: 0.875rem;
        padding: 0.5rem 1rem; /* Adjusted padding for medium screens */
    }
}

@media only screen and (max-width: 992px) {
    .book {
        max-width: 300px; /* Reset max width for larger screens */
    }
}
