body {
    font-family: "Terrazzo";
    font-weight: normal;
    font-style: normal;
    margin: 0;
    padding: 0;
}

h2 {
    font-style: normal;
}

#container {
    display: flex;
    flex-direction: column; /* Stack modules in a single column */
    gap: 16px;
    padding: 16px;
}

.module {
    border: 1px solid #ddd;
    padding: 16px;
    box-sizing: border-box;
    width: 100%; /* Ensure modules take full width */
}

.module h2 {
    margin: 0 0 8px;
    font-size: 1.5em;
    font-family: "Terrazzo";
    font-weight: normal;
    font-style: normal;
}

.module p {
    font-size: 0.9em;
    margin: 8px 0 16px;
}

.image-container {
    display: flex;
    gap: 8px;
}

.image-container img {
    width: 100%; /* Default width */
    max-width: 50%; /* Limit the width to 50% of the container */
    flex: 1; /* Ensure the images still share available space equally */
}
/* Portrait Orientation: Stack images vertically */
@media (orientation: portrait) {
    .image-container {
        flex-direction: column; /* Images stacked */
    }
    .image-container img {
        width: 100%; /* Default width */
        max-width: 100%; /* Limit the width to 50% of the container */
        flex: 1; /* Ensure the images still share available space equally */
    }
}

/* Landscape Orientation: Images in a row */
@media (orientation: landscape) {
    .image-container {
        flex-direction: row; /* Images side by side */
    }
}
