* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background);
    color: #333;
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 1.5;
    overflow-x: hidden;
    width: 100vw;
    z-index: 1;
}
nav {
    width: 100vw;
    --navHeight: 72px;
    top: 0;
    display: flex;
    background-color: #292f36;
    color: white;
}

nav h1 {
    font-weight: 500;
    font-size: 48px;
    padding-left: 3px;
    
}
nav .logo {
    white-space: nowrap;
}
nav ul {
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: right;
}
nav li {
    height: 50px;
    
}

nav a {
    height: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #ffffff;        
}
nav a:hover {
    color: #71affb;
}
nav ul.nav-links li a:hover, 

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    background-color: #292f36;
    z-index: 999;
    box-shadow: -10px 0px 10px rgba(0,0,0,0.1);
    display: none; /* Hidden by default */
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 50px;
    backdrop-filter: blur(10px);
}

/* Sidebar open state */
.sidebar.open {
    display: flex; /* Show when open */
    transform: translateX(0); /* Slide in */
}
.sidebar.open ~ .menu-button {
    display: none; /* Hide when sidebar is open */
}
.sidebar li {
    width: 100%;
}
.sidebar a {
    width: 100%;
}

html {
    overflow-anchor: none;
    font-size: 62.5%;
}

:root {
    --navHeight: 60px;
    --hexSize: 65vw;
    --hexMaxWidth: 475px;
    --hexMaxHeight: calc(var(--hexMaxWidth) * 1.1526644736842);
    --background: #eaedf0;
}
header {
    position: relative;
    background-color: #c2dcfc;
    width: 100%;
    min-height: calc(100svh - 52px);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 15px;
    z-index: 10;
}
header #sideSect {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 95%;
    max-width: 684px;
}
header #btn_group {
    list-style-type: none;
}
header #btn_group li {
    margin-bottom: 20px;
}

p:not(:last-child) {
    margin-bottom: 1.6rem;
}

.btn {
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background-color: #56a0d3;
    color: black;
    box-shadow: rgba(45, 35, 66, 0.4) 0 2px 4px,rgba(45, 35, 66, 0.3) 0 7px 13px -3px,#17a47f 0 -3px 0 inset;
    cursor: pointer;
    height: 60px;
    width: min-content;
    padding: 0 16px;
    text-decoration: none;
    white-space: nowrap;
    font-weight: 500;
    font-size: 2rem;
    border: none;
    will-change: box-shadow, transform;
    transition: box-shadow .15s, transform .15s;
    user-select: none;
}

.btn:hover {
    box-shadow: rgba(45, 35, 66, 0.4) 0 4px 8px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #17a47f 0 -3px 0 inset;
    transform: translateY(-2px);
}
  
.btn:active {
    box-shadow: #1777a4 0 3px 7px inset;
    transform: translateY(2px);
}

.heroBtn {
    width: 160px;
    background-color: #292f36;
    color: #ffffff;
    box-shadow: rgba(45, 35, 66, 0.4) 0 2px 4px,rgba(45, 35, 66, 0.3) 0 7px 13px -3px,#1c2025 0 -3px 0 inset;
    justify-content: center;
}
.heroBtn:hover {
    box-shadow: rgba(45, 35, 66, 0.4) 0 4px 8px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #1c2025 0 -3px 0 inset;
} 
.heroBtn:active {
    box-shadow: #1c2025 0 3px 7px inset;
}
.heroBtn img {
    height: 55%;
    margin-right: 15px;
}

.page_loaded > * {
    opacity: 1 !important;
    transform: translateY(0px) !important;
}

#outerHexagon {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: var(--hexSize);
    height: calc(var(--hexSize) * 1.1547);
    max-width: var(--hexMaxWidth);
    max-height: var(--hexMaxHeight);
    clip-path: polygon(0% 25%, 0% 75%, 50% 100%, 100% 75%, 100% 25%, 50% 0%);
    background-color: #232323;
    flex-shrink: 0;
    transition: 800ms;
}
#outerHexagon #innerHexagon {
    width: calc(var(--hexSize) - 8px);
    height: calc(var(--hexSize) * 1.1547 - 8px);
    max-width: calc(var(--hexMaxWidth) - 8px);
    max-height: calc(var(--hexMaxHeight) - 8px);
    clip-path: polygon(0% 25%, 0% 75%, 50% 100%, 100% 75%, 100% 25%, 50% 0%);
    background-image: url("Headshot.jpg");
    background-size: cover;
    background-position: center;
}

#sideSect {
    position: relative;
}

.loaded {
    opacity: 1;
    transform: translateX(0px);
}
#introText {
    color: #292f36;
    border-radius: 15px;
    width: 100%;
}
#introText h1 {
    font-size: 2.8rem;
    margin-bottom: 16px;
    font-weight: 700;
}
#introText p {
    font-weight: 500;
    font-size: 2.4rem;
    margin-bottom: 15px;
}

#navContainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}
#navContainer li {
    display: inline;
    font-size: 2rem;
    font-weight: 500;
}
#navContainer a {
    color: white;
    text-decoration: none;
    transition: color 500ms;
}
#navContainer a:hover {
    cursor: pointer;
    color: #56a0d3;
}
#navContainer li .active {
    color: #56a0d3;
}
.sidebar {
    display: none; /* Hidden by default */
    /* Your existing sidebar styles */
}
#introText h1 {
    font-size: 64px;
    margin-bottom: 16px;
    font-weight: 700;
}

@media only screen and (min-width: 1200px) {
    :root {
        --navHeight: 72px;
    }
    body {
        font-size: 1.8rem;
        width: 100vw;
    }
    nav .menu-button {
        display: none !important; /* Force hide on larger screens */
    }

    header {
        flex-direction: row-reverse;
        justify-content: center;
        min-height: calc(100vh - 72px);
    }
    header #sideSect {
        margin-right: 60px;
        align-items: flex-start;
    }
    header #btn_group {
        justify-content: space-around;
        flex-direction: row;
    }
    header #btn_group li {
        float: left;
    }
    header #btn_group li:first-child {
        margin-right: 40px;
    }
    header #btn_group .heroBtn {
        padding: 0 40px;
        width: auto;
    }

    nav h1 {
        font-size: 48px;
    }
}
/* Hide the tabs and display the menu button on small screens */
@media only screen and (max-width: 1200px) {
    .hideOnMobile {
        display: none;
    }

    .menu-button {
        display: block !important;
        margin-right: 15px;
    }
    .sidebar.open {
        display: flex; /* Show when open */
        transform: translateX(0); /* Slide in */
    }
    #introText h1 {
        font-size: 32px;
        margin-bottom: 16px;
        font-weight: 700;
    }
}

