.container {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

  @media (max-width: 768px) {
    
    .container {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    
    .image-1 {
      height: auto;
      width: 100%;
      max-height: 380px;
      border-radius: 10px;
  }

  .image-2 {
    display: none;
      width: 100%;
      max-height: 380px;
      border-radius: 10px;
  }

  .main-image {
    display: flex;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    max-height: 380px;
  }
}

  .left-side {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 3;
    position: relative;
  }

  .main-image {
    display: flex;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    max-height: 700px;
  }

  .image-1, .image-2 {
    height: auto;
    width: 100%;
    max-height: 700px;
    border-radius: 10px;
}
  

  .thumbnails {
    display: flex;
    gap: 10px;
    position: absolute;
    bottom: 10px;
    right: 10px;
  }

  .thumbnail {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: transform 0.2s;
  }

  .thumbnail-image {
    
    width: 56px;
    height: 56px;
    border-radius: 6px;
  }

  .thumbnail:hover {
    transform: scale(1.05);
  }

  .right-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 700px;
  }

  .description {
    background-color: #f7e9ea42; 
    padding: 20px;
    border-radius: 10px;
    height: 100%;
    font-family: "Open Sans", sans-serif;
    display: grid;
    h2 {
      width: 100%;
      display: flex;
      justify-content: center;
      font-weight: bold;
    }
  }

  .information-bloc {
    display: block;
    p {
      width: 100%;
      display: flex;
      justify-content: center;
      font-family: "Open Sans", sans-serif;
      font-weight: 400;
      font-size: 18px;
    }
  }






.cta-header {
    display: flex;
    width: 100%;
    justify-content: center;
    height: 55px;
}

.cta-payment {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.payment-button {
    background-color: #d70226;
    filter: drop-shadow(0 0 0.25rem crimson);
    border: 1px solid #d70226;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    max-width: 320px;
    height: 55px;
}

.payment-link {
    background-color: transparent;
    color: white;
}

.payment-link:hover {
    background-color: transparent;
    color: #d70226;
}

.payment-button:hover {
    background-color: white;
    filter: drop-shadow(0 0 0.25rem crimson);
    border: 1px solid #d70226;
    color: #d70226;
}

.campagne-link {
    background-color: transparent;
    color: #d70226;
    font-weight: bold;
    
}

.campagne-link:hover {
    background-color: transparent;
    color: #d70226;
    
}
.campagne-button {
    border: none;
    background-color: transparent;
}

.campagne-button:hover {
    border-bottom: 1px solid #d70226;
    border-top: none;
    border-left: none;
    border-right: none;
}


.separator {
    height: 2px;
    width: 100%;
    background-color: #cccccc2e;
    margin: 20px 0;
}


/* loader liste*/

.table-loader-container {
  width: 100%;
  min-width: 100%;
  height: auto;
}

.table-loader-container .table-loader-item {
  height: 60px;
  width: 100%;
  background-color: #d9d9d97d;
  margin: 10px 0px;
  border-radius: 12px;
}

.table-loader-container .table-loader-item:nth-child(1) {
  animation: 1.3s Animation 0.05s infinite;
}

.table-loader-container .table-loader-item:nth-child(2) {
  animation: 1.3s Animation 0.1s infinite;
}

.table-loader-container .table-loader-item:nth-child(3) {
  animation: 1.3s Animation 0.15s infinite;
}

.table-loader-container .table-loader-item:nth-child(4) {
  animation: 1.3s Animation 0.2s infinite;
}

.table-loader-container .table-loader-item:nth-child(5) {
  animation: 1.3s Animation 0.25s infinite;
}

.table-loader-container .table-loader-item:nth-child(6) {
  animation: 1.3s Animation 0.3s infinite;
}

.table-loader-container .table-loader-item:nth-child(7) {
  animation: 1.3s Animation 0.35s infinite;
}

.table-loader-container .table-loader-item:nth-child(8) {
  animation: 1.3s Animation 0.4s infinite;
}

.table-loader-container .table-loader-item:nth-child(9) {
  animation: 1.3s Animation 0.45s infinite;
}

.table-loader-container .table-loader-item:nth-child(10) {
  animation: 1.3s Animation 0.5s infinite;
}

@keyframes Animation {
  0% {
      opacity: 0.2;
  }
  50% {
      opacity: 1;
  }
  100% {
      opacity: 0.2;
  }
}


.buyers-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}


.detail-item p {
  margin: 5px 0;
}

.total {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.total-user {
  color: #d70226;
  min-width: 40px;
  padding-left: 5px;
  display: flex;
    justify-content: center;
}

.detail-item {
  display: flex;
  align-items: center;
  width: 100%;
  height: 60px;
  padding: 0 10px;
  justify-content: space-between;
  background-color: #d9d9d97d;
  border-radius: 10px;
  font-family: Roboto, sans-serif;
  font-size: 16px;
  font-weight: bold;
}

.user-image {
  width: 35px;
  height: 40px;
  height: auto;
  margin-right: 20px;
  border-radius: 50%;
  filter: drop-shadow(0 0 0.25rem crimson);
}

.buyers-section {
  padding: 0 150px;
}

#details-container-buyers {
  display: grid;
  row-gap: 10px;
  align-items: center;
  padding: 20px;
  min-width: 100%;
}

.detail-item p {
  margin: 5px 0;
}

@media (max-width: 480px) {
  .container {
      padding: 20px 10px;
  }

  .buyers-section {
    padding: 0 10px;
  }
  #details-container-buyers {
      display: grid;
      row-gap: 10px;
      align-items: center;
      padding: 0px;
      min-width: 100%;
  }
  .video-container {
      width: 100%;
  }
  .detail-item {
      display: flex;
      align-items: center;
      width: 100%;
      height: 60px;
      padding: 0 10px;
      justify-content: space-between;
      background-color: #d9d9d97d;
      border-radius: 10px;
      font-family: Roboto, sans-serif;
      font-size: 12px;
      font-weight: bold;
  }
  .summary-icon {
      height: 55px;
      display: block;
  }
  #somme,
  #nomberOfUsers {
      font-size: 28px;
      font-weight: bold;
  }
  [role="progressbar"] {
      --percentage: var(--value);
      --primary: #d70226;
      --secondary: #f6b8c3;
      --size: 100px;
      animation: progress 2s 0.5s forwards;
      width: var(--size);
      aspect-ratio: 1;
      border-radius: 50%;
      position: relative;
      overflow: hidden;
      display: grid;
      place-items: center;
  }
  [role="progressbar"]::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: conic-gradient(var(--primary) calc(var(--percentage) * 1%), var(--secondary) 0);
      mask: radial-gradient(white 55%, transparent 0);
      mask-mode: alpha;
      -webkit-mask: radial-gradient(#0000 55%, #000 0);
      -webkit-mask-mode: alpha;
  }
  [role="progressbar"]::after {
      counter-reset: percentage var(--value);
      content: counter(percentage) '%';
      font-family: Helvetica, Arial, sans-serif;
      font-size: calc(var(--size) / 5);
      color: var(--primary);
  }
}