/* Universal Styles */

html {
  font-family: 'Arvo', serif;
  font-size: 16px;
}

a {
  text-decoration: none;
}

.btn {
  display: inline-block;
  border-radius: 4px;
  padding: 10px 15px;
  color: DarkSlateGray;
  text-align: center;
  margin-top: 15px;
}

.btn.active {
  color: white;
  background-color: DarkSlateGray;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .5);
}

.btn:hover {
  color: white;
  background-color: DarkSeaGreen;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .5);
}

/* Header */

.header {
  display: flex;
  padding: 20px;
}

.header h1 {
  flex-grow: 1;
  font-size: 36px;
}

.header ul {
  display: flex;
  flex-wrap: wrap; 
  justify-content: center; 
}

.phone {
  color: red;
  font-size: 18px;
  display: inline-block;
  border-radius: 4px;
  padding: 10px 15px;
  text-align: center;
  margin-top: 15px;
}  

.header li {
  display: inline;
  margin-left: 10px;
}

.header li:first-child {
  margin-left: 0;
}

.header .btn {
  width: 100px;
  border: 1px solid DarkSlateGray;
}

/* Jumbotron */

.jumbotron {
  display: flex;
  flex-direction: column;
  height: 445px;
  padding: 25px 60px 30px 30px;
  background: url("../images/resized_b_w_jumbotron.jpg") no-repeat center center;
  background-size: cover; 
  text-align: right;
}

.jumbotron h2:first-child {
  margin-top: 120px;
  color: DarkSlateGray;
}

.jumbotron h2:last-child {
  color: DarkSlateGray;
}

.jumbotron h2 {
  color: white;
  font-size: 60px;
  line-height: 1.1;
}

/* Banner */

.banner {
  display: flex;
  height: 140px;
  padding: 20px 15px 0 20px;
  background-color: #36343f;
  align-items: center;
}

.banner h3 {
  padding-bottom: 24px;
  font-size: 30px;
  color: white;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.banner .btn {
  background-color: DarkSlateGray;
  border-radius: 6px;
  font-size: 18px;
  line-height: 1.33;
  color: white;
}

.banner .btn:hover {
  background-color: DarkSeaGreen;
}

.banner .btn:active {
  background-color: SlateGray;
}

.banner .btn:visited {
  background-color: DarkGray;
}

/* Contributions */

.contributions, 
.learn {
  text-align: center;
  padding-top: 80px;
}

.contributions h3, 
.learn h3 {
  margin-bottom: 9px;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
  font-size: 30px;
}

.contributions h4, 
.learn h4 {
  color: DarkSeaGreen;
  margin: 30px 0 20px;
  font-size: 25px;
  font-weight: bold;
}

.services, 
.features {
  display: flex;
  justify-content: center;
  padding-top: 20px;
}

.service, 
.feature {
  padding: 0 60px;
}

.service ul, 
.feature ul {
  line-height: 1.4;
}

.structured, 
.fiber ul li {
  font-weight: bold;
}

.structured ul li:nth-child(2n+0) {
    color: DarkSlateGray; 
      font-weight: bold;
}

.fiber ul li:nth-child(2n+0) {
    color: DarkSlateGray;
      font-weight: bold;
}

i {
  color: DarkSeaGreen;
}

/* Footer */

footer {
  display: flex;
  justify-content: center;
  text-align: center;
  padding: 40px 15px;
  margin-top: 80px;
  background-color: #eee;
  font-size: 14px;
}

footer a {
  color: DarkSlateGray;
}

footer .left {
  flex-grow: 1;
  text-align: left;
}

footer .right { 
  flex-grow: 1;
  text-align: right; 
}

footer .left p,
footer .right p {
  min-width: 130px;
}

/* Media Queries */

@media (max-width: 992px) {
  .services, .features {
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .header {
    flex-direction: column;
    align-items: center;
    padding-left: 10px;
    padding-right: 10px;
  }

  .header h1 {
    margin-bottom: 20px;
  }

  .header .btn {
    font-size: 14px;
    width: 75px; 
  }
  
  .banner {
    height: 240px;
    padding-bottom: 15px;
    color: white;
  }

  .header img {
    width: 300px;
  }

  .contributions h3 {
    padding-top: 40px;
  } 

  i {
    padding-top: 30px;
  }
}

/* Contacts*/
.hear,
.email,
.survey {
}

.jumbotron h3 {
  font-size: 2.5rem;
  color: white;
}

.telephone {
  color: DarkSeaGreen;
}
