/* 
importing roboto 
light300
regular400
bold700

we copied this from import
*/

@import url('https://fonts.googleapis.com/css2?family=Fjalla+One&family=Mukta:wght@300&family=Poppins&family=Roboto+Condensed:wght@300;400&family=Roboto:wght@300;400;700&display=swap');

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

body{
    font-family: 'Roboto', sans-serif;

}

.material-icons{
    color:rgb(96,96,96);
}

.header{
    display:flex; 
    /* everything in header sorted in one row  */

    justify-content: space-between;
    align-items: center;
    height:70px;
    padding:15px;

}



.header_left{
    display: flex;
    align-items: center;
}


.header_left_img{
    width: 100px;
    margin-left: 15px;

}

.header i{
    padding: 0px 7px;  /* top bottom */
    cursor: pointer;
    /*when you hover over icons cursor turns to pointer */
}

.header_search form{
    border:1px solid white;
    height: 35px; 
    margin:0;
    padding:0;
    display:flex; 
}

.header_search input{
    width: 500px;
    padding: 10px;
    margin:0;
    border-radius: 0;
    border: none;
}

.header button{
    margin:0;
    padding:0;
    height:100%;
    border:none;
    border-radius: 0;
}

/* main body styling */
.mainbody{
    height: calc(100vh-70px);
    display:flex;
    overflow: hidden;

}

/*side bar */
.sidebar{
    height: 100%;
    width: 230px;
    background-color: white;
    overflow-y: scroll;
}

.sidebar_categories{
    width: 100%;
    display:flex;
    flex-direction: column;
    margin-bottom: 15px;
    margin-top: 15px;
}

.sidebar_category{
    display: flex;
    align-items: center;
    padding:12px 25px;

}

.sidebar_category span{
    margin-left: 15px;
}

.sidebar_category:hover{
    background: lightgrey;
    cursor:pointer;
}

/*to hide scroll bar */
.sidebar::-webkit-scrollbar {
    display: none;
}

hr {
    height: 1px;
    background-color: lightgrey;
    border: none;

}


/*video section */

.videos {
    background-color: whitesmoke;
    width: 100%;
    height:100%;
    padding 15px 25px;
    border-top: 15px solid white;
    overflow-y: scroll;
}

.videos_container{
    display:flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
}

.video {
    width:310px;
    margin-right: 10px;
    margin-bottom:30px;
}

.thumbnail {
    width:100%;
    height:170px;
}

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

.author img{
    object-fit: cover;
    border-radius: 50%;
    height:30px;
    width:30px;
    margin-right:10px;
    margin-top:5px;
}

.videodetails {
    display: flex;
    margin-top:10px;
}

.title {
    display:flex;
    flex-direction: bottom;
}

.title h3{
    color: rgb(3,3,3);
    line-height: 18px;
    font-size: 10px;
    margin-bottom: 6px;
}

.title a, span{
    text-decoration: none;
    color: grey;
    font-size: 14px;
}

h1{
    font-size: 20px;
    margin-bottom: 10px;
    color: rgb(3,3,3);
}














