/* The Modal (background) */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 999;
    /* Sit on top */
    padding-top: 100px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

/* The Close Button */
.modal-header .close {
    color: white;

    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
}

.modal-body {
    padding: 2px 16px;
}

.modal-footer {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
}

.wrapper {
    display: flex;
    height: 20vh;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.button {
    border: 1px transparent;
    -webkit-border-radius: 40px;
    border-radius: 40px;
    color: #eeeeee;
    cursor: pointer;
    display: inline-block;
    font-family: Arial;
    font-size: 20px;
    padding: 8px 30px;
    text-align: center;
    text-decoration: none;
    margin-left: 20px;
    -webkit-animation: glowing 1300ms infinite;
    -moz-animation: glowing 1300ms infinite;
    -o-animation: glowing 1300ms infinite;
    animation: glowing 1300ms infinite;
}

@-webkit-keyframes glowing {
    0% {
        background-color: #00b200;
        -webkit-box-shadow: 0 0 3px #98df55;
    }

    50% {
        background-color: #21ed2f;
        -webkit-box-shadow: 0 0 15px #21ed21;
    }

    100% {
        background-color: #39c809;
        -webkit-box-shadow: 0 0 3px #00b209;
    }
}

@keyframes glowing {
    0% {
        background-color: #00b215;
        box-shadow: 0 0 3px #21b200;
    }

    50% {
        background-color: #21ed32;
        box-shadow: 0 0 15px #21ed21;
    }

    100% {
        background-color: #18b200;
        box-shadow: 0 0 3px #00b212;
    }
}

.svg-btn {
    display: block;
    width: 200px;
    height: 200px;
    margin-left: 10px;
}

.pop-outin {
    animation: 2s anim-popoutin ease infinite;
}

@keyframes anim-popoutin {
    0% {

        color: black;
        transform: scale(0);
        opacity: 0;
        /* text-shadow: 0 0 0 rgba(0, 0, 0, 0); */
    }

    25% {

        color: rgb(253, 236, 9);
        transform: scale(1);
        opacity: 1;
        /* text-shadow: 3px 10px 5px rgba(0, 0, 0, 0.5); */
    }

    50% {

        color: rgb(249, 246, 246);
        transform: scale(1);
        opacity: 1;
        /* text-shadow: 1px 0 0 rgba(0, 0, 0, 0); */
    }

    100% {
        /* animate nothing to add pause at the end of animation */
        transform: scale(1);
        opacity: 1;
        /* text-shadow: 1px 0 0 rgba(0, 0, 0, 0); */
    }
}