@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, 
body {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    line-height: 1..4;
    scroll-behavior: smooth;
}
.container {
    display: flex;
  }
  
  .sidebar {
    position: fixed;
    width: 290px; /* Adjust the width as needed */
    height: 44vh; /* Make the sidebar full height */
    padding: 20px; /* Add some padding */
  }
  
  .main-content {
    margin-left: 230px; /* Adjust the margin to match the sidebar width */
    padding: 20px; /* Add some padding */
  }
a{
    text-decoration: none;
}
body {
    display: flex;

}
header {
    border: 3px solid black;
    height: 100vh;
}
nav h1{
    font-size: 25px;
    font-weight: 500;
    padding: 10px;
    border-bottom: 2px solid black;
    
}
nav ul{
    list-style: none;
}
nav ul li {
    border-bottom: 2px solid black;
    padding: 10px;
    color: black;
    
    
}
nav ul li:hover {
    background-color: #ccc;
    transition: 0.3s ease-in-out;
}
/* Main section */
main {
    padding: 50px;
    max-width: 1200px;
    text-align: justify;
}
section {
    margin-bottom: 50px;
}
section article{
    font-size: 14px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
section h1 {
    padding-bottom: 10px;
    font-size: 25px;
    font-weight: 700;
    border-bottom: 1px solid #ccc;
    margin-bottom: 20px;
}
section h2 {
    font-weight: 400;
}

section article ul {
    margin-left: 30px;
}
section article ul li {
    margin-bottom: 10px;
}
section article ol {
    margin-left: 30px;
}
section article ol li{
    margin-bottom: 10px;
}
code {
    white-space: pre-line;
    line-height: 2;
    background-color: #f7f7f7;
    padding: 15px;
    margin: 10px;
    border-radius: 5px;
}

@media (max-width: 480px) {
    body {
        flex-direction: column;
    }
    container {
        height: 200px;
        overflow: hidden;
        overflow-y: scroll;
    }
}