body {
    font-family: 'Source Code Pro', monospace;
    background-color: #282c34;
    color: #abb2bf;
    text-align: center;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    overflow-y: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    width: 800px;
    padding: 40px;
    background-color: #21252b;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #e06c75;
    font-size: 48px;
    margin-bottom: 10px;
}

h2 {
    color: #d19a66;
    font-size: 32px;
    margin-top: 40px;
}

p {
    font-size: 20px;
    line-height: 1.6;
}

a {
    color: #61afef;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    margin-bottom: 10px;
}

.bracket {
    color: #56b6c2;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background-color: #21252b;
    border-radius: 10px;
    margin: 20px 0;
    overflow: hidden;
}

.progress {
    width: 50%;
    height: 100%;
    background-color: #98c379;
    animation: progress 2s ease-in-out infinite;
}

.email-address {
    color: #61afef;
    user-select: all;
    display: inline-block;
}

.email-redirect {
    margin-left: 5px;
    color: #98c379;
    text-decoration: none;
    user-select: none;
    display: inline-block;
}

@keyframes progress {
    0% {
        width: 0;
    }
    50% {
        width: 100%;
    }
    100% {
        width: 0;
    }
}

/* Card Container */
.card-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Default 2 cards per row */
    gap: 20px; /* Space between cards */
    margin-top: 20px;
}

/* Single Card Fills Entire Row */
.card-container > .card:nth-child(odd):last-child {
    grid-column: span 2; /* Make the last single card occupy the whole row */
}

/* Individual Card */
.card {
    background-color: #21252b;
    border: 1px solid #3a3f4b;
    border-radius: 6px;
    padding: 10px 15px;
    text-align: left;
}

/* Project Title */
.project-title {
    color: #e06c75;
    font-size: 18px;
    margin-bottom: 8px;
}

/* Project Description */
.project-description {
    font-size: 14px;
    color: #abb2bf;
    margin-bottom: 10px;
}

/* Tech Stack */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}

.tech-stack span {
    font-size: 12px;
    background-color: #3e4451;
    color: #61afef;
    border-radius: 5px;
    padding: 2px 6px;
}

/* Links */
.links a {
    font-size: 12px;
    color: #98c379;
    text-decoration: none;
    margin-right: 10px;
}

.links a:hover {
    text-decoration: underline;
}

/* Section Headers */
section h2 {
    margin-top: 40px;
    font-size: 24px;
    color: #d19a66;
}

/* Responsive Behavior */
@media (max-width: 600px) {
    .card-container {
        grid-template-columns: 1fr; /* Stack all cards vertically on small screens */
    }
}
