/* jar container */
.jar{
  width:160px;
  height:220px;
  border-radius:20px 20px 16px 16px;
  margin:0 auto;
  position:relative;
  background:rgba(255,255,255,.7);
  border:2px solid rgba(15,23,42,.15);
  overflow:hidden;
}

/* liquid */
.liquid{
  position:absolute;
  bottom:0;
  width:100%;
  height:45%;
  background:linear-gradient(
    to top,
    rgba(59,130,246,.45),
    rgba(147,197,253,.35)
  );
}

/* bubbles */
.bubbles{
  position:absolute;
  inset:0;
  pointer-events:none;
}

.bubble{
  position:absolute;
  bottom:50px;
  width:10px;
  height:10px;
  border-radius:50%;
  background:rgba(255,255,255,.9);
  animation: rise 2s ease-out forwards;
}

@keyframes rise{
  from{
    transform:translateY(0) scale(.8);
    opacity:1;
  }
  to{
    transform:translateY(-140px) scale(1.4);
    opacity:0;
  }
}
