#digital-tools {
  padding: 1rem 0;
}

.digital-tools-wrapper {
  gap: 30px;
  margin: 50px 0;
}

.original-box {
  position: relative;
  width: 190px;
  height: 170px;
  color: var(--section-title);
  overflow: hidden;
  box-shadow: 0px 3px 6px #00000029;
  border-radius: 4px;
}

.popup-box {
  position: absolute;
  top: 0px;
  left: 0;
  width: 190px;
  height: 170px;
  color: var(--header-bg);
  transition: all 0.4s;
  opacity: 0;
  z-index: 1;
  font-weight: 500;
}

.original-box:hover .outer-title {
  animation: title-animation-hover 1.5s forwards;
}

.important-links-img img {
  max-width: 100%;
  max-height: 100px;
}

@keyframes title-animation-hover {
  to {
    transform: translateY(-20px);
  }
}

.original-box:hover .popup-box {
  opacity: 1;
  animation: box-hover 0.5s forwards;
  overflow: hidden;
}

@keyframes box-hover {
  0% {
    border-radius: 150px;
    height: 75px;
    width: 75px;
    margin-left: 50px;
  }

  100% {
    width: 190px;
    height: 170px;
    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 {
  transform: translate(0, 55px);
  text-align: center;
  font-weight: 500;
}

.popup-box > p:nth-child(1) {
  font-size: var(--text-lg);
  margin: 15px 0 0;
}

.popup-box > p:nth-child(2) {
  font-size: var(--text-xs);
  width: 75%;
}

.important-links-wrapper {
  margin: 40px 0;
}

.important-links-underline {
  display: inline-block;
  padding-bottom: 0.25rem;
  position: relative;
}

.important-links-underline::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -20px;
  width: 0;
  height: 10px;
  background-color: #f45b69;
  transition: width 0.25s ease-out;
}

.important-links-underline:hover::before {
  width: 100%;
}

.important-links-decoration-right {
  position: absolute;
  right: 0;
  top: 5%;
  z-index: -1;
}

.important-links-decoration-left {
  position: absolute;
  left: 0;
  bottom: 33%;
  z-index: -1;
}

#digital-tools .section-title {
  text-align: left !important;
}

@media screen and (max-width: 991px) {
  .important-links-wrapper {
    justify-content: center;
  }
  .digital-tools-wrapper {
    justify-content: center;
  }
  #digital-tools .section-title {
    text-align: center !important;
  }
}
