.header{
    width: 100%;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.6rem 8rem;
    border-bottom: 3px solid orangered;
}

.hamburger {
    display: none;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 4px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background: #000;
}

.nav-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.nav-item {
    margin-left: 3rem;
}
.nav-item a{
    font-size: 1.8rem;
    font-weight: 400;
    color: #000;
    
}
.nav-menu .nav-item a{
    text-decoration: none;
}


.nav-item:last-child{
    background: var(--button-color);
    padding: 12px 20px;
    border-radius: 10px;
}
.nav-item:last-child a{
    color: #fff;
}

.nav-logo img {
    width: 20rem;
}
.nav-logo a{
    background: linear-gradient(to right, #077dcc, rgb(6, 156, 51));
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.8rem;
    font-weight: 600;
    font-family: 'Pacifico';
}

@media only screen and (max-width: 1018px){
    .navbar {
        padding: 1.2rem 4rem;
    }
    .nav-item a{
        font-size: 2rem;
        font-weight: bold;
        color: rgb(77, 76, 76);
    }
}

@media only screen and (max-width: 912px) {
    .nav-menu {
        z-index: 10;
        position: absolute;
        left: -100%;
        top: 7.6rem;
        flex-direction: column;
        background:#fff;
        width: 100%; 
        text-align: center;
        transition: 0.3s;
        padding: 60px 0;
    }

    .navbar {
        padding: 1.2rem 2rem;
    }
    .nav-menu li{
        width: 40%;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1rem 0;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    

}
@media only screen and (min-width: 1490px){
    .navbar {
    justify-content:space-around;
    padding: 2rem 8rem;
    }
    .nav-logo img {
    width: 22rem;
    }
}