/* @import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap'); */
body{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Open Sans";
    background-color: rgb(255, 255, 255);
    font-family: 'Roboto', Arial, sans-serif;
}
header , .category-list{
    position: sticky;
    top: 0;
    z-index: 1;
    background-color: white;
 
}
.container{
    display: flex;
    flex-direction: column;
    max-height: 100vh;
}
.logo-text{
    color: black;
    
}
.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    gap: 2rem;
}
.navbar :where(.nav-section,.search-form,.nav-logo){
    display: flex;
    align-items: center;
}
.navbar :where(.logo-img,.user-image){
width: 42px;
cursor: pointer;
border-radius: 50%;
}
.navbar .nav-section{
    gap: 1rem;
}
.navbar .nav-logo{
    display: flex;
    gap: 1rem;
    text-decoration: none;
}
.navbar .nav-logo .logo-text{
    font-size: 2rem;
    color: rgb(0, 0, 0);

}
.navbar .nav-button{
    border: none;
    cursor: pointer;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    background-color: rgb(255, 255, 255);
}
.nav-button:hover{
    background-color: gray;
}
.navbar .nav-button i{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
}
#btn-last{
    background-color: white;
}
#btn-last:hover{
    background-color: rgb(124, 116, 116);
}
.navbar :where(.menu-button , .theme-button) {
    border: none;
    cursor: pointer;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    background-color: rgb(19, 19, 19); 
}
.navbar .search-form .search-input{
    width: 100%;
    height: 100%;
    padding: 0 1.3rem;
    border: 1px solid rgb(21, 20, 20);
    outline: none;
    font-size: 0.89rem;
    border-radius: 3rem 0 0 3rem;
   
}
.navbar .search-form{
    width: 300px;
    flex: 1;
    height: 30px;
}
.navbar .search-form .search-button{
    width: auto;
    padding: 0 1.25rem;
    border-radius: 0 3rem  3rem 0;
    border: 1px solid rgb(44, 42, 42);
    border-left: 0;
    
}

.main-layout{
    display: flex;
    overflow-y: auto;

}
.main-layout .content-wrapper
{
    padding: 0 2rem;
    width: 100%;
    overflow-x: hidden;
}

/* BUTTON */
.content-wrapper .category-list{
    display: flex;
    gap: 0.7rem;
    padding: 0.75rem 0  0.7rem;
    scrollbar-width: none;
    overflow-x: auto; 
    position: static; 
    /* z-index: -1; */
}

.category-list .category-button{
    border: none;
    cursor: pointer;
    padding: 0.4rem 0.7rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 400;
    white-space: nowrap;
 
}
.category-list .category-button{
color: rgb(0, 0, 0);
}

/* VIDEO PART */
/* 
.card{
    width: 400px;
}
.card-img{
 width: 90%;
 width: 40vh;
 object-fit: cover;
 border-radius: 15px;

}
.my-container{
    width: 100%;
    margin:auto ;
    margin-top: 2%;
   
  display: flex; 
     
}
.avatar-img{
    width:25px ;
    height: 25px;
    border-radius: 100%;
}
.my-avatar  {
    width: 25px;
    height: 25px;
}
    
   

.card-body{
    display: flex;
}
.my-container{
    display: grid;
    grid-template-columns:1fr 1fr 1fr 1fr;
}
p{
    color: white;
} */


.video-list .video-card {
    text-decoration: none;
    margin-left: 3vw;
}

.video-card .video-list .video-infor{
    display: flex;
   gap: 0.7rem;
    padding: .7rem .5rem;
    
}


.video-list .video-card .thumbnail{
    width: 104%;
    height: 100%;
    border-radius: 0.5rem;
  
}
.video-details{
    margin-top: -3.4rem;
    margin-left: 3rem;
    color: rgb(0, 0, 0);
}
.video-list .video-card .icon{
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-top: 1rem;
}
.title{

    font-size: 1rem;
    font-weight: 500;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.title:hover{
    color: rgb(109, 71, 71);
}
.content-wrapper .video-list{
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(400px,1fr));
}

/* slidebar */
.sidebar{
    width: 8%;
    /* position: sticky; */
    z-index: -10;
    top: 10;
    background-color: rgb(255, 255, 255);
    white-space: nowrap;
}
.upper-links{
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.link-items{
    text-decoration: none;
}
.upper-links .text-aside {
    font-size: 1rem;
    color: black;
    font-weight: 500;
    overflow: hidden;

}
#you-text{
    color: black;
    margin-left: 1.1vw;
    font-weight: 600;
}
.line{
    border: .1px ridge rgb(172, 159, 159);
}
.sidebar .link-section .link-section{
    overflow-y: auto;
    padding: 1rem 0 2rem;
    color: black;
    scrollbar-width: thin;
    height: calc(100vh - 60px);
}

body .slidebar .main-layout .slidebar-hidden{
    width: 0;
    padding: 0;
}