*{
    font-family: 'Share Tech', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: var(--text-color);
    /* background: rgb(0, 183, 255); */
    text-decoration: none;
}

html
{
    background: var(--bg-color);
}

:root
{
    --bg-color:#000000;
    --second-bg-color:#4e4e4e;
    --text-color:#fffefe;
    /* --main-color: #39FF14; */
    --main-color: #9bff00;
    
}

.header
{
    z-index: 998;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 200px;
    transition: 0.5s ease;
    background: rgba(1, 1, 1, 0.35);
    height: 13.1vh;
}


.header img
{
    height: 30%;
    width: 30%;
}


.nav
{
    position: relative;
    
}

.navbar 
{
    position: relative;
    font-size: 1em;
    font-weight: 500;
    margin-left: 30px;
    transition: 0.3s ease;
    display: flex;
    gap: 3rem;
    font-size: 1.3rem;
    text-transform: uppercase;
}

.navbar a 
{
    position: relative;
    
}

.navbar a.nav-active
{
    z-index: 999;
    color: var(--main-color);
}

.navbar a::before
{
    content: '';
    position: absolute;
    background: var(--main-color);
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    transition: 0.3s ease;
}

.navbar a:hover:before
{
    width: 100%;

}

@media (max-width: 1200px)
{
    html{
        font-size: 100%;
    }
    .header
    {
        height: 13vh;
    }
    .header img
    {
        height: 40%;
        width: 40%;
    }

}


@media (max-width: 1040px)
{
    .header
    {
        padding: 12px 20px;
    }    

    .nav
    {
        display: none;
    }

    .nav.active
    {
        position: fixed;
        width: 100%;
        height: 100vh;
        top: 0;
        left: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        background: rgba(1, 1, 1, 0.5);
    }

    .navbar a 
    {
        font-size: 1.2em;
        margin: 20px;
        background: transparent;
    }

    .navbar a::before
    {
        background: var(--main-color);
        height: 5px;

    }

    .navbar
    {
        background: var(--second-bg-color);
        width: 600px;
        max-width: 600px;
        margin: 20px;
        padding: 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
        border-radius: 5px;
        box-shadow: 0 5px 25px rgb(1 1 1 / 20%);
    }

    .header img
    {
        height: 12%;
        width: 12%;
    }

    .menu-button
    {
        background: url("images/icons/menu.png") no-repeat;
        background-size: 30px;
        background-position: center;
        width: 60px;
        height: 60px;
        cursor: pointer;
        transition: 0.3s ease;
    }   
    
    .menu-button.active
    {
        z-index: 999;
        background: url("images/icons/close.png") no-repeat;
        background-size: 30px;
        background-position: center;
        width: 100px;
        height: 40px;
        cursor: pointer;
        transition: 0.3s ease;
    }


}

@media (max-width: 768px)
{
    .header img
    {
        height: 15%;
        width: 15%;
    }
    html
    {
        font-size: 90%;
    }
}

@media (max-width: 520px)
{
    html
    {
        font-size: 50%;
    }
       
}


@media (max-width: 462px)
{
    .header img
    {
        height: 25%;
        width: 25%;
    }
}




