* {
  padding: 0;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  background: #dddddd;
}
header {
  background: #ffffff;
  padding-left: 30px;
}
header img {
  width: 100%;
  height: auto;
  max-width: 200px;
}

a {
  text-decoration: none;
}
/* Home */
.banner {
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.5)
    ),
    url(images/building.jpg);
  height: 400px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.banner .intro {
  text-align: center;
}

.banner .intro h1 {
  padding-top: 80px;
  font-size: 40px;
  max-width: 800px;
  margin: 0 auto;
  color: #ffffff;
}
.banner .intro h2 {
  padding: 40px 0 70px;
  max-width: 490px;
  width: auto;
  margin: 0 auto;
  color: #ffffff;
}
.cta.btn {
  border: 1px solid white;
  padding: 10px 30px;
  text-decoration: none;
  background-color: red;
  color: white;
  font-size: 20px;
  font-weight: bold;
  border-radius: 5px;
}

.cta.btn:hover {
  background-color: orange;
}
.main-content {
  background: #ffffff;
  padding: 40px;
}
.features {
  background: #d4d4d4;
  display: flex;
  padding: 40px;
}

.feature {
  flex: 50%;
}
.feature h1 {
  margin-bottom: 10px;
}

.feature h2 {
  margin-bottom: 10px;
}

.features .feature img {
  max-width: 550px;
  border: 2px solid white;
  margin: 0 10px;
}
.features .feature img:hover {
  border: 2px solid skyblue;
}

.sub-features {
  background: #ffffff;
  display: flex;
  padding: 40px;
}

.sub-feature {
  flex: 50%;
}
.sub-feature h2 {
  margin-bottom: 10px;
}

.sub-features .sub-feature img {
  max-width: 550px;
  border: 2px solid white;
  margin: 0 10px;
}
.sub-features .sub-feature img:hover {
  border: 2px solid skyblue;
}

#right {
  margin-left: 10px;
}
#left {
  margin-right: 10px;
}
.button {
  text-align: center;
  background: #d4d4d4;
  height: 100px;
}
.button a {
  margin: 40px;
  position: relative;
  top: 40px;
}
.footer {
  text-align: center;
  height: 50px;
  display: grid;
  place-items: center;
  background: #ffffff;
}

.footer a {
  text-decoration: none;
  color: #000000;
}

.footer a:hover {
  color: blue;
}
/* End of Home */

/* @media */
@media screen and (max-width: 950px) {
  body {
    width: 100%;
  }
}

@media screen and (max-width: 850px) {
  body {
    overflow-x: hidden;
  }
  .features {
    display: block;
  }
  .features .feature img {
    max-width: 620px;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
  }
  .sub-features {
    display: block;
  }
  .sub-features .sub-feature img {
    max-width: 620px;
    width: 100%;
    height: auto;
    margin-top: 20px;
  }
}

@media screen and (max-width: 500px) {
  .features .feature img {
    max-width: 400px;
  }
  .sub-features .sub-feature img {
    max-width: 400px;
  }
}
