/* Navbar */
*{
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    font-family: sans-serif;
    box-sizing: border-box;
}

body{
    background-color: #fafafa;
}

.header{
    width: 100%;
    height: 80px;
    background: var(--navbar);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 100px;
    z-index: 4000;
}

.logo{
    font-size: 28px;
    font-weight: bold;
    color: var(--feher);
    text-decoration: none;
    display: contents;
}

.hamburger{
    display: none;
}

.nav-bar ul {
    display: flex;
}

.nav-bar ul li a{
    display: block;
    color: var(--feher);
    font-size: 20px;
    padding: 10px 25px;
    border-radius: 50px;
    transition: 0.2s;
    margin: 0 5px;
}

.nav-bar ul li a:hover {
    color: var(--navbar);
    background: var(--feher);
}

.nav-bar ul li a.active{
    color: var(--navbar);
    background: var(--feher);
}

.feher{
    color: var(--feher);
}


@media only screen and (max-width: 1600px){

   .hamburger{
    display: block;
    cursor: pointer;
   }

   .hamburger .line{
    width: 30px;
    height: 3px;
    background: var(--feher);
    margin: 6px 0;
   }

   .nav-bar{
    height: 0px;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    width: 100vw;
    background: var(--navbar);
    transition: 0.5s;
    overflow: hidden;
    z-index: 100000;
   }

   .nav-bar.active{
    height: 410px;
    z-index: 10000;
   }

   .nav-bar ul{
    display: block;
    width: fit-content;
    margin: 80px auto 0 auto;
    text-align: center;
    transition: 0.5;
    opacity: 0;
    }

    .nav-bar.active ul{
        opacity: 1;
    }

    .nav-bar ul li a{
        margin-bottom: 12px;
        
    }

}

@media only screen and (max-width: 800px){
    .hamburger{
        margin-right: -50px;
    }
}

@media only screen and (max-width: 550px){
    .feher{
        font-size: 24px;
    }
}

@media only screen and (max-width: 450px){
    .feher{
        font-size: 18px;
        margin-left: -20px;
    }
}