@import url('https://fonts.googleapis.com/css?family=Poppins:width@300;400;500;600;700;800;900&display=swap');
:root {
    --bg-black-900:#f2f2fc;
    --bg-black-100:#fdf9ff;
    --bg-black-50:#e8dfec;
    --text-black-900:#302e4d;
    --text-black-700:#504e70;
}
body.dark {
    --bg-black-900:#151515;
    --bg-black-100:#222222;
    --bg-black-50:#393939;
    --text-black-900:#ffffff;
    --text-black-700:#e9e9e9;
}
body {
    line-height: 40px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    background: var(--bg-black-900);
}
* {
    margin: 0;
    padding: 0;
    outline: none;
    text-decoration: none;
    box-sizing: border-box;
}
::before,::after {
    box-sizing: border-box;

}

.header {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 10%;
    background: var(--bg-black-100);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.logo {
    position: relative;
    font-size: 25px;
    color:var(--skin-color);
    text-decoration: none;
    font-weight: 600;
    right: 270px;
    top: 0;
}

.logo::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-black-100);
    animation: showRight 1s ease forwards;
    animation-delay: .4s;
}

.navbar a {
    color: var(--text-black-900);
    font-size: 18px;
    text-decoration: none;
    font-weight: 500;
    margin-left: 35px;
    transition: .3s;
}

.navbar a:hover,
.navbar a.active {
    color:var(--skin-color);
}

@keyframes showRight {
    100% {
        width: 0;
    }
}