.post-it {
  --scale: 1;

  background: #fe8e45;
  width: 160px;
  height: 160px;
  padding: 35px 16px 16px;
  font-family: "Patrick Hand", cursive;
  font-size: 25px;
  font-weight: bold;
  color: #333;
  border: none;
  margin: 20px;
  transform: scale(var(--scale));
  transition: transform 0.15s;
  z-index: 2;

  position: relative;

  box-shadow: 6px 6px 15px rgba(0, 0, 0, 0.25);

  border-radius: 2px;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transform-origin: center;
  line-height: 0.9;
}

.post-it:hover {
  --scale: 1.05;
  transition: transform 0.15s;
  transform-origin: center;
  cursor: pointer;
}

.post-it::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);

  width: 12px;
  height: 12px;
  border-radius: 50%;

  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);

  z-index: 0;
}

/* pin head */
.post-it::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%) rotate(-8deg);

  width: 18px;
  height: 18px;
  border-radius: 50%;

  background: radial-gradient(
    circle at 30% 30%,
    #ffb0b0 0%,
    #ff4d4d 25%,
    #c00000 70%,
    #700000 100%
  );

  box-shadow: inset -2px -2px 4px rgba(0, 0, 0, 0.3),
  inset 2px 2px 3px rgba(255, 255, 255, 0.5),
  0 3px 6px rgba(0, 0, 0, 0.35);

  z-index: 2;
}

.pin {
  position: absolute;
  top: 15px;
  left: 50%;
  width: 2px;
  height: 20px;
  transform: translateX(-50%);

  background: linear-gradient(
    to right,
    #666,
    #eee,
    #666
  );

  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);

  z-index: 1;
}

.post-it-icon {
  margin-top: 10px;
}
