/**
 * Theme Name: Avada - Child
 * Template: Avada
 */

.popup-loading {
    position: fixed;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
    background-color: rgba(0, 0, 0, .5);
    z-index: 9999;
}

.popup-loading.is-active {
    visibility: visible;
    opacity: 1;
}

.popup-loading .popup__inner {
    z-index: 5;
    position: fixed;
    left: 50%;
    top: 50%;
    max-width: 600px;
    width: 100%;
    padding: 40px 80px;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.popup-loading .popup__inner img:last-of-type {
    max-width: 130px;
}

.popup-loading .popup__inner img:first-of-type {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: -5;
}

.popup-loading .popup__inner img:nth-child(2) {
    max-width: 75%;
}

@media (max-width: 768px) {
    .popup-loading .popup__inner {
        padding: 40px;
        max-width: 300px;
    }

    .popup-loading .popup__inner img:last-of-type {
        max-width: 60px;
    }
}