* {
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  height: 100%; /* 1, 3 */
  background: url('https://images.unsplash.com/photo-1464983953574-0892a716854b?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&cs=tinysrgb&s=e25cb9413a836233774f31dcb7f80b33') center / cover;
}

body > header,
body > footer {
  flex: none; /* 2 */
}

body > main {
  flex: 1 0 auto; /* 2 */
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 40px 0;
}
body > main::after {
  content: '\00a0'; /* &nbsp; */
  display: block;
  margin-top: 10px;
  height: 0px;
  visibility: hidden;
}

header {
  width: 100%;
  min-height: 64px;
  padding: 0 40px;
  background: rgba(63, 81, 181, 0.9)
}

header h1 {
  display: block;
  color: white;
  position: relative;
  font-family: "Roboto","Helvetica","Arial",sans-serif;
  font-size: 20px;
  line-height: 1;
  letter-spacing: .02em;
  font-weight: 400;
}

.mdl-card {
  width: 256px;
  height: 256px;
  margin-right: 40px;
  background: rgba(63, 81, 181, 0.9)
}
.mdl-card__actions {
  border-color: rgba(255, 255, 255, 0.2);
}

.mdl-card__title > h2 {
  margin: 0;
  font-size: 42px;
  line-height: 46px;
  -moz-osx-font-smoothing: grayscale;
}
.mdl-card__title > h2.small {
  font-size: 36px;
  line-height: 40px;
}

.mdl-card__actions {
  display: flex;
  box-sizing:border-box;
  align-items: center;
}
.mdl-card__actions > .material-icons {
  padding-right: 10px;
}
.mdl-card__title,
.mdl-card__actions,
.mdl-card__actions > .mdl-button {
  color: #fff;
}
