@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


:root{
    --purple-color: rgb(84, 8, 87);
    --purple-color-hover: rgb(137, 15, 141);
    --purple-lighter-color-hover: rgb(215, 24, 221);
} 
body{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

html{
    scroll-behavior: smooth;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: "Poppins";
    text-decoration: none;
    list-style-type: none;
}

.container {
    display: flex;
    width: 100%;
}

.sections {
    width: 60%;
}


.sidebar-right {
    width: 40%;
    padding: 20px;
    position: relative;
    padding-top: 80px;
}


section {
    margin-bottom: 40px;
    padding: 20px;
    background: white;
    padding-left: 200px;
}
section .heading-section-text{
    line-height: 35px;
}
section .lowerHeadingText{
    font-size: 20px;
    
    color: var(--purple-color);
}
section h2{
    font-size: 40px;
    padding-bottom: 20px;
}
section p{
    color: #656565;
    font-weight: 300;
}

.course-container {
    position: sticky;
    top: 100px;
    max-width: 450px;
    background: #ffffff;
    border-radius: 10px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    /* margin: 0 auto; */
}
.middle-course, .course-points, .course-bottom{
    padding: 0 25px;
}
.course-heading{
    background-color: var(--purple-color);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 5px;
}
.course-heading h1, .course-heading h3{
    color: #fff
}
.course-pricing{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
}
.pricing-container span{
    font-weight: bold;
    font-size: 40px;
    z-index: 100;
}
.pricing-container p, .middle-course p{
    font-size: 13px;
    font-weight: 600;
}
.pricing-container .price p:last-of-type{
    font-size: 10px;
}
.pricing-container .price{
    display: flex;
    align-items: baseline;
    gap: 5px;
}
.number{
    position: relative;
    display: flex;
    justify-content: center;
}
.price-line{
    width: 102%;
    height: 10px;
    background-color: var(--purple-lighter-color-hover);
    position: absolute;
    bottom: 10px;
    border-radius: 10px;
}
.middle-course{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 13px;
}
.middle-line{
    width: 100%;
    height: 2px;
    background-color: rgb(230, 230, 230);
}
.course-points{
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: center;
    margin-left: 30px;
    margin-top: 15px;
    gap: 10px;
}
.course-points .point{
    display: flex;
    gap: 10px;
    align-items: center;
}
.course-points .point i{
    color: var(--purple-color);
    font-weight: 500;
    font-size: 18px;
}
.course-points .point p{
    font-size: 15px;
}


.course-bottom{
    display: flex;
    padding: 20px;
    justify-content: space-around;
}
.course-bottom p{
    font-size: 13px;
}
.course-bottom p > span{
    font-weight: bold;
    color: var(--purple-color);
}

.course-bottom .buyNowBTN{
    padding: 10px 20px; 
    background: var(--purple-color); 
    color: white; 
    border: none; 
    border-radius: 4px; 
    cursor: pointer;
    transition: 0.3s;
}
.course-bottom .buyNowBTN:hover{
    background-color: var(--purple-lighter-color-hover);
}
.course-bottom span a{
    transition: 0.3s;
}
.course-bottom span a:hover{
    color: var(--purple-lighter-color-hover);
}
.to-top {
    background-color: var(--purple-color);
    z-index: 10000;
    position: fixed;
    bottom: 16px;
    right: 18px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    text-decoration: none;
    opacity: 0;
    pointer-events: none;
    transition: all .4s;
  }
  .to-top.active{
    bottom: 18px;
    pointer-events: auto;
    opacity: 1;
  }
  .to-top:hover{
    background-color: var(--purple-lighter-color-hover);
  }







@media (max-width: 1100px) {
    .container {
        flex-direction: column;
    }
    section{
        padding-left: 0;
        padding: 0 50px;
    }
    .sections, .sidebar-right {
        width: 100%;
    }
    .sidebar-right{
        padding-top: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .course-container {
        width: 100%;
        margin: 30px;
        z-index: 1000;
        position: static;
        max-width: 70%;
    }
}
@media (max-width: 650px){
    .course-container{
        width: 100%;
        max-width: 100%;
    }
}


