body 
{
    margin: 5% auto;
    background: #f8f8f8; 
    color: #444444; 
    font-family: 'Optima', sans-serif;
    font-size: 16px; 
    line-height: 1.8; 
    text-shadow: 0 1px 0 #ffffff; 
    max-width: 73%;
    font-weight: 400;
    font-style: normal;
    font-optical-sizing: auto;
}

code 
{
    background: white;
}
            
a 
{
    border-bottom: 1px solid #444444;
    color: #444444; 
    text-decoration: none;
}
            
a:hover {
    border-bottom: 0;
}



.column {
    float: left;
    width: 50%;
}

.bold
{
    border-bottom: 0;
    color: #444444; 
    text-decoration: none;
    font-weight: bold;
}

.bold:hover {
    border-bottom: 1px solid #444444;
}

/* New styles for responsive design */
header {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.header-content {
    flex: 1;
    min-width: 50%;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top h1 {
    margin: 0;
}

.header-top nav h2 {
    margin: 0;
}

#photo {
    max-width: 275px;
    height: auto;
    margin: 0 0 20px 40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 768px) {
    body {
        max-width: 90%;
        margin: 5% auto;
    }

    header {
        flex-direction: column-reverse;
        align-items: center;
    }

    .header-content {
        width: 100%;
        text-align: center;
    }

    #photo {
        margin: 0 auto 20px;
        display: block;
    }
}

/* Styles for blog */
.post-list {
    list-style-type: none;
    padding: 0;
}

.post-list li {
    margin-bottom: 20px;
}

.post-list a {
    font-size: 18px;
    font-weight: bold;
}

.post-date {
    display: block;
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

#blog {
    margin: 40px 0;
}

#blog .post-list {
    margin: 15px 0 0;
}

#no-posts-message {
    color: #666;
    font-size: 14px;
    margin: 10px 0 0;
}

.home-link {
    color: #344d8d;
    text-decoration: none;
    border-bottom: none;
    transition: color 0.3s ease;
}

.home-link:hover {
    color: #4a6cc3;
}

.blog-link {
    color: #263867;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 20px;
}

.blog-link:hover {
    color: #4a6cc3;
}

.blog-title {
    color: #232323;
}
.subtitle {
    color: #283e72;
    font-size: 22px;
    margin-bottom: 0px;
}

.critter-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.critter-layer .critter {
    position: absolute;
    opacity: 0.25;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.12));
}
