* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #111;
  min-height: 100vh;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 2rem;
  align-items: center;
  justify-items: center;
}

.spinning {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  animation: spin linear infinite;
}

.s1 { animation-duration: 3s; }
.s2 { animation-duration: 2s;   animation-direction: reverse; }
.s3 { animation-duration: 4s; }
.s4 { animation-duration: 1.5s; animation-direction: reverse; }
.s5 { animation-duration: 2.5s; }
.s6 { animation-duration: 5s;   animation-direction: reverse; }
.s7 { animation-duration: 1.2s; }
.s8 { animation-duration: 3.5s; animation-direction: reverse; }

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
