.header__outer {
    background-color: rgba(0, 0, 0, 0.2);
    position: fixed;
    width: 100%;
    z-index: 98;
    box-shadow: 1px 1px 50px rgba(229, 224, 224, 0.1);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
    color: var(--clr-white);
}

.header__logo {
    width: 5.5rem;
    height: auto;
}

.header__menu {
    display: flex;
    gap: 1rem;
    transition: all 0.4s;
    text-transform: uppercase;
}

.header__menu-link:hover {
    transform: scale(1.05);
}

.header__portfolio-box {
    background-color: var(--clr-black);
    height: 4rem;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
}

.header__portfolio {
    top: 0;
    left: 5%;
    width: 90%;
}

/*bars and burger */

.hamburger {
    position: relative;
    display: block;
    width: 30px;
    cursor: pointer;

    appearance: none;
    background: none;
    outline: none;
    border: none;
    z-index: 99;
}

.hamburger .bar, .hamburger:after, .hamburger:before{
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--clr-white);
    margin: 6px 0;
    transition: 0.4s;
}

.hamburger.is-active:before {
    transform: rotate(-45deg) translate(-4px, 8px);
}

.hamburger.is-active:after {
    transform: rotate(45deg) translate(-3px, -7px);
}

.hamburger.is-active .bar {
    opacity: 0;
}

/*nav*/

.mobile-nav {
    position: fixed; top:0; left:0;
    width: 100%;
    min-height: 100vh;
    display: none;
    z-index: 98;
    background-color: black;
    padding-top: 6rem;
}

.mobile-nav.is-active {
    display: block;
}

.mobile-nav-item {
    display: block;
    text-align: center;
    margin: 1rem auto;
    padding: 0.7rem 0;
    text-transform: uppercase;
    color: var(--clr-white);
    background-color: rgba(255, 255, 255, 0.1);
    width: 14rem;
    transition: 0.2s;
    border-radius: 4px;
    font-size: 0.9rem;
}

.mobile-nav-item:hover {
    color: black;
    background-color: white;
}

@media (min-width: 767px){
    .mobile-nav.is-active {
        display: none;
    }
    .hamburger {
        display: none;
    }
    .header__logo {
        width: 7rem;
    }
}

@media (max-width: 767px){
    .header__menu {
        display: none;
    }
}