body {
  background: darksalmon;
}

.hold {
  border: solid 5px #ccc;
}

.hovered {
  background: #f4f4f4;
  border-style: dashed;
}

.transluscent {
  opacity: 0.5;
}

#rearranger {
  min-width: 548px;
  min-height: 180px;
  border: solid 1px #ccc;
  border-radius: 5px;
}

#rearranger > div {
  display: inline-flex;
  align-items: center;
  width: 180px;
  height: 180px;
}

#rearranger > div > div {
  position: relative;
  height: 160px;
  width: 160px;
  margin: auto;
  border: solid 3px salmon;
  background: white;
}

#rearranger > div > div > div {
  position: relative;
  background-color: #aaa;
  height: 150px;
  width: 150px;
  top: 5px;
  left: 5px;
  cursor: pointer;
}

#rearranger > div > div > img {
  background-color: black;
  position: relative;
  object-fit: cover;
  height: 150px;
  width: 150px;
  top: 5px;
  left: 5px;
  cursor: pointer;
  z-index: 0;
}

#rearranger > div > div > button {
  position: absolute;
  background-color: #ffcccc;
  opacity: .7;
  margin: 0;
  padding: 0;
  top: 5px;
  right: 5px;
  border: solid 1px #cccccc;
  cursor: pointer;
  z-index: 1;
}

#rearranger > div > div > button:active {
  background-color: #ff5555;
}
