/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #121212;
    color: #f6efef;
}

header {
    background-color: #333;
    color: white;
    padding: 15px 20px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

nav ul li {
    display: inline-block;
    margin: 0 10px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    color: #ffd700;
}

/* Projects Container: Side by Side Layout */
.projects-container {
    display: flex;
    justify-content: space-between;
    padding: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.project {
    width: 48%; /* Each project takes up 48% of the container's width */
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    text-align: center;
}

.project:hover {
    transform: scale(1.05); /* Slightly enlarge on hover */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.project-image {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover; /* Ensure the image covers the entire area without stretching */
}

.project-title {
    font-weight: bold;
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #ffd700; /* Gold color for title */
}

.project-description {
    font-size: 1em;
    margin-bottom: 15px;
    
}

.project-link {
    background-color: #ffd700;
    color: #000;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.project-link:hover {
    background-color: #ff9900; /* Darker gold on hover */
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
    .projects-container {
        flex-direction: column; /* Stack projects vertically on small screens */
    }

    .project {
        width: 100%; /* Make each project take full width */
        margin: 10px 0;
    }
}

footer {
    background-color: #333;
    color: white;
    padding: 20px;
    text-align: center;
    position: relative;
    bottom: 0;
    width: 100%;
}
