.KYAN {
  grid-column: span 2;

  aspect-ratio: 1/1;
  border: dashed #d9d9d9 4px;

  background: linear-gradient(0deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.04)),
    linear-gradient(0deg, #f8f7f9, #f8f7f9);
  box-shadow: 0px 0.4rem 0.8rem 0px #0000000a;
  border-radius: 3.2rem;
  position: relative;
}

.KYAN > .logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0deg);
  transform-origin: center center;
  width: 18rem;
  z-index: 2;
  opacity: 0.7;

  will-change: top, left, transform, width;
  transition: top 0.5s ease-in-out, left 0.5s ease-in-out,
    transform 0.5s ease-in-out, width 0.5s ease-in-out;
}

.KYAN:hover > .logo {
  top: -0.3rem;
  left: -0.4rem;
  transform: translate(0%, 0%) rotate(-15deg);
  width: 13.7rem;
  opacity: 0.5;
}

.KYAN > .logo > img {
  width: 100%;
}

.KYAN > .logo > h6 {
  font-family: "Lufga", sans-serif;
  font-weight: 700;
  font-size: 2.7rem;
  line-height: 122%;
  letter-spacing: -1.5%;
  text-align: center;
}

.KYAN > img.wrench {
  filter: drop-shadow(rgba(15, 15, 18, 0.25) 0px 20px 17px);
  position: absolute;
  bottom: 50%;
  right: 50%;
  transform: translate(50%, 50%);
  width: 15rem;
  aspect-ratio: 1/1;
  opacity: 0;
  z-index: 1;

  will-change: bottom, right, transform, width, opacity;
  transition: bottom 0.5s ease-in-out, right 0.5s ease-in-out,
    transform 0.5s ease-in-out, width 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.KYAN:hover > img.wrench {
  bottom: 6rem;
  right: -1rem;
  transform: translate(0%, 0%);
  width: 25rem;
  opacity: 0.5;
}

@media screen and (max-width: 1200px) {
  .KYAN {
    grid-column: span 3;
    aspect-ratio: auto;
    height: 32rem;
  }

  .KYAN > .logo {
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    width: 12rem;

    will-change: unset;
    transition: unset;
  }

  .KYAN:hover > .logo {
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    width: 12rem;
  }

  .KYAN > img.wrench {
    bottom: unset;
    top: 1.3rem;
    right: 52%;
    transform: translate(50%, 0%);
    width: 20rem;
    opacity: 1;

    will-change: unset;
    transition: unset;
  }

  .KYAN:hover > img.wrench {
    bottom: unset;
    top: 1.3rem;
    right: 52%;
    transform: translate(50%, 0%);
    width: 20rem;
    opacity: 1;
  }
}





@media screen and (max-width: 600px) {

  .KYAN > .logo {
    position: absolute;
    top: 33%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    transform-origin: center center;
    width: 13rem;
    z-index: 2;
    opacity: 1;
  
    will-change: top, left, transform, width;
    transition: top 0.5s ease-in-out, left 0.5s ease-in-out,
      transform 0.5s ease-in-out, width 0.5s ease-in-out;
  }

  .KYAN > img.wrench {
    bottom: unset;
    top: 1.3rem;
    right: 30%;
    transform: translate(50%, 0%);
    width: 23rem;
    opacity: 0.7;
    will-change: unset;
    transition: unset;
}
}




