.banner {
    position: relative;
    height: 750px;
    width: 100%;
}

.banner_image {
    position: relative;
    overflow: hidden;
    height: 100%;
    border-radius: 6px;
    width: 100%;
}
.video_preview {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 150%;
    width: 120%;
    z-index: 2;
    transition: all 0.2s ease-in;
}
.video_preview::after {
    position: absolute;
    content: "";
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65));
}
.banner_image:hover .video_preview {
    opacity: 0;
}
.banner_image.permanent .video_preview {
    display: none;
}
.banner_mobile_image.permanent .video_preview {
    display: none;
}
.banner_detail {
    position: absolute;
    z-index: 3;
    bottom: 0;
    left: 0;
    padding: 20px 60px;
}
.banner_detail:hover ~ .banner_image .video_preview {
    opacity: 0;
}
.video_preview.hide_preview {
    opacity: 0;
}

.category span {
    display: inline-block;
    background: linear-gradient(120deg, #8036e7, #ff3365);
    padding: 5px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.instructor_name p {
    font-size: 64px;
    margin: 10px 0;
}

.meta_info {
    display: flex;
    margin: 10px 0;
}

.rating {
    display: flex;
    align-items: center;
    margin-right: 15px;
}
.rating span {
    margin-left: 7px;
}
.rating_star {
    height: 18px;
    width: 18px;
}

.students_enrolled {
    display: flex;
    align-items: center;
    margin-right: 15px;
}
.students_enrolled span {
    margin-left: 6px;
}
.academic_cap {
    height: 24px;
    width: 24px;
}

.lessons_count {
    display: flex;
    align-items: center;
    margin-right: 15px;
}
.lesson {
    height: 24px;
    width: 24px;
}
.lessons_count span {
    margin-left: 6px;
}

.clock {
    display: flex;
    align-items: center;
    margin-right: 15px;
}
.clock_icon {
    height: 22px;
    width: 22px;
}
.clock span {
    margin: 6px;
}

.join_button {
    font-family: "Poppins", "Roboto", sans-serif;
    padding: 7px 30px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    background: linear-gradient(
        130deg,
        var(--celebrityschool-purple),
        var(--celebrityschool-pink)
    );
    border: none;
    color: #fff;
    display: block;
}

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

.buy_now_container {
    margin-bottom: 10px;
}
.album_prices {
    font-size: 24px;
    margin-top: 20px;
}
.before_price {
    position: relative;
    margin-right: 20px;
    color: #fff;
}
.before_price::after {
    content: "";
    position: absolute;
    bottom: 15px;
    left: 0;
    transform: rotate(-14deg);
    height: 3px;
    border-radius: 5px;
    width: calc(100% + 2px);
    background: #fff;
}

.play_trailer {
    margin: 10px 0;
    opacity: 0.9;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.play_trailer p {
    margin-left: 10px;
    font-size: 18px;
    font-weight: 300;
}

.play_trailer_icon {
    height: 40px;
    width: 40px;
}

.languages {
    margin: 20px 0;
}
.languages p {
    margin-bottom: 10px;
}
.language {
    font-family: "Poppins", "Roboto", sans-serif;
    background: var(--gradient);
    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;
}

.banner_mobile {
    padding-top: 75px;
    display: none;
    width: 100vw;
}
.banner_mobile_image {
    position: relative;
    width: 100vw;
    min-height: 330px;
    /* z-index: -10; */
}
.play_container {
    background: none;
    z-index: 3;
    outline: none;
    border: none;
    cursor: pointer;
    height: 50px;
    width: 50px;
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
}
.mobile_detail {
    width: 100%;
    margin-top: 40px;
    /* text-align: center; */
}
.mobile_detail_primary {
    text-align: center;
}
.artist_name {
    display: inline-block;
    font-size: 24px;
    border-bottom: 2px solid #ccc;
    padding-bottom: 10px;
}
.category {
    padding-top: 10px;
}
.mobile_detail_secondary {
    margin: 30px 0;
    text-align: center;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.mobile_detail_secondary p {
    font-size: 14px;
    line-height: 1.4rem;
}
.mobile_ratings {
    display: flex;
    align-items: center;
    justify-content: center;
}
.mobile_ratings span {
    margin-left: 5px;
    margin-top: 3px;
    font-size: 14px;
}
.buy_now_container.buy_now_mobile {
    position: fixed;
    padding: 10px;
    bottom: -5px;
    left: 0px;
    z-index: 30;
    background: rgb(17, 17, 17);
    /* background: var(--secondary-color-light); */
    width: 100vw;
    display: flex;
    /* align-items: flex-end; */
    justify-content: space-between;
    margin-bottom: 0;
    /* margin: 20px 0; */
    box-shadow: 0px -5px 30px rgb(17, 17, 17);
}
.buy_now_mobile .join_button {
    /* width: 100%; */
    width: 150px;
    height: 50px;
}
.buy_now_mobile .album_prices {
    /* margin: 30px 0 10px 0; */
    text-align: center;
    margin-left: 15px;
}
.buy_now_mobile .before_price {
    font-size: 18px;
}
.buy_now_mobile .after_price {
    font-size: 24px;
}
.banner_mobile .languages {
    text-align: center;
}

.outer_preview_container {
    position: absolute;
    top: 0px;
    left: 0px;
    overflow: hidden;
    height: 100%;
    width: 100%;
}
.outer_preview_container .video_preview {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 100%;
    width: 165%;
    z-index: 2;
    transition: all 0.2s ease-in;
}
.outer_preview_container .video_preview::after {
    height: 100%;
    background: linear-gradient(rgba(17, 17, 17, 0), rgba(17, 17, 17, 1));
}

@media screen and (max-width: 1650px) {
    .banner {
        height: 500px;
    }
}

@media screen and (max-width: 750px) {
    .banner_detail {
        width: 100%;
        padding: 0 0 40px 60px;
    }
    .meta_info {
        width: 100%;
    }
    .rating {
        margin-right: 8px;
    }
    .rating span {
        font-size: 14px;
    }
    .students_enrolled {
        margin-right: 8px;
    }
    .students_enrolled span {
        font-size: 14px;
    }
    .lessons_count {
        margin-right: 8px;
    }
    .lessons_count span {
        font-size: 14px;
    }
    .clock span {
        font-size: 14px;
    }
}

@media screen and (max-width: 650px) {
    .banner {
        height: auto;
        display: flex;
        flex-direction: column-reverse;
    }
    .banner_image {
        height: 250px;
    }
    .banner_detail {
        background: var(--secondary-color);
        position: initial;
        padding: 20px;
        margin: 20px 0;
        border-radius: 6px;
    }
    .category span {
        font-size: 12px;
        padding: 5px 15px;
    }
    .instructor_name p {
        font-size: 28px;
    }
    .meta_info {
        flex-direction: column;
    }
    .meta_info div {
        margin: 0 0 5px 0;
    }
    .rating span {
        margin-left: 8px;
    }
    .rating_star {
        height: 16px;
        width: 16px;
    }
    .students_enrolled span {
        margin-left: 8px;
    }
    .academic_cap {
        height: 16px;
        width: 16px;
    }
    .lesson {
        height: 16px;
        width: 16px;
    }
    .lessons_count span {
        margin-left: 8px;
    }
    .clock_icon {
        height: 16px;
        width: 16px;
    }
    .clock span {
        margin-left: 8px;
    }
    .join_button {
        font-size: 12px;
        padding: 7px 20px;
    }
    .play_trailer p {
        font-size: 14px;
        margin-left: 5px;
    }
    .play_trailer_icon {
        height: 20px;
        width: 20px;
    }

    .album_prices {
        margin-top: 12px;
        font-size: 16px;
    }
    .before_price {
        margin-right: 12px;
    }
    .before_price::after {
        transform: rotate(-13deg);
        width: 100%;
        bottom: 10px;
    }
}

@media screen and (max-width: 475px) {
    .banner_mobile {
        display: block;
    }
    .banner_large {
        display: none;
    }
}

@media screen and (max-width: 350px) {
    .banner_image {
        height: 150px;
    }
    .banner_detail {
        padding: 20px;
    }
    .instructor_name p {
        font-size: 18px;
        margin: 15px 0;
    }
    .rating {
        margin: 0 0 5px 0;
    }
    .rating span {
        font-size: 12px;
    }
    .students_enrolled span {
        font-size: 12px;
    }
    .lessons_count span {
        font-size: 12px;
    }
    .clock span {
        font-size: 12px;
    }
    .join_button {
        margin: 0;
    }
}
