/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', Courier, monospace;
    background-color: #111; /* Dark background for a retro console feel */
    color: #eee; /* Light text for contrast */
    line-height: 1.6;
}

header {
    text-align: center;
    padding: 20px;
    background-color: #222;
    border-bottom: 2px solid #4caf50; /* Vibrant green border for retro effect */
}

header h1 {
    font-size: 2.5rem;
    color: #4caf50;
}

header p {
    color: #bbb;
}

nav a {
    margin: 0 15px;
    color: #4caf50;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    color: #81c784;
}

main {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Section Styling */
.section {
    max-width: 800px;
    margin: 20px 0;
    padding: 20px;
    background-color: #222; /* Darker background for sections */
    border: 1px solid #4caf50;
    border-radius: 5px;
    text-align: center;
}

.section h2 {
    color: #4caf50;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.section p {
    color: #bbb;
    font-size: 1.1rem;
}

/* Gallery styling for images */
.gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
}

.gallery img {
    width: 100%;
    border: 2px solid #4caf50;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05); /* Slight zoom on hover */
}

/* Button Styling */
.button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #4caf50;
    color: #111;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #81c784; /* Lighter green on hover */
}

/* Footer */
footer {
    background-color: #222;
    padding: 10px;
    text-align: center;
    color: #4caf50;
    font-size: 0.9rem;
    border-top: 2px solid #4caf50;
}

footer a {
    color: #4caf50;
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    color: #81c784;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery {
        grid-template-columns: 1fr;
    }

    header h1 {
        font-size: 2rem;
    }

    .section h2 {
        font-size: 1.5rem;
    }
}

/* Container for project section */
main {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h2 {
    color: #4caf50;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
}

/* Project grid styling */
.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns for larger screens */
    gap: 20px;
    width: 100%;
    max-width: 1200px; /* Optional maximum width */
    padding: 20px;
    box-sizing: border-box;
}

.project {
    background-color: #222;
    padding: 15px;
    border: 1px solid #4caf50;
    border-radius: 5px;
    text-align: center;
    transition: transform 0.3s ease;
}

.project img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    border: 2px solid #4caf50;
    margin-bottom: 10px;
}

.project h3 {
    color: #4caf50;
    margin: 10px 0;
}

.project p {
    color: #bbb;
}

/* Hover effect for projects */
.project:hover {
    transform: scale(1.03); /* Slight zoom effect on hover */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .project-grid {
        grid-template-columns: 1fr; /* 1 column on smaller screens */
    }
}