* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    background-color: #d9dcd6;
}

header {
    padding: 20px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif; /*ensured the font-family is consistent throughout the page*/
    background-color: #2a607c;
    color: #ffffff;
}

header h1 {
    display: inline-block;
    font-size: 48px;
}

header h1 .seo {
    color: #d9dcd6;
}

/* changed to be consistent with use of semantic nav */
header nav {
    padding-top: 15px;
    margin-right: 20px;
    float: right;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 20px;
}

header nav ul {
    list-style-type: none;
}

header nav ul li {
    display: inline-block;
    margin-left: 25px;
}

a {
    color: #ffffff;
    text-decoration: none;
}

p {
    font-size: 16px;
}

.hero {
    height: 800px;
    width: 100%;
    margin-bottom: 25px;
    background-image: url("../images/digital-marketing-meeting.jpg");
    background-size: cover;
    background-position: center;
}

.float-left {
    float: left;
    margin-right: 25px;
}

.float-right {
    float: right;
    margin-left: 25px;
}

/* added display : flex to make sure the content is displayed in the correct order */
.content {
    display: inline-block;
    width: 75%;
    height: 100%;
    margin-left: 20px;
}

aside {
    width: 25%;
    height: 100%;
}

.benefits {
    height: 100%;
    margin-right: 20px;
    margin-bottom: 32px;
    padding: 20px;
    clear: both;
    width: 20%;
    height: 100%;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    background-color: #2589bd;
    float: right;

}

/* reduced the three classes for the benefit section boxes into one class for more efficient use of css */
.benefit-boxes {
    margin-bottom: 32px;
    color: #ffffff;
}

.benefit-boxes h3 {
    margin-bottom: 10px;
    text-align: center;
}

.benefit-boxes img {
    display: block;
    margin: 10px auto;
    max-width: 150px;
}

/* reduced the three classes for the main section boxes into one class for more efficient use of css */
/* added flex basis to ensure the boxes are the same size and added margin bottom to ensure there is space between the boxes */
.main-section-boxes {
    flex-basis: 33.33%;
    margin-bottom: 20px;
    padding: 50px;
    height: 300px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    background-color: #0072bb;
    color: #ffffff;

}

.main-section-boxes img {
    max-height: 200px;
}

.main-section-boxes h2 {
    margin-bottom: 20px;
    font-size: 36px;
}

/* now refers to a semantic tag */
footer {
    padding: 20px;
    clear: both;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    text-align: center;
}

/* now refers to a semantic tag with the heading in the correct order */
footer h3 {
    font-size: 20px;
}