html { scroll-behavior: smooth; }

body {
    margin: 0;
    padding: 0;
    background-color: #CBD1CB;
}

#header {
    background-image: url("/anom-pics/header_background.webp");
    display: flex;
    justify-content: left;
    align-items: center;
    position: sticky;
    top: 0; 
    z-index: 10;
    border-bottom: 10px solid #00398f;
    background-repeat: no-repeat;
    background-size: 100vw;
}

#header a {
    text-decoration: none;
    font-size: 30px;
    padding: 15px;
    margin-left: 1%;
    color: #00398f;
}

#header a:hover {
    background-color: #7E9D9F;
}

.head_logo {
    min-height: 80px;
    max-height: 10vh;
    margin-left: 2vh;
    margin-top: 2vh;
    margin-bottom: 2vh;
}

.head_text {
    margin-left: 20px;
}

.global-nav {
    display: flex;
    flex-direction: row;
    height: 100vh;
    width: 100%;
}

.left-nav {
    position: fixed;
    width: 20%;
    height: 100vh;
    border-right: 3px solid #00398f;
    padding-left: 0.5%;
    padding-bottom: 10%;
    box-sizing: border-box;
    overflow: scroll;
}

.font-adjuster a,
.font-adjuster li,
.font-adjuster p {
  font-size: 3vh;
}

.font-adjuster h2 {
  font-size: 5vh;
}

.font-adjuster h3 {
    font-size: 4vh;
}

.right-details {
    margin-left: 22vw; 
    padding-top: 20px;
    height: 80vh;
    overflow-y: auto;  
    box-sizing: border-box;
}

.cert_pics img {
    max-width: 100%;
    height: auto; 
}

/* Hide all submenus by default */
.submenu {
    display: none;
    padding-left: 20px;
    margin-top: 5px;
}

/* Show when active */
.submenu.open {
    display: block;
}

/* Optional styling */
.left-nav a {
    display: block;
    color: #00398f;
    text-decoration: none;
    padding: 8px 10px 8px 30px;
}

.left-nav a:hover {
    background-color: #7E9D9F;
    color: white;
}

.nav-list,
.nav-list ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.nav-list li {
    position: relative;
    padding-left: 5%;
}

.has-submenu > a {
    display: flex;
    align-items: center;
    position: relative;
}

.has-submenu > a::before {
    content: "▶";
    position: absolute;
    left: 0;
    font-size: 12px;
    transition: transform 0.2s ease;
}

.has-submenu > a.open::before {
    transform: rotate(90deg);
}

.expertise-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.expertise-list {
    list-style-type: disc;
    flex: 1;
}

.expertise-graph {
    display: flex;
    justify-content: center;
    align-items: center;
}

.expertise-graph img {
    width: 40vw;
    height: auto;
    margin-right: 10%;
}

.skills-section {
    margin-right: 5%;
}

.skills-category p {
    margin-left: 2%;
}

.experience-container {
    display: flex;
}

.experience {
    flex-basis: calc(50%);
    margin-bottom: 20px;
    margin-right: 2%;
    text-align: center;
    border: 5px solid black;
}

.experience li {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.experience ul {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.experience_title {
    color: white;
    width: 100%;
    height: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color:#003479;
    padding: 10px;
    box-sizing: border-box;
    transition: 0.3s ease;
    z-index: 1;
    border-bottom: 2px solid #CBD1CB;
}