/* General Styles */
body {
    font-family: 'Roboto Mono', monospace;
    background-color: #ffffff; /* White background */
    color: #333333; /* Dark text for contrast */
    margin: 0;
    padding: 0;
    /*line-height: 1.6;*/
}

/* Navigation Bar */
header {
    background-color: #ffffff; /* White background */
    padding: 20px;
    position: sticky;
    top: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

/*nav ul li {*/
/*    display: inline;*/
/*    !*margin: 0 15px;*!*/
/*}*/

/*nav ul li a {*/
/*    color: #333333; !* Dark text *!*/
/*    text-decoration: none;*/
/*    !*font-weight: bold;*!*/
/*}*/

nav ul li a:hover {
    text-decoration: underline;
}

/* Sections */
section {
    padding: 80px 20px;
    max-width: 800px;
    margin: 0 auto;
}

h1, h2, h3 {
    color: #000000; /* Black headings */
}

/*a {*/
/*    !*color: #4dabf7; !* Blue links *!*!*/
/*    text-decoration: none;*/
/*}*/

a:hover {
    text-decoration: underline;
}

/*.project {*/
/*    margin-bottom: 40px;*/
/*}*/

.entry-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Mobile fix for project/research title layout */
@media (max-width: 768px) {
    h3[style*="display: flex"] {
        display: block !important;
    }

    h3[style*="display: flex"] span {
        display: block;
        margin-top: 4px;
    }
}

@media (max-width: 768px) {

    h2[style*="display: flex"] {
        display: block !important;
    }

    h2[style*="display: flex"] span {
        display: block;
        margin-top: 4px;
        font-size: 16px;
    }

}