@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Space Grotesk', sans-serif;
}

html {
    scroll-behavior: smooth;
}


.wrapper {
    margin: 10px 30px;
}

.navigate-back-sign {
    font-size: 1.8em;
    font-weight: bold;
}
.lesson-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    padding-block: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.304);
}

.lesson-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.lesson-content {
    flex:4;
}

.lesson-outline {
    flex:1;
    position: sticky;
    top:20px;
    align-self: flex-start;
    height:100vh;
    padding-inline: 30px;
    border-left: 1px solid rgba(0, 0, 0, 0.304);

}

.lesson-outline li {
    margin-bottom: 5px;
}

.lesson-outline a {
    color: black;
    font-weight: bold;

}


.outline-title {
    text-transform: uppercase;
    text-align: center; 
    color: rgb(87, 87, 87); 
    margin-bottom: 10px;
}

.code-demo {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items:stretch;
    flex: 1 1;
}



.code , .preview {
    flex:1;
    margin-block: 10px;
    padding-inline: 15px;
}


.preview {
     border: 1px solid black;
     background-color: rgba(255, 255, 255, 0.571);
}



body {
    background-color: aliceblue;
}

marquee {
    display: block;
    font-size: 13px;
}

abbr {
    text-decoration: none;
}

a {
    text-decoration: none;
    color:blue;
}

a:hover, a:focus {
    background-color: lightsteelblue;
    border-radius: 2px;
    text-decoration: underline;
}

a:visited {
    text-decoration: inherit;
    /* color:blue; */
}

header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 15px 8px;
    align-items: center;
}

pre {
    font-family: "Source Code Pro", serif;
    background-color: rgba(255, 255, 255, 0.571);
    border: 1px solid black;
    white-space: pre-wrap;
    overflow:scroll;
    /* text-align: justify; */
    padding-inline: 5px;
}

section {
    margin-block: 10px;
} 
p {
    text-align: justify;
}

.headerWrapper {
    background-color: lightsteelblue;
    border-bottom: 1px solid rgb(150, 182, 224);
    /* box-shadow: 0px 1px black inset; */
    position: sticky;
    top:0;
    left:0;
    width: 100%;
    z-index:1;
}



#title {
    font-weight: bold;
}

