.overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: rgba(0, 0, 0, 0.5);
    z-index: 50;
    display: none;
}
.overlay.active {
    display: block;
    animation: display-form 0.1s ease-in forwards;
}
@keyframes display-form {
    0% {
        transform: scale(1.05);
        opacity: 0;
        pointer-events: none;
    }
    100% {
        transform: scale(1);
        opacity: 1;
        pointer-events: all;
    }
}

.card {
    position: absolute;
    height: 600px;
    max-height: 90vh;
    width: 90%;
    max-width: 500px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--secondary-color);
    border-radius: 10px;
    overflow-y: scroll;
}

.card_image {
    position: absolute;
    top: 0;
    height: 350px;
    width: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7)),
        url("/static/images/others/career_test_background_1.webp");
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.heading {
    font-family: "Poppins", "Roboto", sans-serif;
    margin-bottom: 10px;
    font-size: 32px;
    font-weight: 400;
    text-transform: uppercase;
}
.sub_heading {
    margin-bottom: 20px;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 500;
}

.content {
    padding: 320px 20px 30px 20px;
}
.description {
    margin: 20px 0;
    line-height: 1.4rem;
    text-align: center;
}

.card::-webkit-scrollbar {
    width: 5px;
}
.card::-webkit-scrollbar-track {
    background: inherit;
}
.card::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.cancel_container {
    position: sticky;
    top: 10px;
    left: calc(90%);
    height: 40px;
    width: 40px;
    z-index: 50;
    cursor: pointer;
}
