/* header.css */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    position: relative;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    font-family: 'Inter', sans-serif;
    border-bottom: 1px solid rgb(220, 220, 220);
    width: calc(100% - 1.1rem);     
}

header .logo {
    font-size: 0rem;
    margin-left: 4rem;
}

#logo {
    height: 45px; 
    width: auto; 
}

body.dark-mode #logo {
    height: 45px; 
    width: auto; 
}
  
header nav {
    display: flex;
    margin-right: 3.5rem;
}

header nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
} 

header nav ul li {
    margin-left: 0.7rem;
}

header nav ul li a {
    text-decoration: none;
    font-size: 15px;
}

header nav ul .centered {
    margin-right: 30em;
}   

header nav ul li a.button-link {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-align: center;
    transition: background-color 0.3s ease;
    font-size: 15px;
}

header nav ul li a.button-link2 {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-align: center;
    transition: background-color 0.3s ease;
    font-size: 15px;
    margin-right: 0.5rem;
}

header nav ul li a.button-link2:hover {
    opacity: 0.8; 
}

header .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    border: 1px solid; 
    border-radius: 50%; 
    border-color: rgb(59, 59, 59);
    background-color: transparent;
    width: 35px; 
    height: 35px;
    justify-content: center; 
    align-items: center;
}

header .hamburger span {
    height: 2px;
    width: 20px; 
    margin: 3px 0; 
}

header .theme-toggle {
    background: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 1rem; 
    align-self: center; 
}

@media (max-width: 2100px) {
    header nav ul .centered {
        justify-content: center;
      margin-right: 50em;
    } 
}

@media (max-width: 1480px) {
    header nav ul .centered {
        justify-content: center;
      margin-right: 30em;
    } 
}

@media (max-width: 1159px) {
    header nav ul .centered {
        justify-content: center;
      margin-right: 10em;
    } 
}



@media (max-width: 1024px) {
    header {
        width: 100%;
        margin-top: 0rem;
        padding: 1rem 0;
    }

    header .logo {
        margin-left: 1rem;
    }

    header nav {
        margin-right: 1rem;
    }

    header nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 73px;
        right: 0px;
        width: 200px;
        padding: 1rem;
        z-index: 10;
        height: 100vh;
        background-color: #fff;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    header nav ul li {
        margin: 0.5rem 0;
        margin-left: 1em;
        margin-right: 3.1em;
    }

    header nav ul li:nth-last-child(2) {
        margin-bottom: 0rem;
        margin-top: 0rem;
    }

    header nav ul li:last-child {
        margin-top: 1rem;
    }

    header nav ul .centered {
        margin-bottom: 1em;
    }

    header nav ul li a.button-link,
    header nav ul li a.button-link2 {
        display: block;
        width: 100%;
        text-align: center;
    }

    header .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 35px;
        height: 35px;
        cursor: pointer;
        border: 1px solid #333;
        border-radius: 50%;
        background-color: transparent;
    }

    header .hamburger span {
        display: block;
        height: 2px;
        width: 20px;
        background-color: #333;
        margin: 3px 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    header .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(4px, 2px);
        margin-right: 0.2rem;
    }

    header .hamburger.active span:nth-child(2) {
        transform: rotate(-45deg) translate(4px, -2px);
        margin-right: 0.2rem;
    }

    header nav.active ul {
        display: flex;
    }

    header .theme-toggle { 
        margin-top: -4rem; 
        right: 1rem; 
        order: 3; 
    } 
    
    .hide-theme {
        border-top: 1px solid var(--trait-color);
        border-bottom: 1px solid var(--trait-color);
        margin-left: -0.5rem;
        margin-right: -2.5rem;
        padding-top: 1rem;
        padding-bottom: 1rem;
        padding-left: 0.6rem;
    }      
}



@media (min-width: 1025px) {
    header .theme-toggle {
        display: none; 
    }

    .hide-theme {
        display: none;
    }
}












  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  






  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  







  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  





  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  






  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  







  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  





  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  






  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  







  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  










  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  






  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  







  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  











  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  






  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  







  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  





  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  






  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  







  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  





  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  






  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  







  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  










  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  






  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  







  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  










  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  






  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  







  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  





  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  






  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  







  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  





  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  






  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  







  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  










  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  






  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  







  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  











  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  






  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  







  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  





  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  






  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  







  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  





  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  






  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  







  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  










  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  






  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  







  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  












  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  






  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  







  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  





  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  






  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  







  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  





  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  






  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  







  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  










  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  






  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  







  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  











  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  






  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  







  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  





  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  






  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  







  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  





  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  






  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  







  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  










  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  






  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  







  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  










  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  






  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  







  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  





  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  






  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  







  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  





  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  






  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  







  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  










  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  






  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  







  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  











  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  






  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  







  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  





  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  






  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  







  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  





  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  






  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  







  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  










  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  






  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  







  



  




  



  





  



  




  



  









  



  




  



  








  



  




  



  








  



  




  



  