.im-popups {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    transition: background-color 0.3s ease;
    z-index: 9999;
}

.im-popups.opened {
    background-color: rgba(0, 0, 0, 0.5);
}

#filter {
    visibility: hidden;
    opacity: 0;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

#filter._visible {
    visibility: visible;
    opacity: 1;
}
