/**
* All of the CSS for public-facing functionality should be
* included in this file.
*/

.hearken--overflow {
    /* Let's try to stop any style inheritance. */
    all: unset;

    box-sizing: border-box;
    width: 100%;
    padding: 0.75em;

    position: absolute;
    z-index: 100;
    bottom: 0;
    left: 0;
    right: 0;

    border-radius: 0;
    background-color: #333;
    transition: background-color 100ms;

    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    font-size: 16px;
    line-height: 21px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;

    cursor: pointer;
}

.hearken--overflow:hover {
    background-color: #000;
}

.hearken--placeholder {
    position: relative;
}

.hearken--loader {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    margin-left: -40px;
    margin-top: -40px;
}

.hearken--loader div {
    position: absolute;
    border: 4px solid #53595a;
    opacity: 1;
    border-radius: 50%;
    animation: hearken--loader 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.hearken--loader div:nth-child(2) {
    animation-delay: -0.5s;
}

@keyframes hearken--loader {
    0% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        top: 0px;
        left: 0px;
        width: 72px;
        height: 72px;
        opacity: 0;
    }
}
