* {
    margin: 2pt;
    padding: 0;
    box-sizing: border-box;
}
 
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
}
 
header {
    background-color: #333;
    padding: 1rem;
}
 
header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* added: keeps the longer nav on one or two tidy rows */
}
 
header nav ul li {
    margin: 0 15px;
}
 
header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}
 
section {
    padding: 2rem;
    margin: 1rem 0;
    background-color: #fff;
    border-radius: 8px;
}
 
h1, h2 {
    color: #2C3E50;
}
 
#home {
    text-align: center;
}
 
.project {
    margin: 1.5rem 0;
}
 
.project a {
    color: #2980B9;
    text-decoration: none;
}
 
/* ---- Additions for the Independent Projects section ---- */
 
.subsection-note {
    color: #666;
    margin-bottom: 1rem;
}
 
.tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: bold;
    color: #2980B9;
    background-color: #eaf3fa;
    border: 1px solid #2980B9;
    border-radius: 999px;
    padding: 2px 10px;
    margin-bottom: 8px;
}
 
footer {
    text-align: center;
    padding: 1rem;
    background-color: #333;
    color: #fff;
    margin-top: 2rem;
}
 
#contact {
    background-color: #ecf0f1;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 8px;
    text-align: center;
}
 
.contact-picture {
    border-radius: 50%;
    width: 150px; /* You can increase this to make the image larger */
    height: auto;  /* This keeps the aspect ratio intact */
    max-width: 100%; /* Ensures the image doesn't stretch beyond its original size */
    margin-right: 20px;
    border: 3px solid #2C3E50;
}
 
.contact-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    text-align: left; /* Keeps text alignment more natural with the image */
}
 
@media screen and (max-width: 768px) {
    /* On smaller screens, stack the image and text vertically */
    .contact-container {
        flex-direction: column;
    }
    
    .contact-picture {
        margin-right: 0; /* Remove the side margin on smaller screens */
        margin-bottom: 20px; /* Add space between picture and text */
    }
}
 
 
.contact-details h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #2C3E50;
}
 
.contact-details p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}
 
.contact-details a {
    color: #2980B9;
    text-decoration: none;
}
 
.contact-details a:hover {
    text-decoration: underline;
}
 