/* Terminal-like styling */
body {
    background-color: #0d1117;
    color: #c9d1d9;
    font-family: 'Courier New', monospace;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: auto;
    padding: 20px;
}

/* ASCII Git Logo */
.ascii-logo {
    color: #ff6600;
    text-align: center;
    font-size: 7px;
    line-height: 1;
    white-space: pre;
}

/* Command-line styling */
.cmd {
    font-weight: bold;
    color: #7ee787;
    /* Git terminal green */
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    border-radius: 5px;
}

/* Git history section */
.git-history {
    margin-top: 20px;
    padding: 15px;
    border-left: 3px solid #58a6ff;
    background: rgba(255, 255, 255, 0.05);
}

/* Back button styling */
.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 15px;
    background: #238636;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.btn:hover {
    background: #2ea043;
}

/* List styling */
ul {
    list-style: none;
    padding: 0;
}

ul li {
    margin: 5px 0;
    padding-left: 20px;
    position: relative;
}

ul li::before {
    content: "➜";
    /* Git-style prompt */
    position: absolute;
    left: 0;
    color: #58a6ff;
}

/* Old Phase Section Styling */
.old_phase {
    margin-top: 20px;
    padding: 15px;
    border: 2px solid #7ee787;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
}

/* Headings inside Old Phase */
.old_phase h2 {
    color: #ffcc00;
    margin-top: 15px;
}

/* Image Styling */
.old_phase img {
    display: block;
    margin: 15px auto;
    max-width: 100%;
    border: 2px solid #7ee787;
    border-radius: 5px;
}

/* Example Code Block */
.example-block {
    background: #161b22;
    padding: 10px;
    border-left: 3px solid #ff6600;
    font-size: 14px;
    margin-top: 10px;
    border-radius: 5px;
}

/* Highlighting important terms */
.important {
    color: #ffcc00;
    font-weight: bold;
}

/* Patch Example */
.patch-example {
    background: #161b22;
    padding: 10px;
    border-radius: 5px;
    border-left: 3px solid #7ee787;
}


/* Styling for the DVCS section */
.modern_archi {
    background-color: rgba(255, 255, 255, 0.05);
    /* Slight transparency for a terminal feel */
    padding: 20px;
    border-left: 3px solid #7ee787;
    /* Git-style green border */
    margin-top: 20px;
    box-shadow: 0 0 10px rgba(126, 231, 135, 0.2);
    border-radius: 5px;
}

/* Heading Styling */
.modern_archi h2 {
    color: #ffcc00;
    /* Yellow for visibility */
    text-align: center;
    text-transform: uppercase;
    font-size: 22px;
}

/* Paragraph Styling */
.modern_archi p {
    font-size: 16px;
    line-height: 1.6;
    color: #c9d1d9;
    /* Light gray for contrast */
    margin-bottom: 15px;
}

/* Image Styling */
.modern_archi img {
    display: block;
    margin: 20px auto;
    border: 2px solid #58a6ff;
    /* GitHub blue border */
    border-radius: 5px;
    max-width: 100%;
    box-shadow: 0 0 10px rgba(88, 166, 255, 0.2);
}

.git-special {
    background-color: #0d1117;
    color: #c9d1d9;
    font-family: 'Courier New', monospace;
    max-width: 800px;
    margin: auto;
    padding: 20px;
    border-right: 3px solid #58a6ff;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
}

.git-special h2 {
    color: #ffcc00;
    text-align: center;
    text-transform: uppercase;
}

.git-special ul {
    list-style: none;
    padding: 0;
}

.git-special ul li {
    margin: 5px 0;
    padding-left: 20px;
    position: relative;
}

.git-special ul li::before {
    content: "➜";
    position: absolute;
    left: 0;
    color: #58a6ff;
}

.git-special p {
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
}

.git-special img {
    display: block;
    margin: 10px auto;
    max-width: 100%;
    border: 2px solid #58a6ff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(88, 166, 255, 0.2);
}


.git-states {
    background-color: #0d1117;
    color: #c9d1d9;
    font-family: 'Courier New', monospace;
    max-width: 800px;
    margin: auto;
    padding: 20px;
    border-left: 3px solid #0004ff;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
}

.git-states h2 {
    color: #ffcc00;
    text-align: center;
    text-transform: uppercase;
}

.git-states h3 {
    color: #7ee787;
    margin-top: 15px;
}

.git-states p {
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
}

.git-states img {
    display: block;
    margin: 20px auto;
    max-width: 100%;
    border: 2px solid #58a6ff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(88, 166, 255, 0.2);
}

.git-states span {
    font-weight: bold;
    color: #ff6600;
    background: rgba(255, 255, 255, 0.1);
    padding: 3px 6px;
    border-radius: 3px;
}

.git-workflow {
    background-color: #0d1117;
    color: #c9d1d9;
    font-family: 'Courier New', monospace;
    max-width: 800px;
    margin: auto;
    padding: 20px;
    border-right: 3px solid #ff0303;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
}

.git-workflow h2 {
    color: #ffcc00;
    text-align: center;
    text-transform: uppercase;
}

.git-workflow p {
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 10px;
}


/* Outer Container */
.learn-commands {
    background-color: #0d1117;
    color: #c9d1d9;
    font-family: 'Courier New', monospace;
    max-width: 850px;
    margin: auto;
    padding: 20px;
    border: 3px solid #185c0779;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
}

/* Terminal Container */
.git-terminal-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Terminal Styling */
.git-terminal {
    background-color: black;
    color: #7ee787;
    font-family: 'Courier New', monospace;
    padding: 15px;
    border-radius: 5px;
    width: 800px;
    margin: 20px auto;
    box-shadow: 0 0 10px rgba(126, 231, 135, 0.2);
    overflow: hidden;
    white-space: pre-wrap;
    position: relative;
}

.command {
    cursor: pointer;
    transition: color 0.3s;
}

.command:hover {
    color: #00ff00;
}

.command-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    color: #c9d1d9;
    font-size: 14px;
    display: none;
}

.term_comm_info {
    color: #d2e40d;
}

.image1 {
    height: 300px;
    display: block;
    margin-top: 10px;
}


.git-terminal-container ul {
    background: #fff;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
}

.git-terminal-container li{
    margin-bottom: 8px;
}

.terminal-panel {
    background-color: #121212;
    color: #00ff00;
    font-family: monospace;
    padding: 15px;
    border-radius: 5px;
}
.terminal-header {
    color: #ffffff;
}
.chapter-list {
    list-style: none;
    padding: 0;
}
.chapter-list li {
    margin: 5px 0;
}
.prompt {
    color: #ffcc00;
}
.chapter-list a {
    color: #00ff00;
    text-decoration: none;
}
.chapter-list a:hover {
    text-decoration: underline;
}


.sidebar-toggle {
    display: none;
}