/*CSS DOCUMENT*/

body {
    font-family: sans-serif;
    line-height: 1.4em;
    color: #222;
    background-color: #fafafa;
    box-sizing: border-box;
}

div.container {
    max-width: 40em;
    margin: 1em;
    padding: 1em;
}

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

section ul li {
    flex-wrap: wrap;
}

section.personal-info ul li {
    display: flex;
    flex-wrap: wrap;
}
/* I have *some* selectors with their declarations in the declaration block. You’ll need more selectors and declaration blocks. */

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 20em;
    box-sizing: border-box;
    margin: 0.25em 0em 0.25em 0;
    /* background-color: #222; */
}

section.order ul,
section.method ul {
    display: flex;
    flex-wrap: wrap;
}

section.order ul li,
section.method ul li {
    margin: 0.2em 1em 0.25em 0;
    flex: 1 0 15em;
}

label {
    flex: 1 0 8em;
}

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

section p {
    margin-top: 0;
}

textarea {
    box-sizing: border-box;
    display: flex;
    width: 100%;
    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;
    }
}
