body {
  color: #777;
  font-family: arial, sans-serif;
}

h1 { color: #36393c; }
h2 { color: #595f65; }

code {
  font-family: monospace;
  font-size: 11px;
}

.wrapper {
  max-width: 1100px;
  padding: 0.7rem;
  margin: 0 auto;
}

.grid {
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(1, 1fr);
  grid-auto-rows: 110px;
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  max-width: 1200px;
  margin-bottom: 40px;
}

a {
  text-decoration: none;
  color: #777;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: top;
  border: 0;
}

nav {
  height: 70px;
}

nav .logo {
  background: url(imgs/hume-logo.svg);
  height: 48px;
  width: 48px;
  border-radius: 4px;
  float: left;
}

nav h1 {
  float: left;
  margin: 10px 0 0 20px;
}

.card {
  display: flex;
  background: #fff;
  padding: 14px;
  font-size: 13px;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  overflow: hidden;
  align-items: center;
}

.card:hover {
  box-shadow: 0 1px 9px 0 rgba(0,0,0,.15);
  transition: box-shadow .15s ease-out;
}

.card .icon {
    text-align: center;
    border-radius: 4px;
    width: 80px;
    height: 80px;
    line-height: 80px;
    font-size: 80px;
}

.card .text {
  padding: 10px 10px 10px 16px;
  display: inline-block;
  line-height: 1.3rem;
  color: #9d9ca5;
}

.card .title {
  font-weight: bold;
  font-size: 15px;
  color: #3b3c40;
}

.card .description {
  font-size: 13px;
}

.address_list {
  margin-top: 3px;
  line-height: 1rem;
  color: #d6d8da;
}

.card:hover .address_list {
  color: #afb0b7;
  transition: color .15s ease-out;
}

.overflow_ellipsis, .card code {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  display: block;
}

@media only screen and (min-width: 48em) {
  .wrapper { padding: 1rem; }
  .grid { grid-template-columns: repeat(2, 1fr); }
}

@media only screen and (min-width: 64em) {
  .wrapper { padding: 2rem; }
  .grid { grid-template-columns: repeat(3, 1fr); }
}
