header
{
    transition: 0.3s;
    position: fixed;
    top: 0;
    z-index: 99;
}

header .naglowek
{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    height: 100%;
    padding: 0 32px;
}

/* logo */

    header .naglowek a 
    {
        display: flex;
        align-items: center;
        height: 100%;
        width: max-content;
        transition: 0.3s;
    }

    header .naglowek a img 
    {
        height: 7vh;
        margin-top: 2vh;
        padding-left: 0.6vw;
        transition: 0.3s;
    }

    /* hover */

    header .naglowek a:hover
    {
        opacity: 0.6;
    }

/**/

/* hamburger */

    header .naglowek .hamburger
    {
        width: 2vw;
        height: 2.5vh;
        margin-top: 3vh;
        margin-right: 1.5vw;
        position: relative;
        transform: rotate(0deg);
        transition: 0.3s;
        cursor: pointer;
        z-index: 9;
    }

    header .naglowek .hamburger span 
    {
        display: block;
        position: absolute;
        height: 1px;
        width: 100%;
        background: white;
        border-radius: 10px;
        opacity: 1;
        left: 0;
        transform: rotate(0deg);
        transition: .25s ease-in-out;
    }

    header .naglowek .hamburger span:nth-child(1)
    {
        top: 0;
    }

    header .naglowek .hamburger span:nth-child(2)
    {
        top: 0.9vh;
    }

    header .naglowek .hamburger span:nth-child(3)
    {
        top: 0.9vh;
    }

    header .naglowek .hamburger span:nth-child(4)
    {
        top: 1.9vh
    }

    /* hover */

    header .naglowek .hamburger:hover .hamburger__butt
    {
        opacity: 0.6;
    }

/**/

/* Przyklejone */

    header.fixed
    {
        background-color: #020114;
        padding-bottom: 1vh;
    }

    header.fixed .naglowek a img 
    {
        height: 5vh;
        margin-top: 1vh;
    }

    header.fixed .hamburger
    {
        margin-top: 2.4vh;
    }

/**/

/* menu hamburger */

    .hamburger__menu
    {
        display: block;
        padding: 0;
        margin: 0;
        list-style-type: none;
        background: #020114;
        width: 400px;
        padding-top: 68px;
        padding-bottom: 24px;
        position: absolute;
        right: -424px;
        z-index: 1;
        transition: 0.4s;
        padding-right: 24px;
    }

    .hamActive
    {
        right: 0;
    }

    .hamburger__menu li a
    {
        color: white;
        font-weight: 300!important;
        text-decoration-color: transparent;
        text-transform: uppercase;
        text-align: center;
        display: block;
        width: 100%;
        margin: 0 auto;
        padding: 8px 0;
        font-size: 20px;
    }

    .hamburger__menu li
    {
        width: 80%;
        margin: 0 auto;
        border-bottom: 1px solid rgba(255, 255, 255, 0.24);
    }

    .hamburger__menu li:last-child
    {
        border-bottom: 0px none transparent;
    }

    .hamburger__butt
    {
        height: 38px;
        transition: 0.3s;
        z-index: 2;
    }

    .hamburger__menu li.liActive a 
    {
        color: #FFE200;
    }

    .hamburger-open span:nth-child(1) {
        top: 12px!important;
        width: 0%!important;
        left: 50%!important;
    }

    .hamburger-open span:nth-child(2) {
        transform: rotate(45deg)!important;
    }

    .hamburger-open span:nth-child(3) {
        transform: rotate(-45deg)!important;
    }

    .hamburger-open span:nth-child(4) {
        top: 12px!important;
        width: 0%!important;
        left: 50%!important;
    }

/**/

.logo
{
    z-index: 9;
}

/* Mobilka */

    @media all and (min-width: 0px) and (max-width: 639px) 
    {
        .nasze-projekty__tytul{
            line-height: 160px!important;
        }

        .hamburger__menu
        {
            width: 100%;
            padding-right: 0;
        }

        header
        {
            max-width: 100vw;
        }

        header .naglowek
        {
            padding: 0 24px;
        }

        header .naglowek .hamburger
        {
            width: 9vw;
            margin-top: 18px;
        }

        header.fixed {
            background-color: #020114;
            padding-bottom: 12px;
        }

        header.fixed .naglowek a img{
            height: 36px;
        }

        header.fixed .hamburger{
            margin-top: 18px;
        }

        header .naglowek a img
        {
            height: 36px;
            margin-top: 12px !important;
        }

        #start__tytul span:nth-child(2)::before {
            bottom: -16px !important;
            height: 64px !important;
            width: 73px !important;
            left: 32px !important;
        }

        #start__tytul span:nth-child(2)::after {
            left: -32px !important;
            bottom: -10px !important;
            height: 151px !important;
            width: 100px !important;
        }
        header .naglowek .hamburger span:nth-child(2) {
            top: 12px;
        }

        header .naglowek .hamburger span:nth-child(3) {
            top: 12px;
        }

        header .naglowek .hamburger span:nth-child(4) {
            top: 24px;
        }
    }

    @media all and (min-width: 640px) and (max-width: 1023px)
    {
        header .naglowek .hamburger span:nth-child(2) {
            top: 12px;
        }

        header .naglowek .hamburger span:nth-child(3) {
            top: 12px;
        }

        header .naglowek .hamburger span:nth-child(4) {
            top: 24px;
        }

        header
        {
            width: 100%;
        }

        header .naglowek .hamburger
        {
            width: 5vw;
        }
    }

/**/