/* Reset styling on all elements */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Set default font-size, bg color and font family */

body {
  font-size: 16px;
  background-color: #d9dcd6;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

/* Header Styles */

.header {
  padding: 20px;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  background-color: #2a607c;
  color: #ffffff;
  display: flex;
  justify-content: flex-end;
}

.logo {
  flex: 1;
  font-size: 48px;
  display: inline-block;
}

.seo {
  color: #d9dcd6;
}

/* Navigation styling */

.header>nav {
  padding-top: 15px;
  margin-right: 20px;
  float: right;
  font-size: 20px;
}

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

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

.header>nav>ul>li>a {
  color: #ffffff;
  text-decoration: none;
}

/* Hero Image Styling */

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

/* Flex the container div that the main content and sidebar content will go in */
.container {
  display: flex;
  justify-content: center;
}

/* Styling for main content content */

.main_content {
  width: 70%;
  margin: 0 auto;
}

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

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

.content {
  flex: 1;
  width: 100%;
  display: inline-block;
  margin-left: 20px;
}

.search-engine-optimization,
.online-reputation-management,
.social-media-marketing {
  margin-bottom: 20px;
  padding: 50px;
  height: 300px;
  background-color: #0072bb;
  color: #ffffff;
}

.search-engine-optimization img,
.online-reputation-management img,
.social-media-marketing img {
  max-height: 200px;
}

.social-media-marketing h2,
.search-engine-optimization h2,
.online-reputation-management h2 {
  margin-bottom: 20px;
  font-size: 36px;
}

/* Styling for the aside (sidebar) */

.benefits {
  margin: 0 auto;
  padding: 20px;
  clear: both;
  float: right;
  width: 20%;
  height: 100%;
  background-color: #2589bd;
}

.benefit-lead,
.benefit-brand,
.benefit-cost {
  margin-bottom: 32px;
  color: #ffffff;
}

.benefit-lead h3,
.benefit-brand h3,
.benefit-cost h3 {
  margin-bottom: 10px;
  text-align: center;
}

.benefit-lead img,
.benefit-brand img,
.benefit-cost img {
  display: block;
  margin: 10px auto;
  max-width: 150px;
}

.footer {
  padding: 30px;
  clear: both;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  text-align: center;
}

.footer>h2 {
  font-size: 20px;
}
