/* General styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

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

/* Header and Navigation */
header {
    background-color: #333;
    color: #fff;
    padding: 1rem;
}

header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

header nav ul li {
    display: flex;
    align-items: center;
}

header nav ul li a {
    color: white;
    font-size: 1.2rem;
    position: relative;
}

header nav ul li a sup {
    font-size: 0.5em;
    position: absolute;
    top: -0.3em;
    right: -1.0em;
}

header nav ul li a:hover {
    color: #a0a0a0;
}

/* Home Section */
#home {
    height: 100vh;
    background: url('assets/homebg.png') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

#home h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

#home p {
    font-size: 1.5rem;
}

/* Content Sections */
section {
    padding: 3rem 1rem;
    text-align: center;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

section ul {
    list-style-type: none;
    padding: 0;
}

section ul li {
    font-size: 1.2rem;
    margin: 0.5rem 0;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem;
    position: fixed;
    bottom: 0;
    width: 100%;
}

/* Container */
.container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
}


/* Docs Page */
.docs-container {
    display: flex;
    min-height: calc(100vh - 4rem);
    background-color: #f4f4f4;
}

/* Sidebar */
.sidebar {
    position: relative;
    width: 25%;
    background: url('assets/homebg.png') no-repeat center center/cover;
    color: white;
    padding: 1rem;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.sidebar::before {
    content: "";
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.5rem;
    background-color: rgba(11, 11, 11, 0.8);
    border-radius: 12px;
    z-index: 0;
}

.sidebar h3, .sidebar ul {
    position: relative;
    z-index: 1;
    margin-top: 20px;
    margin-left: 30px;
}

.sidebar ul {
    padding-left: 30px;
}

.sidebar ul li {
    position: relative;
    list-style: none;
    margin: 0.5rem 0;
}

.sidebar ul li::before {
    content: "→";
    position: absolute;
    left: -20px;
    color: white;
    font-size: 1rem;
    font-weight: bold;
}

.sidebar ul li a {
    color: white;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.sidebar ul li a:hover {
    color: #a0a0a0;
}

/* Copy Box */
.copy-box {
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.copy-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.copy-item pre {
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    margin: 0;
    flex-grow: 1;
    margin-right: 0.5rem;
    overflow-x: auto;
}

.copy-item .copy-btn {
    background-color: #333;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.copy-item .copy-btn:hover {
    background-color: #555;
}

/* Main Content */
.main-content {
    width: 75%;
    padding: 2rem;
    background-color: white;
    overflow-y: auto;
}

.main-content section {
    margin-bottom: 2rem;
}

.main-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.main-content p, .main-content ul {
    font-size: 1.1rem;
    line-height: 1.6;
}

.main-content ul {
    padding-left: 1.5rem;
}

.main-content ul li {
    margin: 0.5rem 0;
}
