html {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: larger;
    font-weight: 300;
}

a {
    text-decoration: none;
    color: #1565c0;
}

a:hover {
    color: #217ee7;
}

/* Modify content positioning for scrollable pages */
#content {
    position: relative;
    margin: 100px auto 50px;  /* Top margin to account for nav bar */
    max-width: 1000px;
    padding: 32px;
    line-height: 1.6em;
    z-index: 1;
    text-align: center;
}

/* Home page specific styles can be added if needed */
.home-content {
    /* Any specific styles for home page */
}

.avatar {
    border-radius: 50%;
    width: 150px;
}

.icons {
    list-style-type: none;
    font-size: xx-large;
    padding: 0;
    display: flex;
    justify-content: space-between;
    width: 80%;
    max-width: 320px;
    margin: 1em auto;
}

.icons li {
    display: inline;
    width: 42px;
}

.icons a {
    color: black;
}

.icons a:hover {
    color: #1565c0;
}

/* Add new navigation styles */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 1em 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
}

.nav-links {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 2em;
}

.nav-links li a {
    color: #333;
    font-weight: 600;
    padding: 0.5em 1em;
}

.nav-links li a:hover {
    color: #1565c0;
}

/* Publication styles */
.publication-list {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    text-align: left;
}

.publication-item {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.publication-thumbnail {
    flex-shrink: 0;
    width: 300px;
    height: 200px;
    object-fit: contain;
    border-radius: 4px;
}

.publication-content {
    flex-grow: 1;
}

.publication-title {
    font-size: 1.4em;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #333;
}

.publication-authors {
    color: #666;
    margin-bottom: 8px;
}

.publication-venue {
    font-style: italic;
    color: #666;
    margin-bottom: 12px;
}

.publication-links {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.publication-links a {
    padding: 4px 12px;
    border-radius: 4px;
    background: #e9ecef;
    color: #495057;
    font-size: 0.9em;
    transition: all 0.2s ease;
}

.publication-links a:hover {
    background: #1565c0;
    color: white;
}

.publication-tldr {
    background: #e3f2fd;
    padding: 12px;
    border-radius: 4px;
    margin-top: 12px;
}

.publication-tldr-label {
    font-weight: 600;
    color: #1565c0;
    margin-right: 8px;
}

/* External link style */
.external-link {
    display: flex;
    align-items: center;
    gap: 5px;
}

.external-link i {
    font-size: 0.8em;
}

/* Paw print styles */
.paw-print {
    position: absolute;
    width: 30px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.8;
    animation: appear 0.3s ease-out;
}

.dog-paw {
    background-image: url('assets/dog-paw.png');
}

.cat-paw {
    background-image: url('assets/cat-paw.png');
}

.fade-out {
    animation: disappear 1s forwards;
}

@keyframes appear {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

@keyframes disappear {
    0% {
        opacity: 0.8;
    }
    100% {
        opacity: 0;
    }
}

/* Blog styles */
.blog-list {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    text-align: left;
}

.blog-item {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.blog-thumbnail {
    flex-shrink: 0;
    width: 300px;
    height: 200px;
    object-fit: contain;
    border-radius: 4px;
}

.blog-content {
    flex-grow: 1;
}

.blog-title {
    font-size: 1.4em;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.blog-title a {
    color: #333;
    text-decoration: none;
}

.blog-title a:hover {
    color: #1565c0;
}

.blog-date {
    color: #666;
    margin-bottom: 12px;
    font-style: italic;
}

.blog-excerpt {
    margin-bottom: 12px;
    line-height: 1.6;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-tag {
    background: #e9ecef;
    color: #495057;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.85em;
}

/* Blog post styles */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.blog-post-header {
    margin-bottom: 30px;
}

.back-button {
    display: inline-block;
    margin-bottom: 20px;
    color: #666;
    font-size: 0.9em;
}

.back-button:hover {
    color: #1565c0;
}

.blog-post-meta {
    margin: 10px 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.blog-post-date {
    color: #666;
    font-style: italic;
}

.blog-post-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.blog-post-body {
    line-height: 1.8;
}

.blog-post-body h2 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #333;
}

.blog-post-body p {
    margin-bottom: 20px;
}

.blog-post-body pre {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 4px;
    overflow-x: auto;
    margin-bottom: 20px;
}

.blog-post-body code {
    font-family: monospace;
}

.blog-post-body ul, .blog-post-body ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.blog-post-body li {
    margin-bottom: 8px;
}
