.modal {
    display: none;
    position: fixed;
    z-index: 8;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    margin: 15% auto;
    border: 1px solid #999;
    width: 60%;
    height: 380px;
    /* background-color: transparent; */
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.form {
    padding: 25px;
    margin: 25px;
    box-shadow: 0 2px 5px #f5f5f5;
    background: #eee;
    height: 320px;
    box-shadow: 10px 10px;
}

.contact-form button {
    width: 100%;
    padding: 10px;
    border: none;
    background: #1c87c9;
    font-size: 16px;
    font-weight: 400;
    color: #fff;
}

#poup:hover {
    background-color: crimson;
}

button:hover {
    background: #2371a0;
}

.close {
    color: red;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 8%;
    left: 92%;
    opacity: 1;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

button.button {
    display: inline-block;
    padding: 10px 30px;
    color: white;
    background-color: transparent;
    border: 2px solid crimson;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    margin-top: 30px;
    transition: 0.3s ease;
    transition-property: background-color, color;
}

button.button:hover {
    color: white;
    background-color: crimson;
    text-decoration: underline;
}

.popup_container {
    position: absolute;
    display: inline-block;
    top: 0;
    left: 15%;
    width: -webkit-fill-available;
    margin: auto;
}

.popup_content {
    display: none;
    position: absolute;
}

.show {
    display: block;
}


/* Styling the button and the link */

.linkStyle {
    color: green;
    padding: 16px;
    font-size: 16px;
    cursor: pointer;
    font-family: verdana;
    text-decoration: none;
}

.linkStyle:hover,
.dropbtn:focus {
    color: black;
    text-decoration: underline;
}

.btnPopup {
    background-color: transparent !important;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 92%;
    text-align: end;
    width: 6% !important;
    /* background: red !important; */
    color: red !important;
    font-weight: 800 !important;
}

.btnPopup:hover,
.btnPopup:focus {
    background-color: #3e8e41;
}


/* styling the popup*/

#popup_content {
    background-color: #cfcfcfe8;
    margin: 10%;
    padding: 87px;
    width: 50%;
    font-family: verdana;
    font-size: 14px;
    height: 200px;
}