body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #101010;
  color: white;
  font-family: "Arial", sans-serif;
}
#container {
  display: flex;
  height: 480px;
  width: 100%;
  justify-content: center;
  align-items: center;
}
.video-container {
  position: relative;
  width: 640px;
  height: 480px;
}
#video,
#canvas {
  position: absolute;
  top: 0;
  left: 0;
}
/* Sidebar navigation styling */
.sidebar {
  height: 100%;
  width: 200px;
  background-color: #111;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.sidebar button {
  display: block;
  color: white;
  padding: 16px;
  text-decoration: none;
  border: none;
  background: none;
  cursor: pointer;
}
.sidebar button:hover {
  color: #f1f1f1;
}
.sidebar button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
/* Modal styling */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}
.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
.pagination {
  margin-top: 10px;
  display: flex;
  justify-content: center;
}
.pagination button {
  padding: 8px 16px;
  margin: 0 4px;
}
.image-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.image-item {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 5px;
}
