:root {
    --open-jobs-padding: 0 1vw 0 1vw;
}

.open-jobs-container {
    margin: 0 0 70px 0;
    width: 100%;
    box-sizing: border-box;
    padding: 0 14vw 0 14vw;
    height: fit-content;
    color: var(--font-color);
    font-weight: 700;
}

.open-jobs-main-title-container {
    padding-top: 70px;
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.open-jobs-main-title {
    color: var(--main-color);
    font-size: min(20vw, 34px);
}

.up-to-date {
    font-size: min(12vw, 16px);
}

.open-jobs {
    position: relative;

}

.open-jobs-title-container {
    padding: 30px 0 30px 0;
    border-bottom: 1px solid var(--divider-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.open-jobs-title-container:hover {
    border-bottom: 1px solid var(--main-color);
    color: var(--main-color);
}

.open-jobs-title {
    font-size: min(6vw, 18px);
    width: 100%;
}



.jobs-arrow {
    width: 32px;
    min-width: 32px;
    height: 32px;
    min-height: 32px;
    padding: var(--open-jobs-padding);
    fill: var(--main-color);
    transition: transform 0.5s;
}

/* ---------jobs content-----------*/
.job-content-title {
    font-size: 30px;
    color: var(--main-color);
    font-weight: 600;
}

.jobs-content {
    font-weight: 300;
    position: relative;
    font-size: min(6vw, 20px);
}

ul {
    list-style: none;
}

li::before {
    content: "•";
    color: var(--font-color);
    display: inline-block;
    width: 1em;
    margin-left: -1em
}

.job-apply {
    width: 100%;
    position: relative;
    height: fit-content;
    display: flex;
    justify-content: space-between;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    padding: 2vw;
    border-radius: 5px;
}

.job-apply-button {
    background-color: var(--main-color);
    color: white;
    font-weight: 600;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
    padding: 5px 15px 5px 15px;
    border-radius: 5px;
    transition: background-color 0.2s ease-in-out;
    cursor: pointer;
}

.job-apply-button:hover, .job-apply-button:focus, .job-apply-button:active {
    background-color: var(--head-color);
}

.measure-height {
    box-sizing: border-box;
    padding: 1vw 5vw 1vw 5vw;
    margin: 20px;
}

.grow {
    -moz-transition: height .5s;
    -ms-transition: height .5s;
    -o-transition: height .5s;
    -webkit-transition: height .5s;
    transition: height .5s;
    height: 0;
    overflow: hidden;
}

.arrow-direction {
    transform: rotateZ(90deg);
}

/* ------EMAIL FORM CONTAINER----------*/
.email-join-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    width: 100%;
    background: var(--email-background);
}

.email-form-container {
    background-color: var(--lighter-color);
    box-sizing: border-box;
    width: 600px;
    padding: 30px;
}

.join-container {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 600px;
    background-color: var(--join-background);
    color: var(--font-color);
    box-sizing: border-box;
    padding: 30px 30px 30px 30px;
}

.join-content {
    font-weight: 500;
}

.join-title {
    margin: 0 0 10px 0;
    font-size: min(16vw,32px);
}

.lighter {
    color: var(--lighter-color-dark);
}

.row {
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin: 5px;
}

.row-divider {
    width: 48%;
}

.row-divider input {
    background-color: var(--lighter-color-input);
}

select {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background-color: var(--lighter-color-input);
    outline: none;
    border: none;
    width: 100%;
    height: 40px;
    color: var(--font-color);
    padding: 0;
    font-size: inherit;
}

.upload-cv {
    font-size: 13px;
}

.upload-cv::file-selector-button, .upload-cv::-webkit-file-upload-button {
    height: 100%;
    background-color: var(--main-color);
    border: none;
    font-weight: 700;
    color: white;
    transition: box-shadow 0.1s;
}

.upload-cv::file-selector-button:hover, .upload-cv::-webkit-file-upload-button:hover {
    box-shadow: 0 0 8px black inset;
}

/* CONTACT CSS */

.icon-flex {
    display: flex;
    gap: 16px;
}

.home-icon, .phone-icon, .mail-icon {
    min-width: 25px;
    min-height: 25px;
    fill: var(--font-color);
}

.onhover-green {
    transition: color 0.3s ease-in-out;
}

.onhover-green:hover, .onhover-green:focus, .contact-phone:focus {
    color: var(--main-color);
}

.company-detail-wrapper {
    vertical-align: middle;
    display: flex;
    flex-direction: column;
    gap: 10px;
}


#carreer:before {
    transform: scaleX(1);
}

input:-webkit-autofill,
input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px var(--lighter-color-input) inset;
    -webkit-text-fill-color: var(--font-color);
    caret-color: var(--font-color);
}


@media screen and (max-width: 900px) {
    .open-jobs-main-title-container {
        padding-top: min(80px, 5vw);
    }
    .divider-mobile {
        display: block;
    }
    .open-jobs-container {
        padding: 0 2vw 0 2vw;
    }

    .open-jobs-main-title-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .measure-height {
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
        padding: 1vw;
        margin: 0;
    }

    .job-apply {
        width: 90%;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        align-self: center;
    }

    ul {
        padding-left: 8vw;
    }

    .job-content-title {
        font-size: min(8vw, 24px);
    }

    .email-join-container {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .email-form-container {
        width: 100%;
        padding: 4px;
    }

    .join-container {
        width: 100%;
        min-height: 400px;
        gap: 20px;
        padding: 3vw;
    }

    #carreer:before {
        transform: scaleX(0);
    }
}

@media screen and (max-width: 500px) {
    .job-apply {
        flex-direction: column;
        gap: 20px;
    }

    select option {
        font-size: 4vw;
    }
}

@media screen and (max-width: 330px) {
    .row {
        flex-direction: column;
        gap: 10px;
    }

    .row-divider {
        width: 100%;
    }
}

@media screen and (max-width: 300px) {
    .jobs-arrow {
        min-height: min(10vw, 40px);
        min-width: min(10vw, 40px);
    }
}
