/* Reset default styles */
body,
h1,
p {
    margin: 5px 0;
    padding: 10px 0;
}

/* Set default font and background color */
body {
    font-family: Helvetica, sans-serif;
    background-color: rgb(207, 205, 198);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Style the main content */
main {
    margin: 2% 10%;
    padding: 2rem;
    background-color: rgb(224, 221, 211);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Style the header */
header {
    background-color: #333;
    color: #fff;
    padding: 5px 0; 
    text-align: center;
    width: 100vw;
}

header .wrapper {
    width: 80%;
    margin: 0 auto;
}

header img {
    vertical-align: middle;
}

/* Style links */
a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

nav {
    padding: 1rem 0;
}

/* Style the navigation bar */
nav#head {
    background-color: rgba(187, 183, 171, 0.849);
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    width: 100vw; /* Full width of the screen */
    padding: 0;
}

nav#head .wrapper {
    width: 80%; /* Constrain the width of the navigation bar's content */
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto; /* Center the navigation buttons */
}

nav#head a {
    color: #2b2b2b;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 10px 6px;
    padding: 1% 1%;
    text-align: center;
    flex: 0 1 auto;
    border-radius: 5px;
    border-style: solid;
    border-width: 2px;
    border-color: #333;
    width: 120px;
}

nav#head a:hover {
    background-color: rgb(210, 206, 192);
}

/* Style the local nav */
nav#local {
    padding: 10px 0px;
    margin: 0px;
    font-size: 1.5em;
    border-left: 4px solid #333; /* Bold border to differentiate */
    border-radius: 8px;
}

nav#local ul {
    list-style-type: none;
    padding-left: 1em;
    margin: 0;
}

nav#local a {
    color: black;
    transition: color 0.2s ease;
}

nav#local a:hover {
    color: #005bb5;
    text-decoration: underline;
}

/* Footer */
footer {
    margin: 2% 10%; /* Keep footer content within margins like main */
    align-self: start;
    text-align: center;
}

.pdf-container {
    width: 100%;
    min-height: 60vh;
    height: 90vh;
    max-height: 100vh;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: white;
    overflow: hidden;
}

object#resume {
    width: 100%;
    height: 100%;
    /* border: none;/ */
}

/* Responsive design for smaller screens */
/* @media (max-width: 768px) {
    body {
        margin: 0;
        padding: 0;
    }

    main {
        padding: 0 5%;
    }

    nav {
        margin: 0;
        padding: 0;
    }

    nav#head {
        flex-direction: column;
    }

    nav#head a {
        padding: 10px 0;
        width: 100%;
    }

    footer {
        padding: 0 5%;
    }
} */
