body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background-color: gray; 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 
    color: #fff;
    text-align: center;
    padding: 0.2em;
}

nav {
    display: flex;
    justify-content: space-around;
    background-color: #555;
    padding: 0.3em;
}

nav a {
    text-decoration: none;
    color: #fff;
    padding: 0.5em 1em;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

nav a:hover {
    background-color: #777;
}

.header-h4 {
    font-family: 'Apple Chancery, cursive', cursive;
}

h1.header-h1, h3.header-h4 {
            margin-bottom: 0.5em; /* Adjust the value as needed */
        }

/* ---------------------------------------------------------------------------*/

.content {
    padding: 20px; /* Adjust the padding as needed */
    font-size: 18px;
}

.main-content {
    text-align: center;
    padding: 40px;
    background-image: url('/images/Coronation.jpg'); 
    background-size: 70%; 
    background-position: center; 
    background-repeat: no-repeat; 
    margin: 20px;
    border-radius: 5px;
}

.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh; /* Adjust the height as needed */
    background-color: #ccc;
}

.center-text {
    text-align: center;
    color: white; /* Text color for the center */
}

.hyperlink-button {
    text-decoration: none;
    color: #fff;
    background-color: #555;
    padding: 10px 20px;   
    border-radius: 5px;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.hyperlink-button:hover {
    background-color: #777;
}


/* ---------------------------------------------------------------------------*/


.augustine-line{
    font-family: 'Brush Script MT', cursive;
}

.books-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px;
    background-color: #f0f0f0;
}

.book {
    text-align: center;
    padding: 10px;
    border-radius: 5px;

}

.book img {
    max-width: 100%;
    height: auto;
    max-height: 200px; /* Set the maximum height for the images */
}

.book:hover img {
    filter: grayscale(45%); /* Grayscale effect on hover */
}

.separator {
    margin: 0 10px; /* Adjust spacing between the regular text and the hyperlink button */
    color: #555; /* Color of the separator */
}

.section-title {
    margin-bottom: 20px;
}

.centered-header {
    text-align: center;

}

.regular-text {
    font-size: 16px; /* Set the font size for regular text */
    color: #333; /* Set the color for regular text */
}

/* ---------------------------------------------------------------------------*/

.movies-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px;
    background-color: #f0f0f0;
}

.movie {
    text-align: center;
    padding: 10px;
    border-radius: 5px;

}

.movie img {
    max-width: 100%;
    height: auto;
    max-height: 200px; /* Set the maximum height for the images */
}

.movie:hover img {
    filter: grayscale(45%); /* Grayscale effect on hover */
}


/* ---------------------------------------------------------------------------*/


.about-section {
    text-align: center; /* Center-align the text within the .about-section */
    padding: 20px;
    background-color: #f0f0f0;
    height: 73.5vh; /* Adjust the height as needed */
}

/* ---------------------------------------------------------------------------*/

.buttons-container .small-image {
    max-width: 50%; /* Set the maximum width to be 10% of its container */
    height: auto; /* Maintain the aspect ratio */
}

.blog-section {
    text-align: center;
    padding: 20px;
    margin: 0;
    background-color: #f0f0f0;
}

.buttons-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}


.buttons-lists {
    display: flex;
    width: 100%;
    justify-content: space-around;
}

.left-list, .right-list {
    list-style: none;
    padding: 0;
    width: 48%;
}

.buttons-lists li {
    margin: 10px;
}

.buttons-lists a {
    color: #D2B48C;
    text-decoration: none;
    font-size: 18px;
    display: inline-block;
    background-color: #555;
    padding: 15px;
    border-radius: 5px;
    width: 150px;
    text-align: center;
    margin: 5px;
    transition: filter 0.3s ease;
}

.blog-section a:hover {
    filter: grayscale(100%); /* Grayscale effect on hover */
}
.buttons-container img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px; /* Adjust the margin as needed */
}

.centered-header {
        margin-bottom: -10px;
    }

.button-container {
        margin-top: -10px;
    }

.button-container {
    text-align: center;
    margin-top: 0; /* Adjusted margin-top */
    padding: 1em 0;
}



/* ---------------------------------------------------------------------------*/





/* Add media query for small screens */
@media only screen and (max-width: 600px) {
    .book img:hover {
        filter: none; /* Remove grayscale effect on small screens */
    }

    .about-section,
    .blog-section,
    .main-content {
        height: auto; /* Adjust height for small screens */
    }

    .buttons-container .small-image {
        max-width: 100%; /* Adjust max-width for small screens */
    }

    .buttons-lists {
        flex-direction: column; /* Change to column layout on small screens */
    }

    .left-list,
    .right-list {
        width: 100%; /* Adjust width for small screens */
    }

    .buttons-lists li {
        text-align: center; /* Center-align list items on small screens */
    }

    .buttons-container img {
        margin-bottom: 10px; /* Adjust margin for small screens */
    }

    .main-content {
        padding: 20px; /* Adjust padding for small screens */
    }

    .separator {
        margin: 10px 0; /* Adjust spacing for small screens */
    }

    .section-title {
        margin-bottom: 10px; /* Adjust margin for small screens */
    }

}

@media screen and (max-width: 767px) {
    .books-section {
        grid-template-columns: repeat(2, 1fr); /* Change the number of columns for smaller screens */
        gap: 10px; /* Adjust the gap as needed */
        padding: 10px; /* Adjust the padding as needed */
    }

    .book img {
        max-height: 150px; /* Set a smaller maximum height for the images on smaller screens */
    }
}

@media screen and (max-width: 767px) {
    .movies-section {
        grid-template-columns: repeat(2, 1fr); /* Change the number of columns for smaller screens */
        gap: 10px; /* Adjust the gap as needed */
        padding: 10px; /* Adjust the padding as needed */
    }

    .movie img {
        max-height: 150px; /* Set a smaller maximum height for the images on smaller screens */
    }
}

@media only screen and (max-width: 600px) {
    .main-content {
        background-size: cover; /* Change background-size to cover for small screens */
    }
}
