﻿.overviewListElement {
    background-color: var(--color-backgroundElements);
    display: flex;
    flex-flow: row nowrap;
    border-radius: 5px;
    padding: 20px;
    transition: box-shadow 0.5s;
    width: 100%;
    gap: 20px;
    flex: 1 1 400px;
}

    .overviewListElement:hover {
        box-shadow: 0px 4px 10px 0px rgba(0,0,0,0.05);
    }

    .overviewListElement > .resultOk {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background-color: var(--color-green);
    }

    .overviewListElement > .resultError {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background-color: var(--color-red);
    }

    .overviewListElement > div:nth-of-type(2) {
        flex: 1;
        display: flex;
        flex-flow: row wrap;
        gap: 5px
    }

    .overviewListElement > div > div:first-of-type {
        display: flex;
        flex-flow: column nowrap;
        flex: 1 1 400px;
        gap: 5px;
    }

        .overviewListElement > div > div:first-of-type > p {
            color: var(--color-mustard);
            font-size: 0.8em;
        }

            .overviewListElement > div > div:first-of-type > p::before {
                display: inline-block;
                vertical-align: middle;
                background-image: url('../images/user.png');
                background-size: contain;
                background-repeat: no-repeat;
                background-position: center;
                margin-right: 5px;
                margin-bottom: 2px;
                width: 15px;
                height: 15px;
                content: '';
                filter: brightness(0) saturate(100%) invert(78%) sepia(30%) saturate(3099%) hue-rotate(359deg) brightness(102%) contrast(105%);
            }

    .overviewListElement > div > div:last-of-type {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

        .overviewListElement > div > div:last-of-type > p::before {
            display: inline-block;
            vertical-align: middle;
            background-image: url('../images/timer.png');
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            margin-right: 5px;
            margin-bottom: 5px;
            width: 20px;
            height: 20px;
            content: '';
            filter: invert(42%) sepia(1%) saturate(2391%) hue-rotate(131deg) brightness(110%) contrast(72%);
        }

@media (prefers-color-scheme: dark) {
    .overviewListElement > div > div:last-of-type > p::before {
        filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(241deg) brightness(103%) contrast(103%);
    }
}

.overviewListElement h1 {
    color: var(--color-highlight);
    font-size: 1.1em;
}

.overviewListElement h2 {
    font-size: 0.9em;
    color: var(--color-text);
}

.overviewListElement h3 {
    font-size: 0.9em;
    color: var(--color-text);
}
