/* General styles */
body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  margin: 0;
  padding: 20px;
}

/* Search bar */
.search-container {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

#search-input {
  width: 300px;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button {
  padding: 10px 15px;
  font-size: 16px;
  background-color: #5c6bc0;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-left: 10px;
}

button:hover {
  background-color: #3f51b5;
}

/* Order Filter */
.filter-container {
  display: flex;
  justify-content: center;
  align-item: center;
  margin-bottom: 20px;
  font-size: 16px;
}

label {
  margin-right: 10px;
  color: #333;
}

select {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Pagination buttons */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.pagination button {
  padding: 10px 20px;
  background-color: #5c6bc0;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin: 0 10px;
}

.pagination button:disabled {
  background-color: #b0bec5;
  cursor: not-allowed;
}

/* Video grid */
.container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.video-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.video-card:hover {
  transform: scale(1.05);
}

.card-content {
  padding: 15px;
  text-align: center;
}

.title {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0;
  color: #333;
}

.views {
  font-size: 14px;
  color: #888;
}

iframe {
  width: 100%;
  height: 315px;
  margin-top: 10px;
  border: none;
}
