* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    background: #000;
    color: #f7f7f7;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .card {
    position: relative;
    padding: 1rem;
    width: 15%;
    height: 300px;
    background-color: #000000;
    border: 2px solid #000000;
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    transform-origin: center;
    transition: 0.3s;
  }
  
  .card .image {
    position: absolute;
    height: 50%;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
  }
  
  .card .image img {
    width: 100%;
    height: 75%;
  }
  
  .card:hover {
    scale: 1.50;
    transform: rotate(-6deg);
    border: 3px solid #ff0000;
    transition: 0.3s;
  }
  
  .card:hover .image {
    filter: blur(5px);
    filter: brightness(65%);
    transform: rotate(-5deg);
    animation: animation 3s infinite ;
    transition: 0.3s;
  }
  
  .card .text {
    position: absolute;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    opacity: 0;
    transition: 0.3s linear;
  }
  
  .card:hover .text {
    opacity: 1;
    transition: 0.3s linear;
  }
  
  .card .text h1 {
    text-align: center;
    font-weight: bold;
  }
  
  .card .text p {
    text-align: center;
    font-weight: 500;
  }
  
  .card .text span {
    text-align: center;
    font-weight: 500;
  }
  
  @keyframes animation {
    0% {
      transform: translateY(20);
    }
  
    50% {
      transform: translateY(-30px);
    }
  
    100% {
      transform: translateY(20);
    }
  }