:root {
    /* Dark mode color variables */
    --background-color: #121212;
    --primary-text-color: #E0E0E0;
    --secondary-text-color: #B0B0B0;
    --accent-color: #BB86FC;
    --hover-color: #BB86FC; /* Blue color for hover */
    --card-background-color: #1E1E1E;
}

body {
    font-family: 'Roboto Mono', monospace;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--primary-text-color);
}

.container {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

header h1 {
    font-size: 2.5em;
    text-align: center;
    margin: 20px 0;
}

nav ul {
    list-style-type: none;
    padding: 0;
    text-align: center;
    margin-bottom: 20px;
}

nav ul li {
    display: inline;
    margin: 0 1em;
}

nav ul li a {
    text-decoration: none;
    color: var(--primary-text-color);
}

nav ul li a:hover {
    color: var(--hover-color); /* Hover color for nav links */
}

#content {
    margin-top: 20px;
}

.blog-post h2 {
    font-family: 'Roboto Mono', monospace;
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: left;
}

.blog-post .date {
    font-family: 'Roboto Mono', monospace;
    font-size: 1em;
    font-style: italic;
    margin-bottom: 20px;
    text-align: left;
}

.blog-post p {
    font-family: 'Roboto Mono', monospace;
    font-size: 1.1em;
    line-height: 1.6em;
    margin-bottom: 20px;
    text-align: left;
}

a.icon-link {
    text-decoration: none;
    color: var(--primary-text-color);
    font-size: 1.5em;
    margin-left: 5px;
}

a.icon-link:hover {
    color: var(--hover-color); /* Accent hover color */
}

section#contact a {
    margin: 0 0.5em;
    text-decoration: none;
    color: var(--primary-text-color);
    font-size: 1.5em;
}

section#contact a:hover {
    color: var(--hover-color); /* Accent hover color */
}

.blog-posts {
    text-align: left;
}

.post {
    margin-bottom: 2em;
}

.post a {
    text-decoration: none;
    color: var(--primary-text-color);
}

.post a:hover {
    color: var(--hover-color); /* Hover color for project and blog links */
}

/* Card style for projects */
.card {
    background-color: var(--card-background-color);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

hr.solid {
    /* reduce opacity */
    opacity: 0.5;
    border-top: 3px solid #B0B0B0 ;
  }

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }

    nav ul li {
        display: block;
        margin: 10px 0;
    }

    nav ul li a {
        font-size: 1.2em;
    }

    .blog-post h2 {
        font-size: 1.5em;
    }

    .blog-post p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5em;
    }

    nav ul li a {
        font-size: 1em;
    }

    .blog-post h2 {
        font-size: 1.2em;
    }

    .blog-post p {
        font-size: 0.9em;
    }
}
/* Blog post preview styles */
.blog-posts {
    text-align: left;
}

.post {
    margin-bottom: 2em;
}

.post h3 {
    font-size: 1.5em; /* Heading size */
    margin-bottom: 0.25em; /* Reduce space below heading */
}

.post .subheading {
    font-size: 0.9em; /* Smaller font size for subheading */
    color: var(--secondary-text-color); /* Use a lighter color */
    margin-bottom: 1em; /* Space below subheading */
    font-style: italic; /* Optional: Make it italic for distinction */
}

.post a {
    text-decoration: none;
    color: var(--primary-text-color);
}

.post a:hover {
    color: var(--hover-color);
}

hr.solid {
    opacity: 0.5;
    border-top: 3px solid var(--secondary-text-color);
}

