body {
  background: slateblue;;
  color: #ddd;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 300;
}

.centered {
  position: fixed;
  top: 50%;
  left: 50%;
  /* bring your own prefixes */
  transform: translate(-50%, -50%);
}

.flex {
  display: flex;
  flex-direction: row;
  align-items: center;
}