:root {
    --primary: #fb8b24;
}

body {
    background: #000;
}

.infoCard {
    border-radius: 0px 30px 0px 30px;
    height: 30rem;
    background-size: 30rem 30rem;
    position: relative;
    object-fit: cover;
    overflow: hidden;
}

/* .infoCard::before {
    z-index: 10;
    opacity: 0;
    background: rgba(255, 255, 255, 0.178);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.171) 0%, rgba(0, 0, 0, 0.733) 89%);
    content: "";
    inset: 0;
    position: absolute;
    left: 0;
    top: 0;
    transition: opacity 0.3s ease;
} */

.infoCard img {
    height: 30rem;
    transform: scale(1.3);
    transition: transform 0.3s ease-in-out;
}

.infoCard:hover::before {
    opacity: 1;
}

.infoCard:hover img {
    transform: scale(1.1);
}

.infoCardHeader {
    z-index: 15;
}

.infoCardHeader .qualification {
    font-family: "Madimi One", sans-serif;
    font-weight: 400;
    font-style: normal;
    font: 3rem;
    background-color: var(--primary);
    border-radius: 0 0 0 30rem;
    position: absolute;
    top: 0px;
    right: 0px;
    padding: 5px 15px;
}

.infoCardHeader .wage {
    font-family: "Madimi One", sans-serif;
    font-weight: 400;
    font-style: normal;
    font: 5rem;
    text-align: center;
    width: 100%;
    background-color: var(--primary);
    position: absolute;
    bottom: 0;
    left: 0;
}

.infoCardHeader .sector {
    background-color: rgba(240, 255, 255, 0.507);
    width: 100%;
    font-weight: 700;
    position: absolute;
    bottom: 20%;
    padding: 0px 10px;
    left: 0;
}

.infoCardHeader .position {
    width: 100%;
    background-color: rgba(240, 255, 255, 0.507);
    font-family: "Anta", sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: black;
    font-style: normal;
    position: absolute;
    left: 0;
    bottom: 30%;
    padding: 10px 20px;
}
