/* Core Styles */
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #333;
  color: #fff;
  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: #333;
  color: #fff;
  text-decoration: none;
  padding: 0em .2em;
  border: 1px solid #666;
  margin: .5em .5em;
}

 .btn:hover {
  background: #eaeaea;
  color: #333;
}

.left-text {
  text-align: left;
  padding-top: 0px;
  padding-bottom: 0px;
  line-height: 1.2;
}

.content-title {
  padding-bottom: 5px;
}

.footer-content {
  text-align: left;
}

/* header Welcome */

#welcome {
  min-height: 400px;
  color: #fff;
  text-align: center;
}

#welcome .bg-image {
  position: absolute;
  background: url('../img/banner-image.jpeg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 640px;
  z-index: -1;
  opacity: 0.4;
}

#welcome h1 {
  padding-top: 50px;
  padding-bottom: 0;
}

#welcome h2 {
  padding-top: 5px;
  padding-bottom: 0;
}

#welcome .content-wrap,
#First-Banner .content-wrap {
  padding: 0 1.5em;
}

/* First Banner */

#First-Banner {
  background: #fff;
  color: #333;
  padding-bottom: 2em;
}

/* Cards Section */

#Cards-Section {
  padding: 2em 1em 1em;
}

#Cards-Section ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#Cards-Section li {
  margin-bottom: 1em;
  background: #fff;
  color: #333;
}

.card-content {
  padding: 1.5em;
}

#Cards-Section .card-list ul {
  list-style: disc;
  margin-left: 1em;
  text-align: left;
}

#Cards-Section .card-list li {
  width: 100%;
}

/* Cards Section 2 */


#Cards-Section2 {
  padding: 0.5em 1em 1em;
}

#Cards-Section2 ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#Cards-Section2 li {
  margin-bottom: 1em;
  background: #fff;
  color: #333;
}

.card-content {
  padding: 1.5em;
}

#Cards-Section2 .card-list ul {
  list-style: disc;
  margin-left: 1em;
  text-align: left;
}

#Cards-Section2 .card-list li {
  width: 100%;
}

/* Second Banner */

#Second-Banner {
  background: #fff;
  color: #333;
  padding: 2em;
}

/* Info Boxes */

#Info-Boxes .box{
  padding: 2em;
  color: #fff;
  background: #2f426a;
}

#Info-Boxes .box:nth-child(2) {
  background: #333;
}

/* Footer */

#site-footer {
  padding: 2em;
  background: #1a1a1a;
  color: #737373;
  text-align: left;
  font-size: 1em;
}

#site-footer a{
  color: #2690d4;
  text-decoration: none;
}

#site-footer a:hover{
  color: #737373;
  text-decoration: none;
}


/* Media Queries */

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

  #First-Banner .content-text {
    columns: 1;
    column-gap: 2em;
  }

  #First-Banner .content-text p {
    padding-top: 0;
  }

  .content-wrap, #Cards-Section ul {
    grid-column: 1/5;
  }

  .content-wrap, #Cards-Section2 ul {
    grid-column: 1/5;
  }

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

  #Cards-Section ul {
    display: flex;
    justify-content: space-around;
  }

  #Cards-Section li {
    width: 45%;
  }

  #Cards-Section .card-list ul {
    display: block;
    list-style: disc;
    margin-left: 1em;
    text-align: left;
  }

  #Cards-Section .card-list li {
    width: 100%;
  }

  #Cards-Section2 ul {
    display: flex;
    justify-content: space-around;
  }

  #Cards-Section2 li {
    width: 45%;
  }

  #Cards-Section2 .card-list ul {
    display: block;
    list-style: disc;
    margin-left: 1em;
    text-align: left;
  }

  #Cards-Section2 .card-list li {
    width: 100%;
  }

}