/* Craigslist-inspired minimal stylesheet */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #000;
    background-color: #fff;
    line-height: 1.4;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}

/* Header */
header {
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
    margin-bottom: 20px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #000;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo:hover {
    color: #666;
}

.logo img {
    height: 32px;
    width: auto;
    vertical-align: middle;
}

/* Navigation */
nav {
    margin: 10px 0;
}

nav a {
    color: #0000EE;
    text-decoration: underline;
    margin-right: 15px;
    font-size: 14px;
}

nav a:visited {
    color: #551A8B;
}

nav a:hover {
    color: #0000EE;
    text-decoration: none;
}

/* Main content */
main {
    min-height: 500px;
    margin-bottom: 40px;
}

h1 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: bold;
}

h2 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
}

h3 {
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: bold;
}

/* Project list styling */
.project-list {
    list-style: none;
}

.project-item {
    border-bottom: 1px dotted #ccc;
    padding: 8px 0;
    margin-bottom: 5px;
}

.project-item:last-child {
    border-bottom: none;
}

.project-link {
    color: #0000EE;
    text-decoration: underline;
    font-size: 14px;
    font-weight: bold;
}

.project-link:visited {
    color: #551A8B;
}

.project-link:hover {
    color: #0000EE;
    text-decoration: none;
}

.project-date {
    color: #666;
    font-size: 12px;
    margin-left: 10px;
}

.project-description {
    color: #333;
    font-size: 13px;
    margin-top: 3px;
}

/* Project detail page */
.project-detail {
    margin-bottom: 20px;
}

.project-images {
    margin: 15px 0;
}

.project-image {
    max-width: 100%;
    height: auto;
    border: 1px solid #ccc;
    margin: 10px 0;
    display: block;
}

.project-image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
    justify-content: flex-start;
}

.project-image-gallery img {
    width: 100%;
    max-width: 300px;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: contain;
    border: 1px solid #ccc;
    flex: 1 1 200px;
    min-width: 150px;
    background: #fafafa;
}

.project-meta {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 15px;
    font-size: 13px;
}

.project-meta h3 {
    margin-bottom: 5px;
    font-size: 14px;
}

.project-content {
    margin-bottom: 20px;
}

.project-content p {
    margin-bottom: 10px;
}

.project-tags {
    margin-top: 15px;
}

.tag {
    background-color: #eee;
    border: 1px solid #ccc;
    padding: 2px 6px;
    margin-right: 5px;
    font-size: 12px;
    display: inline-block;
}

/* Back link */
.back-link {
    color: #0000EE;
    text-decoration: underline;
    font-size: 13px;
    margin-bottom: 15px;
    display: inline-block;
}

.back-link:hover {
    text-decoration: none;
}

/* Footer */
footer {
    border-top: 1px solid #ccc;
    padding: 15px 0;
    margin-top: 40px;
    text-align: center;
    font-size: 12px;
    color: #666;
}

footer a {
    color: #0000EE;
    text-decoration: underline;
}

footer a:visited {
    color: #551A8B;
}

/* Responsive design */
@media (max-width: 768px) {
    body {
        padding: 5px;
    }
    
    .logo {
        font-size: 20px;
    }
    
    nav a {
        display: block;
        margin: 5px 0;
    }
    
    h1 {
        font-size: 18px;
    }
    
    .project-date {
        display: block;
        margin-left: 0;
        margin-top: 3px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 13px;
    }
    
    .logo {
        font-size: 18px;
    }
    
    h1 {
        font-size: 16px;
    }
    
    .project-meta {
        padding: 8px;
    }
}

#the-canvas {
  border: 1px solid black;
  direction: ltr;
}