* {
    margin: 0px;
    padding: 0px;
}

.CareerHeroimage {
    background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/workwithus.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 60vh;
    min-height: 300px;
}

.careerheroContent {
    border: 3px solid rgb(255, 255, 255);
    padding: 2rem 6rem;
    text-align: center;
}

.careerheroContent h1 {
    color: rgb(255, 255, 255);
    font-size: 2rem;
    font-weight: 700;
}

.careerheroContent a {
    color: #ffc526;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 800;
    margin-top: 0.5rem;
    display: block;
    width: fit-content;
    box-sizing: border-box;
}

.careerheroContent a:hover {
    text-decoration: underline;
}

.workCulture {
    margin-top: 2rem;
    padding: 4rem;
}

i {
    color: #33AADB;
}

.workCulture p {
    font-size: 1.125rem;
    font-weight: 600;
    text-align: justify;
    margin:auto;
    margin-top: 3rem;
    max-width: 1000px;
    /* background-color: rgb(255, 255, 255); */
}

.CareerSection {
    margin-top: 2rem;
    margin-bottom: 5rem;
}

.CareerSection h1,
.workCulture h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    text-align: center;
}

.careerlist {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 1rem 4rem;
    gap: 1rem;
}

.CareerDetail {
    width: 45%;
    height: auto;
    min-height: 150px;
    align-self: stretch;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.CareerInfo h2 {
    color: rgb(255, 255, 255);
}

.CareerInfo {
    text-align: center;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.CareerInfo p {
    color: rgb(255, 255, 255);
}

.CareerInfo span {
    color: #ffc526;
}

@media screen and (max-width:768px) {
    .CareerDetail {
        width: 85%;
    }
}

@media screen and (max-width:400px) {
    .careerlist {
        padding: 1rem 2rem;
    }
    .CareerDetail {
        width: 95%;
    }
    .workCulture {
        padding: 4rem 2rem;
    }
    .careerheroContent {
        padding: 2rem 3rem;
    }
}