.body {
    background: #888;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Add animation (Chrome, Safari, Opera) */
@-webkit-keyframes example {
    from {opacity: 0;}
    to {opacity:1;}
}

/* Add animation (Standard syntax) */
@keyframes example {
    from {opacity: 0;}
    to {opacity:1;}
}

.redirection-popup {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    font-size: 16px;
    font-family: Jura,"HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue",Helvetica,Roboto,Arial,"Lucida Grande",sans-serif;
}
.popup-overlay {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.4);
}
.popup-dialog {
    width: 500px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    color: black;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    /* Add animation */
    -webkit-animation-name: example; /* Chrome, Safari, Opera */
    -webkit-animation-duration: 0.5s; /* Chrome, Safari, Opera */
    animation-name: example;
    animation-duration: 0.5s;
}
.popup-close {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(50%, -50%);
    display: block;
    width: 1.75em;
    height: 1.75em;
    border: 1px solid white;
    background-color: black;
    -webkit-box-shadow: 0 0 0 1px black;
    -moz-box-shadow: 0 0 0 1px black;
    box-shadow: 0 0 0 1px black;
    color: #FCFCFC;
    text-decoration: none;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    font-size: 16px;
}
.popup-close span {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.popup-content {
    padding: 2em;
}
.popup-title {
    font-size: 1.5em;
    margin-bottom: 1em;
    text-align: center;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
.popup-button-group {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    position: relative;
}
.popup-button-group a {
    display: inline-block;
    padding: 0.75em;
    background-color: #00B2A9;
    color: #FCFCFC;
    text-decoration: none;
    -webkit-flex: 1 0 0;
    -ms-flex: 1 0 0;
    flex: 1 0 0;
    margin: 0 5px;
    white-space: nowrap;
    text-align: center;
}
.popup-button-group a:hover {
    opacity: 0.8;
}
.popup-button-group a.btn-close {

}

/* Media query */
@media (max-width: 768px) {
    .redirection-popup {
        font-size: 14px;
    }
    .popup-dialog {
        width: 300px;
    }
    .popup-button-group a {
        white-space: normal;
    }
}

/* state */
.redirection-popup:target {
    display: block;
}
