.important-links-wrapper {
  grid-template-columns: repeat(auto-fit, minmax(25%, 170px));
  justify-items: center;
}

.digital-tools-wrapper {
  gap: 40px 20px;
  grid-template-columns: repeat(auto-fit, minmax(25%, 170px));
  justify-items: center;
  justify-content: center;
}

.original-box {
  position: relative;
  width: 170px;
  height: 150px;
  color: #5a5b5c;
  overflow: hidden;
  box-shadow: 0px 3px 6px #00000029;
  border-radius: 4px;
}

.original-box-wrapper p {
  margin: 0;
  font-size: 14px;
  color: #252627;
}

.popup-box p {
  margin: 0;
  font-size: 14px;
}

.popup-box {
  position: absolute;
  top: 25%;
  left: 0;
  color: #ffffff;
  transition: width 300ms, height 300ms, top 1000ms;
  opacity: 0;
  z-index: 1;
}

.original-box:hover small {
  opacity: 1;
  font-weight: 600;
  color: #ffffff;
}

.original-box:hover .outer-title {
  animation: title-animation-hover 1.5s forwards;
}

@keyframes title-animation-hover {
  to {
    transform: translateY(-20px);
  }
}

.original-box:hover .popup-box {
  opacity: 1;
  animation: box-hover 500ms cubic-bezier(0.4, 0, 1, 1) forwards;
  overflow: hidden;
  top: 0;
}

@keyframes box-hover {
  0% {
    border-radius: 150px;
    height: 75px;
    width: 75px;
    margin-left: 50px;
  }

  100% {
    width: 170px;
    height: 150px;
    border-radius: 4px;
    margin-left: 0;
  }
}

.original-box:hover {
  box-shadow: 6px 6px 4px #00000029;
}

.original-box:hover .popup-box {
  opacity: 1;
  border: 1px;
}

.original-box > img {
  transform: translate(50px, 50px);
  width: 75px;
  height: 75px;
}

.original-box > p,
.original-box > small {
  transform: translate(0, 55px);
  text-align: center;
}

.popup-box p {
  font-size: 24px;
}

.popup-box small {
  width: 100%;
  padding: 0 0.25rem 0.25rem;
}
