* {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
}

.boxes {
  display: flex;
  padding: 100px;
}

.box {
  background-color: #8B9CFA;
  height: 120px;
  width: 190px;
  margin-right: 15px;
  text-align: center;
  display: flex;
  justify-content: center;
  flex-direction: column;
  cursor: pointer;
  transition: background-color linear 0.5s, color linear 0.5s;
}

.box:hover {
  color: white;
}

/* box in highlighted state. class added via JavaScript */
.is-highlighted {
  background-color: #7F4BB8;
  color: white;
  transform: scale(1.03);
}