#ouibounce-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}
#ouibounce-modal .underlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(37,34,33,0.6);
    cursor: pointer;
    -webkit-animation: fadein 0.5s;
    animation: fadein 0.5s;
}
#ouibounce-modal .modal {
    background-image: url("../img/base@2x.png");
    background-size: cover;
    width: 770px;
    height: 80%;
    max-width: 95%;
    z-index: 1;
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    -webkit-animation: popin 0.3s;
    animation: popin 0.3s;
    padding: 50px 20px
}
#ouibounce-modal .modal-title {
    font-size: 18px;
    color: #fff;
    text-align: center;
    margin-bottom: 40px;
}
#ouibounce-modal h3 {
    color: #fff;
    font-size: 24px;
    line-height: 30px;
    font-weight: bold;
}
#ouibounce-modal .modal-body h4 {
    font-size: 26px;
    line-height: 36px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
}
#ouibounce-modal p {
    font-size: 16px;
    line-height: 26px;
    text-align: center;
}
#ouibounce-modal form {
    text-align: center;
    margin-top: 45px;
}
#ouibounce-modal form button {
    background-color: #252221;
}
#ouibounce-modal form button:hover {
    background-color: #3d4852;
}
#ouibounce-modal .modal-footer {
    position: absolute;
    top: -40px;
    right: 0;
}
#ouibounce-modal .modal-footer p {
    text-transform: capitalize;
    cursor: pointer;
    display: inline;
}
@-webkit-keyframes fadein {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}
@-ms-keyframes fadein {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}
@keyframes fadein {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}
@-webkit-keyframes popin {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
        opacity: 0;
    }

    85% {
        -webkit-transform: scale(1.05);
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }
}
@-ms-keyframes popin {
    0% {
        -ms-transform: scale(0);
        transform: scale(0);
        opacity: 0;
    }

    85% {
        -ms-transform: scale(1.05);
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        -ms-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }
}
@keyframes popin {
    0% {
        -webkit-transform: scale(0);
        -ms-transform: scale(0);
        transform: scale(0);
        opacity: 0;
    }

    85% {
        -webkit-transform: scale(1.05);
        -ms-transform: scale(1.05);
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }
}

@media (min-width: 768px) {
    #ouibounce-modal {
        top: 0;
        height: 100%;
    }
    #ouibounce-modal .modal {
        padding: 50px 80px;
        height: 434px;
    }
    #ouibounce-modal .modal-body h4 {
        font-size: 30px;
        line-height: 40px;
    }
    #ouibounce-modal p {
        font-size: 20px;
        line-height: 32px;
    }
    #ouibounce-modal form input[type=email], #ouibounce-modal form input[type=text] {
        min-width: 350px;
    }
}

@media (min-width: 1024px) {
    #ouibounce-modal .modal {
        padding: 50px 100px;
    }
}
