/*CSS DOCUMENT*/

body {
	font-family: sans-serif;
	line-height: 1.4em;
	color: #222;
	background-color: #fafafa;
	box-sizing: border-box;
}
	
div.container {
    max-width: 60em;
    margin: auto;
    padding: 1em;
}

ul {
	list-style-type: none;
	padding: 0;
}

.personal-info ul li {
	display: flex;
	flex-wrap: wrap;
}

.personal-info ul li label {
	flex: 0 0 8em;
}

.order ul {
	display: flex;
	flex-wrap: wrap;
}

.order ul li {
	margin: 0 1em 0 0;
	flex: 1 0 15em; /*in mobile, options stack in one column. in web, options become multiple columns*/
}

section.personal-info ul li input[type="text"],
section ul li input[type="email"],
section ul li input[type="tel"],
section ul li select {
	flex: 4 0 25em; /*toggled with flex basis to make sure mobile size was fitting*/
	box-sizing: border-box;
}

section {
    background: #eee;
    padding: 1em;
    margin-bottom: 1em;
}

section p {
	margin-top: 0;
}

textarea {
	box-sizing: border-box;
	display: block;
	width: 70%;
	height: 6em;
	background: #fcfcfc;
	border: 1px solid #e8e8e8;
	padding: 0.4em;
	font-family: sans-serif;
	color: #777;
}

@media only screen and (min-width: 40em) {

  div.container {
    margin: auto;
  }

}