* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
}

/* Top Header Styling */
.top-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #ddd;
    z-index: 1000;
}

.header-logo {
    height: 30px;
}

.greeting {
    font-size: 16px;
    color: #333;
}

/* Grid Container for Ministry */
.ministry-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(8, 200px);
    width: 100%;
    gap: 10px;
    padding: 10px;
    padding-bottom: 80px; /* Extra padding to prevent bottom menu overlap */
    margin-top: 50px; /* Space between the full-width image and grid */
}

.maincontent{
	margin-top: 50px;
	display:block;
	padding:20px;
	padding-bottom: 80px; /* Extra padding to prevent bottom menu overlap */
}
p {
    margin-top: 1em; /* Adds space above each paragraph */
    margin-bottom: 1em; /* Adds space below each paragraph */
    padding: 0; /* Optional: remove padding if it's not needed */
    line-height: 1.6; /* Adjusts spacing between lines for readability */
}

.full-width-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Button Styling */
.button {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    font-size: 16px;
    font-weight: bold;
    color: #990000;
    text-align: center;
    padding-bottom: 10px;
    background-color: #BDD6D5;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
}

.button img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 75%;
    max-height: 75%;
	border-radius: 15px 40px 20px;
	object-fit: cover;
}

/* Bottom Menu Bar Styling */
.bottom-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #ddd;
    z-index: 1000;
}

.bottom-menu .menu-item {
    flex: 1;
    text-align: center;
    font-size: 16px;
    color: #333;
    text-decoration: none;
    padding: 10px;
}

.bottom-menu .menu-item:hover {
    background-color: #f0f0f0;
}
.ministry-page-container {
    padding: 20px;
    max-width: 800px;
    margin: auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	padding-bottom: 80px; /* Extra padding to prevent bottom menu overlap */
	margin-top: 50px;
}

.ministry-page-container h1 {
    font-size: 24px;
    color: #990000;
    margin-bottom: 10px;
    text-align: center;
}

.ministry-page-container p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
}

.ministry-images {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.ministry-images img {
    width: 45%;
    border-radius: 8px;
    object-fit: cover;
}

.ministry-page-container h2 {
    font-size: 20px;
    color: #990000;
    margin-top: 20px;
    margin-bottom: 10px;
}

.ministry-page-container ol {
    padding-left: 20px;
    list-style-type: decimal;
    color: #333;
}

.ministry-page-container ul {
    padding-left: 20px;
    list-style-type: disc;
    color: #333;
}
/* Styles for the main image container */
.ministry-images img {
    width: 150px;
    cursor: pointer;
    border-radius: 8px;
    margin: 5px;
}
