html {
  scroll-behavior: smooth;
}

body{
    position: relative;
}

header{
    z-index: 2;
}

#myBtn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 20px;
    z-index: 99;
    border: none;
    outline: none;
    background: linear-gradient(#ff00ea, #0026ff);
    color: white;
    cursor: pointer;
    border-radius: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    height: 2rem;
    width: 2rem;
    padding-top: 0.5rem;
}

.left{
    width: 30%;
    height: 100vh;
    left: 0;
    position: absolute;
    position: fixed;
    /* border-right: 2px solid #808080; */
    overflow-y: auto;
    overflow-x: hidden;
}

.left-kulla{
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.lesson-logo{
    width: 250px;
    margin: 20px 15%; 
}

.lesson-logo-div{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 0;
}

.contents-list{
    /* border-top: 2px solid #808080; */
    padding-top: 8px;
    /* background: linear-gradient(to right, #ff00ea, #0026ff); */
    /* transform: translateY(75%);
    width: 30%;
    height: 75vh;
    left: 0;
    position: fixed; 
    overflow-y: auto;
    overflow-x: hidden;   */
}

/* .contents-list > ul > li{
    border-bottom: 2px solid #fff;
} */

.contents-list > ul > li > a{
    text-decoration: none;
    font-size: normal;
    /* color: #fff; */
    width: 100%;
}

.contents-list > ul > li > a > div{
    padding: 16px;
}

/* .contents-list > ul > li > a > div:hover, #this-lesson{
    background-color: #f5f5f5;
    color: #000;
} */

.right{
    width: 69.8%;
    position: absolute;
    right: 0;
    
    /* transform: translateX(43.75%); */
}

.right > .header{
    position: -webkit-sticky;
    position: sticky;
    top: 0; /*Do it correctly*/
}


.content-area{
    /* top: 60px; */
    margin: 25px 6%;
    font-size: large;
    display: flex;
    flex-direction: column;
    padding: 1% 0;
    transition: margin-top 0.4s;
}

.blog-area, .blog-area * {
    padding: 0.5em 0;
    line-height: 1.5;
}

.content-area > .lesson-logo-right{
    width: 250px;
    padding: 20px ;
    align-self: center;
    display: none;
}

.blog-area > ul, ol{
    margin-left: 45px;
}

.blog-area > h1{
    font-size: 2rem;
    text-align: center;
}


.adjacent-lesson-links{
    width: 50%;
    display: flex;
    flex-direction: row;
    /* background: linear-gradient(to right, #ff00ea, #0026ff);
    color: #fff; */
    border: none;
    border-radius: 8px;
    align-self: center;
}

.lesson-link{
    padding: 8px;
    
    /* border-right: 2px solid #fff; */
}


.lesson-link > a{
    /* color: white; */
    text-decoration: none;
}

.code-space{
    border-radius: 16px;
}

@media only screen and (max-width:1275px){
    .left{
        display: none;
    }

    .right{
        transform: translateX(0%);
        width: 100%;
    }
    .adjacent-lesson-links{
        width: 100%;
         flex-direction: column;
    }
    .lesson-link{
        width: 100%;
        padding-bottom: 20px;
        /* border-bottom: 2px solid #fff; */
        /* border-right: none; */
    }
    
    .content-area > .lesson-logo-right{
        display: block;
    }
}



