div#showInfo
{
    font-size: calc(var(--smallFontSize) + 0.2rem);
    visibility: hidden;
    background-color: limegreen;
    color: #fff;
    text-align: center;
    padding: 16px;
    position: fixed;
    z-index: 1001;
    left: 50%;
    bottom: 50px;
    transform: translateX(-50%);
    min-width: 250px;
    border-radius: var(--borderRadius);
}

div#showInfo.error
{
    background-color: red;
}

div#showInfo.show
{
    visibility: visible;
    animation: showInfoFadeIn 0.5s, showInfoFadeOut 0.5s 2.5s;
}

@keyframes showInfoFadeIn
{
    from {bottom: 0; opacity: 0;}
    to {bottom: 50px; opacity: 1;}
}

@keyframes showInfoFadeOut
{
    from {bottom: 50px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}


@media only screen and (max-width: 500px)
{
    div#showInfo
    {
        font-size: var(--smallFontSize);
    }
}
