.block {
	margin: 0.5em;
	padding: 0.5em;
	border-radius: 1em;
	border-style: none;
    border-width: thin;
	border-color:burlywood;
	display: flex;
	justify-content: center;
}
.container-2 {
	min-width: 300px;
	text-align: left;
	max-width: 40%;
}
.container-2 img {
    max-width: 100%;
    height: auto; /* Maintain aspect ratio */
    display: block; /* Ensures no unwanted extra space around the image */
    margin: 0 auto; /* Center the image if needed */
}

@media (max-width: 1000px) { 
	.block {
		flex-direction: column;
	}

	.container-2 {
		min-width: unset;
	}
}