.card {
    width: 190px;
    height: 254px;
    background: #ffffff00;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    box-shadow: 0px 0px 3px 1px #00000088;
    cursor: pointer;
    border: none !important;
  }
  
  .dark-theme .card
  {
    background: #171717;
    animation: non 3s ease-in-out infinite !important;
  }

  @keyframes non {
    0% {
        box-shadow: none;
    }
}

  .card .content {
    border-radius: 5px;
    background: #171717;
    width: 186px;
    height: 250px;
    z-index: 1;
    padding: 20px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .content::before {
    opacity: 0;
    transition: opacity 300ms;
    content: " ";
    display: block;
    background: white;
    width: 5px;
    height: 50px;
    position: absolute;
    filter: blur(50px);
    overflow: hidden;
  }
  
  .card:hover .content::before {
    opacity: 1;
  }
  
  .card::before {
    opacity: 0;
    content: " ";
    position: absolute;
    display: block;
    width: 80px;
    height: 360px;
    background: linear-gradient(#ff2288, #387ef0);
    transition: opacity 300ms;
    animation: rotation_9018 8000ms infinite linear;
    animation-play-state: paused;
  }
  
  .card::before {
    opacity: 1;
    animation-play-state: running;
  }
  
  .card::after {
    position: absolute;
    content: " ";
    display: block;
    width: 250px;
    height: 360px;
    background: #17171733;
    backdrop-filter: blur(50px);
  }
  
  @keyframes rotation_9018 {
    0% {
      transform: rotate(0deg);
    }
  
    100% {
      transform: rotate(360deg);
    }
  }
  
  @media (max-width: 768px) {
    #card {
        flex-direction: column; /* На мобильных устройствах размещаем элементы вертикально */
        align-items: center;
        text-align: center; /* Центрируем текст */
    }

    .content {
        width: 100%; /* Изображение будет на всю ширину на мобильных устройствах */
        height: 250px; /* Высота изображения на мобильных */
        background-position: center center;
    }

    .text {
        width: 100%; /* Текст тоже будет занимать всю ширину */
        padding: 10px;
    }

    .section {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
    }

    .footer{
        padding: 25rem 1.5rem 6rem;
    }

}

.section {
    display: flex;
}