:root {
  --main-color: black;
  --main-bg: white;
}
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
body {
  font-family: 'Roboto', sans-serif, Arial;
  padding-top: 60px;
  min-height: 100vh;
  background-color: var(--main-bg);
}
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-thumb {
  background-color: #c8c7c7;
  border-radius: 8px;
}
::-webkit-scrollbar-track {
  background-color: #EEE;
  border-radius: 8px;
}
.list::-webkit-scrollbar-track {
  background-color: transparent;
}
.list::-webkit-scrollbar {
  width: 5px;
}
.loader {
  width: 30px;
  height: 30px;
  background-color: red;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  animation: load 1.5s alternate infinite;
  display: none;
}
body.load > *:not(.loader){
  display: none;
}
body.load .loader {
  display: block;
}

@keyframes load {

  100% {
    width: 0;
    height: 0;
    opacity: 0;
  }
}



header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  height: 60px;
  padding: 0 10px;
  box-shadow: 0 0 10px #777;
  position: fixed;
  width: 100%;
  inset: 0;
  z-index: 1000;
  background-color: var(--main-bg);
}
header .left {
  display: flex;
  align-items: center;
  gap: 2px;
  cursor: pointer;
}
header .left i {
  transition: .3s;
  padding: 10px;
  border-radius: 50%;
  color: var(--main-color);
}
header .left i:hover {
  background-color: #888;
}
header .left .logo {
  width: 100px;
}
header .mid .form {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 600px;
  max-width: 100%;
  height: 40px;
}
header .mid .form input {
  outline: none;
  padding: 10px 10px 10px 15px;
  border-radius: 20px 0 0 20px;
  border: 1px solid #DDD;
  width: 500px;
  max-width: 100%;
}
@media (max-width: 991px) {
  header .mid .form {
    width: 400px;
  }
  header .mid .form input {
    width: 90%;
  }
}
@media (max-width: 767px) {
  header .mid .form {
    width: 300px;
  }
  header .mid .form input {
    width: 200px;
  }
}
header .mid .form input:focus {
  border: 1px solid #0075ff;
}
header .mid .form button.search {
  padding: 10px 15px;
  border-radius: 0 20px 20px 0;
  border: 1px solid #DDD;
  cursor: pointer;
  transition: .3s;
}
@media (max-width: 675px) {
  header .right {
    display: none;
  }
  header .right a.vid{
    display: none;
  }
  header .mid .form {
    width: fit-content;
  }
  header .form input.search {
    display: none;
  }
  header .mid .form button.search {
    color: var(--main-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    text-align: center;
    background-color: transparent;
    border: none;
  }
}
header .mid .form .microphone {
  display: block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  margin-left: 10px;
  cursor: pointer;
  transition: .3s;
}
header .right {
  display: flex;
  gap: 5px;
}
header .right a {
  color: var(--main-color);
  transition: .3s;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-size: 18px;
}
header .mid .form button.search:hover,
header .mid .form i:hover,
header .right a:hover {
  background-color: #888;
}

.content-area {
  display: flex;
  gap: 20px;
  height: (100vh - 56px);
  background-color: var(--main-bg);
}
.content-area .navbar {
  width: 230px;
  background-color: var(--main-bg);
  padding: 15px;
  height: calc(100vh - 56px);
  overflow-y: scroll;
  position: sticky;
  top: 60px;
  z-index: 1000;
}
.content-area .navbar.hide {
  display: none;
}
@media (max-width: 675px) {
  .content-area .navbar {
    position: fixed;
    width: 230px;
    left: 0;
    top: 56px;
  }
}
.content-area .navbar a {
  display: block;
  text-decoration: none;
  color: var(--main-color);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px;
  margin: 5px 0;
  border-radius: 6px;
  transition: .3s;
  cursor: pointer;
}
.content-area .navbar a * {
  pointer-events: none;
}
.content-area .navbar a.active,
.content-area .navbar a:hover {
  background-color: #888;
}
.navbar .mode i.moon {
  display: none;
}
.content-area .navbar a i {
  width: 20px;
}
.content-area .navbar hr {
  border: 1px solid #EEE;
  margin: 10px 0;
  display: block;
}
.content-area .navbar .subs img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
}
.content-area .navbar .subs span {
  font-size: 13px;
}
.content-area > .content {
  flex: 1;
  padding: 20px 15px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 50px 30px;
}
.content-area .content .box {
  position: relative;
  cursor: pointer;
  text-align: center;
}
.content-area .content .box .image {
  height: 200px;
  position: relative;
  overflow: hidden;
  margin-bottom: 10px;
}
.content-area .content .box[data-playlist="false"] .image::before {
  display: none;
}
.content-area .content .box .image::before {
  content: 'Playlist';
  position: absolute;
  width: 100%;
  height: 35px;
  left: 0;
  bottom: 0;
  background-image: linear-gradient(90deg, #0077ffb7, #009687b2);
  color: #000000;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
}
.content-area .content .box .image img{
  width: 100%;
  height: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}
.content-area .content .box .description {
  display: flex;
  justify-content: center;
  /* align-items: start; */
  gap: 15px;
  padding: 0 15px;
}
.content-area .content .box .description img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #EEE
}
.content-area .content .box .text p {
  font-size: 16px;
  margin-bottom: 5px;
  color: var(--main-color);
}
.content-area .content .box .text span, 
.content-area .content .box .text .info {
  color: #777;
  font-size: 14px;
  margin-top: 5px;
}



.box * {
  pointer-events: none;
}



.video-popup {
  position: fixed;
  justify-content: space-evenly;
  width: 100%;
  height: 100%;
  top: 56px;
  background-color: var(--main-bg);
  overflow: hidden;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 20px 30px;
}
.video-popup.hide {
  display: none;
}
.video-popup .close {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 30px;
  height: 30px;
  border: 2px solid red;
  color: red;
  border-radius: 50%;
  text-align: center;
  line-height: 28px;
  cursor: pointer;
  font-weight: bold;
}
.video-popup > div {
  padding: 10px;
  text-align: center;
}
.video-popup .list {
  width: 40%;
  overflow: auto;
  border: 1px solid #DDD;
  position: relative;
  max-height: 500px;
  border-radius: 6px;
  direction: rtl;
}
.video-popup .list .videos {
  direction: ltr;
}
.video-popup .list .head {
  position: sticky;
  left: 0;
  top: 0;
  width: 100%;
  padding: 20px;
  background-color: #DDD;
  display: flex;
  justify-content: space-between;
}
.video-popup .videos {
  padding: 10px 0;
}
.video-popup .videos .video {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 10px;
  padding: 15px 10px;
  cursor: pointer;
}
.video-popup .videos .video:not(:last-child){
  border-bottom: 2px solid #DDD;
}
.video-popup .videos .video .content {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 15px;
  font-size: 13px;
  flex: 1;
  /* font-size: 13px !important; */
}
.video-popup .videos .video .content > div {
  flex: 1;
}
.video-popup .videos .video .content span{
  display: block;
  margin-top: 10px;
  font-size: 12px;
  color: #777;
}
.list .num {
  color: var(--main-color);
}
.video-popup .videos .video img {
  width: 100px;
  height: 60px;
  border-radius: 6px;
}
.video-popup .video {
  flex: 1;
}
.video-popup .video iframe {
  width: 100%;
  height: 400px;
}
.video-popup .video button.sub {
  padding: 8px;
  color: white;
  background: red;
  border: none;
  outline: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 5px;
}
@media (max-width: 767px) {
  .video-popup > div {
    width: 100%;
    padding: 10px 0;
  }
}
.video-popup .video div.title {
  font-size: 18.5px;
  padding: 10px;
  color: var(--main-color) !important;
}
.video-popup .video .title .info {
  color: #777;
  font-size: 15px;
  margin-top: 5px;
}
.video-popup .list {
  background-color: var(--main-bg);
}
.video-popup .list .video .num{
  min-width: 20px;
  font-size: 14px;
}

.video-popup .list .title {
  color: var(--main-color) !important;
}
@media (max-width: 900px) {
  .video-popup {
    flex-direction: column-reverse;
    justify-content: start;
    padding: 30px 0;
  }
  .video-popup .list {
    width: 100%;
    height: 400px;
  }
  .video-popup > .video {
    max-height: 300px;
    margin-bottom: 15px;
  }
  .video-popup .video iframe + .title{
    font-size: 16px !important;
    padding-bottom: 0 !important;
    color: var(--main-color) !important;
  }
  .video-popup .video iframe {
    height: 200px;
    width: 100%;
  }
}

.input-parent {
  display: none;
}
@media (max-width: 675px) {
  .search-phone {
    display: block;
    border-radius: 6px !important;
    width: 250px !important;
    padding: 30px;
  }
  .form .input-parent {
    position: fixed ;
    width: 96%;
    height: 200px;
    left: 50%;
    top: 0;
    padding: 30px;
    background-color: var(--main-bg);
    z-index: 1000;
    border-radius: 4px;
    box-shadow: 0 0 15px #777;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translate(-50%, -150%);
    transition: .5s;
  }
  .form .input-parent.show {
    transform: translate(-50%, 0);
  }
  .search-btn {
    padding: 10px 15px;
    outline: none;
    border:none;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 5px;
  }
  .input-parent .close {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: red;
    border: 2px solid red;
    position: absolute;
    top: 12px;
    right: 12px;
    text-align: center;
    line-height: 28px;
    cursor: pointer;
  }
}