html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}


/* OUR CODE STARTS HERE */

body
{
	font-family: Helvetica, Arial;
}

#container
{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	width: 640px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 50px;
	margin-bottom: 50px;
}
/* Responsive styles */
@media (max-width: 640px) {
    #top {
        text-align: center; /* Center text on small screens */
    }
img {
    max-width: 100%;
    height: auto; /* Maintain aspect ratio */
}
	
    .square {
        flex: 1 1 100%; /* Stack squares vertically on small screens */
    }
}

@media (min-width: 641px) and (max-width: 1280px) {
    .square {
        flex: 1 1 48%; /* Two squares per row on medium screens */
    }
}

@media (min-width: 1281px) {
    .square {
        flex: 1 1 23%; /* Four squares per row on large screens */
    }
}

#top
{
	margin-bottom: 30px;
}

#top h1
{
	font-size:32px;
	font-weight: bold;
	margin-bottom: 20px;
}

#top p
{
	line-height: 1.4;
	margin-bottom: 20px;
}

#top img
{
	width: 100%;
	margin-bottom: 30px;
}

div.square
{
	width:320px;
	height:320px;
	background-color: #D0B7A6;
	display:inline-block;
	vertical-align: top;
	flex: 1 1 300px; /* Allow squares to grow and shrink, with a base width of 300px */
}

div.square_text
{	flex: 1 1 300px; /* Allow squares to grow and shrink, with a base width of 300px */
	padding:25px;
}

div.square.white
{	flex: 1 1 300px; /* Allow squares to grow and shrink, with a base width of 300px */
	background-color: #D0B7A6;
}

div.square h2
{	flex: 1 1 300px; /* Allow squares to grow and shrink, with a base width of 300px */
	font-size:25px;
	font-weight: bold;
	margin-bottom: 15px;
}

div.square p
{
	font-size:14px;
	line-height: 1.4;
	margin-bottom: 10px;
}

div.square img
{
	width: 100%;
	flex: 1 1 300px; /* Allow squares to grow and shrink, with a base width of 300px */
}