:root {
    --mainColor: #ff6929;
    --startingColor: #12000a;
    --shadowBlur: 10px;
}

.base {
    height: 60dvh;
    position: relative;
    margin-right: 10%;
    margin-left: 10%;
}

    .base .back {
        width: 100%;
        height: 100%;
        background: radial-gradient(rgba(72, 72, 72, 0.28) 0%, rgba(128,128,128,0) 69%);
    }

    .base .wrap {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);

    }

    .base h2 {
        text-align: center;
        position: absolute;
        top: 50%;
        left: 50%;
        margin-top: clamp(50px, 30%, 150px);
        font-size: 30px;
        text-transform: uppercase;
        transform: translate(-50%, -50%);
        display: block;
        color: #12000a;
        font-weight: 300;
        font-family: Tajawal;
        text-shadow: 0px 0px var(--shadowBlur) var(--startingColor);
        animation: fadeInText 2s ease-in 3.5s forwards, flicker4 5s linear 7.5s infinite, 6s ease-in-out 3s infinite;
        white-space: nowrap;
    }

#svgWrap_1,
#svgWrap_2 {
    position: absolute;
    height: auto;
    width: 600px;
    max-width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#id1_1,
#id2_1,
#id3_1 {
    stroke: var(--mainColor);
    stroke-width: 3px;
    fill: transparent;
    filter: url(#glow);
}

#id1_2,
#id2_2,
#id3_2 {
    stroke: var(--startingColor);
    stroke-width: 5px;
    fill: transparent;
    filter: url(#glow);
}

#id3_1 {
    stroke-dasharray: 940px;
    stroke-dashoffset: -940px;
    animation: drawLine3 2.5s ease-in-out 0s forwards, flicker3 4s linear 4s infinite;
}

#id2_1 {
    stroke-dasharray: 735px;
    stroke-dashoffset: -735px;
    animation: drawLine2 2.5s ease-in-out 0.5s forwards, flicker2 4s linear 4.5s infinite;
}

#id1_1 {
    stroke-dasharray: 940px;
    stroke-dashoffset: -940px;
    animation: drawLine1 2.5s ease-in-out 1s forwards, flicker1 4s linear 5s infinite;
}

@keyframes drawLine1 {
    0% {
        stroke-dashoffset: -940px;
    }

    100% {
        stroke-dashoffset: 0px;
    }
}

@keyframes drawLine2 {
    0% {
        stroke-dashoffset: -735px;
    }

    100% {
        stroke-dashoffset: 0px;
    }
}

@keyframes drawLine3 {
    0% {
        stroke-dashoffset: -940px;
    }

    100% {
        stroke-dashoffset: 0px;
    }
}

@keyframes flicker1 {
    0% {
        stroke: var(--mainColor);
    }

    1% {
        stroke: transparent;
    }

    3% {
        stroke: transparent;
    }

    4% {
        stroke: var(--mainColor);
    }

    6% {
        stroke: var(--mainColor);
    }

    7% {
        stroke: transparent;
    }

    13% {
        stroke: transparent;
    }

    14% {
        stroke: var(--mainColor);
    }

    100% {
        stroke: var(--mainColor);
    }
}

@keyframes flicker2 {
    0% {
        stroke: var(--mainColor);
    }

    50% {
        stroke: var(--mainColor);
    }

    51% {
        stroke: transparent;
    }

    61% {
        stroke: transparent;
    }

    62% {
        stroke: var(--mainColor);
    }

    100% {
        stroke: var(--mainColor);
    }
}

@keyframes flicker3 {
    0% {
        stroke: var(--mainColor);
    }

    1% {
        stroke: transparent;
    }

    10% {
        stroke: transparent;
    }

    11% {
        stroke: var(--mainColor);
    }

    40% {
        stroke: var(--mainColor);
    }

    41% {
        stroke: transparent;
    }

    45% {
        stroke: transparent;
    }

    46% {
        stroke: var(--mainColor);
    }

    100% {
        stroke: var(--mainColor);
    }
}

@keyframes flicker4 {
    0% {
        color: var(--mainColor);
        text-shadow: 0px 0px var(--shadowBlur) var(--mainColor);
    }

    30% {
        color: var(--mainColor);
        text-shadow: 0px 0px var(--shadowBlur) var(--mainColor);
    }

    31% {
        color: #12000a;
        text-shadow: 0px 0px var(--shadowBlur) var(--startingColor);
    }

    32% {
        color: var(--mainColor);
        text-shadow: 0px 0px var(--shadowBlur) var(--mainColor);
    }

    36% {
        color: var(--mainColor);
        text-shadow: 0px 0px var(--shadowBlur) var(--mainColor);
    }

    37% {
        color: var(--startingColor);
        text-shadow: 0px 0px var(--shadowBlur) var(--startingColor);
    }

    41% {
        color: var(--startingColor);
        text-shadow: 0px 0px var(--shadowBlur) var(--startingColor);
    }

    42% {
        color: var(--mainColor);
        text-shadow: 0px 0px var(--shadowBlur) var(--mainColor);
    }

    85% {
        color: var(--mainColor);
        text-shadow: 0px 0px var(--shadowBlur) var(--mainColor);
    }

    86% {
        color: var(--startingColor);
        text-shadow: 0px 0px var(--shadowBlur) var(--startingColor);
    }

    95% {
        color: var(--startingColor);
        text-shadow: 0px 0px var(--shadowBlur) var(--startingColor);
    }

    96% {
        color: var(--mainColor);
        text-shadow: 0px 0px var(--shadowBlur) var(--mainColor);
    }

    100% {
        color: var(--mainColor);
        text-shadow: 0px 0px var(--shadowBlur) var(--mainColor);
    }
}

@keyframes fadeInText {
    1% {
        color: var(--startingColor);
        text-shadow: 0px 0px var(--shadowBlur) var(--startingColor);
    }

    70% {
        color: var(--mainColor);
        text-shadow: 0px 0px var(--shadowBlur) var(--mainColor);
    }

    100% {
        color: var(--mainColor);
        text-shadow: 0px 0px var(--shadowBlur) var(--mainColor);
    }
}

@keyframes hueRotate {
    0% {
        filter: hue-rotate(0deg);
    }

    50% {
        filter: hue-rotate(-120deg);
    }

    100% {
        filter: hue-rotate(0deg);
    }
}
