.terms-of-service .container {
  background-color: #fff;
  border-radius: 4px;
  color: #333;
  padding: 2em;
  max-width: 650px;
  margin: auto;
}

.terms-of-service h1, .terms-of-service h2, .terms-of-service h3, .terms-of-service h4, .terms-of-service h5, .terms-of-service h6 {
  color: #333;
}

.terms-of-service h1 {
  font-size: 2em;
  margin-bottom: 0.5em;
}

.terms-of-service h2 {
  font-size: 1.8em;
  margin-bottom: 0.5em;
}

.terms-of-service h3 {
  font-size: 1.5em;
  margin-bottom: 0.5em;
}

.terms-of-service h4 {
  font-size: 1.2em;
  margin-bottom: 0.5em;
}

.terms-of-service h5 {
  font-size: 1em;
  margin-bottom: 0.5em;
}

.terms-of-service h6 {
  font-size: 0.8em;
  margin-bottom: 0.5em;
}

@media (max-width: 991px) {
  .terms-of-service {
    padding: 0;
  }
  .terms-of-service .container {
    border-radius: 0;
    max-width: inherit;
  }
}