#results {
    margin: 0px 100px 0px 100px;
}
  .video-container {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    border: 0px solid rgb(214, 214, 214);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);


  }

  video {
    width: 400px;
    height: 300px;
    margin: 15px 10px 15px 15px;
    border-radius: 2px;
  
  }

  .video-details {
    display: flex;
    flex-direction: column;
  }

  .video-details h3,
  .video-details p, .video-details h6 {
    margin: 10px;
  }
 .video-details h3{
    cursor: pointer;
    width: 100%;
 }
 .video-details h3:hover{
  color: crimson;
 }
 .price {
  color:var(--thm-base);
   font-weight: 600px;

}

.read-more {
  margin-right: 30px;
  cursor: pointer; /* Adjust the margin as needed */
}
.price-readmore-container {
  display: flex;
  align-items: center; /* Vertically center align items */
  justify-content: space-between; /* Distribute items evenly with space between */
}
.read-more:hover{
  color: crimson;
  width: 80px;
}
 @media screen and (max-width: 768px) {
  #results {
    margin: 0PX 10PX;
    border-bottom: 1px solid #7a7a7a;
  }
  
  .video-container {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 10px;
  }
  
  video {
    margin: 0px 5px;
    width: 100%;
    height: auto;
    margin-right: 0;
  }
  
  .video-details {
    align-items: flex-start;
  }
  
  .video-details h3,
  .video-details p,
  .video-details h6 {
    margin: 5px;
  }
  
  .video-details h3 {
    cursor: pointer;
  }
  .price-readmore-container {
    flex-direction: column; /* Stack items vertically */
    align-items: flex-start; /* Align items to the start of the container */
  }
  .read-more{
    padding-left: 5px;
  }
  .read-more:hover {
    width: auto; /* Remove the fixed width */
  }


}
@media (max-width: 768px) {
  .pagination {
    /* Adjust styles for screens with a maximum width of 768px */
    flex-wrap: wrap;
  }

  .pagination .page-item {
    margin-bottom: 5px;
    width: 45px;
  }

  .pagination .page-item a {
    font-size: 10px;
    display: flex;
    justify-content: center;
    align-items: center;/* Adjust the font size as needed */
  }
}
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 20px;

      align-items: center;
      list-style: none;
      padding: 0;
}

.pagination .page-item {
  list-style: none;
  display: inline-block;
  margin-right: 5px;

}
.pagination .page-item a:hover{
  background:crimson;
  color: #fff;
}
.pagination .page-item a {
  padding: 8px 12px;
  border: 1px solid #ddd;
  text-decoration: none;
  color: crimson;
  font-weight: 600;
}

.pagination .page-item.active a {
  background-color:var(--thm-base);
  color: #fff;
  border-color: var(--thm-base);
}

