﻿.motor-wrapper {
    display: flex;
    align-items: center;
    padding-top: 30px;
    position: relative;
    height: 40%;
    width: 80%;
}

.outside-circle {
    margin: 0 10px;
    width: 100px;
    height: 100px;
    border-radius: 80px;
    overflow: hidden;
    position: absolute;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.3) inset;
}

    .outside-circle.first-outside-circle {
        left: 0;
    }

    .outside-circle.second-outside-circle {
        width: 60px;
        height: 60px;
        left: 260px;
        box-shadow: 0px 4px 6px 0px rgba(0, 0, 0, 0.2666666667);
    }

        .outside-circle.second-outside-circle .inside-circle {
            width: 40px;
            height: 40px;
            box-shadow: 0 0 0 20px rgba(223, 15, 0, 0.5);
        }

.animate .outside-circle.second-outside-circle .inside-circle {
    animation: none;
}

.outside-circle.third-outside-circle {
    left: 480px;
}

.inside-circle {
    position: relative;
    margin: 10px auto;
    border-radius: 80px;
    width: 80px;
    height: 80px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0px 0px 0px 150px #CCCCCC;
}

.animate .inside-circle {
    animation: eclipse 2s linear forwards;
}

@keyframes eclipse {
    0% {
        box-shadow: -300px 0 0px 150px #4973ff, 0px 0px 0px 150px #CCCCCC;
    }

    100% {
        box-shadow: 45px 0px 0px 150px #4973ff, 0px 0px 0px 150px #CCCCCC;
    }
}

.horizontal-line {
    background: #CCCCCC;
    height: 10px;
    width: 160px;
    margin: auto;
    position: absolute;
}

    .horizontal-line.first-horizontal-line {
        left: 110px;
    }

    .horizontal-line.second-horizontal-line {
        left: 330px;
    }

    .horizontal-line::before {
        content: "";
        position: absolute;
        width: 0;
        height: 10px;
        margin: auto;
    }

.animate .horizontal-line::before {
    transition: width 0.5s linear;
    width: 160px;
    background: linear-gradient(to top, #164cff, #bbbbbb);
}

.animate .anim-first {
    animation-delay: 0s;
}

    .animate .anim-first .icon {
        transition-delay: 0s;
    }

.animate .anim-second::before {
    transition-delay: 1s !important;
}

.animate .anim-fourth::before {
    transition-delay: 1.5s !important;
}

.animate .anim-fifth {
    animation-delay: 1.7s !important;
}

    .animate .anim-fifth .icon {
        transition-delay: 1.7s;
    }

.animate .on-off-icon:before {
    content: "ON";
    color: green;
}

.animate .icon_motor::before {
    background-image: url(../images/Motor-on.svg);
}

.animate .outside-circle.second-outside-circle .inside-circle {
    box-shadow: 0 0 0 20px rgba(49, 122, 0, 0.5) !important;
}

.icon {
    display: block;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

    .icon::before {
        content: "";
        display: inline-block;
        position: relative;
        font-size: 60px;
        top: 40px;
        margin-top: -35px;
        color: linear-gradient(to top, #164cff, #bbbbbb);
        overflow: hidden;
        width: 80px;
    }

.on-off-icon:before {
    content: "OFF";
    position: absolute;
    width: 40px;
    left: 0px;
    top: 34px;
    font-size: 30px;
    color: red;
    align-self: center;
    justify-self: center;
    font-family: "BebasNeue";
}

.icon_water-tank {
    --waterTankUrl: none;
}

    .icon_motor::before,
    .icon_water-tank::before {
        display: block;
        height: 60px;
        background-repeat: no-repeat;
        background-position: center center;
        height: 70px;
    }

.icon_motor::before {
    background-image: url(../images/Motor-off.svg);
}

.icon_water-tank::before {
    background-image: var(--waterTankUrl);
