/* styles.css */

/* Basic Resets and Typography */
body {
    color: #2f4f4f; /* Dark slate gray text */
    font-family: 'Courier New', Courier, monospace; /* Typewriter-style font */
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #ffffff; /* Change background to white */
    text-align: center; /* Center all text */
}

.container {
    width: 80%;
    max-width: 900px;
    margin: 40px auto;
    padding: 25px;
    /* Remove box shadow */
}

/* Navigation Bar */
.top-nav {
    position: sticky;
    top: 0;
    background-color: #faf0e6;
    padding: 0.5em;
    margin-bottom: 1em;
    z-index: 999; /* Ensures it stays above other elements when scrolling */
}

.top-nav ul {
    list-style-type: none;
    display: flex;
    justify-content: space-evenly;
    margin: 0;
    padding: 0;
}

.top-nav li {
    margin: 0;
}

.top-nav a {
    color: #556b2f;
    text-decoration: none;
    font-weight: bold;
}

.top-nav a:hover {
    text-decoration: underline;
}

.navbar-brand, .navbar-subtitle, .navbar-nav {
    text-align: center;
    width: 100%;
}
.navbar-brand {
    color: #ab7650!important; /* Ensure the color is applied */
    font-size: 2rem;
    font-weight: bold;
}
.navbar-subtitle {
    font-size: 0.8rem;
    color: #8e8e8e;
}
.navbar-nav {
    justify-content: center;
}
.nav-link {
    color: #ab7650!important; /* Ensure the color is applied */
}

.nav-link:hover {
    color: #000000 !important; /* Change color to black on hover */
}

/* Standard Link Styles */
a {
    color: #ab7650; /* Match the navbar color */
    text-decoration: underline;
}
a:hover {
    text-decoration: none;
}
/* Focus Style for Accessibility */
a:focus {
    outline: 2px dashed #556b2f;
    outline-offset: 2px;
}

/* Headers */
h1, h2, h3 {
    color: #8b4513; /* Saddle brown for headers */
    font-weight: normal;
}

h1 {
    margin-bottom: 0.625em;
}

h2 {
    margin-top: 1.875em;
    border-bottom: 0.125em solid #556b2f; /* Change to dark olive green */
    padding-bottom: 0.3125em;
    text-align: left; /* Align to the left */
}

h3 {
    margin-top: 1.25em;
    color: #556b2f; /* Dark olive green for sub-headers */
}

/* Horizontal Rule */
hr {
    border: 0;
    height: 0.125em;
    background-color: #8b4513;
    margin: 1.25em 0;
}

/* About Me Section */
.about-me {
    margin-top: 1.25em;
    padding: 0.9375em;
    border-radius: 0.3125em;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center; /* Center content */
    text-align: center; /* Center text */
}

.about-me img {
    width: 15em; /* Increase width */
    height: 15em; /* Increase height */
    border-radius: 50%; /* Make the image circular */
    object-fit: cover;
    margin: 1.25em auto; /* Center image */
    flex-shrink: 0;
}

.about-text {
    flex: 1;
    min-width: 12.5em;
}

.about-text h1 {
    margin-top: 0;
    margin-bottom: 0.5em;
    color: #deb887; /* Burlywood color for your name */
}

.about-me p {
    font-size: 1em;
    color: #696969; /* Dark grey */
    line-height: 1.5em;
    margin: 0;
}