body {
    font-size: 1em;
    line-height: 1.625em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: 'Montserrat', 'Helvetica', 'Arial', sans-serif;
    color: #767676;
    font-weight: 400;
}

a.channel {
    color: inherit;
    text-decoration: none;
}

a.channel:hover {
    text-decoration: underline;
}

.title {
        font-family: sans-serif;
    color: var(--secondary);
    font-size: 15px;
    font-weight: bold;
    color: #40ebd3;
}

.sub-title {
    font-family: sans-serif;
    color: var(--grey);
    font-size: 13px;
    line-height: 17px;
    color: #a0a0a0;
}

.icon-active {
    filter: sepia(100%) hue-rotate(150deg) saturate(400%);
}

#playlist {
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100%;
    display: flex;
    position: absolute;
    transform: translate(-50%, -50%);
    transition: all ease 0.3s;
    background-color: #0f0f0f;
}

#video-dis {
    flex: 6.5;
    margin-right: 20px;
    background: black;
}

#video-dis iframe {
    width: 100%;
    height: 100%;
}

.video-li {
    flex: 3.5;
    display: flex;
    padding: var(--b-pad);
/*    border-radius: 0;*/
    flex-direction: column;
    background: var(--primary);
        background-color: #0f0f0f;
}

.li-collapsed {
    overflow: hidden;
    height: 40px;
}

#vli-info {
    flex: 3;
    padding: 0 var(--b-pad) 0 var(--b-pad);
}

#upper-info {
    display: flex;
}

#li-titles {
    flex: 9;
}

#li-titles div {
    padding-top: 5px;
    padding-bottom: 5px;
}

#drop-icon {
    flex: 1;
    cursor: pointer;
    background: url(https://user-images.githubusercontent.com/50569315/118832584-92350500-b8e2-11eb-8398-9a90a4615b98.png) no-repeat center;
    background-size: 50%;
}

#lower-info {
    display: flex;
    padding-top: var(--b-pad);
}

#lower-info div {
    width: 40px;
    height: 40px;
    cursor: pointer;
}

#btn-repeat {
    margin-right: var(--b-pad);
    background: url(https://user-images.githubusercontent.com/50569315/118832591-93663200-b8e2-11eb-8b98-3b177304b555.png) no-repeat left;
    background-size: 50%;
}

#btn-suffle {
    margin-right: var(--b-pad);
    background: url(https://user-images.githubusercontent.com/50569315/118832597-93fec880-b8e2-11eb-9146-f978064eddb1.png) no-repeat left;
    background-size: 45%;
}

#btn-save {
    margin-left: auto;
    order: 2;
    right: 10px;
    margin-right: var(--b-pad);
    background: url(https://user-images.githubusercontent.com/50569315/118832594-93fec880-b8e2-11eb-8201-12cb52be231f.png) no-repeat right;
    background-size: 60%;
}

#vli-videos {
    flex: 25;
    overflow: auto;
}

.video-con {
    display: flex;
    cursor: pointer;
    padding: var(--s-pad);
    column-gap: var(--s-pad);
    margin-bottom: var(--b-pad);
}

.video-con:hover,
.active-con {
    background: var(--active);
}

.index {
    min-width: 15px;
    align-self: center;
}

.thumb {
    margin: 10px;
    width: 100px;
    height: 60px;
    background: var(--secondary);
}

.thumb img {
    width: 100%;
}

.v-titles {
    flex: 6;
}

.v-titles div:nth-child(2) {
    margin-top: var(--s-pad);
}

.video-count {
    margin-top: 10px;
}

@media only screen and (max-width: 1150px) {
    #playlist {
        /*width: 95vw;
        height: 60vh;*/
    }
    .video-li { padding: 10px;}
}

@media only screen and (max-width: 800px) {
    #playlist {
        top: 3%;
        width: 100%;
        margin: 0 auto;
        display: block;
        align-items: center;
        transform: translate(-50%, 0%);
    }

    #video-dis {
        margin-bottom: var(--b-pad);
        width: 100%;
        /*height: 300px;*/
    }

    #vli-videos {
        margin: 10px;
        overflow: hidden !important;
    }
    .video-li { margin: 10px;}
    
}

@media only screen and (max-width: 800px) {
    #playlist {
        width: 100%;
        padding: 0 10px;
    }

    #vli-videos {
        margin: 10px;
        overflow: hidden !important;
    }
    .video-li { margin: 5px;}
}

@media only screen and (max-width: 650px) {
    #playlist {
        width: 100%;
    }
    #vli-videos {
        margin: 10px;
        overflow: hidden !important;
    }
}