.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 60;
    transition: opacity 0.1s ease-in;
    /* overflow-y: scroll; */
    /* overflow-x: hidden; */
    overflow: hidden;
}

.container {
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 80px 0px 20px 0px;
    overflow-y: scroll;
}

.overlay.hide {
    display: none;
    /* opacity: 0;
    pointer-events: none; */
}
.overlay.display {
    display: block;
    /* opacity: 1;
    pointer-events: all; */
}

.form_container {
    position: relative;
    background: var(--secondary-color);
    max-width: 600px;
    /* height: 95vh; */
    width: 99vw;
    color: #fff;
    border-radius: 7px;
    padding: 30px 50px;
    transition: all 0.1s ease-in;
}

.cancel_container {
    position: absolute;
    top: 15px;
    right: 20px;
    height: 30px;
    width: 30px;
    cursor: pointer;
}
.heading {
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 32px;
    font-weight: 500;
    font-family: "Poppins";
}
.action_button {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    background: var(--gradient);
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 20px;
}

.action_button:active {
    transform: scale(0.98);
}

@media screen and (max-width: 750px) {
    .form_container {
        padding: 30px 20px;
    }
}

@media screen and (max-width: 450px) {
    .heading {
        font-size: 28px;
    }
}

@media screen and (max-width: 350px) {
    .heading {
        font-size: 18px;
    }
}
