*{
    margin:0;
    padding:0;
}
.playlistbutton{
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: auto;
    padding-top: 9px;
    flex-wrap: wrap;
}
.thumbnail{
    width: 318px;
    aspect-ratio: 16/9;
    border-radius: 14px;
    cursor: pointer;
}
.thumbnail_slip{
    height: 90px;
    aspect-ratio: 16/9;
    cursor: pointer;
    border-radius: 10px;
}

/* video */
.media{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding-top: 16px;
    flex-direction: row;
    justify-content: space-evenly;
    margin-bottom: 35px;
}
.video_cards{
    width: min-content;
    margin-bottom: 18px;
}
.playlist_card{
    width: min-content;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 5px solid;
    padding: 10px;
    border-radius: 15px;
}
.ctitle{
    font-family: "Roboto","Arial",sans-serif;
    font-size: 1.2rem;
    padding-left: 3px;
}
.cdate{
    padding-block: 4px;
}
.cdata{
    font-size: 1.07rem;
    padding-left: 3px;
}

/* video_playing */
.vpsection0{
    display: flex;
    margin-inline: auto;
    max-width: 1450px;
}
.vpsection1{
    width: 70%;
    background: transparent;
}
.vscreen{
    width: 85%;
    padding-left: 8%;
    padding-top: 18px;
    text-align: center;
}
.vscreen1{
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 15px;
    object-fit: cover;
}
.vtitle{
    padding-inline: 8%;
    font-family: "Roboto","Arial",sans-serif;
    font-size: 2rem;
    line-height: 2.8rem;
    font-weight: 600;
}
.vlike{
    font-size: 1.4rem;
    padding-left: 8px;
}
.vtitle_like_bar{
    display:flex;
    margin-bottom: 8px;
    margin-inline: 7%;
}
.like-dislike-container{
    display: flex;
    align-items: center;
    gap: 15px;
}

.vdescription{
    margin-inline: 7%;
    font-family: "Roboto","Arial",sans-serif;
    font-size: 1.3rem;
    line-height: 2rem;
    font-weight: 350;
    background-color: #dcdcdc;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 15px
}
.vdesc{
    /* width: inherit; */
}
.video-comment{
    font-family: Roboto, Arial, sans-serif;
    font-size: 1.3rem;
    line-height: 1.6;
    font-weight: 350;
    margin-inline: 7%;
    padding: 12px;
}
.vcomment{
    display: flex;
    align-items: center;
    gap: 15px;
}
.new_comment{
    width: 80%;
    font-family: Roboto, Arial, sans-serif;
    font-size: 1.3rem;
    line-height: 1rem;
    font-weight: 350;
    border: none;
    border-bottom: 2px solid;
}

.video-comment-body{
    border-bottom: 2px dashed gray;
}

.vpsection2{
    width: 31%;
    background: transparent;
    display: flex;
    flex-direction: column;
}
.moreV{
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    height: 590px;
}
.plvs{
    border: 4px solid darkgray;
    border-radius: 11px;
    margin-bottom: 30px;
}
.plslip{
    height: auto;
    max-height: 456px;
}
.video_slip{
    margin-block: 6px;
    display: flex;
    flex-direction: row;
    background-color:white;
}
.sdiv{
    padding: 3px;
}
.stitle{
    font-family: "Roboto","Arial",sans-serif;
    font-size: 1.1rem;
    overflow-x: hidden;
    text-overflow: ellipsis;
}

.video-btn {
    text-decoration: none;
    background-color: rgb(0, 176, 82);
    color: white;
    padding: 10px 20px;
    margin: 2px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s ease;
}

.video-btn:hover {
    background-color: rgba(0, 176, 82, 0.781);
}

.video-btn:disabled{
    opacity: 0.6;
    cursor: not-allowed;
    border-color: #5a6268;
    color: #fff;
}
.video-btn.disabled{
    opacity: 0.6;
    cursor: not-allowed;
    border-color: #5a6268;
    color: #fff;
}

.sub-btn {
    background-color: #cc0000;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}

.sub-btn.subscribed {
    background-color: #f2f2f2;
    color: #333;
    border: 1px solid #ccc;
}

.sub-btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.author-info-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 8px;
}

@media only screen and (max-width: 1100px){
    .vpsection0{
        flex-direction: column;
        align-items: center;
    }
    .vpsection1{
        width:100%;
    }
    .vpsection2{
        width: 85%;
        margin-bottom: 20px;
    }
}
