.popup-container {
    display: none;
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 0vh;
    background-color: transparent;
    overflow: hidden;
    transition: background-color 0.25s ease;
    z-index: 9999;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    transition: background-color 0.25s;
}

.popup.open {
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    transition: background-color 0.25s;
}

.popup.open>.content-wrapper {
    transform: scale(1);
}

.popup .content-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 600px;
    margin: 0;
    padding: 2.5rem;
    background-color: white;
    border-radius: 0.3125rem;
    box-shadow: 0 0 2.5rem rgba(0, 0, 0, 0.5);
    transform: scale(0);
    transition: transform 0.25s;
    transition-delay: 0.15s;
}

.popup .content-wrapper .popup-header {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 0 0 1rem;
}

.popup .content-wrapper .popup-header h2 {
    font-size: 1.5rem;
    font-weight: bold;
}

.popup .content-wrapper .content {
    position: relative;
    display: flex;
}

.popup .content-wrapper .content p {
    font-size: 1rem;
    line-height: 1.75;
}

.popup .content-wrapper .popup-footer {
    margin: 0;
    text-align: center;
}

.popup .content-wrapper .popup-footer .action {
    position: relative;
    margin-left: 0.625rem;
    padding: 0.625rem 1.25rem;
    border: none;
    background-color: slategray;
    border-radius: 0.25rem;
    color: white;
    font-size: 0.87rem;
    font-weight: 300;
    overflow: hidden;
    z-index: 1;
}

.popup .content-wrapper .popup-footer .action:before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: width 0.25s;
    z-index: 0;
}

.popup .content-wrapper .popup-footer .action:first-child {
    background-color: #2ecc71;
}

.popup .content-wrapper .popup-footer .action:hover:before {
    width: 100%;
}

.popup {
    font-family: 'Helvetica Neue', sans-serif;
}

.popup h2 {
    margin: auto;
    text-align: center;
}

.popup p {
    text-align: center;
}

.popup-footer {
    margin: auto;
}

.popup a {
    text-decoration: none;
}

.popup .action {
    display: block;
}

.popup .close_button {
    display: block;
    background-color: transparent !important;
    color: #aaa !important;
}

.next_button {
    font-size: 1.1rem !important;
    text-transform: uppercase;
}

.close_button {
    text-decoration: underline !important;
}