.video-container,
.video-container .video-thumbnail,
.video-container .video,
.video-container img {
  /* border-radius: 0 20px 0 20px; */
  overflow: hidden;
  width: 100%;
}

.gfg {
  padding-bottom: 10px;
  display: flex;
  justify-content: space-around;
  flex-direction: column;
  font-size: 24px;
  font-weight: 600;
  color: #01940b;
  align-items: center;
}

.video-container {
  position: relative;
  margin: 0 auto;
  background-color: black;
}

.video-thumbnail {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.controls {
  position: absolute;
  bottom: 0px;
  left: 0;
  right: 0;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  padding: 10px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  gap: 10px;
}

.controls button {
  background-color: transparent;
  border: none;
  color: #fff;
  font-size: 9px;
  cursor: pointer;
  outline: none;
}

.left {
  width: 70px;
  display: flex;
  justify-content: space-between;
  gap: 7px;
  line-height: 0;
}

.video-timer {
  display: flex;
  flex-direction: row;
  color: #efefef;
  margin-left: 15px;
  font-size: 12px;
  line-height: 0;
}

.video-timer .separator {
  margin: 0 5px;
  font-size: 16px;
  font-family: "Open sans";
}

.right {
  display: flex;
  align-items: center;
  position: relative;
}

.volume-wrapper {
  display: flex;
  align-items: center;
  position: relative;
}

.volume-container {
  display: flex;
  align-items: center;
  position: absolute;
  top: -30px; /* Adjusted to position above the controls */
  right: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.volume-wrapper:hover .volume-container {
  opacity: 1;
  visibility: visible;
}

.volume {
  margin-left: 5px;
  width: 50px;
  height: 3px;
}

.mute {
  color: white;
  cursor: pointer;
  z-index: 1;
  font-size: 12px;
}

.playback-line {
  position: relative;
  height: 4px;
  background-color: #ddd;
  width: -webkit-fill-available;
  cursor: pointer;
}

.progress-bar {
  height: 100%;
  width: 0;
  background-color: #0078d4;
  transition: width 0.1s linear;
}

.right button {
  margin-left: 10px;
  color: #fff;
}

.playback-speed {
  margin-left: 10px;
  background-color: transparent;
  border: 1px solid #fff;
  color: white;
  padding: 5px;
  cursor: pointer;
  outline: none;
  font-size: 12px;
}

.playback-speed option {
  color: black;
}

.fullscreen {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: transparent;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  outline: none;
  z-index: 2;
}

.fullscreen.fullscreen-active {
  top: auto;
  left: auto;
  position: static;
  margin-left: 10px;
}
