@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&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
html{
    font-size: 10px;
}
body{
      font-family: "Roboto", "Arial" ,sans-serif;
}
/* start header */
header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 56px;
    padding: 0 15px;
}
.left-section{
    display: flex;
    align-items: center;
    cursor: pointer;
}
.left-section img{
    width: 40%;
    margin-left: 20px;
}
.mid-section{
    display: flex;
    align-items: center;
}
.mid-section form{
    display: flex;
    height: 40px;
    width: 600px;
    margin-left:-10px
 

}
.mid-section form input{
    width: 100%;
    width: 600px;
    border: 1px solid #d3d3d3;
    padding: 0  15px  0 15px; 
    border-radius: 20px 0 0 20px;
    font-size: 1.6rem;
    border-right:none;
}
.mid-section form button{
    border: 1px solid #d3d3d3;
    border-radius: 0 20px 20px 0;
    width: 60px;
    background-color: #f8f8f8;
    cursor: pointer;
}
.mid-section form button:hover{
    border-color: #c6c6c6;
    background-color: #f0f0f0;
}
.mid-section .mic{
    background-color:#f8f8f8;
    margin-left: 10px;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
}
.right-section a{
    color: black;
    margin-right: 10px;
}

/* end header */
/* start content area */
.content-area{
    background-color: #f9f9f9;
    display: flex;
    height: calc(100vh - 56px); 
}
/* start aside */
aside{
    background-color: white;
    width: 280px;
    height: 100%;
    overflow-y: auto;
}
aside nav{
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: 15px 0;
    padding-right: 15px;  

}
aside .nav-link{
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 10px 16px ;
    color: #030303;
}
aside .nav-link:hover{
    background-color: rgba(0,0,0,0.05);
}
aside .nav-link span{
    margin-left: 24px;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 2em
}
.active{
    background-color: #e5e5e5
}
#active-span{
    font-weight: 500;
}
hr{
    background-color: #e5e5e5;
    height: 1px;
    margin: 10px 0;
    border: none;
}
nav p{
    padding: 8px 16px;
    text-transform: uppercase;
    color: #606060;
    font-size: 1.4em;
    font-weight: 500;
}
nav img{
    width: 24px;
    height: 24px; border-radius: 50%;
}
/* end aside */
/* start main */
main{
    width: 100%;
    height: 100%;
    border-top: 1px solid #ddd;
    padding: 35px 15px;
    overflow-y: auto;
}
.videos-container{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
.video{
    width: 330px;
    margin-bottom: 40px;
    cursor: pointer;
}
.thumbnail{
    width: 100%;
    height: 187px;
    margin-bottom: 12px;
}
.thumbnail img{
    width: 100%;
    height: 100%;
}
.video-details{
    display: flex;
}
.video-details 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;
    line-height: 2.2rem;
    max-width: 278px;
    margin-bottom: 4px;
    overflow: hidden;              /* يخفي أي نص أو محتوى يزيد عن حدود الصندوق */
    display: -webkit-box;          /* يحوّل العنصر لصندوق مرن متعدد الأسطر (خاص بالـ WebKit) */
    -webkit-line-clamp: 2;         /* يحدد أقصى عدد للأسطر (هنا: 2 أسطر فقط) */
    line-clamp: 2;                 /* النسخة القياسية (الأحدث) لنفس الخاصية لزيادة التوافق */
    -webkit-box-orient: vertical;  /* يحدد اتجاه ترتيب النصوص (عمودي = سطر تحت سطر) */
}
.video-creator,
.tilte span{
    font-size: 1.4rem;
    font-weight: 400;
    color: rgb(96,96,96);
    line-height: 2rem;
}
.video-creator:hover{
    color: black;
}
@media (max-width: 600px){
    
}
/* end main */
/* end content area */