@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

::-webkit-scrollbar{
  background: var(--light);
  width: 0.6em;
  margin: 0 10px;
}
::-webkit-scrollbar-track{
  width: 1em;
  margin: 0 10em;
  padding: 1em;
}
::-webkit-scrollbar-thumb{
  background: #747474;
  height: 4em !important;
  border-radius: 80px;
  margin: 0 10px;
  padding: 1em;
  background-clip: padding-box;
}

:root {
  --lighter: #313131;
  --light: #202020;
  --dark: #181818;
  --darker: #121212;
  --tag: #373737;
  --light-text: #909090;
  --dark-text: #6f6f6f;
  --text: #797979;
  --side_bg: #212121;
  --font: 'Roboto', sans-serif;
  --main-radius: 5px;
  --main-padding: 5px;
}
body{
    background-color: #181818 !important;
    margin: 0;
    padding: 0;
    font-family: "Roboto", sans-serif;
}

/* SIDEBAR START */

.sidebar {
  z-index: 999 !important;
  overflow: scroll !important;
  background: #2f323a;
  position: fixed;
  left: 0;
  width: 250px;
  height: 100%;
  transition: all 0.15s ease-in;
}

.sidebar a{
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  display: block;
  box-sizing: border-box;
  text-decoration: none;
  width: 100%;
  padding-left: 25px !important;
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
}

.sidebar i{
  padding-right: 10px;
}
.sidebar span{
  color: white;
}

label #sidebar_btn{
  z-index: 99999;
  color: #fff;
  position: fixed;
  cursor: pointer;
  left: 1rem;
  font-size: 20px;
}

#check:checked ~ .sidebar{
  left: -250px;
  overflow: hidden !important;
}
#check:checked ~ .sidebar a span{
  display: none;
}

.sidebar a:hover{
  background: #383838;
}

#check:checked ~ .sidebar a{
  font-size: 20px;
  margin-left: 170px;
  width: 80px;
}

#check:checked ~ .content{
    background-color: rgba(0, 0, 0, 0);
    margin-left: 0;
}

.content{
  background-color: rgba(0, 0, 0, 0.5);
}

#check{
  display: none;
}
#check:checked ~ .sidebar .sidebar-icon-1{
  display: none;
}

#check:checked ~ .sidebar .line{
  display: none;
}

#check:checked ~ .sidebar .footer{
  display: none;
}

#check:checked ~ .sidebar .channel-side{
  display: none;
}

#check:checked ~ .sidebar i{
  line-height: 2.5rem !important;
  font-size: 25px !important;
}

#check:checked ~ .sidebar .side-close{
  margin-left: 12rem;
  display: block;
}

.side-close{
  display: none;
  color: white;
  text-align: center;
  margin-left: -8.8rem;
  font-size: 10px;
}


.footer{
  font-size: 12px;
  flex-wrap: wrap;
  display: flex;
  font-weight: 700;
}

#sidebar {
  background: #202020;
  grid-area: sidebar;
  z-index: 999;
  display: none;
  margin-top: -3.5rem !important;
  min-width: 4rem !important;
}

.sidebar-container{
  margin-top: 5em;
  position: fixed;
  min-height: 100% !important;
}

.home-icon,
.explore-icon,
.subscription-icon,
.library-icon{
  margin-top: 1rem;
  font-size: 25px;
  text-align: center;
  color: #909090;
  transition: 150ms ease-in;
}
.tag-line{
  font-size: 10px;
  font-weight: 600;
  margin-top: 0 !important;
}

.home-icon:hover,
.explore-icon:hover,
.subscription-icon:hover,
.library-icon:hover{
  color: white;
  cursor: pointer;
}

.sidebar {
  top: 0;
  padding-top: 3.5rem;
  background: #202020;
  position: fixed;
  left: 0;
  width: 250px;
  height: 100%;
}

.sidebar a{
  color: #909090;
  display: block;
  width: 100%;
  line-height: 30px;
  text-decoration: none;
  padding-left: 40px;
  padding-right: 2rem;
  box-sizing: border-box;
}

.sidebar a:hover{
  color: white;
}

.line{
  width: 100%;
  background: #383838 !important;
  height: 0.1rem;
  margin-left: 0 !important;
  margin-top: 0.3rem !important;
}

.sidebar-icon,
.sidebar-icon-1{
  font-size: 22px !important;
  text-align: center !important;
  color: #909090 !important;
  transition: 150ms ease-in !important;
}
.sidebar-icon:hover,
.sidebar-icon-1:hover{
  color: white !important;
  cursor: pointer !important;
}
.subsc{
  color: #909090;
  margin-left: 2rem;
  margin-top: 0.5rem;
  font-weight: 800;
  font-size: 14px;
}

/* SIDEBAR END */

#navbar{
  z-index: 9999!important;
  width: 100%;
  left: 0;
  position: fixed;
  top: 0;
  background-color: rgb(32, 32, 32, 0.98) !important;
  height: 3.5rem;
  padding: 0 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.left{
  display: flex;
  flex-direction: row;
  align-items: center;
}
#sidebar_btn{
  color: white;
  cursor: pointer;
}
.logo-img{
  width: 100%;
  height: 1.5rem;
  min-height: 1.5rem !important;
}

.logo-link{
  margin-left: 3rem;
  width: 100%;
  height: 100%;
}

.center{
  display: flex;
  flex-direction: row;
  align-items: center;
  flex: 0 1 700;
  min-width: 0px;
  color: white;
}

.search_bar {
  margin-left: 1.5rem;
  width: 40em;
  height: 2rem;
  display: flex;
  border-radius: 2px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--tag);
}

.search {
  padding: 0 0.5em;
  height: 2rem;
  width: 100%;
  background: var(--darker);
  border: none;
  color: #fff;
  font-family: var(--font);
}

.search_btn {
  border: none;
  background: var(--lighter);
  color: var(--dark-text);
  padding: 0 1.5em;
}
.mic{
  font-size: 1rem;
  margin-left: 1rem;
  width: 2.1em;
  height: 2.1em;
  border-radius: 50%;
  color: #fff;
  background: var(--darker);
  border: none;
}
.right{
  color: white;
  min-width: 225px;
  align-items: center;
  display: flex;
  justify-content: flex-end;
}
.search-icon,
.add-video,
.more,
.notification{
  margin-right: 2rem;
  cursor: pointer;
}
.search-icon{
  display: none;
}

.profile{
  box-sizing: border-box;
  cursor: pointer;
}
.profile-pic{
  border-radius: 50% !important;
  width: 2rem;
  cursor: pointer;
}
.embed-vid{
  position: relative;
  width: 100%;
  padding-bottom: 44.50%; 
  height: 0;
}
.embed-vid iframe{
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
}
.content{
  /* margin-left: 1rem !important; */
  margin-top: 2rem !important;
}
.vid-title{
  margin-top: 0.5rem;
  color: white;
  margin-left: 1rem;
  font-weight: 600;
}
.views-time{
  font-size: 15px;
  font-weight: 600;
  margin-top: -0.5rem !important;
  margin-left: 1rem;
  color: #aaaaaa;
  margin-top: 0.5rem;
  flex: 1;
}
.v-like{
  display: flex;
  flex-direction: row;
  flex: auto;
}
.like-icon{
  color: #909090;
  margin-right: 0.5rem;
}
.like-icon:active,
.dislike-icon:active{
  color: #3ea6ff;
}
.like{
  color: #909090;
  margin-right: 1rem;
  font-size: 15px;
  font-weight: 600;
}
.dislike-icon{
  color: #909090;
  margin-right: 0.5rem;
}
.dislike{
  color: #909090;
  margin-right: 1rem;
  font-size: 15px;
  font-weight: 600;
}
.share-icon{
  color: #909090;
  margin-right: 0.5rem;
}
.share{
  color: #909090;
  margin-right: 1rem;
  font-size: 15px;
  font-weight: 600;
}
.save-icon{
  color: #909090;
  margin-right: 0.5rem;
}
.save{
  color: #909090;
  margin-right: 1rem;
  font-size: 15px;
  font-weight: 600;
}
.dot-icon{
  margin-right: 5rem;
  color: #909090;
}


@media only screen and (max-width:1024px){
    .video-js{
        width: 1000px;
        height: 563px;
    }
}

@media only screen and (max-width: 768px) {
    .grid-container {
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-template-rows: 0.10fr 1fr 1fr 1fr 0.05fr!important;
        grid-template-areas:
        "nav"
        "content1"
        "content2"
        "content3"
        "sidebar";
    }
    .sidebar{
        display: none !important;
    }
    .content{
        margin-left: 0px;
    }
    #sidebar{
        display: block;
    }
    .search-icon{
        display: block;
    }
    .search_bar {
        display: none;
    }
    .mic{
        display: none;
    }
    .more{
        display: none;
    }
    .filters{
        left: 0;
    }
    #content1{
        margin-top: 4rem !important;
    }
    #sidebar_btn{
        display: none;
    }
    .logo-link{
        margin-left: 0;
    }
    #sidebar{
        margin-top: 0;
        position: fixed;
        display: block;
    }
    .sidebar{
        display: none;
    }
    .sidebar-container{
        display: flex;
        flex-direction: row;
        justify-content: center !important;
        background-color: #212121;
        top: 80%;
        gap: 10rem;
        width: 100%;
        bottom: 0;
    }
    .vid-title{
        margin-top: 0.5rem;
        color: white;
        margin-left: 1rem;
        font-size: 25px;
    }
    .views-time{
        margin-left: 1rem;
        color: #707070;
        margin-top: 0.5rem;
        font-size: 20px;
    }
    .video-js{
        width: 700px !important;
        height: 394px !important;
        margin-top: 3rem;
        margin-left: 1rem;
    }
}

@media only screen and (max-width: 460px) {

    .vid-title{
        margin-top: 0.5rem;
        color: white;
        margin-left: 1rem;
        font-size: 250x;
    }
    .views-time{
        margin-left: 1rem;
        color: #707070;
        margin-top: 0.5rem;
        font-size: 15px;
    }
    .video-js{
        width: 400px !important;
        height: 225px !important;
        margin-top: 3rem;
        margin-left: 1rem;
    }
}

@media only screen and (max-width: 370px) {
    .vid-title{
        margin-top: 0.5rem;
        color: white;
        margin-left: 1rem;
        font-size: 250x;
    }
    .views-time{
        margin-left: 1rem;
        color: #707070;
        margin-top: 0.5rem;
        font-size: 15px;
    }
    .video-js{
        width: 340px !important;
        height: 191px !important;
        margin-top: 3rem;
        margin-left: 1rem;
    }
}