body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    margin: 0;
    
    /* Changes to move content to the top */
    display: flex;
    flex-direction: column;
    align-items: center; /* Keeps it horizontally centered */
    justify-content: flex-start; /* Aligns content to the top */
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 650px;
    /* Adds spacing at the top so it's not touching the browser edge */
    margin-top: 40px; 
    margin-bottom: 40px;
}

header {
    margin-bottom: 2rem;
    /* border-bottom: 1px solid #eee; */
    padding-bottom: 1rem;
}

header h1 {
    font-size: 1.5rem;
    letter-spacing: 2px;
    border-bottom: 2px solid #eee;
    padding-bottom: 1px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

p {
    margin-bottom: 15px;
}

.links {
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

footer {
    margin-top: 40px;
    font-size: 0.85rem;
    color: #777;
    text-align: center;
}

.footer-nav {
    margin-bottom: 10px;
}

.footer-nav a {
    margin: 0 10px;
    color: #777;
}

/* New additions for the About page */

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%; /* Makes the image circular */
    object-fit: cover;
    display: block;
    margin: 0 auto 30px auto;
    border: 3px solid #eee;
}

.bio h3 {
    font-size: 1.1rem;
    margin-top: 25px;
    margin-bottom: 10px;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bio p {
    text-align: justify;
    hyphens: auto;
}

/* Responsive adjustment for smaller screens */
@media (max-width: 480px) {
    .container {
        padding: 20px;
    }
    
    header h1 {
        font-size: 1.2rem;
    }
}