#loadAnimation {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: block;
}

#loadAnimation-container {
    position: relative;
    width: 100%;
    height: 100%;
}

#loadAnimation-top {
    border-top: 50vh solid var(--main-text-color);
    border-right: 50vw solid transparent;
    border-bottom: 50vh solid transparent;
    border-left: 50vw solid var(--main-text-color);
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1001;
    opacity: .8;
}

#loadAnimation-bottom {
    border-top: 50vh solid transparent;
    border-right: 50vw solid var(--main-text-color);
    border-bottom: 50vh solid var(--main-text-color);
    border-left: 50vw solid transparent;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1001;
    opacity: .8;
}

/* @keyframes gotoTop {
    from {bottom: 0; left: 0;}
    to {bottom: 2000px; left: 2600px;}
}

@keyframes gotoBottom {
    from {top: 0; right: 0;}
    to {top: 2000px; right: 2600px;}
} */

@media screen and (min-width: 2000px) {
    @keyframes gotoTop {
        from {bottom: 0; left: 0;}
        to {bottom: 2000px; left: 3000px;}
    }
    
    @keyframes gotoBottom {
        from {top: 0; right: 0;}
        to {top: 2000px; right: 3000px;}
    }
}

@media screen and (max-width: 2000px) {
    @keyframes gotoTop {
        from {bottom: 0; left: 0;}
        to {bottom: 1700px; left: 2500px;}
    }
    
    @keyframes gotoBottom {
        from {top: 0; right: 0;}
        to {top: 1700px; right: 2500px;}
    }
}

@media screen and (max-width: 1500px) {
    @keyframes gotoTop {
        from {bottom: 0; left: 0;}
        to {bottom: 1200px; left: 1700px;}
    }
    
    @keyframes gotoBottom {
        from{ top: 0; right: 0;}
        to {top: 1200px; right: 1700px;}
    }
}

@media screen and (max-width: 1000px) {
    @keyframes gotoTop {
        from {bottom: 0; left: 0;}
        to {bottom: 1400px; left: 1000px;}
    }
    
    @keyframes gotoBottom {
        from {top: 0; right: 0;}
        to {top: 1400px; right: 1000px;}
    }
}

@media screen and (max-width: 500px) {
    @keyframes gotoTop {
        from {bottom: 0; left: 0;}
        to {bottom: 1000px; left: 500px;}
    }
    
    @keyframes gotoBottom {
        from {top: 0; right: 0;}
        to {top: 1000px; right: 500px;}
    }
}

@media screen and (max-width: 500px) {

}

@media screen and (max-width: 400px) {
    
}