*,
::before,
::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  font-family: sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-size: 12px;
  overflow-x: hidden;
}

.summary {
  width: 100%;
  height: 100%;
}

.summary__info-container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.summary__info-group__item {
  display: table-row;
}

.summary__info-header {
  margin: 0 10px 0 0;
}

.summary__info-description {
  display: table-cell;
  padding: 0 5px;
  white-space: nowrap;
}

.summary__heading {
  margin-top: 0;
  margin-bottom: 10px;
}

.summary__heading__item {
  display: block;
}

.summary__heading__link {
  color: inherit;
  font-size: 1.25em;
  text-decoration: none;
}

.summary__item {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  border-bottom: 3px solid black;
}

.summary__item:last-child {
  border-bottom: none;
}

.summary__section:not(:last-child) {
  padding-right: 20px;
}

.summary__info-groups {
  display: flex;
  flex: 1 1 auto;
}

.summary__info-group {
  padding-left: 10px;
  padding-right: 10px;
}

.size-change__major-improvement {
  color: white;
  background-color: cornflowerblue;
}

.size-change__moderate-improvement {
  color: white;
  background-color: green;
}

.size-change__minor-improvement {
  color: black;
  background-color: lime;
}

.size-change__no-change {
  color: black;
  background-color: white;
}

.size-change__minor-degradation {
  color: black;
  background-color: gold;
}

.size-change__moderate-degradation {
  color: black;
  background-color: yellow;
}

.size-change__major-degradation {
  color: black;
  background-color: orange;
}

.size-change__unacceptable-degradation {
  color: white;
  background-color: red;
}
