@charset "utf-8";

@keyframes expand {
    from {
      opacity: 0;
    }
}

@keyframes pop {
    from {
        transform: scale(0);
    }
}

.popup_parent {
    position:fixed;
    top:0;
    right:0;
    bottom:0;
    left:0;
    display:flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0,0,0,.5);
    animation: expand 150ms ease;
}

.popup_parent .popup {
    background-color: #202020;
    border-radius: 8px;
    padding: 40px 20px;
    position:relative;
    box-shadow: 0px 4px 6px 1px rgba(0,0,0,0.75);
    animation: pop 100ms ease;
}

.popup_parent .popup .close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

/* Sizes */

.popup.big {
    width: 70vw;
    height: 80vh;
}
.popup.medium {
    width: 40vw;
    height: 35vh;
}
.popup.small {
    width: 20vw;
    height: 30vh;
}