*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#navbar{
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar{
    background-color: #070B34;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    position: relative;
    min-height: 5rem;
}

.logo img{
    width: auto;
    height: 5rem;
    flex-shrink: 0;
}

.nav-links{
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-links li a{
    color: #ffd33c;
    text-decoration: none;
    font-size: 1.5rem;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.nav-links li a i{
    width: 1.75rem;
    text-align: center;
    flex-shrink: 0;
    font-size: 1.25rem;
}

.nav-links li a:hover{
    background-color: #ffd33c;
    color: #070B34;
    border-radius: 10px;
}

.menu-toggle{
    display: none;
    background: none;
    border: none;
    color: #ffd33c;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.menu-overlay{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active{
    display: block;
    opacity: 1;
}

.language-selector{
    position: relative;
    display: flex;
    align-items: center;
}

.language-toggle-btn{
    background: none;
    border: none;
    color: #ffd33c;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.language-toggle-btn:hover{
    color: #ffffff;
}

.language-toggle-btn .fa-chevron-down{
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.language-toggle-btn.active .fa-chevron-down{
    transform: rotate(180deg);
}

.language-dropdown{
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #070B34;
    border: 2px solid #ffd33c;
    border-radius: 8px;
    min-width: 150px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1002;
    margin-top: 0.5rem;
}

.language-dropdown.active{
    max-height: 200px;
    opacity: 1;
    visibility: visible;
}

.language-dropdown button{
    width: 100%;
    padding:0.75rem 1rem;
    background: none;
    border: none;
    color: #ffd33c;
    font-size: 1rem;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.language-dropdown button:hover{
    background-color: #ffd33c;
    color: #070B34;
}

.language-dropdown button.active-lang{
    background-color: rgba(255, 211, 60, 0.2);
}

.lang-option .fa-check{
    visibility: hidden;
}

.lang-option.active-lang .fa-check{
    visibility: visible;
}

header h1{
    text-align: center; 
    font-size: 48px;
    margin: 2rem;
}

header blockquote{
    text-align: center; 
    font-size: 20px;
    margin-top: -1rem;
    margin-bottom: 1rem;
}

main{
    flex: 1;
}

.main-content{
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem 1rem;
    line-height: 1.5;
}

.headshot{
    text-align: center;
    margin-bottom: 1.5rem;
}
.headshot img{
    width: 100%;
    height: auto;
    max-width: 360px;
    border-radius: 10px;
}

.bio{
    text-align: center;
    font-size: 1.1rem;
}

.social{
    display: flex;
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem 1rem;
    justify-content: space-evenly;
}

.linkedin-badge{
    color:#0a66c2;
    font-size: 50px;
    display: none;
}

.github-badge a{
    color:black;
    font-size: 50px;
}

footer{
    display: flex;
    flex-direction: column;
    background-color: #070B34;
    color: white;
}

.footer-media{
    font-size: 2em;
    text-align: center;
    padding: 0.5em 0;
}

.footer-media a{
    color: white;
    padding: 0.25rem;
}

.copy{
    text-align: center;
    opacity:0.7;
}

a:focus:not(:focus-visible), button:focus:not(:focus-visible), input:focus:not(:focus-visible), select:focus:not(:focus-visible), textarea:focus:not(:focus-visible){
    outline: none;
}

a:focus, button:focus, input:focus select:focus, textarea:focus{
    outline: 2px solid #ffd33c;
    outline-offset: 2px;
}

@media (max-width: 768px){
    .navbar{
        padding: 0 1rem;
    }

    .logo{
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .nav-links{
        position: fixed;
        top: 0;
        left: -300px;
        height: 100%;
        width: 250px;
        background-color: #070B34;
        flex-direction: column;
        gap: 0;
        padding: 5rem 0 2rem 0;
        transition: left 0.3s ease;
        z-index: 1000;
    }

    .nav-links.active{
        left: 0;
    }

    .nav-links li{
        width: 100%;
        text-align: left;
        padding:0;
    }

    .nav-links li a{
        display: flex;
        align-items: center;
        gap: 0.5rem;
        width: 100%;
        padding: 1rem 2rem;
    }

    .menu-toggle{
        display: block;
    }
    
    .language-selector{
        margin-left: auto;
    }

    .badge-base.LI-profile-badge{
        display: none;
    }

    .linkedin-badge{
        display: block;
    }
}
