/* General Styling for Projects Page */
body {
    font-family: 'Bahnschrift', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000; /* Black background */
    color: #fff; /* White text */
}

/* Section Styling */
#projects {
    padding: 50px 20px;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    color: #00fbff;
    margin-bottom: 40px;
}

/* Projects Grid */
.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px; /* Space between grid items */
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    max-width: 1200px;
}

/* Project Card */
.project-card {
    background-color: #111;
    border-radius: 10px;
    overflow: hidden; /* Ensures content stays within card */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover; /* Ensure thumbnails fit perfectly */
    transition: transform 0.3s ease;
}

.project-card h3 {
    font-size: 1.2rem;
    margin: 10px 0;
    color: #00fbff;
}

/* Hover Effects */
.project-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.6);
}

.project-card:hover img {
    transform: scale(1.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .projects-container {
        grid-template-columns: 1fr; /* Stack projects in a single column */
    }
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #000;
    color: #fff;
    position: relative;
    width: 100%;
}