body {
    background-color: #0d1117;
    color: #c9d1d9;
    font-family: 'Courier New', Courier, monospace;
}


.header {
    background-color: #161b22ee;
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #6a29e2;
    box-shadow: 0 0 25px rgba(106, 41, 226, 0.3);
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.navbar li {
    position: relative;
}

.navbar a {
    text-decoration: none;
    color: #58ff7c;
    font-family: 'Pixelify Sans', sans-serif;
    font-size: 1.2rem;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.navbar a:hover {
    background: #6a29e233;
    border-color: #58ff7c;
    text-shadow: 0 0 15px #58ff7c;
    transform: translateY(-2px);
}

.navbar a[href="index.html"] {
    background: #6a29e266;
    border-color: #58ff7c;
    box-shadow: 0 0 15px rgba(88, 255, 124, 0.3);
}

.home-section {
    display: flex;
    height: 100vh;
    width: 100%;
    background-color: #0d1117;
    flex-direction: row;
}

.home-content {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.text-half {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    background-image: url('/imgs/back_dedsec.jpeg');
    background-size: cover;
    background-position: center;
    color: #ffffff;
}


.text-half h1 {
    font-size: 5rem;
    font-family: 'Pixelify Sans';
    text-shadow: 0 0 15px rgba(40, 236, 99, 0.8);
}

.text-half h2 {
    font-size: 4rem;
    font-family: 'Jacquard 24';
    letter-spacing: 3px;
    color: #0a9b4b;
    margin-top: 15px;
}

.readme-half {
    flex: 1;
    font-family: 'Roboto', sans-serif;
    background-color: #161b22;
    color: #ffffff;
    padding: 40px;
    overflow-y: auto;
}

.readme-half > #neon-bar {
    font-size: 2rem;
    font-family: 'Arial';
    color: #840fa1;
    margin-bottom: 20px;
}

.readme-half::-webkit-scrollbar {
    width: 8px;
    background-color: #6f0b8d;
}

#github-readme {
    font-size: 0.95rem;
    line-height: 1.5;
}

#github-readme img {
    max-width: 100%;
}

#github-readme h3:empty {
    display: none;
    margin: 0;
}

#github-readme pre {
    margin: 14px 0;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #2b3442;
    background-color: #0d1117;
    overflow-x: hidden;
    clear: both;
}

#github-readme code {
    font-family: "Cascadia Code", "Fira Code", Consolas, Monaco, monospace;
}

#github-readme pre code {
    display: block;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
}

#github-readme p code,
#github-readme li code {
    background-color: #0d1117;
    border: 1px solid #2b3442;
    border-radius: 6px;
    padding: 0.08rem 0.35rem;
}

#neon-bar {
    font-size: 2rem;
    font-family: 'Arial';
    color: #ab0bd3;
    text-shadow: 0 0 15px rgba(224, 76, 230, 0.8);
    margin-bottom: 20px;
    opacity: 0.01;
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 2;
    background-color: #161b22;
    padding: 15px 0;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.social-links a {
    color: #58a6ff;
    text-decoration: none;
    font-family: 'Pixelify Sans';
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #58ff7c;
    text-shadow: 0 0 15px rgba(88, 255, 124, 0.4);
}

.docs-card {
    margin-top: 20px;
    max-width: 520px;
    background: rgba(13, 17, 23, 0.75);
    border: 1px solid #58ff7c;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 0 15px rgba(88, 255, 124, 0.2);
}

.docs-card h3 {
    margin: 0 0 8px;
    font-family: 'Pixelify Sans', sans-serif;
    color: #58ff7c;
    font-size: 1.7rem;
}

.docs-card p {
    margin: 0 0 14px;
    color: #c9d1d9;
    font-size: 1rem;
}

.docs-button {
    display: inline-block;
    text-decoration: none;
    color: #0d1117;
    background: #58ff7c;
    border: 1px solid #58ff7c;
    border-radius: 6px;
    font-family: 'Pixelify Sans', sans-serif;
    padding: 8px 14px;
    transition: all 0.3s ease;
}

.docs-button:hover {
    background: transparent;
    color: #58ff7c;
    box-shadow: 0 0 12px rgba(88, 255, 124, 0.4);
}

@media (max-width: 1024px) {
    .home-section {
        height: auto;
        min-height: 100vh;
    }

    .home-content {
        flex-direction: column;
        padding-top: 88px;
    }

    .text-half,
    .readme-half {
        min-height: 50vh;
    }

    footer {
        position: static;
    }
}
