* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {

}

/*Navigation Bar*/
header {        
    position: fixed;
    top: 0;
    width: 100%;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 100px;
    z-index: 100;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .1);
    backdrop-filter: blur(50px);
    z-index: -1;
}

header::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .4), transparent);
    transition: .5s;
}

header:hover::after {
    left: 100%;
}

h1 {
    font-size: 25px;
    color: #222;
    text-decoration: none;
    font-weight: 600;
    animation: slideRight 1s ease forwards;
}
                
.navigation a {
    display: inline-block;
    position: relative;
    font-size: 1.1em;
    color: grey;
    text-decoration: none;
    font-weight: 500;
    margin-left: 40px;
    transition: .3s;   
    animation: slideTop .5s ease forwards;
    animation-delay: calc(.2s * var(--i));        
}

#check {
    display: none;
}

.icons  {
    position: absolute;
    left: 5%;
    font-size: 2.1rem;
    color: grey;
    cursor: pointer;
    display: none;
}

@media (max-width: 992px) {
    header {
        padding: 2.15rem 5%;
    }

    /*
    .btnLogin-popup {
        display: none;
    }*/
}

@media (max-width: 768px) {
    .icons {
        display: inline-flex;
    }

    #check:checked~.icons #menu-icon {
        display: none;
    }

    .icons #close-icon {
        display: none;
    }

    #check:checked~.icons #close-icon {
        display: block;
    }

    .navigation {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 0;
        background: rgba(0, 0, 0, .1);
        backdrop-filter: blur(50px);
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
        overflow: hidden;
        transition: .3s ease;
    }

    #check:checked~.navigation {
        height: 17.7rem;
    }

    .navigation a {
        display: block;
        font-size: 1.1rem;
        margin: 1.5rem 0;
        text-align: center;
        transform: translateY(-50px);
        opacity: 0;
        transition: .3s ease;
    }

    #check:checked~.navigation a {
        transform: translateY(0);
        opacity: 1;
        transition-delay: calc(.15s * var(--i));
    }

    .navigation a::after {
        display: none;
    }
}
                
.navigation a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: grey;
    border-radius: 5px;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform .5s;
}
                
.navigation a:hover::after {
    transform-origin: left;
    transform: scaleX(1);
}
                
.btnLogin-popup {
    width: 130px;
    height: 50px;
    background: transparent;
    border: 2px solid grey;
    outline: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    color: grey;
    margin-left: -80px;
    font-weight: 500;
    transition: 0.5s ease;
    }
.btnLogin-popup:hover {
    background: grey;
    color: white;
}
    