.detail {
    position: relative;
    display: flex;
    margin: 80px 0;
}

.chapter_info_container {
    position: relative;
}

.chapter_info {
    position: sticky;
    top: 85px;
    background: transparent
        linear-gradient(
            119deg,
            var(--celebrityschool-purple) 0%,
            var(--celebrityschool-pink) 100%
        )
        0% 0% no-repeat padding-box;
    width: 230px;
    padding: 15px 30px;
    height: auto;
    border-radius: 4px;
}
.divider {
    margin-left: 3px;
    margin-right: 30px;
    position: sticky;
    top: 0;
    right: -3px;
    bottom: 0;
    /* height: calc(100vh); */
    width: 2px;
    border-radius: 50%;
    background: var(--celebrityschool-pink);
}

.chapter_info h2 {
    font-weight: 400;
}
.chapter_info div {
    display: flex;
    align-items: flex-end;
    margin-top: 5px;
}
.clock {
    height: 16px;
    width: 16px;
}
.chapter_info div p {
    height: 100%;
    font-size: 14px;
    margin-left: 5px;
}

.category {
    font-size: 16px;
}

/* Episodes Styles */

.episodes_list {
    /* background: red; */
}

.episode_item {
    display: flex;
    margin-bottom: 40px;
}

.video_holder {
    position: relative;
    height: 250px;
    max-width: 420px;
    width: 60%;
    border-radius: 5px;
    cursor: pointer;
    overflow: hidden;
}
.video_preview.video_preview_display {
    opacity: 1;
}
.video_preview {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-in;
}

.episode_detail {
    width: 40%;
    margin-left: 30px;
    margin-top: 20px;
}

.episode_name {
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 20px;
}

.episode_description {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.3rem;
}

.show_all {
    padding: 15px 40px;
    border: none;
    border: none;
    background: var(--gradient);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 7px;
    word-spacing: 3px;
    cursor: pointer;
    margin: auto;
}

.show_all:active {
    transform: scale(0.98);
}

.album_title {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 20px;
}

.album_description {
    font-size: 16px;
    line-height: 1.4rem;
    margin-bottom: 20px;
}

.lessons_count {
    font-size: 16px;
    margin-bottom: 10px;
}

.languages {
    margin: 20px 0;
}
.languages p {
    margin-bottom: 10px;
}
.language {
    font-family: "Poppins", "Roboto", sans-serif;
    background: #333;
    border: none;
    outline: none;
    padding: 5px 20px;
    color: #fff;
    margin: 0px 10px 10px 0px;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 12px;
}
.language.active {
    background: var(--gradient);
}

@media screen and (max-width: 1100px) {
    .video_holder {
        height: 220px;
    }
    .episode_name {
        font-size: 24px;
    }
    .episode_description {
        font-size: 12px;
    }
}

@media screen and (max-width: 900px) {
    .detail {
        flex-direction: column;
        margin: 20px 0 80px 0;
    }
    .divider {
        display: none;
    }
    .chapter_info {
        margin-bottom: 20px;
        width: 100%;
    }

    .episode_name {
        font-size: 30px;
    }
    .episode_description {
        font-size: 12px;
    }
}

@media screen and (max-width: 650px) {
    .episode_item {
        flex-direction: column;
    }
    .video_holder {
        width: 100%;
        max-width: none;
        height: 250px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
    .episode_detail {
        background: var(--secondary-color);
        margin: 0;
        padding: 20px 30px;
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
        width: 100%;
    }
    .episode_name {
        font-size: 24px;
        margin-bottom: 14px;
    }
    .episode_description {
        font-size: 14px;
        line-height: 1.5rem;
    }
}

@media screen and (max-width: 475px) {
    .chapter_info {
        display: none;
    }
    .album_title {
        /* display: none; */
        font-size: 18px;
        line-height: 1.5rem;
    }
    .album_description {
        /* text-align: center; */
        font-size: 14px;
    }
}

@media screen and (max-width: 450px) {
    .video_holder {
        height: 200px;
    }
    .episode_detail {
        padding: 20px 10px;
    }
    .episode_name {
        font-size: 18px;
    }
    .episode_description {
        font-size: 12px;
        line-height: 1.2rem;
    }
}

@media screen and (max-width: 300px) {
    .album_title {
        font-size: 22px;
    }
    .album_description {
        font-size: 12px;
        line-height: 1.2rem;
    }

    .lessons_count {
        font-size: 12px;
    }
}
