* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

header h1 {
    margin: 0;
}

.section {
    flex: 1;
    padding: 50px 0;
}

.project {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease-in-out;
}

.project:hover {
    transform: translateY(-5px);
}

.project img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.project h3 {
    margin-top: 20px;
    font-size: 1.5rem;
}

.project p {
    color: #666;
    line-height: 1.5; /* Added line height property */
}

.project a {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease-in-out;
}

.project a:hover {
    background-color: #0056b3;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    flex-shrink: 0;
}

/* Responsiveness */

@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }

    .project {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    header h1 {
        font-size: 24px;
    }

    .project h3 {
        font-size: 1.2rem;
    }

    .project a {
        font-size: 14px;
        padding: 6px 12px;
    }
}

#projects h2 {
    margin-bottom: 30px;
}