html{
    background-color: #f5f5f5;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: #333;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
#main-doc{
    margin: 0 auto;
    max-width: auto;
    padding: 0 20px;
}
#main-doc h1{
    text-align: center;
    margin: 20px 0;
}
#navbar{
    position: fixed;
    top: 0;
    left: 0;
    width: 10%;
    min-width: 60px;
    height: 100%;
    background-color: #333;
    background:linear-gradient(to bottom right, #2c3e50, #3498db);
    color: #ecf0f1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;  /* Allow items to wrap */
    padding: 10px 0;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    overflow-y: auto;
}
#navbar header {
    text-align: center;
    font-size: 1.5em;
    padding: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #ecf0f1;
}
#navbar ul {
    list-style-type: none;
    padding: 0;
}
#navbar li {
    width: 100%;
    margin: 5px 0;

}
.nav-link {
    color: #ecf0f1;
    text-decoration: none;
    padding: 10px 20px;
    display: block;
    transition: background 0.3s;
}
.nav-link:hover {
    background: rgba(255,255,255,0.1);
}

#navbar > *{
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border-bottom: 1px solid #fff;
    text-align: center;
    flex-flow: 1; /* Allow items to grow and shrink */
}
.nav-link{
    text-decoration: none;

}

.main-section{
    margin-left: 10%;
    padding: 20px;
    background-color: #f5f5f5;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);   
}
section{
    margin-bottom: 20px;
}
section header{
    margin-bottom: 10px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.5em;
    font-weight: bold;
    font-display: block;
    font-style: italic;
}
section article{
    margin-left: 20px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1em;
    line-height: 1.5;
}
section article p{
    margin-bottom: 10px;
    font-style: normal;
}

.code-block {
    position: relative;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    margin: 20px 0;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    max-width: 100%;
    overflow: auto;
}
.code-block pre {
    white-space: pre;
    margin: 0;
}
.code-block code {
    display: block;
    white-space: pre-wrap;
    padding: 10px;
    border-radius: 4px;
    font-family:  'Courier New', Courier, monospace;
    font-size: 0.9em;
    line-height: 1.5;
    color:#fff;
    background-color: #3498db;
    text-align: left;
    
}



@media (max-width: 768px){
    #navbar{
        display: none;

    }
}


