.error-mark {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: red;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px red;
    animation: error-fill .4s ease-in-out .4s forwards, error-scale .3s ease-in-out .9s both;
    margin: 0 auto;
}


/* Medium Screens (Tablet) */
@media screen and (max-width: 991px) {
    .error-mark {
        width: 80px;
        height: 80px;
    }
}

/* Mobile Screens */
@media screen and (max-width: 600px) {
    .error-mark {
        width: 60px;
        height: 60px;
    }
}

.error-mark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke: red;
    fill: #fff;
    animation: error-stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.error-mark__line {
    fill: none;
    stroke: red;
    stroke-width: 4;
    stroke-linecap: round;
}

.error-mark__line1, .error-mark__line2 {
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: error-line 0.3s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.error-mark__line2 {
    animation-delay: 0.15s;
}

/* Animations */
@keyframes error-stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes error-line {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes error-scale {
    0%, 100% {
        transform: none;
    }

    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes error-fill {
    100% {
        box-shadow: inset 0px 0px 0px 30px red;
    }
}
