/* --- navbar-4 --- */




.navbar-4 {
    width: 94%;
    position: fixed;
    z-index: 1;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 2% 3%;
    
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -ms-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

.navbar-4.fixed {
    position: fixed;
    top: 0;
}







.logo {
    display: block;

    font-family: "Rethink Sans", sans-serif;
    font-size: 40px;
    line-height: 56px;
    font-weight: 700;
}

.logo:hover {
    letter-spacing: 1px;
}









nav {
    position: absolute;
    left: 50%;
    z-index: -1;
}

nav ul {    
    width: fit-content;
    margin: 0 auto;
    border: 2px var(--gray-200) solid;

    -webkit-border-radius: 40px;
    -moz-border-radius: 40px;
    border-radius: 40px;

    padding: 4px 24px;

    background-color: rgba(255,255,255,0.9)
}

nav ul {    
    margin-left: -50%;
    
    transition: all 0.2s ease-out;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
}

nav ul li {
    display: inline-block;
    padding: 0 20px;
    line-height: 56px;
}

.navbar-4.fixed nav ul li {
    line-height: 48px;
}

nav ul li a {
    font-size: 22px;
    color: var(--gray-800);
    font-weight: 600;
}

.navbar-4.fixed nav ul li {
    padding: 0 16px;
}

.navbar-4.fixed nav ul li a {
    font-size: 18px;
}

nav ul li a:hover {
    opacity: 0.8;
}





.bars { /* hamburger */
    position: absolute;
    right: 0;

    text-align: right;
    visibility: hidden;
    opacity: 0;
}

.bars a {
    display: block;
    height: 28px;
    width: 28px;
    opacity: 0.85;
    
    background: url('https://shps.pl/wp-content/themes/shapes/inc/img/hamburger.svg') 0 0 no-repeat;
}

 .bars a.close {
    background: url('https://shps.pl/wp-content/themes/shapes/inc/img/close.svg') 0 0 no-repeat;
}








/* for 600px or less */
@media screen and (max-width: 600px) {
    

    nav {
        right: 5%;
    }






    .navbar-4 {
        width: 90%;
        padding: 2% 5% 3% 5%;

    }

    .navbar-4.fixed {
        padding: 2% 5% 2% 5%;
    }


    .navbar-4.fixed nav ul li a {
        font-size: 22px;
    }

    .navbar-4.fixed nav ul li {
        padding: 0;
    }









    .bars {
        right: 24px;

        opacity: 1;
        visibility: visible;
    }




    nav ul {
        visibility: hidden;
        opacity: 0;
        position: absolute;
        top: 20px;
        right: 0;
        
        padding: 30px 40px;

        -webkit-border-radius: 16px;
        -moz-border-radius: 16px;
        border-radius: 16px;
    }
    
    nav ul li {
        display: block;
        padding: 0;
        line-height: 48px;
    }
    

    
    nav ul.nav-on {
        width: auto;
        top: 60px;
        
        background: #fff;
        
        visibility: visible;
        opacity: 1;
        z-index: 1;

        -webkit-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        -moz-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }

        

    
    


 
    .wycen {
        margin-right: 48px;
    }
    
    .wycen .cta {
        padding: 0 24px;
        font-size: 16px;
        height: 40px;
        line-height: 40px;
    }

}







