/* styles.css */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding-top: 80px; /* Adjust based on the header height */
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    background-color: #f0f0f0;
}

header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    text-align: center;
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

header h1 {
    margin: 0;
    font-size: 1.5rem;
}

header p {
    margin: 5px 0 0; /* Adjust margin */
    font-size: 0.9rem; /* Reduce font size */
}

.main-container {
    display: flex; /* Use flexbox to align items horizontally */
    width: 100%;
    justify-content: center; /* Center the main content */
    align-items: center; /* Center vertically within available space */
	margin-bottom: 50px;
}

.button-container {
    display: flex;
    flex-direction: column; /* Arrange buttons vertically */
    gap: 10px; /* Space between buttons */
    margin: 0 20px; /* Space between buttons and grid */
	margin-bottom: 100px;
}

.button-container button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.button-container button:hover {
    background-color: #45a049;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns */
    grid-template-rows: auto;       /* Auto height for rows */
    gap: 20px;                      /* Space between the grid items */
    width: 100%;
    max-width: 1000px;
    margin-top: 20px;
	margin-bottom: 20px;
}

.grid-item {
    background-color: #ffffff;
    border: none;
    padding: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-5px);
}

.image-container {
    text-align: center; /* Centers the image horizontally */
}

.grouped-paragraph {
            background-color: #FFFFFF;
            padding: 10px;
			text-align: left;
            border: 1px solid #ccc;
            border-radius: 5px;
}

/* Footer styles */
footer {
            background-color: #333;
            color: #fff;
            padding: 0 0;
            text-align: center;
            position: fixed;
            width: 100%;
            bottom: 0;
}