.container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    overflow-y: scroll;
    background: rgba(0, 0, 0, 0.80);
}

.modal {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    padding: 20px 10px 10px 10px;
    border-radius: 24px 24px 0 0;
    background-color: var(--grey22);
}

.close {
    position: absolute;
    top: 20px;
    right: 10px;
    width: 24px;
    height: 24px;
    background-color: var(--grey34);
    border-radius: 50%;
}

.close::before,
.close::after {
    content: '';
    position: absolute;
    top: calc(50% - 1px);
    left: calc(50% - 5px);
    display: block;
    width: 12px;
    height: 2px;
    background: var(--pink);
    border-radius: 50%;
}

.close::before {
    transform: rotate(45deg);
}

.close::after {
    transform: rotate(-45deg);
}


.animationOpen {
    animation-name: open;
    animation-duration: 0.3s;
    animation-timing-function: ease-out;
}

.animationClose {
    animation-name: close;
    animation-duration: 0.4s;
    animation-timing-function: ease-in;
}

@keyframes open {
    0% {
        bottom: -700px;
        opacity: 0;
    }

    100% {
        bottom: 0;
        opacity: 1;
    }
}

@keyframes close {
    0% {
        bottom: 0;
        opacity: 1;
    }

    80% {
        opacity: 0.8;
    }

    100% {
        bottom: -700px;
        opacity: 0;
    }
}