:root {
    --card-height: 100px;

  }
  * {
    box-sizing: border-box;
  }
  body {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #191c29;
  }
  .card {
    width: var(--card-width);
    height: var(--card-height);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 0 36px;
    perspective: 2500px;
    margin: 0 50px;
  }
  
  .cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .wrapper {
    transition: all 0.5s;
    position: absolute;
    width: 100%;
    z-index: -1;
  }
  
  .card:hover .wrapper {
    transform: perspective(900px) translateY(-5%) rotateX(25deg) translateZ(0);
    box-shadow: 2px 35px 32px -8px rgba(0, 0, 0, 0.75);
    -webkit-box-shadow: 2px 35px 32px -8px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 2px 35px 32px -8px rgba(0, 0, 0, 0.75);
  }
  
  .wrapper::before,
  .wrapper::after {
    content: "";
    opacity: 0;
    width: 100%;
    height: 80px;
    transition: all 0.5s;
    position: absolute;
    left: 0;
  }
  .wrapper::before {
    top: 0;
    height: 100%;
    background-image: linear-gradient(
      to top,
      transparent 46%,
      rgba(12, 13, 19, 0.5) 68%,
      rgba(12, 13, 19) 97%
    );
  }
  .wrapper::after {
    bottom: 0;
    opacity: 1;
    background-image: linear-gradient(
      to bottom,
      transparent 46%,
      rgba(12, 13, 19, 0.5) 68%,
      rgba(12, 13, 19) 97%
    );
  }
  
  .card:hover .wrapper::before,
  .wrapper::after {
    opacity: 1;
  }

  .col-md-6 {
    display: flex;
    justify-content: center;
    position: relative;
  }

  .col-md-6:after {
    position: absolute;
    top: 65%;
    left: 200px;
    color: white;
  }

  .col-md-6.k20:after {
    content: 'Цена: 20 000 сум';
  }

  .col-md-6.k30:after {
    content: 'Цена: 30 000 сум';
  }

  .col-md-6.k150:after {
    content: 'Цена: 150 000 сум';
  }

  .col-md-6.k200:after {
    content: 'Цена: 200 000 сум';
  }
  
  .card:hover .wrapper::after {
    height: 120px;
  }
  .title {
    width: 33%;
    transition: transform 0.5s;
    margin-top: -50%;
    transform: translateY(50%);
    overflow: hidden;
    transform: translateY(50%);
  }
  .card:hover .title {
    transform: translate3d(0%, -50px, 100px);
  }
  
  .character {
    width: 100%;
    opacity: 0;
    transition: all 0.5s;
    position: absolute;
    z-index: -1;
  }
  
  .card:hover .character {
    opacity: 1;
    transform: translate3d(0%, -30%, 100px);
  }

  .card {
    background-color: transparent;
    margin-bottom: 100px;
  }

  .mainShopWrapper {
    margin-top: 150px;
  }

  @media (min-width: 1200px) {
    .col-md-6 {
        margin-bottom: 300px !important;
    }
  }

  @media (min-width: 900px) {
    .col-md-6 {
        margin-bottom: 100px;
    }

    .mainShopWrapper {
        margin-top: 350px;
    }
  }

  @media (max-width: 768px) {
    .col-md-6 {
        margin-bottom: 150px;
    }

    .col-md-6:after {
        position: absolute;
        top: 85%;
        left: 100px;
        color: white;
      }
  }

  @media (max-width: 500px) {
    .col-md-6 {
        margin-bottom: 10px;
    }
    .col-md-6:after {
        position: absolute;
        top: 50%;
        left: 100px;
        color: white;
      }
  }
  