/*Files Style*/
.files {
  position: relative;
  width: 190px;
  height: 254px;
  background-color: #000;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 12px;
  gap: 12px;
  border-radius: 8px;
  cursor: pointer;
  color: white;
}

.files::before {
  content: '';
  position: absolute;
  inset: 0;
  left: -5px;
  margin: auto;
  width: 200px;
  height: 264px;
  border-radius: 10px;
  background: linear-gradient(-45deg, #e81cff 0%, #40c9ff 100% );
  z-index: -10;
  pointer-events: none;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.files::after {
  content: "";
  z-index: -1;
  position: absolute;
  inset: 0;
  background: linear-gradient(-45deg, #fc00ff 0%, #00dbde 100% );
  transform: translate3d(0, 0, 0) scale(0.95);
  filter: blur(20px);
}

.heading {
  font-size: 20px;
  text-transform: capitalize;
  font-weight: 700;
}

.files p:not(.heading) {
  font-size: 14px;
}

.files p:last-child {
  color: #e81cff;
  font-weight: 600;
}

.files:hover::after {
  filter: blur(30px);
}

.files:hover::before {
  transform: rotate(-90deg) scaleX(1.34) scaleY(0.77);
}

/*Folder Style*/
  .card {
    width: 240px;
    height: 354px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    animation: name-of-animation 2s;
  }

  .backsvg {
    transform: rotate(180deg);
  }
  
  .card-img {
    position: absolute;
    height: 100%;
    width: 100%;
    background: linear-gradient(144deg,#af40ff,#5b42f3 50%,#00ddeb);
  }
  
  .card-info {
    position: absolute;
    width: 100%;
    bottom: 0;
    padding: 1.7rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
  }
  
  .card-icon {
    opacity: 0;
    transform: translateX(-20%);
    width: 2em;
    height: 2em;
    transition: all .3s ease-in-out;
    position: relative;
    left: -0.1em;
    top: -3px;
  }
  
  .icon {
    --size: 28px;
    width: var(--size);
    height: var(--size);
    filter: invert(1);
    margin-top: 1px;
    margin-left: -5px;
  }
  
  .card-text p {
    line-height: 140%;
    white-space: nowrap;
  }
  
  .text-title {
    font-weight: 700;
    font-size: 2.1rem;
    color: rgb(255, 255, 255);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  }
  
  .text-subtitle {
    color: rgb(255, 255, 255);
    font-weight: 500;
    font-size: 1.2rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  }
  
  .card:hover .card-icon {
    opacity: 1;
    transform: translateX(20%);
  }
  
  @keyframes name-of-animation {
    0% {
      opacity: 0;
    }
  
    100% {
      opacity: 1;
    }
  }