.scroll-wrapper {
    overflow: hidden;
    width: 100%;
    padding: 100px;
    margin: 2em 0;
}

#myself {
    display: flex;
    align-items: center;
    width: max-content;
    animation: scrollLeft 25s linear infinite;
    will-change: transform;
}

body {
    overflow-x: hidden;
    align-content: center;
    background-color: #E7E7E7;
    text-align: center;
    align-content: center;
}

#technical-heading-black {
    font-family: consolas, sans-serif;
    color: #060c21;
    margin-bottom: 0;
}

.imgbox {
    position: relative;
    cursor: pointer;
    max-width: 220px;
    max-height: 275px;
    justify-content: center;
    align-items: center;
    background: #060c21;
    transition: 0.3s ease;
    flex-shrink: 0;
    margin: 0 5rem;
    /* border: 2px solid linear-gradient(100deg, yellow, red, indigo); */

}

.imgbox img {
    max-width: 100%;
    max-height: fit-content;
    opacity: 0;
    transition: 1.5s ease;
}

.imgbox:hover img {
    opacity: 1;
}

.imgbox:before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: black;
    z-index: -1;
}

.imgbox:after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: black;
    z-index: -2;
    filter: blur(40px)
}

/* Glow effect */
.imgbox:nth-child(7n + 1):before,
.imgbox:nth-child(7n + 1):after {
    background: linear-gradient(100deg, yellow, red, indigo);
}

.imgbox:nth-child(7n + 2):before,
.imgbox:nth-child(7n + 2):after {
    background: linear-gradient(180deg, aliceblue, #0cc1c1, navy);
}

.imgbox:nth-child(7n + 3):before,
.imgbox:nth-child(7n + 3):after {
    background: linear-gradient(180deg, grey, #ff5900);
}

.imgbox:nth-child(7n + 4):before,
.imgbox:nth-child(7n + 4):after {
    background: linear-gradient(180deg, rgb(4, 116, 53), rgb(192, 162, 12), rgb(80, 71, 21));
}

.imgbox:nth-child(7n + 5):before,
.imgbox:nth-child(7n + 5):after {
    background: linear-gradient(180deg, #e79913, yellow, green);
}

.imgbox:nth-child(7n + 6):before,
.imgbox:nth-child(7n + 6):after {
    background: linear-gradient(180deg, aliceblue, #0cc1c1, navy);
}

.imgbox:nth-child(7n + 7):before,
.imgbox:nth-child(7n + 7):after {
    background: linear-gradient(180deg, #e79913, rgba(111, 79, 79, 0.79), rgb(176, 126, 26));
}

@keyframes scrollLeft {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}