body.msg-popup-active .msg-popup {
    opacity: 1;
    visibility: visible;
    transition: all .2s; }

.msg-popup {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transition: all .2s;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    top: 0;
    background-color: rgba(0, 0, 0, 0.7); 
}
.msg-popup .wrap-popup-box {
    max-width: 725px;
    margin: 0 auto;
    height: 100vh;
    overflow: hidden;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    justify-content: center; 
}
@media (max-width: 768px) {
    .msg-popup .wrap-popup-box {
        width: 90%; } 
}
.msg-popup .wrap-popup-box .popup-box {
    background-color: #fff;
    border-radius: 20px;
    padding: 25px 60px; 
}
@media (max-width: 768px) {
    .msg-popup .wrap-popup-box .popup-box {
        padding: 25px; } 
}
.msg-popup .wrap-popup-box .popup-box .box-heading {
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flexbox;
        display: flex; 
}
.msg-popup .wrap-popup-box .popup-box .box-heading .icon {
    background: #f58f73;
    background: linear-gradient(90deg, #f58f73 0%, #e25971 100%);
    border-radius: 50%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    /* Safari 7.0+ */
    align-items: center;
    justify-content: center;
    border: 15px solid #fff;
    padding: 25px 30px;
    position: relative;
    margin-top: -60px;
    min-width: 194px; 
}
@media (max-width: 768px) {
    .msg-popup .wrap-popup-box .popup-box .box-heading .icon {
        width: 150px;
        height: 150px;
        padding: 15px;
        border-width: 8px;
        min-width: 150px; 
    } 
}
.msg-popup .wrap-popup-box .popup-box .box-heading h4 {
    font-size: 42px;
    font-weight: normal;
    line-height: 42px;
    padding-left: 15px; }
@media (max-width: 768px) {
    .msg-popup .wrap-popup-box .popup-box .box-heading h4 {
        font-size: 30px;
        line-height: 30px; 
    } 
}
.msg-popup .wrap-popup-box .popup-box .box-heading h4 > b {
    font-weight: bold;
    color: #f37043;
    display: block;
    font-size: inherit;
    line-height: inherit; 
}
.msg-popup .wrap-popup-box .popup-box .text h5 {
    text-align: center;
    text-transform: uppercase;
    font-size: 50px;
    color: #c92f48;
    margin-bottom: 20px; 
}
@media (max-width: 768px) {
    .msg-popup .wrap-popup-box .popup-box .text h5 {
        font-size: 36px; 
    } 
}
.msg-popup .wrap-popup-box .popup-box .text p {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 20px;
    text-align: center; 
}
@media (max-width: 768px) {
    .msg-popup .wrap-popup-box .popup-box .text p {
        font-size: 18px;
        line-height: 24px; 
    } 
}
.msg-popup .wrap-popup-box .popup-box .text p > b {
    font-size: inherit;
    font-weight: bold;
    line-height: inherit; 
}
.msg-popup .wrap-popup-box .popup-box .orange-box {
    padding: 20px 15px;
    border-radius: 10px;
    background-color: #f37042;
    text-align: center; 
}
.msg-popup .wrap-popup-box .popup-box .orange-box p {
    font-size: 24px;
    line-height: 32px;
    color: #fff; 
}
@media (max-width: 768px) {
    .msg-popup .wrap-popup-box .popup-box .orange-box p {
        font-size: 18px;
        line-height: 24px; 
    } 
}
.msg-popup .wrap-popup-box .popup-box .orange-box p > b {
    font-size: inherit;
    font-weight: bold;
    line-height: inherit;
    color: inherit;
    display: inline-block; 
}
.msg-popup .wrap-popup-box .button {
    margin: 30px auto 0 auto; 
}

/* Delay text according to score */
#score-text {
    opacity: 0;
    transition: opacity 0.3s ease;
}

#score-text.show {
    opacity: 1;
}