/* your styles go here */
/* Example site test */

.box-image-text .image {
  min-height: 190px;
  max-height: 190px;
}

.box-image-text .image img {
  max-height: 190px;
  margin: auto;
}

.box-simple {
  min-height: 230px;
}

.top {
  background-color: #80cbd9;
}

/* 缩略图样式 */
.thumbnail {
  position: relative;
  width: 100%;
  cursor: pointer;
}

.thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

/* 播放按钮图标 */
.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  color: white;
  display: none;
}

.thumbnail:hover .play-icon {
  display: block;
}

/* 背景遮罩 */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  /* 半透明背景 */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* 视频弹出窗口 */
.video-popup {
  position: relative;
  width: 800px;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 10000;
}

/* 关闭按钮 */
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  background: transparent;
  border: none;
  color: black;
  cursor: pointer;
  z-index: 10001;
}

.close-btn:hover {
  color: red;
}

/* 视频播放器 */
#videoPlayer {
  width: 100%;
  height: auto;
  display: block;
}

.play-btn {
  border: 2px solid rgba(255, 255, 255, 0.7);
  /* 白色边框，透明效果 */
  background-color: transparent;
  /* 透明背景 */
  color: white;
  /* 白色字体，透明效果 */
  padding: 10px 20px;
  /* 内边距 */
  border-radius: 5px;
  /* 边角圆润 */
  font-size: 16px;
  /* 字体大小 */
  cursor: pointer;
  /* 鼠标指针变为手形 */
  transition: background-color 0.3s, color 0.3s;
  /* 渐变效果 */
}

/* 鼠标悬停效果 */
.play-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
  /* 悬停时背景淡出 */
  color: white;
  /* 悬停时字体变为不透明白色 */
}

/* 遮罩样式 */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  /* 默认隐藏 */
  justify-content: center;
  /* 垂直居中 */
  align-items: center;
  /* 水平居中 */
}

/* 视频弹窗样式 */
.video-popup {
  position: relative;
  background: white;
  padding: 20px;
  border-radius: 8px;
}

/* 关闭按钮样式 */
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
}