/* My baby & Me Modal Styling */

#myModal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    display: none;
}

/* Modal Header */
.modal-header {
    padding: 2px 16px;
    background-color: #23b1a5;
    color: white;
    text-align: center;
    padding-top: 15px;
}

/* Modal Body */
.modal-body {
    padding: 2px 16px;
    padding-bottom: 20px;
}

/* Modal Footer */
.modal-footer {
    padding: 2px 16px;
    background-color: #23b1a5;
    color: white;
    position: absolute;
    bottom: 0;
    width: 100%;
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 60%;
    height: 75%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    animation-name: animatetop;
    animation-duration: 0.8s;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow-x: scroll;
}

/* Add Animation */
@keyframes animatetop {
    from {
        top: -20px;
        opacity: 0
    }

    to {
        top: 50%;
        opacity: 1
    }
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.opt-out-btn {
    margin-top: 20px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgb(91, 91, 91);
    color: #fff;
    border: none;
    border-radius: 3px;
    font-size: 14px;
    border-width: 1px;
}