/* Global Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: #ffffff;
    margin: 0;
    padding: 0;
}

/* Header */
header {
    background: #1e1e1e;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

header h1 {
    margin: 0;
}

/* Back Button */
.back-button {
    display: inline-block;
    margin: 15px 0;
    padding: 10px 15px;
    background: #ff9800;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.back-button:hover {
    background: #e68900;
}

/* Sections */
section {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background: #1e1e1e;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

section h2 {
    margin-top: 0;
}

/* Project List and Cards */
#project-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.project {
    background: #2a2a2a;
    padding: 15px;
    border-radius: 8px;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.project:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(255, 255, 255, 0.1);
}

.project h3 {
    margin: 0 0 10px;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 12px;
    background: #ff9800;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.read-more:hover {
    background: #e68900;
}

/* Markdown Content Styling (for blog.html) */
#blog-content h1, 
#blog-content h2, 
#blog-content h3 {
    color: #ff9800;
}

#blog-content p {
    line-height: 1.6;
}

#blog-content img {
    display: block;         /* Remove inline spacing */
    max-width: 100%;        /* Image won't exceed container width */
    height: auto;           /* Maintain aspect ratio */
    object-fit: contain;    /* Scale the image to be fully visible within the container */
    margin: 10px auto;      /* Center the image and add vertical spacing */
}

/* Video Container for Responsive Embed */
.video-container {
    position: relative;
    width: 100%;
    max-width: 560px; /* Adjust as needed */
    margin: 20px auto;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Contact Section */
#contact ul {
    list-style: none;
    padding: 0;
}

#contact li {
    margin: 10px 0;
}

#contact a {
    color: #ff9800;
    text-decoration: none;
    transition: color 0.3s ease;
}

#contact a:hover {
    color: #e68900;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: #1e1e1e;
    margin-top: 40px;
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
    section {
        width: 90%;
        margin: 20px auto;
    }
}
/*
#blog-content pre {
    padding: 1em;
    overflow-x: auto;
    border-radius: 4px;
}

#blog-content code {
  font-family: 'Courier New', monospace;
}
*/