*,
*::before,
*::after {
  box-sizing: border-box;
}
:root {
  /* COLORS */
  --main-bg-color: #0f0f0f;
  --second-bg-color: #222222;
  --font-color: #e4e4e4;
  --second-font-color: #908f8f;
  --border-color: #5b5b5b;
  --comment-sec-bg-color: #898888;
  /* HEIGHTS */
  --top-header-h: 56px;
  /* WIDTHS */
  --side-bar-w: 0px;
}
/* short video section */
.short-video-section {
  background-color: var(--main-bg-color);
  width: 100%;
  height: calc(100% - 25px);
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  display: none;
  justify-content: center;
  align-items: start;
  flex-direction: column;
  padding: 15px 0;
  margin-top: 25px;
}
/* short video card */
.short-video-section .short-video-card {
  height: clamp(80svh, 85svh, 90svh);
  aspect-ratio: 9/16;
  border-radius: 10px;
  background-color: var(--main-bg-color);
  position: relative;
  margin-bottom: 20px;
  scroll-snap-align: start none;
}
/* short video player(video) */
.short-video-section .short-video-card .short-video-player {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background-color: #414141;
  background-image: linear-gradient(45deg, #414141 0%, #1b1b1b 100%);
  animation-name: sv-ani-for-load-v;
  animation-duration: 2.5s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  background-size: 1000% 1000%;
  animation-fill-mode: backwards;
}
@keyframes sv-ani-for-load-v {
  0% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 50% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  75% {
    background-position: 50% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
/* .short-video-player[poster]{
  object-fit:cover;
} */
/* short video volume mute/unmute button */
.short-video-card .volume-c {
  position: absolute;
  font-size: 2rem;
  color: white;
  top: 15px;
  left: 20px;
  display: none;
  opacity: 0;
  transition: opacity, 0.25s;
}
.short-video-card:hover .volume-c {
  opacity: 1;
  transition: opacity, 0.25s;
}
/* sv-play-pause-btn */
.sv-play-pause-btn {
  position: absolute;
  font-size: 5rem;
  color: white;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity, 0.25s;
  font-weight: 900;
  background-color: #00000086;
  padding: 5px;
  border-radius: 50%;
  height: 7rem;
  width: 7rem;
  display: flex;
  justify-content: center;
  align-items: center;
  animation-name: sv-play-pause-btn-animation;
  animation-duration: 2.5s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-fill-mode: backwards;
}
.short-video-card:hover .sv-play-pause-btn {
  opacity: 1;
  transition: opacity, 0.25s;
}
/* animation */
@keyframes sv-play-pause-btn-animation {
  0% {
    color: white;
    box-shadow: 0px 0px 3px 3px green;
  }
  25% {
    color: rgb(181, 180, 180);
    box-shadow: 0px 0px 2px 2px green;
  }
  50% {
    color: rgb(137, 137, 137);
    box-shadow: 0px 0px 1px 1px green;
  }
  75% {
    color: rgb(185, 185, 185);
    box-shadow: 0px 0px 2px 2px green;
  }
  100% {
    color: white;
    box-shadow: 0px 0px 3px 3px green;
  }
}
.short-video-info {
  position: absolute;
  width: 100%;
  height: auto;
  background-color: transparent;
  right: 0;
  bottom: 15px;
  padding: 10px;
}
.short-video-info a {
  display: flex;
  justify-content: start;
  align-items: center;
  width: 100%;
  font-size: 1.4rem;
  color: var(--second-font-color);
  font-weight: 600;
}
.short-video-info .short-video-profile {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}
.short-video-info .short-video-title {
  width: 100%;
  font-size: 1.5rem;
  font-weight: 525;
  color: var(--font-color);
  padding-top: 10px;
  font-family: "Roboto", sans-serif;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  color: var(--font-color);
  color: #e4e4e4;
  overflow: hidden;
}
/* short video fetures */
.short-video-section .short-video-card .short-video-like-dislike-share {
  position: absolute;
  height: 50%;
  width: 20%;
  left: calc(100% + 10px);
  bottom: 10%;
  display: flex;
  justify-content: space-around;
  align-items: start;
  flex-direction: column;
}
.short-video-like-dislike-share li {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-size: 1.5rem;
  font-weight: 500;
}
.short-video-like-dislike-share i {
  font-size: 3rem;
  background-color: var(--second-bg-color);
  padding: 15px;
  border-radius: 50%;
  font-weight: normal;
}
