*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #212121;
  --text: #e8e8ec;
  --text-muted: #8e8e96;
  --white: #ffffff;
  --black: #000000;
  --dark-green: #0e4f56;
  --default-font: "DM Sans", system-ui, sans-serif;
}

html, body {
  height: 100%;
  font-family: var(--default-font), serif;
  background: var(--bg);
  background-image: url("../img/videos-background.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--text);
  overflow: hidden;
}

.app {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px;
  height: 100vh;
}

.video-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 40px;
  overflow-y: auto;
}
@media screen and (max-width: 900px) {
  .video-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 560px) {
  .video-list {
    grid-template-columns: 1fr;
  }
}

.video-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: transparent;
  border: none;
  position: relative;
}
.video-card .video-length-badge {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: -40px;
  right: 0;
  height: 40px;
  background: var(--white);
  color: var(--dark-green);
  font-size: 16px;
  font-weight: 600;
  padding: 5px 10px;
  font-variant-numeric: tabular-nums;
  z-index: 1;
}
.video-card .video-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.video-card .video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-card .video-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.video-card .video-info h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.video-btn {
  align-self: flex-start;
  padding: 10px 24px;
  background: transparent;
  color: var(--text);
  border: 2px solid var(--text);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.15s, color 0.15s;
}
.video-btn:hover {
  background: var(--text);
  color: var(--bg);
}

.video-empty {
  padding: 30px;
  color: var(--text-muted);
  font-size: 14px;
}

.video-detail {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px;
  width: 100%;
}
@media screen and (max-width: 1280px) {
  .video-detail {
    padding: 0;
  }
}
.video-detail .video-detail-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
}
.video-detail .video-detail-player {
  display: flex;
  max-width: 100%;
}
.video-detail .video-detail-player video {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  display: block;
}
.video-detail .video-detail-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/*# sourceMappingURL=videos.css.map */
