@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,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');

body{
    font-family: "Roboto","Arial",sans-serif;
}

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

html{
    font-size: 10px;
}

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: 100px;
    padding-left: 16px;
}



.mid-section{
    display: flex;
    align-items: center;
    margin-left: -9px;
    cursor: pointer;
}

.mid-section form{
    display: flex;
    height: 40px;
    width: 628px;
    cursor: pointer;
}

.mid-section input{
    width: 93%;
    border-radius: 40px 0px 0px 40px;
    border: 1px solid #eee;
    box-shadow: 0 1px 2px #c9c4c4;
    padding: 7px;
    font-size: 1.5rem;
}

.mid-section input:hover{
    border-color: #c6c6c6;
}

.mid-section button{
    width: 7%;
    border-radius: 0px 40px 40px 0px;
    border: 1px solid #eee;
    box-shadow: 0 1px 2px #c9c4c4;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 9px ; 
}

.mid-section button:hover{
    background-color: #c9c4c4 ;
}

.mic{
    border-radius: 50%;
    border: 1px solid #ffffff;
    margin-left: 10px;
    cursor: pointer;
    padding: 10px;
}

.mic:hover{
    background-color: #c9c4c4 ;
}

.item{
    border-radius: 50%;
    border: 1px solid #ffffff;
    cursor: pointer;
    padding: 5px;
}
.item:hover {
    background-color: #c9c4c4 ;
}


.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: 200px;
    background-color: white;
    overflow-y: auto;
}

nav{
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: 15px 0;
    padding-right: 10px;
}

.nav-link{
    display: flex;
    align-items: center;
    padding: 10px 16px;
    text-decoration: none;
    color: #030303;
    transition: all 0.3s;
}

.nav-link:hover{
    background-color: rgba(0, 0, 0, 0.05);
}

.text {
    margin-left: 24px;
    font-size: 1.4rem;
    line-height: 2em;
    font-weight: 400;
    color: #030303;
    font-weight: 500;
}
.active{
    background-color: #e5e5e5;
}

hr{
    height: 1px;
    background-color: #e5e5e5;
    border: none;
    margin: 10px 0;

}

nav p{
    font-size: 1.4rem;
    color: #060606;
    padding: 8px 16px;
    text-transform: uppercase ;
    font-weight: 500;
}

.channel-img{
    height: 24px;
    width: 24px;
    border-radius: 50%;
}

main{
    width: 100%;
    height: 100%;
    padding: 35px 15px;
    border-top: 1px solid #ddd;
    overflow-y: auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
.videos-container{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
}
.video{
    width: 300px;
    margin-bottom: 40px;
    cursor: pointer;
}
.thumbnail{
    width: 100%;
    height: 187px;
    margin-bottom: 12px;
}
.thumbnail img{
    height: 100%;
    width: 100%;
}
.video-details{
    display: flex;
}
.creator-img img{
    height: 40px;
    width: 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;
    max-width: 278px;
    font-weight: 500;
    line-height: 2.2rem;
    margin-bottom: 4px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

}
.video-creator{
    color: #606060;
}
.title span{
    color: #606060;
}
