@import url('https://fonts.googleapis.com/css?family=Roboto:400,400i,700,700i');

body {
  font-family: 'Roboto', sans-serif;
  word-wrap: break-word;
}

header {
  background-color: #8bcc00;
  border-bottom: solid #65b000 20px;
  box-shadow: 0 4px 4px -2px black;
  -moz-box-shadow: 0 4px 4px -2px black;
  -webkit-box-shadow: 0 4px 4px -2px black;
  height: 45px;
  position: relative;
  text-align: right;
  width: 100%;
  z-index: 1;
}

h1,
h2,
h3,
h4,
h5, 
h6 {
  line-height: 130%;
}

h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

h2 {
  font-size: 18px;
  font-weight: bold;
}

p {
  line-height: 150%;
}

a {
  color: inherit;
  display: inherit;
  text-decoration: none;
}

a:hover {
  color: #0056b3;
}

ul {
  line-height: 150%;
  list-style-type: disc;
  margin-left: 25px;
  margin-top: 6px;
}

hr {
  border-color: white;
  margin: 12px 0;
}

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

.logo {
  display: inline-block;
  height: 100%;
  width: 150px;
}

.logo img {
  display: block;
  padding: 4px 6px;
  width: calc(100% - 12px);
}

.logo-text {
  color: #8bcc00;
  font-weight: bold;
}

main {
  background-color: #555;
  min-height: calc(100vh - 65px);
  margin: 0 auto;
  max-width: 2000px;
}

@media screen and (min-width: 768px) {
  main {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    display: flex;
    margin-bottom: 20px;
    min-height: 0;
    width: 95vw;
  }
}

.info {
  background:
    linear-gradient(rgba(2, 107, 177, 0.95), rgba(2, 107, 177, 0.65)),
    url('https://www.anl.gov/sites/www/files/es_projects_HeavyVehicleCharacterization.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  flex: 1;
  color: white;
  padding: 10px;
}

@media screen and (min-width: 768px) {
  .info {
    border-bottom-left-radius: 10px;
    background-position: unset;
  }
}

.tool-selection {
  border-bottom-right-radius: 10px;
  display: flex;
  flex: 3;
  flex-wrap: wrap;
  overflow: hidden;
  padding-left: 10px;
  padding-top: 10px;
}

.card {
  background-color: white;
  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 4px 8px -2px black;
  -webkit-box-shadow: 0 4px 8px -2px black;
  color: #444;
  display: block;
  flex: 1;
  margin-bottom: 10px;
  margin-right: 10px;
  min-width: 200px;
  overflow: hidden;
  position: relative;
    right: 0;
    top: 0;
  transition: 0.35s;
}

@media screen and (min-width: 1280px) {
  .card {
    min-width: 167.5px;
  }
}

.card:hover {
  box-shadow: 0 16px 32px 0 rgba(0,0,0,0.6);
  -moz-box-shadow: 0 16px 32px -2px black;
  -webkit-box-shadow: 0 16px 32px -2px black;
  right: 1.5px;
  top: 1.5px;
}

.card .card-image {
  align-items: center;
  background-color: #8bcc00;
  display: flex;
  height: 8vw;
  max-height: 120px;
  min-height: 100px;
}

.card .card-image img {
  margin: auto;
  max-height: 60%;
  max-width: 100px;
  padding: 10px;
}

.card-info {
  font-size: 14px;
  padding: 10px;
}

.card-info hr {
  border-color: gray;
  border-bottom-width: 0;
  border-top-width: 1px;
}

.card:hover hr {
  border-color: #0056b3;
}