@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;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;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 56px;
    padding: 0 16px;
    border-bottom: 1px solid #ddd;
}

.right-section{
    display: flex;
    align-items: center;
    cursor: pointer;
}

.right-section img{
    width: 155px;
    padding-right: 16px;    
}

.mid-section{
    display: flex;
    align-items: center;
    margin-right: -1%;
}

.mid-section form{
    display: flex;
    height: 40px;
    width: 628px;
}

.mid-section input{
    width: 100%;
    border-radius: 0 10px 10px 0 ;
    padding: 12px;
    font-size: 1.6rem;
    border: 2px solid #d3d3d3;
    border-left: none;
}

.mid-section select{
    width: auto;
    border: 2px solid #d3d3d3;
    padding: 3px;
    margin: center;
    background-color: #f8f8f8;
    cursor: pointer;
    border-left: none;
    font-size: 1.6rem;
    font-weight: 600;
}

.mid-section select:hover{
    border-color: #c6c6c6;
    background-color: #f0f0f0;
}



.mid-section button{
    width: 66px;
    border: 2px solid #d3d3d3;
    border-radius: 10px 0 0 10px ;
    padding-top: 5px;
    background-color: #f8f8f8;
    cursor: pointer;
}

.mid-section button:hover{
    border-color: #c6c6c6;
    background-color: #f0f0f0;
}


.mid-section .mic{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    cursor: pointer;
}

.left-section button{
    width: 125px;
    border: 2px solid #d3d3d3;
    border-radius: 10px 10px 10px 10px ;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    background-color: #f8f8f8;
    cursor: pointer;
    color: #3b1ae3;
    font-size: 1.6rem;
    font-weight: 1000;
}

.left-section button:hover{
    border-color: #c6c6c6;
    background-color: #f0f0f0;
}

.left-section img{
    width: 30px;
    height: 30px;
    padding: inherit;
    border-radius: 50%;
    background-color: #dfdee7;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
}


.body-body{
    height: calc(100vh - 56px);
    display: flex;
    background-color: #f9f9f9;
}


bodyright{
    height: 100%;
    width: 20%;
    background-color: white;
    overflow: hidden;
}


bodyright:hover{
    overflow: auto;
}

mainright{
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: 15px 0;
    padding-left: 15px;
    padding-right: 15px;
}

.mainrigh-link{
    display: flex;
    align-items: center;
    padding: 10px 16px;
    text-decoration: none;
    color: black;
}

.mainrigh-link:hover{
    background-color: rgba(0, 0, 0, 0.03);
    border-radius: 10px 10px 10px 10px ;
}

.mainrigh-link span{
    margin-right: 22px;
    font-size: 1.4rem;
    line-height: 2em;
    font-weight: 500;
    color: #030303;
}

.active{
    background-color: #e5e5e5;
    border-radius: 10px 10px 10px 10px ;
}

#active-span{
    font-weight: 900;
}

.craet-account{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3px;
    font-size: 1.6rem;
    line-height: 1.5em;
    font-weight: 600;
    color: #030303;
}

hr{
    height: 2px;
    background-color: #e5e5e5;
    border: none;
    margin: 10px;
}

.channel-img{
    height: 24px;
    width: 24px;
    border-radius: 50%;
}


bodyleft{
    width: calc(100vw - 20%);
    height: 100%;
    padding: 35px 15px;
    border-top: 1px solid #ddd;
    overflow-y: auto;
}

.mainleft{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
}

.video{
    width: 300px;
    margin-bottom: 40px;
}

.video a{
    text-decoration: none;
}

.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-left: 12px;
}

.title{
    display: flex;
    flex-direction: column;
}

.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;
    line-clamp:2;
    -webkit-box-orient:vertical;
}

.video-creator, .title span{
    color: rgb(96, 96, 96);
    font-size: 1.4rem;
    line-height: 2rem;
    font-weight: 400;
}

.video-creator:hover{
    color: black;
}





.play-bodybodyplayvideo{
    background-color: #f9f9f9;
    height: calc(100vh - 56px);
    display: flex;
    padding: 1%;
    padding-left: 0;
    padding-bottom: 0;
    }

.bodyplayvideo{
    display: flex;
    justify-content: space-between;
}


.right-sidebar{
    flex-basis: 69%;
    height: 100%;
    overflow-y: auto;
}

.right-sidebar video{
    width: 100%;
    border-radius: 10px;
}


.left-sidebar{
    flex-basis: 30%;
    height: 100%;
    overflow-y: auto;
}

.main-left-sidebar{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.side-video-list{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 6px;
    padding-left: 2%;
    height: 15%;
    width: 100%;
}

.side-video-list a{
    text-decoration: none;
    display: flex;
}

.small-pica{
    width: 50%;
    margin-bottom: 8px;
    border-radius: 5%;
}

.video-info{
    flex-basis: 49%;
    display: flex;
    flex-direction: column;
    margin-right: 3%;
}

.video-info-title{
    color: rgb(3, 3, 3);
    font-size: 1.6rem;
    max-width: 175px;
    font-weight: 500;
    line-height: 2.2rem;
    margin-bottom: 4px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp:2;
    line-clamp:2;
    -webkit-box-orient:vertical;
}

.video-creator-a, .video-creator-b{
        color: rgb(96, 96, 96);
    font-size: 1.4rem;
    line-height: 2rem;
    font-weight: 400;
}




.right-sidebar .tags a{
    text-decoration: none;
    color: #0000ff;
    font-size: 1.6rem;
}

.right-sidebar h3{
    font-weight: 600;
    font-size: 2.3rem;
}

.right-sidebar .play-video-info a{
    text-decoration: none;
    color: #5a5a5a;
    display: inline-flex;
    align-items: center;
    margin-left: 15px;
}

.right-sidebar .play-video-info{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 10px;
    font-size: 1.4rem;
    color: #5a5a5a;
}

.right-sidebar .play-video-info a i{
    width: 2.1rem;
    margin-right: 15px;
    margin-left: 3px;
}

.right-sidebar hr{
    border: 0;
    height: 1px;
    background: #ccc;
    margin: 10px 0;
}

.plublisher{
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.plublisher div{
    flex: 1;
    line-height: 2.3rem;
}

.plublisher img{
    width: 40px;
    border-radius: 50%;
    margin-left: 15px;
}

.plublisher div p{
    color: #000;
    font-weight: 600;
    font-size: 1.9rem;
}

.plublisher div span{
    font-size: 1.4rem;
    color: #5a5a5a;
}

.plublisher .button-subcript button{
    background: #99EAA7;
    color: #000000;
    padding: 8px 30px;
    width: 12rem;
    margin-right: 15px;
    border: 3px solid #d3d3d3;
    outline: 0;
    border-radius: 10px 10px 10px 10px ;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 1000;
}

.plublisher .button-subcript{
    display: flex;
    margin-left: 45%;
}

.plublisher button:hover{
    border-color: #c6c6c6;
    background-color: #0e8736;
    color: #fff;
}

.vid-description{
    padding-right: 55px;
    margin: 15px 0;
}

.vid-description p{
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: #5a5a5a;
}

.vid-description h4{
    font-size: 1.4rem;
    color: #5a5a5a;
    margin-top: 15px;
}

.add-comment{
    display: flex;
    align-items: center;
    margin: 30px 0;
}

.add-comment img{
    width: 35px;
    border-radius: 50%;
    margin-left: 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-left: 15px;
}

.old-comment h3{
    font-size: 1.6rem;
    margin-bottom: 2px;
}

.old-comment h3 span{
    font-size: 1.4rem;
    color: #5a5a5a;
    font-weight: 500;
    margin-right: 9px;
}

.old-comment .acomment-action{
    display: flex;
    align-items: center;
    margin: 8px 0;
    font-size: 1.4rem;
}

.old-comment .acomment-action i{
    width: 2.1rem;
    margin-left: 5px;
}

.old-comment .acomment-action span{
    margin-left: 20px;
    color: #5a5a5a;
}

.old-comment .acomment-action a{
    text-decoration: none;
    color: #0000ff;
}