.containerx {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 290px));
  gap: 2rem;
  padding: 2rem;
  justify-content: center;
  font-family: Arial, sans-serif;
}

    .card {
      background: white;
      border-radius: 1rem;
      overflow: hidden;
      box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
      display: flex;
      flex-direction: column;
        transition: transform 0.25s ease, box-shadow 0.25s ease;
}
   
.card:hover{
  transform: translateY(-6px);
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.329);
}
    

    .card img.card-img {
      width: 100%;
      height: 200px;
      object-fit: cover;
    }

    .tag {
      position: absolute;
      top: -15px;
      right: 10px;
      padding: 5px 10px;
      border-radius: 5px;
      font-size: 1em;
      font-weight: bold;
      box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    }

            .logo-platform {
            width: 0px;
            position: absolute;  /*  absolute  */
            bottom: 60px;
            right: 15px;
            background: rgba(255, 255, 255, 0);
            border-radius: 10px;
            padding: 5px;
                /*        box-shadow: 0 2px 5px rgba(0,0,0,0.1);   */
            }


    .card-body {
      padding: 0.5rem;
      position: relative;
    }

    .card-title {
      font-weight: 600;
      font-size: 1.2em;
      margin-bottom: .5rem;
      color: #666;
      padding-left: 20px;
      padding-top: 40px;
    }

    .card-subtitle {
      color: #616161a1;
      font-size: 1em;
      max-height: 55px;
      overflow: hidden;
      text-overflow: ellipsis;
      padding-left: 20px;

    }

    .card-price {
      margin: 1rem 0;
      font-size: 1.3em;
      font-weight: bold;
      padding-left: 20px;
      padding-top: 20px;


    }

    .card button {
      background: #1d1d1c;
      color: white;
      padding: 0.6rem 0.3rem;
      border: none;
      border-radius: 55px;
      width: 70%;
      margin-left: 15%;
      margin-right: 15%;
      cursor: pointer;
      margin-top: 20px;
      margin-bottom: 20px;
      text-transform: uppercase;
      font-size: 0.85em;
    }


        #modal-btn #modal-btn-text {
      background: #1d1d1c;
      color: white;
      padding: 0.6rem 0.3rem;
      border: none;
      border-radius: 55px;
      width: 70%;
      margin-left: 15%;
      margin-right: 15%;
      cursor: pointer;
      margin-top: 20px;
      margin-bottom: 20px;
      text-transform: uppercase;
      font-size: 0.85em;



    }



    /* Modal */
    .modal {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: #34291ce6;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 1rem;
      z-index: 1000;
            font-family: Arial, sans-serif;

    }

    .modal-content {
      background: white;
      border-radius: 1rem 0rem 0rem 1rem ;
      max-width: 600px;
      width: 100%;
      max-height: 90vh;
      overflow-y: auto;
      position: relative;

    }


    #modal-title{
    color: #3e3e3e;
    padding-left: 15px;
    margin-top: 30px;
        
    }
 
    #modal-subtitle{
    color: #3333337b;
    padding-left: 15px;
    font-size: 18px;
    margin-top: -10px;
    margin-top: 20px;
    margin-bottom: 30px;

        
    }

    #modal-desc{
    color: #3333337b;
    padding-left: 40px;
    padding-right: 50px;
    font-size: 16px;
    letter-spacing: 1px;
   
    }    


    #modal-price{
    color: #222222;
    padding-left: 15px;
      font-size: 2em;
    padding-top: 40px;

    }    

 


    .modal-header img {
      width: 100%;
      border-top-left-radius: 1rem;
      border-top-right-radius: 1rem;
    }

    .modal-body {
      padding: 1rem;
    }

    .modal-close {
      position: absolute;
      top: 10px;
      right: 12px;
      font-size: 3em;
      cursor: pointer;
      color: #e23939;
      background-color: #ffffffcd;
      padding:  6px 16px 6px 16px;
      border-radius: 2px;
    }

    @media(max-width: 800px) {
      .modal-content {
        max-height: 95vh;
      }
    }