body {
  font-family: Arial;
}

h1 {
  color: darkslategray;
}

h2 {
  color: black;
}

h3 {
  /* the !important is due to Bootstrap overriding my decisions */
  color: #958ead !important;
}

/* Stubborn underline! */
a:hover, a:visited, a:active a:link {
 text-decoration: none !important;
}

.content-area {
  background-color: gainsboro;
}

.boxes {
  display: flex;
  flex-wrap: wrap;
}

.boxes > .box {
  flex: 0 0 180px;
  background-color: white;
  border: 1px solid #999;
  margin-right: 20px;
  margin-bottom: 20px;
  margin-top: 50px;
  color: black;
}

hr { /* For inside the boxes */
  width: 80%;
}

.box-text {
  color: black;
  padding-left: 10%;
  padding-right: 10%;
  word-wrap: break-word;
  text-indent: 0;
}

.box:hover {
  border: 2px solid white;
}

.box-logo {
  width: 40%;
  padding-top: 30px;
}

.box-top {
  text-align: center;
}

.box-bottom {
  padding-bottom: 55px;
}

/* Color alternation will make it easy to add content areas in the future */
.content-area:nth-child(even) {
    background-color: whitesmoke;
}

.p-lg {
  font-size: 18px;
  line-height: 180%;
}

.p-xl {
  font-size: 28px;
}

.row {
  padding: 70px;
}

.col-md-6 {
  padding-bottom: 15px;

  /* This workaround aligns divs of class col-md-6 with the boxes div */
  margin-left: -15px;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

.footer {
  background-color: #504674;
  color: whitesmoke;
  text-align: center;
}

.btn-sign-up {
  background-color: darkcyan;
  color: white;
  height: 50px;
  padding: 10px;
  margin-top: 20px;
  outline: none;
  border: none;
  font-size: 22px;
  border-radius: 3px;
}

.btn-sign-up:hover {
  background-color: #5fb5b3;
}

/* Devices with smaller screens */
@media (max-width:768px){
  .row {
    padding: 70px 35px;
  }
  .boxes > .box {
    flex: 0 0 290px;
    margin: 0;
  }
}
