/* Core Styles */

/*
  color schema
  #0000ff
  #ff0000
  #ffffff
  #333333
*/

body {
  margin:0;
  font-family: Arial, Helvetica, sans-serif;
  background: #333333;
  color: #ffffff;
  font-size: 1.1em;
  line-height: 1.5;
  text-align: center;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

h1, h2, h3 {
  margin: 0;
  padding: 1em 0;
}

p {
  margin: 0;
  padding: 1em 0;
}

.btn {
  display: inline-block;
  background: #333333;
  color: #ffffff;
  text-decoration: none;
  padding: 1em;
  border: 1px solid #ffffff;
  margin: .5em 0;
}

.btn:hover {
  background: #ffffff;
  color: #333333;
}

/* Header Showcase */

#showcase {
  min-height: 450px;
  color: #ffffff;
  text-align: center;
}

#showcase .bg-image {
  position: absolute;
  background: #333 url('../images/codes-coding-computer-247791.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 450px;
  z-index: -1;
  opacity: 0.4;
}

#showcase h1 {
  padding-top: 100px;
  padding-bottom: 0;
}

#showcase .content-wrap,
#section-a .content-wrap {
  padding: 0 1.5em;
}

header .highlight {
  color: #ff0000;
  font-weight: bold;
}

/* Section A */

#section-a {
  background: #ffffff;
  color: #333333;
  padding-bottom: 2em;
}

/* Section B */

#section-b {
  padding: 2em 1em 1em;

}

#section-b ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#section-b li {
  margin-bottom: 1em;
  background: #ffffff;
  color: #333333;
}

.card-content {
  padding: 1.5em;
}


/* Section C */

#section-c {
  background: #ffffff;
  color: #333333;
  padding: 2em;
}

/* Section D */

#section-d {
  background: #333333;
  color: #ffffff;
  padding: 2em;
}


/* Section E */

#section-e .box {
  padding: 2em;
  color: #ffffff;
}

#section-e .box:first-child {
  background: #ffffff;
  color: #333333;
}

#section-e > div:nth-child(2) > ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#section-e > div:nth-child(2) > ul > li {
  text-align: center;
}

/* Footer */

#main-footer {
  padding: 2em;
  color: #ffffff;
}

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

/* Media Queries */

@media(min-width: 768px) {
  .grid {
    display: grid;
    grid-template-columns: 1fr repeat(2, minmax(auto, 25em)) 1fr;
  }

  #section-a .content-text {
    columns: 2;
    column-gap: 2em;
  }

  #section-a .content-text p {
    padding-top: 0;
  }

  .content-wrap,
  #section-b ul {
    grid-column: 2/4;
  }

  .box, #main-footer div {
    grid-column: span 2;
  }

  #section-b ul {
    display: flex;
    justify-content: space-around;
  }

  #section-b li {
    width: 31%;
  }
}
