
*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins',sans-serif;
    box-sizing: border-box;
}
a{
    text-decoration: none;
    color:#5a5a5a;
}
img{
    cursor: pointer;
}

.nav_bar,.flex_div{
    display: flex;
    align-items: center;
}

nav{
    padding: 10px 2%;
    justify-content: space-between;
    background-color: pink;
    box-shadow: 0 0 10px rgba(0, 0, 0,0.2);
    background:#fff;
    position: sticky;
    top:0;
    z-index: 10;
}

.nav_middle{
    display: flex;
    align-items: center;
    justify-content: center;
}
.mic_icon{
   height: 39.23px;
   width: 39px;
   display: flex;
   align-items: center;
   justify-content: center;
   border-radius: 50%;
   cursor: pointer;
   background-color: #f5efef;
}
.mic_icon:hover{
    background-color: #ccc;
}
.mic_icon i{
    font-size: 25px;
}
.nav_middle .search_box{
    border:1px solid #ccc;
    margin-right:0;
    padding:0 12px;
    border-bottom-left-radius: 25px;
    border-top-left-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search_box .first_search_icon{
    padding-right: 20px;
    padding-left: 5px;
    display: none;
    
}
.nav_middle .search_box input{
    width: 480px;
    height: 39.23px;
    border: none;
    outline: none;
    background:transparent;
    font-size: 16px;
}

.search_icon_div{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 40.392px;
    background-color: #f5efef;
    margin-left: 0;
    padding-left: 10px;
    padding-right: 0;
    border-bottom-right-radius: 25px;
    border-top-right-radius: 25px;
    margin-right: 10px;
    cursor: pointer;
    border: 1px solid #ccc;
}
.search_icon_div i{
padding-right: 10px;
font-size: 19px;
}
.search_icon_div:hover{
    background-color: #ccc;
}


.nav_left{
    display: flex;
    align-items: center;
    height: 39.23px;
}
.nav_left_1{
    width: 39px;
    height: 39px;
    margin-left: 0px;
    margin-right: 5px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.nav_left_1 i{
    font-size: 22px;
}
.nav_left_1:hover{
    background-color: #f5efef;
}
.nav_left_2{
    width: 120px;
    height: auto;
}


.nav_right{
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav_right i{
    font-size: 22px;
    margin-left: 20px;
    cursor: pointer;
}
.nav_right img{
    width: 30px;
    margin-right: 25px;
}

.imgage_logo_last{
    height: 38px;
    width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-image: url(image/jack2.jpg);
    background-size: cover;
    cursor: pointer;
}





/* sidebar */

.sidebar{

    background-color: #fff;
    width: 13.9%;
    height: 100vh;
    position: fixed;
    top: 0;
    padding-left: 1%;
    padding-top: 70px;
}


.shortcut_links a{
display: flex;
align-items: center;
width: fit-content;
margin-bottom: 1px;
flex-wrap: wrap;
color:#2c2b2b;
width: 100%;
padding: 8px 0;
padding-left: 10px;
border-radius: 10px;
cursor: pointer;
}

.shortcut_links a:hover{
    background-color: #ccc;
}
.shortcut_links a i{
    font-size: 20px;
    margin-right: 20px;
}
.shortcut_links a:first-child{
    color: #ed3833;
}

.sidebar hr{
    border: 0;
    height: 1px;
    width: 90%;
    background: #ccc;
}



.subscribe_list h3{
    font-size: 12px;
    margin: 2px 0;
    color: #5a5a5a;
    padding-left: 10px;
}
.subscribe_list a{
    display: flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 1px;
    flex-wrap: wrap;
    color:#2c2b2b;
    width: 100%;
    padding: 1px 0;
    padding-left: 10px;
    border-radius: 10px;
    cursor: pointer;
}
.subscribe_list a:hover{
    background-color: #ccc;
}
.subscribe_list a img{
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 20px;
}



.small_sidebar{
    width: 5%;
    padding-left: 1%;
}


.small_sidebar .shortcut_links a{
    display: flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 1px;
    flex-wrap: wrap;
    color:#2c2b2b;
    width: 100%;
    padding: 12px 0;
    padding-left: 15px;
    border-radius: 10px;
    cursor: pointer;
    }
.small_sidebar a p{
display: none;
}

.small_sidebar h3{
    display: none;
}

.small_sidebar hr{
    width: 90%;
    margin-bottom: 25px;
}





/* main section */


.container{
    background:#f9f9f9;
    padding-left: 16%;
    padding-right: 2%;
    padding-top: 20px;
    padding-bottom: 20px;
}
.large_container{
    padding-left: 7%;
}

.banner{
    border-radius: 8px;
    width: 100%;
    background-image: url(image/banner.png);
    background-size: cover;
    height: 239px;
    color: #ccc;
}


.list_container{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    grid-column-gap: 16px;
    grid-row-gap: 30px;
    margin-top: 15px;
}

.vid_list .thumbnail{
    width: 100%;
    height: 60%;
    border-radius: 5%;
}
.vid_list .flex_div{
    align-items: flex-start;
    margin-top: 7px;
}

.vid_list .flex_div img{
    width: 35px;
    border-radius: 50%;
    margin-right: 10px;
}


.vid_info{
    color: #5a5a5a;
    font-size: 13.5px;
}
.vid_info a{
    color: #000;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}




@media (max-width:1080px) {
    .nav_right i{
        display: none;
    }
    .nav_right img{
        display: none;
    }
    
}



@media (max-width:1020px) {
    .nav_middle .mic_icon{
        display: none;
    }
}

@media (max-width:850px) {
    .nav_middle .mic_icon{
        display: none;
    }
}


@media (max-width:900px) {
    .sidebar{
        display: none;
    }
    #menu_icon{
        display: none;
    }
    .container,.large_container{
        padding-left: 5%;
        padding-right: 5%;

    }
    .nav_right i{
        display: none;
    }
    .nav_right img{
        display: none;
    }
    .nav_middle .search_box input{
        width: 360px
    }

}

@media (max-width:750px) {
    .nav_middle .search_box input{
        width: 230px;
    }
}

@media (max-width:600px) {
    .nav_middle .search_box input{
        width: 180px;
    }
}

@media (max-width:500px) {
    nav{
        display: flex;
        align-items: center;
        justify-content: center;
    };
    .nav_middle .search_box input{
        width: 260px;
        margin-left: 2px;
    }
    .nav_left{
        display: none;
    }

}

@media (max-width:390px) {
    .nav_middle .search_box input{
width: 150px;
    }
}



















/* play video  page */
.play_container{
    padding-left: 2%;
}

.row{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.play_video{
    flex-basis: 69%;
}

.right_sidebar{
flex-basis: 30%;
}

.play_video video{
    width: 100%;
}

.side_video_list{
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;

}

.side_video_list video{
    width: 100%;
    border-radius: 5px;
    cursor: pointer;
}

.side_video_list a{
    flex-basis: 49%;
}
.side_video_list .vid_info{
    flex-basis: 49%;
}


.play_video .tags a{
    color: #0000ff;
    font-size: 13px;
}

.play_video .play_video_info{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 10px;
    font-size: 13.99px;
    color: #5a5a5a;
}

.play_video .play_video_info a img{
    width: 20px;
    margin-right: 9px;
}

.play_video .play_video_info a{
   display: inline-block;
   margin-left: 15px;
   align-items: center;
}

.play_video hr{
    border: 0;
    height: 1px;
    margin: 11px 0;
    background:#ccc;
}


.publisher{
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.publisher div{
    flex: 1;
    line-height: 18px;
}

.publisher img{
    width: 39.99px;
    border-radius: 50%;
    margin-right: 15px;
}
.publisher div p{
    color: #000;
    font-weight: 600;
    font-size: 18px;
}

.publisher div span{
    font-size: 13px;
    color: #5a5a5a;
}

.publisher button{
    background:red;
    color: #fff;
    padding: 8px 30px;
    border: 0;
    outline: 0;
    border-radius: 5px;
    cursor: pointer;
    font-size: 15px;
}


.vid_discription{
    padding-left: 55px;
    margin: 15px 0;

}

.vid_discription p{
font-size: 13.9px;
margin-bottom: 5px;
color: #5a5a5a;
}

.vid_discription h4{
    font-size: 15px;
    color: #5a5a5a;
    margin-top: 15px;
}


.add_comment{
    display: flex;
    align-items: center;
    margin: 13px 0;
}

.add_comment img{
    width: 35px;
    border-radius: 50%;
    margin-right: 15px;

}

.add_comment input{
    border: 0;
    outline: 0;
    border-bottom: 1px solid #ccc;
    width: 100%;
    padding-top: 10px;
    background:transparent;
}


.old_comment{
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.old_comment img{
    width: 35px;
    border-radius: 50%;
    margin-right: 15px;
}

.old_comment h3{
    font-size: 15px;
    margin-bottom: 2px;
}

.old_comment h3 span{
    font-size: 12px;
    color: #5a5a5a;
    font-weight: 500;
    margin-left: 8px;
}

.old_comment .comment_action{
    display: flex;
    align-items: center;
    margin: 8px 0;
    font-size: 13.9px;
}

.old_comment .comment_action img{
    border-radius: 0;
    width: 20px;
    margin-right: 5px;

}


.old_comment .comment_action span {
    margin-right: 20px;
    color: #5a5a5a;
    cursor: pointer;
}

.old_comment .comment_action a{
    color: #0000ff;
}


@media (max-width:900px) {
    .play_video{
        flex-basis: 100%;
    }
    .right_sidebar{
        flex-basis: 100%;
    }
    .play_container{
        padding-left: 5%;
    }
    .vid_discription{
        padding-left: 0;
    }

    .play_video .play_video_info a{
        margin-left: 0;
        margin-right: 15px;
        margin-top: 15px;
    }

    .vid_discription{
        display:none ;
    }
    .play_video{
        margin-bottom: 30px;
    }
}




