﻿@import url('https://fonts.googleapis.com/css?family=Staatliches');

body {
    margin: 0;
    font-family: 'Staatliches', cursive;
}

.loader {
    position: fixed;
    left: 0;
    top: 0;
    background: white;
    width: 100%;
    height: 100vh;
    animation: backgroundChange .5s linear 3s forwards;
}

.load-text {
    font-size:5em!important ;
    left: 54%;
    top: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    font-size: 10vmax;
    width: fit-content;
    display: flex;
    animation: colorChange .5s linear 3s forwards;
}

.loaded-text {
    transform: scale(1.5);
    animation: scaleText .5s linear .5s forwards;
    color: #293C96;
}

.loading-text {
    width: 10px;
     overflow: hidden;
    animation: expand .5s linear .5s forwards;
    color: #293C96;
}

main {
    padding: 1em;
    box-sizing: border-box;
    background-color: black;
    color: white;
    min-height: 100vh;
    font-family: 'Open Sans', sans-serif;
}

@keyframes scaleText {
    from {
        transform: scale(1.5)
    }

    to {
        transform: scale(1)
    }
}

@keyframes expand {
    from {
        width: 0;
    }

    to {
        width: 17vmax;
    }
}

@keyframes backgroundChange {
    from {
        background-color: white
    }

    to {
        background-color: black
    }
}

@keyframes colorChange {
    from {
        color: black
    }

    to {
        color: white
    }
}

@keyframes fadeOut {
    from {
        opacity: 1
    }

    to {
        opacity: 0;
        z-index: -1;
    }
}
