main {
    width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr repeat(12, minmax(auto, 60px)) 1fr;
    grid-gap: 40px;
  }

  .cards {
    grid-column: 2 / span 12;
    display: grid;
    grid-template-columns: repeat(5, minmax(200px, 1fr));
    grid-gap: 20px;
  }

  .shopcards {
    grid-column: 2 / span 12;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 30px;
  }
  
  .card {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: all 0.3s ease 0s;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  }
  .cardshop {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: all 0.3s ease 0s;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  }
  
  .media-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: auto;
  }

    .media-wrapper img,
    .media-wrapper video {
        width: 100%;
        height: auto;
        display: block;
    }
    .product-video {
    display: none;
    }


  
  .card__image-container {
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    position: relative;
  }
  
  .card__image-container img {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 230px;
    object-fit: cover;
  }
  
  .card__content {
    padding: 20px;
  }
  
  .card__title {
    margin-bottom: 20px;
  }
  
  .card__info {
    display: flex;
    align-self: end;
    align-items: center;
  }
  
  
 @media only screen and (max-width: 1400px) {
    main {
      display: flex;
      justify-content: center;
    }

    .cards {
      grid-template-columns: repeat(5, minmax(200px, 1fr));
    }

    .card {
      max-width: 300px;
      width: 100%;
    }
  }

  @media only screen and (max-width: 1200px) {
    main {
      display: flex;
      justify-content: center;
    }

    .cards {
      grid-template-columns: repeat(4, minmax(200px, 1fr));    }

    .card {
      max-width: 300px;
      width: 100%;
    }
  }

  @media only screen and (max-width: 1000px) {
    main {
      display: flex;
      justify-content: center;
    }
    .cards {
      grid-template-columns: repeat(3, minmax(200px, 1fr));
    }
    .card {
      max-width: 300px;
      width: 100%;
    }
  }

  @media only screen and (max-width: 768px) {
    main {
      display: flex;
      justify-content: center;
    }
    .cards {
      grid-template-columns: repeat(2, minmax(200px, 1fr));
    }
    .card {
      max-width: 300px;
      width: 100%;
    }
  }

  @media only screen and (max-width: 500px) {
    main {
      display: flex;
      justify-content: center;
    }
    .cards {
      grid-template-columns: repeat(1, minmax(200px, 1fr));
    }
    .card {
      max-width: 300px;
      width: 100%;
    }
  }

.button-color {
    background-color: #333;
    color: white;
}