.video-display {
  margin-bottom: 25px;
}

.video-window {
  display: flex;
  justify-content: center;
  position: relative;
}

  /* set opacity: 0; */
.video-window-function-container {
  position: absolute;
  width: 100%;
  height: 65px;
  bottom: 0;
  opacity: 0;
  transition: opacity 0.15s;
}

.video-window:hover .video-window-function-container {
  opacity: 1;
}

.video-window:hover .video-playing{
  /* -webkit-filter: brightness(70%); */
  filter: brightness(70%);
  /* -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -o-transition: all 1s ease;
  -ms-transition: all 1s ease;
  transition: all 1s ease; */
}

.video-window-play-container {
  display: block;
  position: relative;
  width: 100%;
  height: 10px;
  cursor: pointer;
  padding: 5px 1%;
  transition: height 1s width 1s border-radius 1s top 1s background-color 1s;
}

.video-window-play {
  -webkit-appearance: none;
  appearance: none;
  width: 98%;
  height: 3px;
  background-color: rgba(240, 240, 240, 0.45);
  outline: none;
  margin: 0;
  transition: height 0.15s;
}

.video-window-play::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 2px;
  height: 3px;
  background-color: red;
  cursor: pointer;
}

.video-window-play-container:hover .video-window-play {
  -webkit-appearance: none;
  appearance: none;
  width: 98%;
  height: 5px;
  background-color: rgba(240, 240, 240, 0.45);
  outline: none;
  margin: 0;
}

.video-window-play-container:hover .video-window-play::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 10px;
  background-color: red;
  cursor: pointer;
}

.video-window-play-button{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 45px;
  padding: 0px 12px;
}

.video-window-play-left,
.video-window-play-right {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.play-button-container {
  margin-right: 12px;
  margin-left: 12px;
}

.video-play-button {
  width: 18px;
  cursor: pointer;
}

.video-next-button {
  width: 28px;
  cursor: pointer;
}

.sound-button-container {
  margin-right: 25px;
  position: relative;
  display: flex;
  align-items: center;
}

.volume-sider-container {
  margin: 0;
  display: flex;
  align-items: center;
}

.volume-sider {
  -webkit-appearance: none;
  appearance: none;
  -moz-appearance: none;
  width: 0px;
  background-color: rgba(240, 240, 240, 0.45);
  outline: none;
  height: 5px;
  margin: 0;
  opacity: 0;
  transition: width 0.15s;
}

.volume-sider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 10px;
  background-color: white;
  cursor: pointer;
}

.volume-sider:-moz-range-progress {
  background-color: white;
}

.video-sound-button{
  width: 25px;
  margin-left: 10px;
  cursor: pointer;
}

.sound-button-container:hover .volume-sider {
  opacity: 1;
  width: 50px;
  margin-left: 10px;
}

.video-playing {
  width: 100%;
}

.time {
  color: white;
  font-size: 13px;
}

.video-title {
  font-size: 20px;
  font-weight: 500;
  padding: 12px 0px;;
}

@media (min-width: 650px) {
  .video-function {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
  }
}

@media (max-width: 649px) {
  .video-function {
    display: flex;
    flex-direction: column;
  }

  .right-function {
    margin-top: 12px;
    margin-bottom: 12px;
  }
}

.left-function {
  display: flex;
  align-items: center;
  margin-right: 50px;
}

.profile-picture {
  width: 40px;
  border-radius: 25px;
  margin-right: 10px;
}

.channel-name {
  font-weight: 500;
  font-size: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.channel-sub {
  font-size: 12px;
  color: rgb(96, 96, 96);
  margin: 0;
  white-space: nowrap;
}

.channel {
  margin-right: 25px;
}

.subscriber-button {
  background-color: black;
  color: white;
  font-weight: 500;
  font: 14px;
  line-height: 36px;
  padding: 0 16px;
  border-radius: 25px;
  border: solid;
  cursor: pointer;
}

.right-function {
  display: flex;
}

.like-hate {
  width: 135px;
  height: 36px;
  display: flex;
  border-radius: 40px;
  overflow: hidden;
  margin-right: 10px;
  border: none;
  position: relative;
}

.border {
  background-color: lightgray;
  position: absolute;
  width: 1px;
  height: 20px;
  z-index: 100;
  left: 83px;
  top: 8px;
}

.like-button, .hate-button, .share-button, .save-button, .more-button {
  display: flex;
  align-items: center;
  border: none;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
}

.like-button:hover, .hate-button:hover, .share-button:hover, .save-button:hover, .more-button:hover {
  background-color: rgb(230, 230, 230);
}

.like-button {
  padding: 0 15px;
  font-weight: 500;
}

.hate-button {
  padding-right: 15px;
  padding-left: 12px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0)
}

.button-img {
  width: 20px;
  margin-right: 5px;
}

.share-button, .save-button {
  height: 36px;
  border-radius: 40px;
  /* width: 90px; */
  padding: 12px;
  justify-content: center;
  margin-right: 10px;
  font-weight: 500;
}

@media (min-width: 650px) and (max-width: 813px) {
  .save-button {
    display: none;
  }
}  

.more-button {
  height: 36px;
  border-radius: 38px;
  width: 38px;
  justify-content: center;
  font-weight: 500;
}

.more-button-img {
  width: 15px;
}

.video-discription {
  background-color: rgba(0, 0, 0, 0.05);
  padding: 10px 12px;
  border-radius: 10px;
  position: relative;
}

.video-stats {
  font-size: 14px;
  font-weight: 500;
}

.discription {
  font-size: 14px;
  margin-top: 2px;
  margin-bottom: 0;
}

.show-more {
  position: absolute;
  font-size: 14px;
  font-weight: 500;
  bottom: 0px;
  left: 142px;
  padding: 8px;
  background-color: rgba(240, 240, 240, 0.85);
  cursor: pointer;
}
