* {
    margin: 0;
    padding: 0;
}

.wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    background-color: #0d131c;
}

.loading {
    width: 150px;
    display: block;
    height: 8px;
    margin: 18px auto;
    border-radius: 0.5rem;
    background-color: #151c26;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.loading:before {
    content: '';
    height: 8px;
    width: 20px;
    position: absolute;
    -webkit-transform: translate(-34px,0);
    -ms-transform: translate(-34px,0);
    transform: translate(-34px,0);
    background-color: #f2d861;
    border-radius: 0.5rem;
    -webkit-animation: initial-loading 1.4s infinite ease;
    animation: animation 1.4s infinite ease;
}

@-webkit-keyframes animation {
    0% {
        left: 0
    }

    50% {
        left: 100%
    }

    100% {
        left: 0
    }
}

@keyframes animation {
    0% {
        left: 0
    }

    50% {
        left: 100%
    }

    100% {
        left: 0
    }
}

.logo {
    display: block;
    max-width: 300px;
    width: 80%;
    animation: bounce 1.4s ease infinite;
    -webkit-animation: bounce 1.4s ease infinite;
    -moz-animation: bounce 1.4s ease infinite;
    -ms-animation: bounce 1.4s ease infinite;
    -o-animation: bounce 1.4s ease infinite
}

@-webkit-keyframes bounce {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-filter: blur(0);
        filter: blur(0)
    }

    50% {
        -webkit-transform: scale(.9);
        transform: scale(.9);
        -webkit-filter: blur(1.4);
        filter: blur(1.4)
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }
}

@keyframes bounce {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-filter: blur(0);
        filter: blur(0)
    }

    50% {
        -webkit-transform: scale(.9);
        transform: scale(.9);
        -webkit-filter: blur(1.4);
        filter: blur(1.4)
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }
}


@media(min-width: 1024px) {
    .logo {
        max-width:400px;
        width: 100%
    }

    .loading {
        width: 350px;
        height: 16px;
        margin: 20px auto
    }

    .loading:before {
        width: 50px;
        height: 16px
    }
}

@media(max-width: 768px) {
    .logo {
        max-width: 160px;
    }
}
