.job_section{
    width: 100%;
    height: fit-content;
    box-sizing: border-box;
    padding-top: 150px;
    padding-left: 18%;
    padding-right: 18%;
    overflow: hidden;
}

/* job section decorative image */

.job_section_decorative_image{
    width: fit-content;
    height: fit-content;
    max-width: 100%;
    margin-top: 80px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    opacity: 0;
    transform: scale(0.8);
    transform-origin: bottom;
    will-change: transform;
    transition: 1s cubic-bezier(0.215, 0.610, 0.355, 1);
}

.job_section_decorative_image.visible{
    opacity: 1;
    transform: none;
}

/* --- Job section marquee --- */

.job_section_marquee{
    width: 100%;
    height: fit-content;
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;

    /* overlays for 40px wide */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 40px, black calc(100% - 40px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 40px, black calc(100% - 40px), transparent 100%);
}

.job_section_marquee:hover .job_section_marquee_track{
    animation-play-state: paused;
}

/* --- Job section marquee track --- */

@keyframes marqueeAnimationLeft {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@keyframes marqueeAnimationRight {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

.job_section_marquee_track{
    width: fit-content;
    height: 60px;
    padding-left: 12px;
    display: flex;
    gap: 12px;
}

.job_section_marquee_track.left{ animation: marqueeAnimationLeft 45s linear infinite; }
.job_section_marquee_track.right{ animation: marqueeAnimationRight 45s linear infinite; }

/* element */

.job_section_marquee_track p{
    width: fit-content;
    height: 100%;
    box-sizing: border-box;
    padding-left: 26px;
    padding-right: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: var(--component);
    font-size: 14px;
    white-space: nowrap;
    color: var(--text2);
}


/* --- MEDIA --- */

@media screen and (max-width: 820px) {
    
    .job_section{
        padding-top: 90px;
        padding-left: 8%;
        padding-right: 8%;
    }
}