body {
  border: solid 2px red;
  margin: 0;
  display: flex;
  justify-content: center;
  height: 100vh;
  align-items: center;
  text-align: center;
  background-color: yellow;
  font-family: cursive;
}

.stats-container {
  border: solid 0.1px;
  margin: 20px;
  border: dotted green;
  min-width: 200px;
  height: 100px;
  position: relative;
  padding: 20px;
}

@media (max-width: 600px) {
  body {
    flex-direction: column;
  }
}
.icon {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
}
.counter {
  font-size: 50px;
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  color: green;
}
.stats-container h4 {
  position: absolute;
  bottom: 1px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}
