*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*:focus{
    outline: none;
}

body{
    position: relative;
    background: #0f0f0f;
    font-family: 'roboto', sans-serif;
}

.navbar{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: #0f0f0f;
    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: 30px;
    margin: -10px 30px 0;
}

.search-box{
    position: relative;
    max-width: 500px;
    width: 50%;
    height: 35px;
    display: flex;
}

.search-bar{
    width: 85%;
    height: 100%;
    border: 1px solid #979797;
    padding: 0 20px;
    font-size: 16px;
    text-transform: capitalize;
    background-color: #0f0f0f;
    border-radius: 2%;
}

.search-btn{
    width: 15%;
    height: 100%;
    background: #0f0f0f;
    border: 2px solid #272727;
    padding: 5px 0;
    border-left: none;
}

.search-btn img{
    height: 100%;
}

.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: 250px;
    width: 250px;
    height: calc(100vh - 60px);
    background: #0f0f0f;
    padding-right: 10px;
    color: #ffffff;
}

.links{
    display: block;
    width: 100%;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    text-transform: capitalize;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.links img{
    height: 25px;
    margin-right: 20px;
}

.links:hover,
.links.active{
    background: rgba(255, 255, 255, 0.1);
}

.seperator{
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

/* filter */

.filters{
    position: fixed;
    left: 250px;
    top: 60px;
    width: calc(100% - 250px);
    height: 60px;
    background: #0f0f0f;
    border-top: 1px solid #0f0f0f;
    border-bottom: 1px solid #0f0f0f;
    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: 10px 20px;
    border-radius: 50px;
    background: #1d1d1d;
    border: 1px solid #0f0f0f;
    text-transform: capitalize;
    margin-right: 10px;
    color: #ffffff;
    font-size: 15px;
    cursor: pointer;
}

.filter-options.active{
    color: #000000;
    background: #ffffff;
}

/* video */

.video-container{
    width: calc(100% - 250px);
    margin-top: 120px;
    margin-left: 250px;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(4, 21%);
    grid-gap: 20px 15px;
    overflow-x: hidden;
}

.video{
    min-height: 250px;
    height: auto;
}

.thumbnail{
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 1em;
    transition: 1s;
}

.thumbnail:hover{
    width: 100%;
    height: 210px;
    border: 1px solid #ffffff;
    object-fit: cover;
    border-radius: 1em;
    transform:scale(1.05);
}

.content{
    width: 100%;
    height: 100px;
    padding: 10px;
    display: flex;
    justify-content: left;
}

.channel-icon{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: -10px;
    margin-right: 10px;
}

.title{
    width: 100%;
    height: 40px;
    overflow: hidden;
    color: #ffffff;
    text-align: left;
}

.channel-name{
    font-size: 14px;
    margin: -13px 0;
    color: #979797;
}

.channel-name2{
    font-size: 14px;
    margin: 5px 0;
    color: #979797;
}

a:link {
    text-decoration: none;
}
  
a:visited {
    text-decoration: none;
}
  
a:hover {
    font-weight: bolder;
}
  
a:active {
    text-decoration: none;
}

.hr1{
    color: #4b4b4b;
    background-color: #4b4b4b;
    width: auto;
    height: 4px;
    border: solid 2px;
    border-radius: 50px;
    margin-left: 340px;
    margin-right: 90px;
    justify-content: center;
}

.video-container2{
    width: calc(100% - 250px);
    margin-top: 25px;
    margin-left: 250px;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(4, 21%);
    grid-gap: 20px 15px;
    overflow-x: hidden;
}

/* Scrollbar */

::-webkit-scrollbar{
    width: 8px;
}

::-webkit-scrollbar-track{
    border-radius: 50px;
}

::-webkit-scrollbar-thumb{
    background: #b4b4b4;
    border-radius: 50px;
}

::-webkit-scrollbar-thumb:hover{
    background: #777777;
    border-radius: 50px;
}