/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #666;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><pattern id="scallop" x="0" y="0" width="100" height="20" patternUnits="userSpaceOnUse"><path d="M0,20 Q25,0 50,20 T100,20" fill="%23666" opacity="0.1"/></pattern></defs><rect width="100" height="20" fill="url(%23scallop)"/></svg>');
}

/* Header Container with Original Image */
.header-container {
    background-color: #ffffcc;
    padding: 20px;
    text-align: center;
    position: relative;
    margin: 20px;
    border-radius: 10px;
}

.header-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    margin-bottom: 20px;
}

/* Site Title */
.site-title {
    font-family: 'Comic Sans MS', cursive;
    font-size: 3rem;
    color: #333;
    margin-top: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

/* Main Container */
.main-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    gap: 30px;
}

/* Sidebar */
.sidebar {
    width: 300px;
    flex-shrink: 0;
}

.profile-section {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.profile-section h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.profile-pic {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
    display: block;
}

.profile-section p {
    margin-bottom: 15px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.view-profile {
    color: #0066cc;
    text-decoration: none;
    font-size: 0.9rem;
}

.view-profile:hover {
    text-decoration: underline;
}

.social-icon img {
    width: 24px;
    height: 24px;
    margin-top: 10px;
}

.widget {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.widget h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
}

.widget-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.pinterest-link {
    color: #0066cc;
    text-decoration: none;
    font-size: 0.9rem;
}

.pinterest-link:hover {
    text-decoration: underline;
}

.email-input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.9rem;
}

.archive {
    font-size: 0.9rem;
}

.archive-toggle {
    cursor: pointer;
    color: #0066cc;
}

.archive-year {
    margin-bottom: 10px;
}

.archive-month {
    margin-left: 20px;
    margin-bottom: 10px;
}

.archive-posts {
    margin-left: 20px;
    list-style: none;
}

.archive-posts li {
    margin-bottom: 5px;
}

.archive-posts a {
    color: #0066cc;
    text-decoration: none;
    font-size: 0.8rem;
}

.archive-posts a:hover {
    text-decoration: underline;
}

/* Main Content */
.main-content {
    flex: 1;
}

.blog-post {
    background: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.post-date {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 10px;
    font-weight: normal;
}

.post-title {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: bold;
}

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

.post-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.post-content a {
    color: #0066cc;
    text-decoration: none;
}

.post-content a:hover {
    text-decoration: underline;
}

.post-image {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 10px 0;
}

.tutorial-image {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 10px 0;
}

.author-signature {
    font-style: italic;
    margin-top: 20px;
    color: #666;
}

.post-meta {
    border-top: 1px solid #eee;
    padding-top: 15px;
    font-size: 0.9rem;
    color: #666;
}

.post-actions {
    margin: 10px 0;
}

.action-link {
    color: #0066cc;
    text-decoration: none;
    margin-right: 15px;
    font-size: 0.9rem;
}

.action-link:hover {
    text-decoration: underline;
}

.links-to-post {
    color: #0066cc;
    text-decoration: none;
    font-size: 0.9rem;
}

.links-to-post:hover {
    text-decoration: underline;
}

.blog-navigation {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.blog-navigation .nav-link {
    color: #0066cc;
    text-decoration: none;
    margin-right: 20px;
    font-size: 0.9rem;
}

.blog-navigation .nav-link:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: white;
    padding: 20px;
    margin: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.footer-content p {
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
        padding: 10px;
    }
    
    .sidebar {
        width: 100%;
        order: 2;
    }
    
    .main-content {
        order: 1;
    }
    
    .header-container {
        margin: 10px;
        padding: 20px 10px;
    }
    
    .site-title {
        font-size: 2rem;
    }
    
    .header-image {
        max-width: 100%;
        height: auto;
    }
}

/* Portfolio Styles */
.portfolio-section {
    background-color: #cdf42e;
    margin-bottom: 30px;
    padding: 30px;
    border-radius: 10px;
    border: 2px dotted #000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.portfolio-section h2 {
    font-family: 'Mountains of Christmas', cursive;
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 20px;
    text-align: center;
}

.portfolio-section h3 {
    font-family: 'Mountains of Christmas', cursive;
    font-size: 1.8rem;
    color: #000;
    margin: 30px 0 20px 0;
    text-align: center;
}

.portfolio-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
}

.featured-projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.project-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    margin-bottom: 15px;
}

.project-card h4 {
    font-family: 'Mountains of Christmas', cursive;
    font-size: 1.3rem;
    color: #000;
    margin-bottom: 10px;
}

.project-card p {
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
}

.about-section {
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.about-section h3 {
    font-family: 'Mountains of Christmas', cursive;
    font-size: 1.8rem;
    color: #000;
    margin-bottom: 20px;
    text-align: center;
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
}

.skills-list {
    list-style: none;
    padding: 0;
}

.skills-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #ccc;
    color: #333;
}

.skills-list li:last-child {
    border-bottom: none;
}

@media (max-width: 480px) {
    .site-title {
        font-size: 1.5rem;
    }
    
    .header-image {
        max-width: 100%;
        height: auto;
    }
    
    .blog-post {
        padding: 20px;
    }
    
    .post-title {
        font-size: 1.4rem;
    }
}
