﻿body {
    background: #eee;
}
#careers-page {
    background: #eee;
    position: relative;
    overflow: clip;
    z-index: 0;
}

.content {
    max-width: 1200px;
    margin-inline: auto;
    padding: .5rem 1.5rem 4rem 1.5rem;
    position: relative;
    overflow-y: clip;
}

section{
    margin-bottom: 2rem;
}

h2 {
    font-weight: 600;
    color: var(--orange);
}
h3 {
    font-weight: 600;
    color: var(--green);
}

#careers-page img { 
    width: 450px;
    height: 290px;
    border-radius: 20px; 
    object-fit: cover;
    z-index: 1;
}
img.blue {
    border: 5px solid var(--blue);
}
img.orange {
    border: 5px solid var(--orange);
}
img.green {
    border: 5px solid var(--green);
}

section.side-img {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 1.5rem;
}
@media (max-width: 660px){
    section.side-img {
        flex-direction: column;
    }
    section.side-img:nth-child(even) {
        flex-direction: column-reverse;
    }
    section.side-img:last-child{
        margin-bottom: 1rem;
    }
    #careers-page img {
        width: 95%;
        max-width: 375px;
        height: 250px;
        aspect-ratio: 1 / 1;
    }
}

#top-title + p {
    font-weight: 600;
    font-size: 1.15rem;
}
#top-candidates {
    width: 100%; 
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: .5rem;
}
#top-candidates > div {
    margin-bottom: 1.25rem;
    padding: 1rem .5rem; 
    max-width: 25rem;
    border: 5px solid var(--blue);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
}
#top-candidates > div:first-child {
    border-color: var(--green);
}
#top-candidates > div:last-child {
    border-color: var(--orange); 
}
#top-candidates ul {
    margin-bottom: 0;
}


.side-img p {
    max-width: 95ch;
}
#btn-wrapper {
    display: flex;
    flex-direction: column;
    gap: .5rem; 
}
