.css-lock {
  width: 100px;
  height: 140px;
  position: relative;
  margin: 20px auto;
}

.css-lock img{
    display:none;
  }

/* Shackle (U shape) */
.css-lock .shackle {
  width: 60px;
  height: 60px;
  border: 10px solid #555;
  border-bottom: none;
  border-radius: 30px 30px 0 0;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  z-index: 1;
}

/* Body of lock */
.css-lock .body {
  width: 100px;
  height: 100px;
  background-color: #2b5288;
  border-radius: 10px;
  position: absolute;
  bottom: 0;
  left: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Keyhole */
.css-lock .keyhole {
  width: 11px;
  height: 30px;
  background-color: #fff;
  border-radius: 5px;
  position: relative;
}

.css-lock .keyhole::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  background-color: #fff;
  border-radius: 50%;
}

@media (max-width: 768px) {
  .css-lock {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  .css-lock img{
    display:block;
  }
  .css-lock .shackle,
  .css-lock .body {
    display: none;
  }
}