body, html {
  margin: 0;
  padding: 0;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  background: #f0f0f0;
  font-family: sans-serif;
  display: flex;
  flex-direction: column;
}

header {
  background: #333;
  color: #fff;
  padding: 1rem;
  text-align: center;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

#video-list {
  padding: 1rem;
  flex: 1;
}

#videos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.video-item {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.3s;
}
.video-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.video-item img {
  width: 100%;
  height: 120px;
  -o-object-fit: cover;
     object-fit: cover;
}
.video-item h3 {
  padding: 0.5rem;
  margin: 0;
  font-size: 1rem;
}

#video-player {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

#player-container {
  flex: 1;
  display: flex;
  flex-direction: column;
}

#vimeo-player {
  flex: 1;
}
#vimeo-player iframe {
  width: 100%;
  height: 100%;
}

#controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  background: #fff;
  border-radius: 8px;
  margin-bottom: 1rem;
}
#controls button {
  padding: 0.5rem 1rem;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
#controls button:hover {
  background: #0056b3;
}
#controls input[type=range] {
  flex: 1;
}

#annotations {
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
}
#annotations textarea {
  width: 100%;
  height: 60px;
  margin-bottom: 0.5rem;
}
#annotations button {
  padding: 0.5rem 1rem;
  background: #28a745;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
#annotations button:hover {
  background: #218838;
}
#annotations #notes-list {
  margin-top: 1rem;
}
#annotations #notes-list .note {
  background: #f8f9fa;
  padding: 0.5rem;
  margin-bottom: 0.5rem;
  border-radius: 4px;
}

@media (max-width: 768px) {
  #videos {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
  #controls {
    flex-direction: column;
    align-items: stretch;
  }
  #controls input[type=range] {
    margin: 0.5rem 0;
  }
}
/*# sourceMappingURL=styles.css.map */