.load{

    background-color: rgba(255, 255, 255, 1);
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    z-index: 9999;
}
.load::before{
    content: "";
    width: 0%;
    height: 5px;
    background-color: #eb4646;
    position: fixed;
    top: 0;
    left: 0;
    animation: load-bar 2s steps(10) forwards;
}
@keyframes load-bar {
    from{
        width: 0%;
    }
    to{
        width: 100%;
    }
}
.load img{
    width: 200px;
    animation: rotate 2s linear infinite;
}
.load::after{
    content: "loading...";
    font-size: 40px;
    color: var(--main-color);
}
@keyframes rotate {
    from{
        transform: rotate(0deg);
    }
    to{
        transform: rotate(360deg);
    }
}