html, body {
  margin: 0;
  width: 100%;
  height: 100%;
}

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

body {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #E7EEF7;
}

button {
  cursor: pointer;
  color: inherit;
}

button:active, button:focus {
  outline: 0;
}

.list {
  padding: 0;
  margin: 0;
  list-style: none;
  width: auto;
  margin: auto;
  display: grid;
  grid-column-gap: 40px;
  grid-row-gap: 40px;
  grid-template-columns: repeat(3, 1fr);
}

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

button {
  display: flex;
  width: 88px;
  height: 88px;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  border: 0;
  color: #879fbe;
  background-color: transparent;
  position: relative;
  box-shadow: 8px 8px 24px #c1d3ea, -8px -8px 24px white, -2px -2px 2px white;
  transition: all 120ms ease-out 0s;
}

button::before {
  content: '';
  position: absolute;
  border-radius: 24px;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  filter: blur(2px);
  border: 2px solid transparent;
  transition: all 120ms ease-out 0s;
}

button::after {
  content: '';
  position: absolute;
  border-radius: 24px;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  transition: all 120ms ease-out 0s;
}

button:hover::before {
  background: rgba(255, 255, 255, 0.24);
}

button .button-icon {
  transition: all 120ms ease-out 0s;
  font-size: 25px;
}

button .button-txt {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
  font-weight: bold;
  transition: all 120ms ease-out 0s;
}

button.active {
  background: linear-gradient(to top, #d4e0f1, #fafcfd);
  box-shadow: inset 2px 2px 8px #87aad7, inset 8px 8px 16px #aec5e4, inset -4px -4px 8px white, 2px 2px 8px #9bb8de, -2px -2px 2px rgba(255, 255, 255, 0.7);
}

button.active::before {
  border-color: #fff;
  box-shadow: 0px 4px 16px white;
}

button.active::after {
  box-shadow: inset 0px 0px 16px white;
}

.txt-red {
  color: #F56565;
}

.txt-blue {
  color: #4299E1;
}

.txt-green {
  color: #48BB78;
}

.txt-orange {
  color: #ED8936;
}

.txt-yellow {
  color: #D69E2E;
}

.txt-teal {
  color: #38B2AC;
}

.txt-indigo {
  color: #667EEA;
}

.txt-purple {
  color: #9F7AEA;
}

.txt-pink {
  color: #ED64A6;
}
