:root {
    --background-color: #ffffff;
    --text-color: #ffffff;
    --text-color: #ffffff;
    --font-family: Arial, sans-serif;
    --bs-primary: #ff0000;  /* Change primary color */
    --bs-body-bg: #cfcfcf;  /* Change background color */
    /* --nav-pills-border-radius: #{$nav-pills-border-radius}; */
    --bs-nav-pills-link-active-bg: #FF0000;
    --bs-nav-pills-link-active-bg: #000; 
}

.nav-underline .nav-link {
    --bs-nav-underline-link-active-bg: #ff0000;
    --bs-nav-underline-link-active-color: #ff0000; 
    --bs-nav-link-color: var(--text-color); /* Change non-active link color */
    --bs-nav-link-hover-color: #ff0000;
    --bs-body-bg: #0e0e0e;
    --bs-nav-link-font-size: 1.2rem;
}

.logo {
    max-height: 4rem; /* Ensures logo fits navbar */
    height: auto;
    width: auto;
  }

@media (max-width: 410px)
 {
    .nav-underline .nav-link {
        --bs-nav-link-font-size: 0.9rem;
    }
    .logo {
        max-height: 3rem; /* Ensures logo fits navbar */
        height: auto;
        width: auto;
      }
}

#navbar {
    /* background-color: var(--bs-body-bg);  */
    color: var(--text-color); 
    display: inline;
    justify-content: end !important;
    margin-bottom: 2.5%;
}

/* .largeHeader{
    color: var(--text-color); 
    font-size: 4em;
    font-weight: bolder;
    text-align: center;
    margin-top: 20px;
} */
#nameHeader {
    text-align: center;
    margin-top: 0%;
}

body::before {
    content: '';
    /* position: absolute; */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.76); /* Dark overlay with 50% opacity */
    background-position: center;
    background-size: cover;
    z-index: 1; /* Ensure the overlay is above the background image */
}

body {
    /* background-color: var(--background-color);  */
    background-image: url('images/background.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: var(--text-color); 
    font-family: Arial, sans-serif;
    z-index: 1;
    margin: 1.5%;
    margin-bottom: 0;
    min-height: 115vh; 
    display: flex;
    flex-direction: column;
}
body * {
    position: relative; /* Ensure content is above the overlay */
    z-index: 2;
}

.content {
    max-width: 800px; /* Limit content width */
    margin: 0 auto; /* Center content */
    padding: 20px; /* Add padding for better readability */
    text-align: center; /* Center text */
    font-size: large;
}

footer {
    margin-top: auto;
    background: rgba(0,0,0,0.6); /* Optional: style your footer */
    color: #999; /* Optional: style your footer */
    text-align: center;
    padding: 1em 0;
    z-index: 2;
    display: inline-flexbox;
}

.material-symbols-outlined {
    vertical-align: middle;
    font-size: 1.2em; /* Optional: adjust icon size */
    padding-right: 3px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem; /* Adjust spacing as needed */
    align-items: center;
    flex-wrap: wrap;
}

#headshot {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    padding: 2rem;
}

#headshot img {
    max-width: 45vh; /* Adjust as needed */
    width: 100%;
    height: auto;
    border-radius: 1rem;
    display: block;
    margin: 0 auto;
}

.project {
    margin-bottom: 3rem; /* Space between projects */
    text-align: left; /* Align text to the left for better readability */
    max-width: 65vw;
    margin-left: 6rem;
}

#resume {
    display: block;
    margin: 0 auto;
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 65%;
    height: 100vh;
}

@media (max-width: 600px) {
    #resume {
        width: 95%;
        height: 80vh;
        border-radius: 4px;
    }
}