@import url('https://fonts.googleapis.com/css2?family=Roboto:ital@0;1&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: 'Roboto', sans-serif;
}

/* Header start */

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

header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
 }

 .header-left{
    display: flex;
    align-items: center;
 }

 .header-left img{
    width: 100px;
    margin-left: 15px;
 }
 .header-left i{
    padding: 0px 7px;
    cursor: pointer;
 }

 .header-search{
    display: flex;
    
 }

 .header-search form{
    height: 40px;
    display: flex   ;
    border: none;
 }

 .header-search input{
     width: 536px;
     padding: 10px ;
     font-size: medium;
     border-top-left-radius: 40px;
     border-bottom-left-radius: 40px;
     border-right: none;
     border: 2px solid #ddd;
 }

 .header-search button {
    height: 100%;
    width: 64px;
    border-top-right-radius: 40px;
    border-bottom-right-radius: 40px;
    border: 2px solid #ddd;
    border-left:none;
 }

 .search-mic {
    margin-left: 10px;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
 }

 .search-mic:hover{
    background-color: #e5e5e5;
 }

 /* header ends */

 main{
    height: calc(100vh - 70px);
    display: flex;
    overflow: hidden;
 }

 /* sidebar start */

 aside{
    height: 100%;
    width: 280px;
    background-color: white;
    overflow-y: scroll;
 }

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

.sidebar-category{
    display: flex;
    align-items: center;
    padding: 12px 25px;
}

.sidebar-category span{
    margin-left: 15px;
}

.sidebar-category:hover{
    background-color: #e5e5e5;
    cursor: pointer;
}

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

hr{
    height: 1px;
    background-color: #e5e5e5;
    border: none;
}

/* sidebar ends */

/* recommend starts */

.recommend span{
    margin-left: 10px;
    height: 100%;
    width: 50px;
    color: black;
    background-color: #e5e5e5;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 6px 13px;
    font-weight: bold;
}

#recommend-All{
    color: white;
    background-color: black;
    border: none;
}

.recommend span:hover{
    background-color: #e5e5e5;
    cursor: pointer;
}

/* video */

.videos{
    background-color: #f9f9f9;
    width: 100%;
    height: 100%;
    padding: 15px 25px;
    border-top: 1px solid #ddd;
    overflow-y: scroll;

}

    .videos-container{
        margin-top: 50px;
        display: flex;
        flex-direction: row;
        justify-content: space-around ;
        gap: 4px;
        flex-wrap: wrap;
    }

    .video{
        width: 400px;
        margin-right:5px;
        margin-bottom: 30px;

    }

.video-thumbnail{
    width: 100%;
    height: 225px;
    object-fit: cover;
}

.video-thumbnail img{
    object-fit: cover;
    border-radius: 8px;
    height: 100%;
    width: 100%;
}
.author img{
    object-fit: cover;
    border-radius: 50%;
    height: 40px;
    width: 40px;
    margin-right: 10px;
}

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

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

.title a,span{
    text-decoration: none;
    color: rgb(96, 96, 96);
    font-size: 14px;


}