@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*:focus{
    outline: none;
}

/* width */
::-webkit-scrollbar {
    width: 7px;
  }

  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: rgb(87, 86, 86); 
    border-radius: 10px;
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: rgb(189, 189, 189); 
  }

body{
    position: relative;
    background: #f8f8f8;
    font-family: 'Roboto', sans-serif;
}

.navbar{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: #fff;
    display: flex;
    align-items: center;
    padding: 0 2.5vw;
}

.toggle-btn{
    width: 20px;
    height: 10px;
    position: relative;
    cursor: pointer;
}

.toggle-btn span{
    position: absolute;
    width: 100%;
    height: 2px;
    top: 50%;
    transform: translateY(-50%);
    background: #979797;
}

.toggle-btn span:nth-child(1){
    top: 0;
}

.toggle-btn span:nth-child(3){
    top: 100%;
}

.logo{
    height: 25px;
    /* margin: -10px 30px 0; */
    margin: -10px 30px 0;
}

.search-box{
    position: relative;
    max-width: 650px;
    width: 50%;
    height: 35px;
    display: flex;
    margin-left: 105px;
    cursor: pointer;
}

.search-bar{
    width: 100%;
    height: 100%;
    border: 1.5px solid #dbdbdb;
    padding: 17px 20px;
    font-size: 16px;
    text-transform: capitalize;
}

.search-btn{
    width: 10%;
    height: 107%;
    background: #f5f5f5;
    border: 1.5px solid #dbdbdb;
    padding: 5px 0;
    border-left: none;
}

.search-btn img{
    height: 100%;
}

.search-mic{
    margin-left: 20px;
    background: #e6e6e6;
    border-radius: 50%;
    padding: 3px 4px 1px 4px;
}

.user-options{
    height: 35px;
    display: flex;
    margin-left: auto;
    align-items: center;
}

.user-options .icon{
    height: 80%;
    margin-right: 20px;
    cursor: pointer;
}

.user-dp{
    cursor: pointer;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    overflow: hidden;
}

.user-dp img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* side-bar */

.side-bar{
    position: fixed;
    top: 60px;
    left: 0;
    min-width: 243px;
    width: 243px;
    height: calc(100vh - 60px);
    background: #fff;
    padding-right: 10px;
    overflow-y: scroll;
    /* margin-top: 20px; */
}
.side-bar::-webkit-scrollbar {
    width: 7px;
    /* background: white; */
  }

  .side-bar::-webkit-scrollbar-thumb {
    background: rgb(255, 255, 255); 
    border-radius: 10px;
  }
  
  /* Handle on hover */
  .side-bar::-webkit-scrollbar-thumb:hover {
    background: rgb(150, 149, 149); 
  }

.side-heading{
    /* display: block;
    width: 100%; */
    padding: 7px 20px;
    /* display: flex; */
    /* align-items: center; */
    /* text-transform: capitalize; */
    color: #5f5f5f;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
}

.subs-icon{
    /* background-color: black; */
    width: 10px;
    height: 10px;
    /* right: 0; */
    margin-left: auto;
    /* margin-right: -30px; */
}

.links{
    display: block;
    width: 100%;
    padding: 7px 20px;
    display: flex;
    align-items: center;
    text-transform: capitalize;
    color: #242424;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.links img{
    height: 25px;
    margin-right: 20px;
}

.links:hover,
.links.active{
    background: rgba(0, 0, 0, 0.1);
}

.seperator{
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

/* filter */

.filters{
    position: fixed;
    left: 243px;
    top: 60px;
    width: calc(100% - 243px);
    height: 56px;
    background: #fff;
    border-top: 1px solid #dbdbdb;
    border-bottom: 1px solid #dbdbdb;
    padding: 0 20px;
    display: flex;
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden;
}

.filters::-webkit-scrollbar{
    display: none;
}

.filter-options{
    flex: 0 0 auto;
    padding: 7px 12px;
    border-radius: 50px;
    background: #f0f0f0;
    border: 1px solid #dbdbdb;
    text-transform: capitalize;
    margin-right: 10px;
    color: #242424;
    font-size: 14px;
    cursor: pointer;
}

.filter-options.active{
    color: #fff;
    background: #242424;
}

/* video */

.video-container{
    width: calc(100% - 250px);
    margin-top: 120px;
    margin-left: 250px;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(4, 25%);
    grid-gap: 20px 5px;
    overflow-x: hidden;
}

.video{
    min-height: 250px;
    height: auto;
    cursor: pointer;
}

.thumbnail{
    /* width: 100%;
    height: 150px; */
    width: 255px;
    height: 125.8px;
    object-fit: cover;
}

.content{
    width: 100%;
    height: 100px;
    padding: 10px;
    display: flex;
    justify-content: space-between;
}

.channel-icon{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}

.title{
    width: 100%;
    height: 35px;
    overflow: hidden;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 10px;
}

.channel-info{
    font-size: 14px;
    margin: 2px 0;
    color: #707070;
}