body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 20px; /* Adjusted padding to provide more space */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-color: #1a1a1a;
    color: #ffffff;
    word-wrap: break-word; /* Allowing text wrapping for long lines */
}

.container {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%; /* Adjusted width to use the full width of the screen */
    max-width: 800px;
    text-align: center;
}

.container div {
    padding: 20px;
    border: 1px solid #333;
}

.header {
    grid-column: 1 / span 2;
    background-color: #555;
    padding: 20px;
    color: #fff;
    font-weight: bold;
}

/* Media Query for Smaller Screens */
@media only screen and (max-width: 700px) {
    body {
        padding: 5px; /* Adjusted padding for smaller screens */
    }

    .container {
        width: 100%; /* Adjusted width for smaller screens */
    }
}

