
#career-information {
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-blend-mode: lighten;
  z-index: 0;
}

#career-information::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--color5);
  opacity: 0.8;
  z-index: -1;
}
.job-card {
    background-color: var(--bg-color);
    width: 100%;
    height: 18%;
    border-radius: 6px;
    width: fit-content;
    padding: 2% 6%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 4%;
}

.jobs-container {
    display: flex;
    flex-wrap: wrap;
    padding: 3% 10%;
    justify-content: space-evenly;

}

.carrer-opportunity {
    text-align: center;
    padding: 7% 20% 0px;
}

.carrer-opportunity h1 {
    font-size: 3.5rem;
    color: #171717;
}

.carrer-opportunity h2 {
    font-size: 2.5rem;
    margin-bottom: 4%;
    color: #171717;
}

.carrer-opportunity hr {
    width: 4%;
    margin: 3% auto;
}

.carrer-opportunity p {
    font-size: 1.3rem;
    color: #2e4049;
}

.job-card p {
    margin: 4% 0px;
    font-size: 1.2rem;
}

.form-heading {
    font-size: 3rem;
    padding: 2% 0% 4%;
    text-align: center;
}

#application-form {
    padding: 0% 22% 4% 16%;
    width: 100%;
    height: fit-content;
}

.application-form-container {
    display: flex;
}

#application-submit-btn {
    border-radius: 35px;
    border: none;
    background-color: var(--primary-text-color);
    color: var(--secondry-text-color);
    padding: 20px 30px;
    font-weight: bold;
    margin-left: 40%;
    margin-top: 5%;
    text-align: center;
    cursor: pointer;
}

#application-submit-btn:hover {
    background-color: #171717;
}

#application-form .right {
    width: 50%;
}

#application-form .left {
    padding-left: 8%;
    width: 50%;
    gap: 0rem;
}

#application-form .left label {
    position: relative;
    display: block;
    margin: 5% 0%;

}

#application-form .left label span {
    padding: 10px;
    pointer-events: none;
    position: absolute;
    left: 0;
    top: 0;
    transition: 0.4s;
    margin-left: 10px;
    opacity: 0.5;
    font-size: 1.2rem;
}

#application-form .left input {
    padding: 3%;
    width: 90%;
    font-size: 1rem;
    height: 3rem;
    margin-bottom: 0rem;
    outline: none;
    border: 1px solid #a8c781;
}

textarea {
    display: inline-block;
    padding: 1rem;
    resize: vertical;
    margin-top: 15px;
    outline: none;
    border: 1px solid #a8c781;
}

label[for="resume"] {
    position: relative;
    top: 2rem;
    cursor: pointer;

}

#resume {

    position: relative;
    top: 2rem;
    cursor: pointer;
    margin-bottom: 14%;
}

#application-form .left input:focus,
#application-form .left input:not(:placeholder-shown) {
    outline: black;
    border-color: #a8c781;
}

input[type="file"]::file-selector-button {
    background-color: transparent;
    border: none;
    outline: none;
    cursor: pointer;
}

#application-form .left input:focus+span,
#application-form .left input:not(:placeholder-shown)+span {
    opacity: 1;
    background-color: transparent;
    margin-top: 10px;
    margin-bottom: 20px;
    color: black;
    margin-bottom: 20px;
    transform: scale(0.7) translateY(-65%) translateX(-20px);
}

@media only screen and (max-width: 480px) {
    .carrer-opportunity {
        padding: 28% 6% 0%;
        text-align: center;
    }

    .carrer-opportunity h1 {
        font-size: 2rem;
    }

    .carrer-opportunity hr {
        width: 8%;
        margin: 5% auto;
    }

    .carrer-opportunity h2 {
        font-size: 1.5rem;
    }

    .carrer-opportunity p {
        font-size: 1rem;
    }

    .jobs-container {
        flex-direction: column;
        padding: 5%;
        align-items: center;
    }

    .job-card {
        width: 100%;
        padding: 5%;
        text-align: center;
    }

    .form-heading {
        font-size: 2rem;
        padding: 10% 0 8%;
    }

    #application-form {
        padding: 5%;
    }

    .application-form-container {
        flex-direction: column;
    }

    #application-form .left,
    #application-form .right {
        width: 100%;
        padding: 0;
    }

    #application-form .left input,
    #application-form .left textarea {
        width: 100%;
        font-size: 1rem;
    }

    #application-submit-btn {
        width: 100%;
        margin: 0% auto 0;
        padding: 15px;
        font-size: 1rem;
    }

    label[for="resume"],
    #resume {
        top: 14px;
        font-size: 1rem;
        width: 100%;
    }

    textarea {
        width: 100%;
        margin-top: 0%;
    }
}


@media (min-width: 481px) and (max-width: 1024px) {
    .carrer-opportunity {
        padding: 8% 10% 0%;
        text-align: center;
    }

    .carrer-opportunity h1 {
        font-size: 2.5rem;
    }

    .carrer-opportunity hr {
        width: 6%;
        margin: 4% auto;
    }

    .carrer-opportunity h2 {
        font-size: 2rem;
    }

    .carrer-opportunity p {
        font-size: 1.2rem;
    }

    .jobs-container {
        flex-wrap: wrap;
        justify-content: center;
        padding: 5%;
    }

    .job-card {
        width: 48%;
        padding: 4%;
        text-align: center;
        margin-bottom: 5%;
    }

    .form-heading {
        font-size: 2.5rem;
        padding: 0%;
    }

    #application-form {
        padding: 5% 8% 8%;
    }

    .application-form-container {
        flex-direction: column;
    }

    #application-form .left,
    #application-form .right {
        width: 100%;
        padding: 0;
    }

    #application-form .left input,
    #application-form .left textarea {
        width: 100%;
        font-size: 1rem;
    }

    #application-submit-btn {
        width: 80%;
        margin: 0% auto 0;
        padding: 18px;
        font-size: 1rem;
        display: block;
    }

    #resume {
        margin-bottom: 4%;
    }

    textarea {
        margin-top: 0%;
        width: 100%;
        margin-bottom: 15px;
    }

    label[for="resume"],
    #resume {
        top: 0;
        font-size: 1rem;
        width: 100%;
    }
}