﻿.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.hover-shadow:hover {
    box-shadow: 0 0 25px rgba(21, 94, 169, 0.25) !important;
    transform: translateY(-2px);
    transition: all 0.3s ease-in-out;
}

.btn, .card, .shadow-sm {
    transition: all 0.3s ease-in-out;
}

.anime-fadein {
    opacity: 0;
    transform: translateY(30px);
}

.anime-card {
    opacity: 0;
    transform: translateY(30px);
}

.animate-fade {
    animation: fadeInUp 0.8s ease both;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

#thematic-areas img {
    height: 120px;
    object-fit: contain;
}

#thematic-areas h5 {
    color: #155ea9;
}





a.channel {
    color: #004080;
    text-decoration: none;
    font-weight: bold;
}

    a.channel:hover {
        text-decoration: underline;
    }

.title {
    color: var(--secondary);
    font-size: 15px;
    font-weight: bold;
}

.sub-title {
    color: var(--grey);
    font-size: 13px;
}

.icon-active {
    filter: sepia(100%) hue-rotate(150deg) saturate(400%);
}

#playlist {
    top: 50%;
    left: 50%;
    width: 85vw;
    height: 60vh;
    display: flex;
    position: absolute;
    transform: translate(-50%, -50%);
    transition: all ease 0.3s;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    border-radius: 6px;
}

#video-dis {
    flex: 6.5;
    margin-right: 20px;
    background: black;
    border-radius: 6px;
    overflow: hidden;
}

    #video-dis iframe {
        width: 100%;
        height: 100%;
    }

.video-li {
    flex: 3.5;
    display: flex;
    padding: var(--b-pad);
    flex-direction: column;
    background: var(--primary);
    border-radius: 6px;
    overflow: hidden;
}

.li-collapsed {
    overflow: hidden;
    height: 40px;
}

#vli-info {
    flex: 3;
    padding: 0 var(--b-pad);
}

#upper-info {
    display: flex;
}

#li-titles {
    flex: 9;
}

    #li-titles div {
        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;
    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: 7;
    overflow: auto;
}

.video-con {
    display: flex;
    cursor: pointer;
    padding: var(--s-pad);
    column-gap: var(--s-pad);
    margin-bottom: var(--b-pad);
    border-radius: 4px;
    transition: background 0.2s ease;
}

    .video-con:hover,
    .active-con {
        background: var(--active);
    }

.index {
    min-width: 15px;
    align-self: center;
    font-weight: bold;
    color: #555;
}

.thumb {
    width: 100px;
    height: 60px;
    background: var(--secondary);
    border-radius: 3px;
    overflow: hidden;
}

    .thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.v-titles {
    flex: 6;
}

    .v-titles div:nth-child(2) {
        margin-top: var(--s-pad);
    }

@media only screen and (max-width: 950px) {
    #playlist {
        top: 10%;
        width: 90vw;
        margin: 0 auto;
        display: block;
        align-items: center;
        transform: translate(-50%, 0%);
    }

    #video-dis {
        margin-bottom: var(--b-pad);
        width: 100%;
        height: 300px;
    }
}