﻿
.hearthdiv {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(240, 130, 130, 0.61);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.heartbeatloader {
    position: absolute;
    width: 20vmin;
    height: 20vmin;
    z-index: 4;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.svgdraw {
    top: 0px;
    left: 0px;
    position: absolute;
    width: 100%;
    height: 100%;
    transform: scale(1.4);
    z-index: 7;
}

.path {
    stroke: rgba(3, 3, 3, 0.95);
    stroke-width: 4;
    stroke-dasharray: 1000px;
    stroke-dashoffset: 1000px;
    animation: draw 1.5s infinite forwards normal linear;
    animation-delay: 0.1s;
    position: relative;
}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}

.innercircle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(209, 28, 28, 0.705);
    position: absolute;
    z-index: 6;
    margin: auto;
    top: 0;
    opacity: 0.9;
    animation: innerbeat 1.5s infinite linear forwards;
}

@keyframes innerbeat {
    0% {
        transform: scale(1);
    }

    10% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }

    60% {
        transform: scale(1.05);
    }

    75% {
        transform: scale(1.2);
    }
}

.outercircle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(230, 92, 92, 0.774);
    box-shadow: 0 0 40px 20px #fff;
    position: absolute;
    z-index: 5;
    opacity: 0.9;
    top: 0;
    left: 0;
    transform: scale(1.2);
    animation: outerbeat 1.5s infinite linear forwards;
}

@keyframes outerbeat {
    0% {
        transform: scale(1.2);
    }

    10% {
        transform: scale(1.2);
    }

    50% {
        transform: scale(1.3);
    }

    60% {
        transform: scale(1.25);
    }

    75% {
        transform: scale(1.3);
    }
}
