    .masonry {
      column-count: 4;
      column-gap: 1em;
      padding: 1em;
    }

    .item {
      background: white;
      margin-bottom: 1em;
      padding: 1em;
      border-radius: 8px;
      break-inside: avoid;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    }

    .item h3 {
      margin-top: 0;
    }

    /* Different heights for demo purposes */

    @media (max-width: 1200px) {
      .masonry {
        column-count: 3;
      }
    }

    @media (max-width: 800px) {
      .masonry {
        column-count: 2;
      }
    }

    @media (max-width: 500px) {
      .masonry {
        column-count: 1;
      }
    }

/*from here */

.tooltipgrey {
  position: relative;
  display: inline-block;
  color:#0076be;
}

/* Tooltip text */
.tooltipgrey .tooltiptextgrey {
  visibility: hidden;
  width: 400px;
  background-color: rgb(218, 218, 218);
margin-top:-5px;
margin-left: 5px;
  color: #000;
  text-align: left;
  padding: 10px;
  border-radius: 6px;
  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 1;
  left:-20px;
  top:30px;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltipgrey:hover .tooltiptextgrey {
  visibility: visible;
}