.popup {
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    z-index: 21;
    position: fixed;
    font-weight: 500;
    top: 50%;
    left: 50%;
    width: 100%;
    max-width: 480px;
    background-color: #fff;
    border-radius: 5px;
    transform: translate(-50%, -30%);
    transition: all 0.25s ease-in-out, transform 0.0s linear, top 0.0s linear, left 0.0s linear, right 0.0s linear, bottom 0.0s linear, background 0.0s linear;
    will-change: transform;
    font-family: "Montserrat", "Basis Grotesque Pro", Arial, Helvetica, sans-serif;
    line-height: 1.5;
}
.popup__title {
    margin: 0;
    margin-bottom: 10px;
    padding: 0px 20px 10px 20px;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    border-bottom: 1px solid #eaeaea;
}
.popup__content {
    padding: 10px 30px;
}
.popup__content > *:last-child {
    margin-bottom: 0;
}
.popup__text {
    margin-bottom: 30px;
    text-align: center;
    font-weight: 500;
    font-size: 16px;
}
.popup--visible {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, -50%);
}
.popup-container .main-button {
    width: 100%;
}
.popup-container .main-button {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 40px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    background-color: #B12535;
    transition: 0.2s ease-in-out;
    max-width: none;
    margin-bottom: 20px;
    font-family: "Montserrat", "Basis Grotesque Pro", Arial, Helvetica, sans-serif;
}
@media (max-width: 600px) {
    .popup__content {
        padding: 10px 0;
        height: calc(100% - 65px - 40px);
    }
}