.iconbox {
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  padding: 5px;
  justify-content: center;
  align-items: center;
  max-width: 650px;
  max-height:100px;
}

.win7-icon {
  margin: 0 auto;
  display: inline-block;
  justify-content: center;
  align-items: center;
}

.win7-icon:hover {
  /* Start the shake animation and make the animation last for 0.5 seconds */
  animation: shake 0.9s;
  }
  
  @keyframes shake {
  0% { transform: translate(1px, 1px); }
  100% { transform: translate(1px, -2px); }
}