/* Code Block Styling */
.code-block {
    background: #23272a;
    border-radius: 8px;
    padding: 20px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    overflow-x: auto;
    color: #b9bbbe;
    margin: 15px 0;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #36393f;
}

.code-block pre {
    margin: 0;
    white-space: pre-wrap;
    font-size: 14px;
    line-height: 1.5;
}

/* Optional: Add syntax highlighting colors */
.code-block .string { color: #f1fa8c; }
.code-block .comment { color: #6272a4; }
.code-block .keyword { color: #ff79c6; }
.code-block .function { color: #50fa7b; }
.code-block .number { color: #bd93f9; }

/* Optional: Add a copy button */
.code-block .copy-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #4f545c;
    border: none;
    border-radius: 4px;
    color: white;
    padding: 6px 10px;
    font-size: 12px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s;
}

.code-block:hover .copy-button {
    opacity: 1;
}

.code-block .copy-button:hover {
    background: #5865f2;
}

/* Installation section styling */
.getting-started {
    margin: 20px 0 40px;
    background-color: #36393f;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.getting-started h3 {
    margin-top: 0;
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.getting-started p {
    margin-bottom: 15px;
    line-height: 1.5;
}

.installation {
    margin-top: 15px;
}

.installation-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
    display: flex;
    align-items: center;
}

.installation-title::before {
    content: '→';
    margin-right: 8px;
    color: #5865f2;
}

.code-preview {
  overflow-x:scroll
}

/* Home Button Styling */
.home-button {
    position: absolute;
    top: 20px;
    left: 20px;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s;
    z-index: 100;
}

.home-button svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Make sure container has relative positioning for absolute positioning of home button */
body {
    position: relative;
}
