@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300..700&display=swap');

body{
    background-color: #101010;
}
.negzero img {
    width: 100px;
    height: 100px;
}
.topbar{
    background-color: rgba(0,0,0, 0.5);
    justify-content: left;
    padding: 0 20px;
    align-items: center;
    display: flex;
    width: 100%;
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    backdrop-filter: blur(5px);
}





canvas {
     position: fixed;
     top: 0;
     left: 0;
     z-index: -1;
     width: 100%;
     height: 100vh;
}

.barnav ul{
    display: flex; /* Arrange nav items horizontally */
    gap: 25px; /* Space between nav items */
}

.barnav ul a{
font-size: 25px;
font-family: 'Fira Code', monospace;
color: white;
padding: 0px 25px;
text-decoration: none;
}
.barnav ul a:hover{
font-size: 25px;
font-family: 'Fira Code', monospace;
color: rgb(137, 255, 172);
padding: 0px 25px;
text-decoration: none;
}

.contents{
    background-color: rgba(0,0,0, 0.5);
    width: 100%;
    height: 500px;
    padding: 0;
    margin-top: 200px;
    text-align: center;
    border-radius: 25px;
    backdrop-filter: blur(5px);
    box-sizing: border-box;
    color: white;
    font-family: 'Fira Code', monospace;
}
.contents h1{
    font-size: 25px;
    color: white;
    padding: 10px 0;
    text-decoration: none;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.858);
}

 @media (max-width: 768px) {
            :root {
                --glow-size: 5;
            }

            .topbar {
                justify-content: space-between;
            }

            .negzero img {
                width: 60px;
                height: 60px;
            }
            
            .barnav ul {
                flex-direction: column;
                background-color: rgba(0,0,0, 0.5);
                position: fixed;
                top: 50px; /* Position below the logo */
                right: 0;
                left: 0;
                width: 100%;
                text-align: center;
                padding: 0;
                backdrop-filter: blur(5px);
                justify-content: center;
                border-radius: 25px;
                box-sizing: border-box;
                text-align: center;
            }
            
            .barnav ul.active {
                display: flex; /* Show links when 'active' class is toggled */
            }

            .hamburger {
                display: flex; /* Show hamburger icon on mobile */
            }
            
            .barnav ul a {
                padding: 10px 0;
                font-size: 30px;
            }

            .contents {
                margin-top: 400px;
            }
        }