.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #03021c;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    flex-direction: row;
}

.preloader video {
    margin-left: -60px;
    width: 300px;
    height: auto;
}

.spinner {
    display: none;
    margin-left: -35px;
    width: 40px;
    height: 40px;
    border: 2px solid white;
    border-top: 4px solid var(--dark-accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


/*
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #020116;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    flex-direction: column;

 .heartbeat {
    width: 180px;
    max-width: 300px;
    position: relative;
    animation: heartbeat 4s infinite ease-in-out;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    30% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1);
    }
    70% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}


} */