body {
    font-family: monospace;
    background-color: #171717;
    color: #0F0;
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.5;
}

.container {
    display: flex;
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #101010;
    border: 2px solid #0F0;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 255, 0, 0.1);
}

.sidebar {
    flex: 1;
    padding-right: 20px;
}

.sidebar h2 {
    color: #0F0;
}

.main-content {
    flex: 3;
}

h1 {
    color: #0F0;
    text-align: center;
}

.about-me {
    margin-top: 20px;
    text-align: justify;
    color: #0F0;
}

.about-me p {
    margin-bottom: 15px;
}

.certifications {
    margin-top: 20px;
}

.certifications h2 {
    color: #0F0;
}

.certification-item {
    margin-bottom: 10px;
}


.blog-posts {
    margin-top: 20px;
}

.post {
    margin-bottom: 20px;
    border-bottom: 2px solid #0F0;
    padding-bottom: 20px;
}

.post h2 {
    color: #0F0;
}

.post p {
    color: #0F0;
    margin-top: 5px;
    margin-bottom: 10px;
}

a {
    color: #0F0;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .container {
        flex-direction: column; /* Modified to stack the elements vertically */
        align-items: stretch; /* Ensure children take full width */
    }

    .sidebar {
        flex: none; /* Modified to prevent flex-grow */
        padding-right: 0;
        margin-bottom: 20px; /* Added spacing between sidebar and main content */
        border-bottom: 2px solid #0F0; /* Added a bottom border to separate sidebar */
    }

    .sidebar h2 {
        text-align: center; /* Centered the heading for better mobile view */
    }

    .main-content {
        flex: none; /* Modified to prevent flex-grow */
    }
}