.main-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.main-popup.visible {
    opacity: 1;
    visibility: visible;
}

.main-popup-content {
    background: #fff;
    padding: 30px 50px;
    border-radius: 1px;
    width: 80%;
    max-width: 50rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
}

@media (max-width: 750px) {
    .main-popup-content {
        border-radius: 0;
        width: 100%;
        position: absolute;
        bottom: 0;
        height: 80%;
        padding: 20px 5% 5rem;
    }
}
