:root {
    --primary-color: #b3594b; /* A subtle rust tone */
    --bg-color: #f8f9fa;
    --text-color: #212529;
    --code-bg: #2d2d2d;
    --code-color: #f8f8f2;
    --card-bg: #ffffff;
    --border-color: #dee2e6;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

a {
    background-color: #f5f5f5;
    color: var(--primary-color);
    /* border-top: 2px solid var(--primary-color); */
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: #5c5c5c;
    color: white;
    padding: 10px 0;
    border-bottom: 2px solid var(--primary-color);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* New classes for the header images and title grouping */
.header-title-group {
    display: flex;
    align-items: center;
    gap: 15px; /* Spacing between the pictures and your name */
}

.profile-pic {
    width: 60px;
    height: 60px;
    border-radius: 50%; /* Makes the images circular */
    object-fit: cover; /* Prevents the images from stretching or squishing */
    border: 2px solid #555; /* A subtle border so they pop against the dark background */
}

header h1 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    text-shadow: 0 0px 6px rgba(255,255,255,0.2);
}

.tagline {
    font-size: 1.1rem;
    color: #d8d8d8;
}

.btn {
    display: inline-block;
    padding: 5px 10px;
    margin: 2px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.2s ease;
    border: 1px solid rgb(150, 150, 150);
    /* box-shadow: 0 0px 6px rgba(255,255,255,0.5); */
}

.btn:hover {
    background-color: #a63220;
}

main {
    padding: 40px 0;
}

section {
    margin-bottom: 20px;
}

h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

/* Flexbox Gallery */
.gallery {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.screenshot {
    flex: 1 1 45%;
    background: var(--card-bg);
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.screenshot img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
}

/* Features */
.feature-list {
    list-style-type: none;
}

.feature-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.feature-list li::before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Help Section */
.help-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.help-col {
    flex: 1 1 45%;
    background: var(--card-bg);
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.help-col ul {
    list-style-type: none;
}

.help-col li {
    margin-bottom: 8px;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.95rem;
}

.help-col li code {
    font-weight: bold;
    color: var(--primary-color);
    background: transparent;
    padding: 0;
    margin-right: 10px;
}

.status-note {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #6c757d;
}

/* Downloads Matrix */
.download-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.download-card {
    flex: 1 1 300px;
    background: var(--card-bg);
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    /* Make the card a flex column */
    display: flex;
    flex-direction: column;
}

.download-card h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.download-card p {
    margin-bottom: 20px;
    color: #6c757d;
}

.download-btn {
    width: 100%;
    /* Push the button to the bottom of the flex container */
    margin-top: auto; 
}

/* Code Blocks */
pre {
    background-color: var(--code-bg);
    color: var(--code-color);
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 15px 0;
}

code {
    font-family: "Courier New", Courier, monospace;
}

footer {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    color: #6c757d;
    margin-top: 40px;
}
