@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700;800;900&display=swap");

.careersection {
    height: 100vh;
    width: 100%;
    /* background-color: #222; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 0;
    position: relative;
    font-family: 'Rubik', sans-serif;
    z-index: 10;
}
.careersection h2 {
    font-family: 'Rubik', sans-serif;
    font-size:52px;
    font-weight: 600;
    margin: 0 13%;
    color: rgb(0, 0, 0);
    margin-bottom: 30px;
}

.careescontainer {
    height: 500px;
    width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    /* background-color: antiquewhite; */
}

.careers,
.internships {
    /* background-color: aqua; */
    height: 100%;
    width: 45%;
    position: relative;
    z-index: 0;
    border-radius: 5%;
    padding: 5% 2%;
}

.card-img {
    display: block;
    height: auto;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    transition: 0.5s all ease;
}

.careercontent,
.internshipcontent {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: 0.5s all ease;
    opacity: 0;
    z-index: 10;
    position: relative;
}

.careercontent h3,
.internshipcontent h3 {
    font-size: 32px;
    font-weight: 600;
}

.careercontent p,
.internshipcontent p {
    font-size: 14px;
    transition: 0.5s all ease;
}

.careercontent button{
    background: transparent;
    height: 50px;
    width: 220px;
    border-radius: 25px;
    border: 2px solid #222222;
    font-size: 12px;
    font-weight: 400;
    color: #222;
    padding: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.35s all ease;
}
.internshipcontent button {
    background: transparent;
    height: 50px;
    padding: 3px;

    width: 220px;
    border-radius: 25px;
    border: 2px solid #222222;
    font-size: 12px;
    font-weight: 400;
    color: #222;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.35s all ease;
}

.careers-arrow {
    height: 9px;
    transition: 0.35s all ease;
    margin-bottom: -2px;
}

.opportunities {
    position: absolute;
    bottom: 15px;
    left: 25px;
    font-size: 35px;
    font-weight: 500;
    line-height: 45px;
    z-index: 10;
    color: #ffffff;
    transition: 0.35s all ease;
}

.careers:hover .careercontent p,
.internships:hover .internshipcontent p {
    padding-bottom: 40px;
    padding-top: 20px;
}

.careers:hover .careercontent,
.internships:hover .internshipcontent {
    opacity: 1;
}

.careers:hover .card-img,
.internships:hover .card-img {
    opacity: 0.3;
}

.careers:hover .opportunities,
.internships:hover .opportunities {
    opacity: 0;
}

.careers button:hover {
    color: white;
    background: #222;
}
.careescontainer button:hover {
    color: white;
    background: #222;
}
