@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Wittgenstein:ital,wght@0,400..900;1,400..900&display=swap');

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #F6C395;
}

p {
    margin: 0;
    font-family: "Wittgenstein", serif;
    font-weight: 700;
    color: #3E9489;
    font-size: 1.4em;
}

bk {
    font-family: "Wittgenstein", serif;
    font-weight: 700;
    color: #3E9489;
    font-size: 0.8em;
    text-decoration: underline;
    display: block; /* Ensure 'bk' takes up space */
    margin-top: 20px; /* Space above the 'Back to page' link */
    text-align: center;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
    min-height: 100vh; /* Full viewport height */
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box; /* Include padding in height calculation */
}

.grid {
    display: flex; /* Use flexbox instead of grid */
    flex-direction: row;
    align-items: center; /* Center items vertically in the grid */
    justify-content: center; /* Center items horizontally in the grid */
    width: 100%; /* Ensure grid takes full width */
    gap: 20px;
}

.column.left, .column.right {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center align items horizontally */
    margin-left: 50px;
}

.column.right img {
    max-width: 70%;
    height: auto;
    border-radius: 8px;
}

@media (max-width: 768px) { /* Adjust the breakpoint as needed */
    .grid {
        flex-direction: column; /* Stack columns vertically on mobile */
    }

    .column.left, .column.right {
        align-items: center; /* Center align items on mobile */
        text-align: center; /* Center text on mobile */
        margin-left: 0px;
    }

    .column.right {
        order: -1; /* Move the image to the top */
    }

    .column.right img {
        max-width: 70%; /* Ensure image fits within screen width */
        max-height: 50%;
        margin-top: 20px; /* Space between the image and text */
    }
}
