* {
  box-sizing: border-box;
  user-select: none;
}

body {
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
  margin: 0;
}

.container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 400px;
}

.square {
  background-color: #1d1d1d;
  box-shadow: 0 0 2px #000;
  height: 16px;
  width: 16px;
  margin: 2px;
  /* height: 4px;
  width: 4px;
  margin: 1px; */
  transition: 2s ease;
  /* transition: background-color 2s ease, box-shadow 4s ease; */
  /* my variation so box shadow lingers longer*/
}

.square:hover {
  transition-duration: 0s;
}