﻿[data-id="loadingAnswer"] {
    display: flex;
    opacity:1;
    justify-content: center;
    align-items: center;
    margin: auto;
    flex-direction: column;
    position: fixed;
    height: 100% !important;
    width: 100% !important;
    left: 0px;
    top: 0px;
    z-index: 10;
    -webkit-transition: opacity 1s ease-in-out;
    -moz-transition: opacity 1s ease-in-out;
    -ms-transition: opacity 1s ease-in-out;
    -o-transition: opacity 1s ease-in-out;
    transition: opacity 1s ease-in-out;
    pointer-events: none;
}

[data-id="loadingAnswer"] .dot {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #000;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

[data-id="loadingAnswer"] .dot-3 {
    background-color: #f74d75;
    animation: dot-3-move 2s ease infinite, index 6s ease infinite;
}

[data-id="loadingAnswer"] .dot-2 {
    background-color: #10beae;
    animation: dot-2-move 2s ease infinite, index 6s -4s ease infinite;
}

[data-id="loadingAnswer"] .dot-1 {
    background-color: #ffe386;
    animation: dot-1-move 2s ease infinite, index 6s -2s ease infinite;
}

@keyframes dot-3-move {
    20% {
        transform: scale(1)
    }

    45% {
        transform: translateY(-18px) scale(.45)
    }

    60% {
        transform: translateY(-90px) scale(.45)
    }

    80% {
        transform: translateY(-90px) scale(.45)
    }

    100% {
        transform: translateY(0px) scale(1)
    }
}

@keyframes dot-2-move {
    20% {
        transform: scale(1)
    }

    45% {
        transform: translate(-16px, 12px) scale(.45)
    }

    60% {
        transform: translate(-80px, 60px) scale(.45)
    }

    80% {
        transform: translate(-80px, 60px) scale(.45)
    }

    100% {
        transform: translateY(0px) scale(1)
    }
}

@keyframes dot-1-move {
    20% {
        transform: scale(1)
    }

    45% {
        transform: translate(16px, 12px) scale(.45)
    }

    60% {
        transform: translate(80px, 60px) scale(.45)
    }

    80% {
        transform: translate(80px, 60px) scale(.45)
    }

    100% {
        transform: translateY(0px) scale(1)
    }
}

@keyframes rotate-move {
    55% {
        transform: translate(-50%, -50%) rotate(0deg)
    }

    80% {
        transform: translate(-50%, -50%) rotate(360deg)
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg)
    }
}

@keyframes index {
    0%, 100% {
        z-index: 3
    }

    33.3% {
        z-index: 2
    }

    66.6% {
        z-index: 1
    }
}

[data-id="loadingAnswer"] .loadingCaptionIndicator
{
    position: absolute;
    z-index: 1;
    padding: 10px;
    background: #ffffffa3;
    border-radius: 5px;
    gap: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    box-shadow: 0px 5px 4px 0px #1f1f1f;
}

.loading [data-id="loadingCaption"] {
    display: flex;
    align-items: center;
    gap: 5px;
    position: absolute;
    z-index: 3;
    background: var(--Colors-Secondary-ease-darker);    
    border-radius: 8px;
    opacity: .7;
}