.eath-tooltip__container {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.eath-tooltip__wrapper {
    position: absolute;
    z-index: 10000;
    max-width: 400px;
    padding-bottom: 32px;
    pointer-events: all;
}

    .eath-tooltip__wrapper.beneath {
        padding-top: 32px;
        padding-bottom: 0;
    }

.eath-tooltip__text {
    position: relative;
    pointer-events: none;
    animation: fadeIn 250ms ease-in-out forwards;
    padding: 1rem;
    border-radius: 0.5rem;
    background-color: white;
    box-shadow: 0px 2px 8px 3px rgba(0,0,0,0.25);
}

    .eath-tooltip__text:after {
        content: "";
        position: absolute;
        bottom: -18px;
        left: calc(50% - 18px);
        width: 0;
        height: 0;
        border-color: transparent transparent white white;
        border-style: solid;
        border-width: 1rem;
        transform: rotate(-45deg);
        box-shadow: -4px 4px 5px -1px rgba(0,0,0,0.25);
    }

.beneath .eath-tooltip__text:after {
    top: -18px;
    transform: rotate(135deg);
    box-shadow: -4px 4px 5px -1px rgba(0,0,0,0.25);
}



@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
