.bg-overlay{
    position: fixed;
    display: none;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.5);
    z-index: 3000;
}

.bg-overlay.active{
    display: block;
}

/*Neo-modal*/
.neo-modal.bg,
.neo-modal{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 4000;
}

.neo-modal-close{
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 5000;
    background: none;
}

.neo-modal-close span{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
}

.neo-modal-close span:before,
.neo-modal-close span:after{
    position: relative;
    content: '';
    width: 3px;
    height: 100%;
    background: var(--color-light);
}

.neo-modal-close span:before{
    transform: rotate(45deg);
    left: 1px;
}

.neo-modal-close span:after{
    right: 1px;
    transform: rotate(-45deg);
}

.neo-modal.active{
    display: flex;
}
.neo-modal.bg .neo-modal-wrap,
.neo-modal-wrap{
    position: relative;
    display: flex;
    padding: 30px;
    width: 100%;
    min-width: 250px;
    max-width: 600px;
    margin: 50px;
    background: var(--color-light);
    z-index: 5000;
    border-radius: 10px;
}

.neo-modal.bg .neo-modal-wrap{
    position: relative;
    width: 70%;
    height: 0;
    padding-bottom: 40.25%;
    background: none;
    border-radius: 10px;
    overflow: hidden;
    max-width: 100%;
}