img{
  width: 100%;
}

figure{
  margin: 0;
}

.btn{
  position: absolute;
  width: 150px;
  height: 150px;
  z-index: 20;
  top: 100px;
  left: 100px;
}

.el{
  width: 30px;
  height: 30px;
  background-color: red;
  border-radius: 50%;
  position: absolute;
  top: 100px;
  left: 100px;
  transition: all 0.4s linear;
}

.el2{
  width: 30px;
  height: 30px;
  background-color: orange;
  border-radius: 50%;
  position: absolute;
  top: 100px;
  left: 100px;
  transition: all 0.5s ease-in-out;
}

input:checked ~ .el {
  top: 10px;
  left: 10px;
}

input:checked ~ .el2 {
  top: 10px;
  left: 100px;
}