* {
    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;
}

/* Full-Width Image Styling */
.full-width-image {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 50px; /* Ensures space between the header and the image */
}
.firstrow {
	margin-top: 50px;
	display: inline-block;
}

.iframe-container {
    flex: 1; /* Fills the available space between header and footer */
    margin-top: 50px; /* Offset for the top header */
    margin-bottom: 60px; /* Offset for the bottom menu */
    overflow: hidden;
}

.iframe-container iframe {
    width: 100%;
    height: 1200px;
    border: none;
}

/* Grid Container for Buttons */
.container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(6, 110px);
    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 */
}

/* Grid Container for Ministry */
.ministry-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(6, 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 */
}

/* 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: 50%;
    max-height: 50%;
}

/* Coming Soon Banner Styling */
.coming-soon::before {
    content: "Coming Soon";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    z-index: 1;
}

/* Disable pointer events for Coming Soon buttons */
.coming-soon {
    pointer-events: none;
}

/* Red dot styling */
.red-dot {
    position: absolute;
    top: 3px; /* Adjust position as needed */
    right: 3px; /* Adjust position as needed */
    background-color: red;
    color: white;
    font-size: 0.9em; /* Scale as needed */
    font-weight: bold;
    width: 28px; /* Diameter of the dot */
    height: 28px; /* Diameter of the dot */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10; /* Ensure it’s on top of other content */
}

/* 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;
}

.prayer-request {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.prayer-request h3 {
    margin: 0 0 10px;
    color: #AC3B61;
}
