/* Section Title Componend */
.section-title {
    font-size: 30px;
    padding: 10px;
    margin: 0 auto 100px auto;
    width: fit-content;
    border: 3px solid black;
    position: relative;
    z-index: 100;
}

.section-title::before,
.section-title::after {
    content: "";
    width: 12px;
    height: 12px;
    position: absolute;
    background-color: var(--main-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    transition: var(--transition-duration);
}

.section-title::before {
    left: -30px;
}

.section-title::after {
    right: -30px;
}

.section-title:hover {
    color: white;
    border-color: white;
    transition-delay: 0.5s;
    transition-duration: 0.2s;
}

.section-title:hover::before {
    z-index: -1;
    animation: left-anim 0.5s linear forwards;
}

@keyframes left-anim {
    50% {
        left: 0;
        width: 12px;
        height: 12px;
    }

    100% {
        left: 0;
        border-radius: 0;
        width: 100%;
        height: 100%;
    }
}

.section-title:hover::after {
    z-index: -1;
    animation: right-anim 0.5s linear forwards;
}

@keyframes right-anim {
    50% {
        right: 0;
        width: 12px;
        height: 12px;
    }

    100% {
        right: 0;
        border-radius: 0;
        width: 100%;
        height: 100%;
    }
}

/* End Componend */

/* Spikes Componend */
.spikes {
    position: relative;
}

.spikes::after {
    content: "";
    position: absolute;
    right: 0;
    width: 100%;
    height: 30px;
    background-image: linear-gradient(135deg, white 25%, transparent 25%), linear-gradient(225deg, white 25%, transparent 25%);
    background-size: 30px 30px;
    z-index: 1;
}

/* End Componend */