/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    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.6); /* Black w/ opacity */
    z-index: 999;
}

/* Modal Content/Box */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 50px;
    box-sizing: border-box;
}

.modal-content h2 {
    margin-top: 0;
    font-size: 40px;
    font-weight: 400;
    color: var(--blue);
}

.modal-content h3 {
    color: var(--grey);
    margin: 0 auto 10px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 160px;
    font-size: 15px;
}

.modal-content h3 hr {
    width: 15px;
    flex-grow: 0;
    height: 2px;
    background-color: var(--grey);
    border: none;
}

.modal-content p:last-child {
    margin-bottom: 0;
}

/* The Close Button */
.close {
    position: absolute;
    top: 25px;
    right: 25px;
    color: var(--blue);
}

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