.header{
    background-color: rgba(68, 67, 67, 0.295);
    width: 100%;
    height: 6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    top: 0;
    left: 0;
    position: fixed;
    z-index: 123;
}

.logo-big{
    width: auto;
    display: flex;
    align-items: center;
    padding: 0 0 0 3rem;
    transition: opacity 0.3s linear;
    display: fixed;
    opacity: 1;
}

.logo-big img{
    width: 4rem;
    margin-right: 1rem;
}

.logo-big h1{
    position: relative;
    transition: opacity 0.3s linear;
}

.logo-big h1::after{
    content: '';
    display: block;
    position: absolute;
    z-index: -1;
    top: 40%;
    left: 0;
    width: 100%;
    height: 1rem;
    background-color: yellow;
}


.navigation{
    display: flex;
    margin-right: 3.4rem;
    position: relative;
}

.navigation ul{
    display: flex;
    padding-right: 3rem;
}

.navigation ul li{
    margin-left: 2rem;
    list-style: none;
    overflow: hidden;
}

.navigation ul li a{
    position: relative;
    text-decoration: none;
    color: black;
    font-size: 1.3rem;
}


.navigation ul li a::after{
    content: '';
    display: block;
    position: absolute;
    z-index: -1;
    top: 40%;
    width: 100%;
    height: 1rem;
    background-color: yellow;
    transform: translateX(-100%);
}

.navigation ul li a:hover::after{
    transform: translateX(0);
    transition: transform .3s linear;
}

.navigation ul li a.animate-out::after{
    transform: translateX(100%);
    transition: transform .3s linear;
}

.toggle-btn{
    display: none;
}

@media(max-width: 820px){
    .navigation{
        position: absolute;
        top: 100%;
        width: 100%;
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        left: 100%;
        transition: all .3s linear;
    }
    
    .navigation ul{
        background-color: rgba(68, 67, 67, 0.87);
        flex-direction: column;
        width: 100%;
        height: 100%;
        align-items: center;
        justify-content: top;
    }

    .navigation ul li{
        margin-top: 3rem;
    }

    .navigation ul li a{
        color: azure;
        font-size: 2rem;
    }

    .toggle-btn{
        display: block;
        margin-right: 2rem;
    }
    
    .toggle-btn button{
        cursor: pointer;
        font-size: 2.5rem;
        color: white;
        background-color: transparent;
        border: none;
    }

    .activated{
        left: 0%;
    }
}

@media(max-width: 520px){
    .logo-big h1{
        display: none;
    }
}