h4 {
  text-align: center;
}

/* Grid layout */
.grid-container {
  display: grid;
  grid-gap: 1rem;
  grid-template: 80px 1fr 1fr 1fr / 1fr 1fr 1fr;
  width: 100%;
  font:
    0.7rem 'Fira Sans',
    sans-serif;
}

.download-all {
  grid-row: 1;
  grid-column: 1 / 3;
}

.area-chart {
  grid-row: 2;
  grid-column: 1 / 3;
}

.pie-chart {
  grid-row: 2;
  grid-column: 3;
}

.composed-chart {
  grid-row: 3;
  grid-column: 1 / 4;
}

.class-composed-chart {
  grid-row: 4;
  grid-column: 1 / 4;
}

/* Button layout */
button {
  padding: 4px 8px;
  min-width: 25%;
}

.download-button-content {
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-button-text {
  padding-left: 8px;
}

.gg-spinner {
  transform: scale(var(--ggs, 1));
}

.gg-spinner,
.gg-spinner::after,
.gg-spinner::before {
  box-sizing: border-box;
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
}

.gg-spinner::after,
.gg-spinner::before {
  content: '';
  position: absolute;
  border-radius: 100px;
}

.gg-spinner::before {
  animation: spinner 1s cubic-bezier(0.6, 0, 0.4, 1) infinite;
  border: 3px solid transparent;
  border-top-color: currentColor;
}

.gg-spinner::after {
  border: 3px solid;
  opacity: 0.2;
}

@keyframes spinner {
  0% {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}

.gg-software-download {
  box-sizing: border-box;
  position: relative;
  display: block;
  transform: scale(var(--ggs, 1));
  width: 16px;
  height: 6px;
  border: 2px solid;
  border-top: 0;
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
  margin-top: 8px;
}

.gg-software-download::after {
  content: '';
  display: block;
  box-sizing: border-box;
  position: absolute;
  width: 8px;
  height: 8px;
  border-left: 2px solid;
  border-bottom: 2px solid;
  transform: rotate(-45deg);
  left: 2px;
  bottom: 4px;
}

.gg-software-download::before {
  content: '';
  display: block;
  box-sizing: border-box;
  position: absolute;
  border-radius: 3px;
  width: 2px;
  height: 10px;
  background: currentColor;
  left: 5px;
  bottom: 5px;
}
