@media screen and (min-device-width: 901px){
    .about-the-course {
        width: 100%;
        display: flex;
        justify-content: space-between;
        gap: 3rem;
        margin-top: 4rem;
    }
    .about-the-course__description {
        width: calc(50% - 1.5rem);
        border-radius: 2rem;
        background-color: rgb(30, 30, 30);
        padding: 3rem;
        color: rgb(240, 240, 240);
        font-size: 1.6rem;
        font-weight: 400;
        line-height: 2.5rem;
    }
    .about-the-course__video {
        width: calc(50% - 1.5rem);
        background-image: url(/assets/images/video_banner.png);
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        height: 40rem;
        cursor: pointer;
    }
}

@media screen and (min-device-width: 320px) and (max-device-width: 900px)  {
    .container:has(.about-the-course){
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    .about-the-course {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 3rem;
    }
    .about-the-course__description {
        order: 1;
        width: 100%;
        border-radius: 2rem;
        background-color: rgb(30, 30, 30);
        padding: 3rem;
        color: rgb(240, 240, 240);
        font-size: 1.6rem;
        font-weight: 400;
        line-height: 2.5rem;
    }
    .about-the-course__video {
        order: 0;
        width: 100%;
        background-image: url(/assets/images/video_banner.png);
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        height: 20rem;
        border-radius: 3rem;
        cursor: pointer;
    }
}