/*----------------------iFrame--------------------------------------------*/
.iframe-container {
    position: fixed;
    bottom: 130px;
    right: 30px;
    z-index: 999;
    transition: 0.3s;
    opacity: 0;
    width: 0;
    height: 0;
    visibility: hidden;
    background-color: white;
    border-radius: 0.5rem;
    filter: drop-shadow(0px 10px 20px rgba(0, 0, 0, 0.1));
}

    .iframe-container.active {
        width: 500px;
        height: 550px;
        opacity: 1;
        visibility: visible;
    }

.decimal-frame {
    border-radius: 0.5rem;
}

/*-------------------------DECIMAL Logo-----------------------------------------*/
.decimal-toggle {
    height: 100px;
    width: 100px;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 30px;
    right: 35px;
    z-index: 999;
    transition: 0.3s;
}

.avatar {
    transition: 0.3s;
}

    .avatar.active {
        opacity: 0;
        visibility: hidden;
    }

    .avatar:hover {
        content: url('/images/owlhover.png');
    }

.decimal-toggle .avatar {
    height: 120px;
    min-width: 120px !important;
}

.close {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    width: 50px;
    border-radius: 0.5rem;
    opacity: 0;
    visibility: hidden;
    color: #333333;
    background-color: white;
    font-size: 4rem;
    font-weight: 100;
    rotate: 90deg;
    transition: 0.3s;
}

    .close.active {
        opacity: 1;
        visibility: visible;
        rotate: 0deg;
        transition: 0.3s;
    }

/* ------------------------Chat Bubble------------------------------*/
.chat-bubble {
    position: fixed;
    bottom: 150px;
    right: 10px;
    z-index: 1000;
    transition: 0.3s;
    width: 150px;
    padding: 0 1rem;
    text-align: center;
    mix-blend-mode: difference;
}

    .chat-bubble.active {
        opacity: 0;
        visibility: hidden;
    }

/*-----------------------------Media Tags----------------------------------------------------*/
@media all and (max-width: 500px) {
    .iframe-container.active {
        margin-right: 0;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: calc(100vh - 120px);
        opacity: 1;
        visibility: visible;
        box-shadow: '0px 3px 8px rgba(0, 0, 0, 0.5)';
        z-index: 999;
    }
}
