.overlay {
    position: fixed;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modalContent {
    position: relative;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.5);
    color: #fff;
    background: linear-gradient(360deg,
            rgb(83, 61, 186) 0%,
            rgb(80, 48, 154) 35.94%,
            rgb(106, 70, 165) 61.04%,
            rgb(133, 93, 175) 100%);
    box-sizing: border-box;
}

.closeBtn {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    background: transparent;
    font-size: 18px;
    cursor: pointer;
}

@media screen and (min-width: 320px) {
    .overlay {
        backdrop-filter: blur(3px);
        inset: 0px;
    }

    .modalContent {
        padding: 40px 60px;
        border-radius: 12px;
        width: 540px;
        box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.5);
    }
}

@media screen and (max-width: 320px) {
    .overlay {
        inset: 60px 0 0 0;
        position: fixed;
        display: flex;
        width: 100%;
        height: calc(100vh - 60px);
        justify-content: center;
        align-items: center;
    }

    .modalContent {
        padding: 20px;
        min-height: fit-content;
        width: 100%;
        min-height: 100%;
        margin: auto 0;
        gap: 40px;
    }
}