body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #29494c;
    background-image: url('images/bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
nav {
    background-color: #222;
    padding: 0 20px;
}
.navbar {
    display: flex;
    align-items: center;
    height: 60px;
}
.navbar a {
    color: #fff;
    text-decoration: none;
    margin-right: 24px;
    font-size: 20px;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    transition: color 0.2s;
}
.navbar a:hover {
    color: #00bcd4;
}
.navbar .spacer {
    margin-left: auto;
}
#language-selector {
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid #444;
    background: #222;
    color: #fff;
    font-size: 16px;
    font-family: 'Courier New', Courier, monospace;
}
.container {
    max-width: 900px;
    margin: 40px auto;
    background: #f3fffe;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.profile-section {
    display: flex;
    align-items: center;
    margin-bottom: 32px;
}
.profile-pic {
    width: 220px;
    height: 220px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: #aaa;
    margin-right: 40px;
    object-fit: cover;
    object-position: center;
    border: 6px solid #29494c; /* Add a ring of body background color */
    box-sizing: border-box;
}
.profile-details {
    font-family: 'Courier New', Courier, monospace;
}
.profile-details h1 {
    margin: 0 0 10px 0;
    font-size: 2.2em;
}
.profile-details h1.name-top {
    font-size: 2em;
    color: rgb(151, 163, 165);
}
.profile-details p {
    margin: 0;
    color: #555;
}
.profile-details p.tagline {
    font-size: 1.2em;
}
.buttons {
    margin-top: 18px;
}
.buttons a {
    margin-right: 12px;
}
section {
    margin-bottom: 32px;
}
h2 {
    margin-top: 0;
    color: #222;
    font-size: 1.5em;
}
#work {
    padding: 16px;
    border-radius: 6px;
    color: #444;
}
section li > p {
    margin: 0;
}
#publications li,
#showcase li,
#projects li {
    margin-bottom: 1em;
}
.resume-button {
    display: inline-block;
    padding: 10px 24px;
    background-color: #29494c;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    font-family: 'Courier New', Courier, monospace;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
}
.resume-button:hover {
    background-color: #00bcd4;
}
