#learning_platform_section {
    height: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-family: 'Montserrat-Regular', sans-serif !important;
}

#lps_body{
    height: 100%;
    width: 90%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 30px;
    background: linear-gradient(38.63deg, rgba(21, 21, 21, 0.91) 54.15%, rgba(21, 21, 21, 0.455) 81.49%);
}

.lps_about_course:hover {
    background-color: #5A4C00;
    color: white;
}


/*#main_image_back_top {*/
/*    position: absolute;*/
/*    top:0;*/
/*    left:0;*/
/*}*/

#main_image_back_right {
    position: absolute;
    right:0;
    top:0;
}

#main_image_back_bottom {
    position: absolute;
    bottom:0;
    left: 0;
    width: 100%;
}

#lps_heading{
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#lps_title {
    color: white;
    font-weight: 400;
    font-size: 40px;
    line-height: 40px;
    font-family: 'Gilroy-Regular', sans-serif !important;
}

#lps_bigger_title {
    color: white;
    font-weight: 700;
    font-size: 56px;
    line-height: 68px;
}

#lps_courses {
    z-index:2;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    height: 500px;
    margin-top: 20px;
}

.lps_course_cards {
    width: 487px;
    height: 495px;
    background-color: #1C1C1C;
    border-radius: 20px;
    padding: 50px 36px 50px 36px;
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.lps_course_title {
    font-weight: 500;
    font-size: 32px;
    color: white;
    line-height: 40px;
}

.lps_course_details{
    margin-top: 20px;
}

.lps_course_detail {
    color: white;
    display:flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    margin-top: 20px;
}

.lps_course_detail:hover {
    transform: scale(1.1);
    transition: transform 0.3s;
}

.lps_course_text {
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    margin-left: 5px;
}

.lps_course_about {
    margin-top: 20px;
}

.lps_course_about a {
    height: 48px;
    width: 170px;
    color: black;
    border-radius: 9px;
    background-color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
}

#lps_comments{
    z-index:2;
    width: 1250px;
    height: 370px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
}

#lps_comments_slide_left img{
    height: 80px;
    width: 80px;
}

#lps_comments_slide_left img:hover {
    transform: scale(1.1);
    transition: transform 0.5s;
}

#lps_comments_slide_right img{
    height: 80px;
    width: 80px;
}

#lps_comments_slide_right img:hover {
    transform: scale(1.1);
    transition: transform 0.5s;
}

.lps_comments_item {
    width: 1050px;
    height: 370px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(7px);
    display: flex;
    flex-direction: row;

}

.lps_comments_item_img {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 300px;
    height: 100%;
}

.lps_comments_item_img img {
    height: 228px;
    width: 228px;
    border-radius: 50%;
    border: 1px solid #5A4C00;
    margin-right: 20px;
    object-fit: cover;
}

.lps_comments_item_content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin-left: 20px;
    width: 750px;
    height: 100%;
}

.lps_comments_item_text {
    display: flex;
    flex-direction: row;
    max-height: 90%;
}

.lps_comments_item_text_before {
    width: 32px;
    height: 100%;
    display: flex;
    align-items: flex-start;
}

.lps_comments_item_text_before img {
    height: 32px;
    width: 32px;
}

.lps_comments_item_text_main {
    color: white;
    width: 640px;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    margin: 10px;
}

.lps_comments_item_text_after {
    width: 32px;
    height: 100%;
    display: flex;
    align-items: flex-end;
}

.lps_comments_item_text_after img {
    height: 32px;
    width: 32px;
}

.lps_comments_item_author{
    color: white;
    font-weight: 500;
    font-size: 28px;
    line-height: 34px;
    max-height: 10%;
    margin-top: 20px;
}

.lps_comments_item.active {
    opacity: 1;
    display:flex;
}

.lps_comments_item.inactive {
    opacity: 0;
}

.lps_comments_item {
    display: none;
}

/* Use a media query to add a breakpoint at 800px: */
@media screen and (max-width: 800px) {
    #lps_body {
        height: 100%;
        width: 90%;
        position: relative;
        display: grid;
        align-items: center;
        background: linear-gradient(38.63deg, rgba(21, 21, 21, 0.91) 54.15%, rgba(21, 21, 21, 0.455) 81.49%);
        justify-items: center;
        grid-template-rows: 5% 50% 45%;
    }
    #lps_courses {
        z-index:2;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 100%;
        height: 500px;
        margin-top: 20px;
    }

    #lps_bigger_title {
        color: white;
        font-weight: 700;
        font-size: 24px;
        line-height: 68px;
    }

    #lps_title {
        color: white;
        font-weight: 400;
        font-size: 24px;
        line-height: 40px;
        font-family: 'Gilroy-Regular', sans-serif !important;
        z-index:1;
    }

    .lps_course_cards {
        width: 300px;
        height: 235px;
        background-color: #1C1C1C;
        border-radius: 20px;
        padding: 5px 36px 5px 36px;
        margin-bottom: 10px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }

    .lps_course_title {
        font-weight: 500;
        font-size: 14px;
        color: white;
        line-height: 16px;
    }
    .lps_course_details{
        margin-top: 2px;
    }

    .lps_course_detail {
        color: white;
        display:flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: flex-start;
        margin-top: 8px;
    }

    .lps_course_text {
        font-weight: 400;
        font-size: 14px;
        line-height: 16px;
        margin-left: 5px;
    }

    .lps_course_about {
        margin-top: 10px;
    }

    .lps_course_about a {
        height: 26px;
        width: 120px;
        color: black;
        border-radius: 9px;
        background-color: white;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        font-weight: 400;
        line-height: 19px;
    }


    #lps_comments {
        z-index: 2;
        width: 300px;
        height: 250px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-top: 80px;
    }

    .lps_comments_item {
        width: 300px;
        height: 250px;
        border-radius: 12px;
        background: rgba(0, 0, 0, 0.55);
        backdrop-filter: blur(7px);
        padding-top: 5px;
    }

    .lps_comments_item_img {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 60px;
    }

    #lps_comments_slide_left img {
        height: 20px;
        width: 20px;
    }

    #lps_comments_slide_right img {
        height: 20px;
        width: 20px;
    }

    .lps_comments_item_img img {
        height: 60px;
        width: 60px;
        border-radius: 50%;
        border: 1px solid #5A4C00;
        margin-right: 0px;
    }

    .lps_comments_item_content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        width: 100%;
        height: 300px;
        margin-left: 0;
    }

    .lps_comments_item_author {
        color: white;
        font-weight: 500;
        font-size: 14px;
        line-height: 20px;
        margin-left: 10px;
    }

    .lps_comments_item_text {
        display: flex;
        flex-direction: row;
    }

    .lps_comments_item_text_before {
        width: 7px;
        height: 100%;
        display: flex;
        align-items: flex-start;
    }

    .lps_comments_item_text_before img {
        height: 16px;
        width: 16px;
    }

    .lps_comments_item_text_main {
        color: white;
        width: 95%;
        font-weight: 400;
        font-size: 14px;
        line-height: 16px;
        margin-top: 10px;
    }

    .lps_comments_item_text_after {
        width: 0px;
        height: 100%;
        display: flex;
        align-items: flex-end;
        margin-left: -30px;
        margin-top: 5px;
    }
    .lps_comments_item_text_after img {
        height: 16px;
        width: 16px;
    }

    .lps_comments_item.active {
        opacity: 1;
        display: flex;
        flex-direction: column;
    }
    .lps_comments_item_text {
        display: flex;
        flex-direction: row;
        overflow: hidden;
    }
}
