/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: #333;
            display: flex;
            min-height: 100vh;
        }
        
        .sidebar {
            width: 300px;
            background-color: #f5f5f5;
            padding: 20px;
            border-right: 1px solid #ddd;
            overflow-y: auto;
            position: sticky;
            top: 0;
            height: 100vh;
        }
        
        .sidebar h2 {
            margin-bottom: 20px;
            border-bottom: 2px solid #333;
            padding-bottom: 10px;
        }
        
        .sidebar ul {
            list-style: none;
        }
        
        .sidebar .tutorial-group {
            margin-bottom: 15px;
        }
        
        .sidebar .tutorial-group-title {
            font-weight: bold;
            cursor: pointer;
            margin-bottom: 5px;
            color: #2c3e50;
        }
        
        .sidebar .tutorial-list {
            margin-left: 15px;
        }
        
        .sidebar .tutorial-item {
            margin-bottom: 8px;
        }
        
        .sidebar .tutorial-item a {
            color: #3498db;
            text-decoration: none;
            display: block;
            padding: 5px;
            border-radius: 3px;
            transition: background-color 0.2s;
        }
        
        .sidebar .tutorial-item a:hover {
            background-color: #e3e3e3;
        }
        
        .sidebar .tutorial-item a.active {
            background-color: #3498db;
            color: white;
        }
        
        .content {
            flex: 1;
            padding: 30px;
            max-width: 900px;
            margin: 0 auto;
        }
        
        .tutorial-header {
            margin-bottom: 30px;
        }
        
        .tutorial-header h1 {
            margin-bottom: 10px;
            color: #2c3e50;
        }
        
        .tutorial-meta {
            color: #7f8c8d;
            font-size: 0.9em;
            margin-bottom: 20px;
        }
        
        .tutorial-content {
            margin-bottom: 40px;
        }
        
        .tutorial-content h2 {
            margin: 30px 0 15px 0;
            color: #2c3e50;
        }
        
        .tutorial-content p {
            margin-bottom: 15px;
        }
        
        .tutorial-content code {
            background-color: #f5f5f5;
            padding: 3px 6px;
            border-radius: 3px;
            font-family: Consolas, Monaco, 'Andale Mono', monospace;
            font-size: 0.9em;
        }
        
        .tutorial-content pre {
            background-color: #f5f5f5;
            padding: 15px;
            border-radius: 5px;
            overflow-x: auto;
            margin: 20px 0;
        }
        
        .tutorial-nav {
            display: flex;
            justify-content: space-between;
            margin-top: 40px;
            padding-top: 20px;
            border-top: 1px solid #ddd;
        }
        
        .nav-button {
            padding: 10px 15px;
            background-color: #3498db;
            color: white;
            text-decoration: none;
            border-radius: 4px;
            transition: background-color 0.2s;
        }
        
        .nav-button:hover {
            background-color: #2980b9;
        }
        
        @media (max-width: 768px) {
            body {
                flex-direction: column;
            }
            
            .sidebar {
                width: 100%;
                height: auto;
                position: relative;
                border-right: none;
                border-bottom: 1px solid #ddd;
            }
            
            .content {
                padding: 20px;
            }
        }