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

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

html {
    font-size: 10px;
}

body {
    font-family: "Roboto","Arial",sans-serif;
}
header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 56px ;
    padding: 0 16px;
}
.left-section{
    display: flex;
    align-items: center;
    cursor: pointer;
}
.left-section img{
    width: 46%;
    padding-left: 16px;
}
.mid-section{
    display: flex;
    align-items: center;
    margin-left: -9%;
}
.mid-section form{
    display: flex;
    width: 628px;
    height: 40px;
}
.mid-section input{
    width: 100%;
    border-radius: 2px 0 0 2px;
    padding: 12px;
    font-size: 1.6rem;
    border: 1px solid #d3d3d3;
    border-right: none;
}
.mid-section button{
    width: 64px;
    border: 1px solid #d3d3d3;
    border-radius: 0 2px 2px 0;
    padding-top: 4px;
    background-color: #f8f8f8;
    cursor: pointer;
}
.mid-section button:hover{
    background-color:#f0f0f0 ;
    border-color: #c6c6c6;
}
.mid-section .mic{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left:10px ;
    cursor: pointer;
}
.right-section a{
    padding-right: 18px;
    text-decoration: none;
    color: black;
}
.content-area{
    height: calc(100vh - 56px);
    display:flex ;
    background-color: #f9f9f9;
}
aside{
    height: 100%;
    width: 280px;
    background-color: white;
    overflow-y: auto;
}
nav{
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: 15px 0;
    padding-right: 15px;
}
.nav-link{
    display: flex;
    align-items: center;
    padding: 10px 16px ;
    text-decoration: none;
    color: black;
}
.nav-link:hover{
    background-color: rgba(0, 0, 0, 0.03);
}
.nav-link span{
    margin-left: 24px;
    font-size: 1.4rem;
    line-height:2em ;
    font-weight: 400;
    color: #030303;

}
.active{
    background-color: #efefef;
}
#active-span{
    font-weight: 500;
}
hr{
    height: 1px;
    background-color: #efefef;
    border: none;
    margin: 10px 0;
}

nav p{
    font-size: 1.5rem;
    color: #606060;
    font-weight: 500;
    padding: 8px 16px;
    text-transform: uppercase;
}
.channel-image{
width: 24px;
height: 24px;
border-radius: 50%;
}
main{
   width: 100%;
   height: 100%;
   padding: 35px 15px;
   border-top: 1px solid #ddd;
   overflow-y: auto; 
}
.videos-container{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
}
.video{
    width: 400px;
    margin-bottom: 40px;
    cursor: pointer;
    margin-left: -15px;
}
.thumbnail{
    width: 100%;
    height: 187px;
    margin-bottom: 12px;
}
.thumbnail img{
    width: 100%;
    height: 100%;
}
.video-details{
    display: flex;
}
.creator-img img{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 12px;
}
.title{
    display: flex;
    flex-direction: column;
    
}
.title a{
    text-decoration: none;
}
.video-title{
    color: rgb(3, 3, 3);
    font-size: 1.6rem;
    font-weight: 500;
    max-width: 278px;
    line-height: 2.2rem;
    margin-bottom: 4px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient:2 ;
}
.video-creator, .title span{
    color: rgb(96,96,96);
    font-size: 1.4rem;
    line-height: 2rem;
    font-weight: 400;
} 
.video-creator:hover{
    color: black;
}
@media(max-width:1090px){
    .mid-section form{
        width: 300px;
    }
    .right-section a{
        padding-right: 10px;
}
}
@media (max-width:800px) {
    html{
        font-size: 8px;
    }
    .mid-section form{
        width: 200px;
    }
    .right-section a{
        padding-right: 8px;
    }
}
@media (max-width:685px) {
   
    .mid-section form{
        width: 150px;
    }    
    .right-section a{
        padding-right: 5px;
}}
@media (max-width:589px) {
    .right-section a{
        padding-right: 0px;
}
}
@media (max-width:380px) {
    .right-section {
        display: none;
}
}
