﻿
/* from here: https://codepen.io/higamaya/pen/jOpNZVM */


* {
    font-size: inherit;
}

.box {
    display: flex;
    justify-content: space-evenly;
    margin: 5em auto;
    width: 100%;
    font-size: 2em;
}


.customtool {
    position: relative;
}

    .customtool .tooltip {
        display: block;
        position: absolute;
        left: 50%;
        bottom: 2.75em;
        transform: translateX(-50%);
        /*transform:translateY(-10px);*/
        width: max-content;
        border-radius: 0.25em;
        padding: 0.5em;
        background: url(/assets/img/patterns/breadcrumbsAOF.png) repeat;
        backdrop-filter: blur(2px) invert(80%);
        color: black;
        font-size: 1.0em;
        opacity: 0;
        scale: 0;
        transition: opacity, scale 0.3s;
        transform-origin: left bottom;
        border-color: #242C1B;
    }

        .customtool .tooltip::before {
            content: "";
            position: absolute;
            left: 50%;
            bottom: -0.35em;
            transform: translateX(-50%);
            border: 0.35em solid rgba(0, 0, 0, 0);
            border-top-color: #000;
            border-bottom-width: 0;
        }

    .customtool:hover .tooltip {
        opacity: 1;
        scale: 1;
    }
