/**************************
RESET to ensure user agent padding and 
margin on elements do not affect layout.

Note this reset is not appropriate for
production websites.
***************************/

* {
    margin: 0;
    padding: 0;
}
body {
    font-family: Arial;
    color: #333;
    background-color: #E2E2E2;
}
main {
    width: 1000px;
    padding: 20px;
    margin: auto;
    display: block;
    background-color: white;
}
header {
    padding: 40px;
    background-color: azure;
}
h1 {
    text-align: center;
}
nav ul {
    display: flex;
    justify-content: flex-end;
}
nav ul li {
    list-style-type: none;
}
nav ul li a {
    display: block;
    padding: 20px;
    text-align: center;
    background-color: coral;
    border-right: #666 2px solid;
}
/**removed the last right borderline**/
nav ul li:last-of-type a {
    border: none;
}
#one {
    background-color: aqua;
    display: flex;
    justify-content: space-between;
}
#one article {
    background-color: bisque;
    width: 31.5%;
}
#one article:nth-child(2) {
    background-color: beige;
}
h2 {
    margin-bottom: 1em;
}
#two {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    background-color: #D5D5D5;
    padding: 20px;
}
#two h2 {
    text-align: center;
    flex: 100%;
}
#two article {
    width: 48%;
}
p {
    font-size: 1.4em;
    line-height: 1.2em;
    margin-bottom: 1em;
}
footer {
    padding: 40px;
    text-align: center;
    background-color: azure;
}
