body {
  background: #f4f4f4;
  display: flex;
  justify-content: center;
  padding-top: 50px;
  font-family: sans-serif;
}

#container {
  width: 200px;
  position: relative;
  user-select: none;
  -webkit-user-select: none; /* For Safari */
  touch-action: none; /* Prevents touch interactions */
  -webkit-touch-callout: none; /* Prevents callout on long press */
  overscroll-behavior: contain;
}

@media (max-width: 600px) {
  .brick {
    height: 8vh;
    margin: 0.8vh 0;
    font-size: 5vh;
    line-height: 8vh;
    border-radius: 0.8vh;
    box-shadow:  2px  2px 2px rgba(  0,  0,  0, 0.1), 
                -2px -2px 2px rgba(255,255,255, 0.1);
  }
}

@media (min-width: 601px) {
  .brick {
    height: 50px;
    margin: 5px 0;
    font-size: 20px;
    line-height: 50px;
    border-radius: 5px;
    box-shadow:  2px  2px 2px rgba(  0,  0,  0, 0.1), 
                -2px -2px 2px rgba(255,255,255, 0.1);
  }
}

.brick
{
  color: white;
  text-align: center;
  cursor: grab;
  transition: transform 0.2s ease;
  user-select: none;
  position: relative;
}
.brick.dragging {
  opacity: 0.8;
  cursor: grabbing;
  z-index: 10;
  transition: none; /* Stop animating while dragged */
}
.brick.resetting
{
  transition: none;
}


#source
{
  position: fixed;
  top: 10px;
  right: 10px;
  align: right;
  font-size: 0.8em;
}
