body {font-family: Arial, Helvetica, sans-serif;}
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}
.modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background-color: #fefefe;
    padding: 3%;
    border: 1px solid #888;
    width: 50%;
    max-width: 500px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    animation: animatetop 0.4s ease-out forwards;
}
@-webkit-keyframes animatetop {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}
@keyframes animatetop {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}
@media (max-width: 768px) {
    .modal-content {
        width: 80%;
    }
}
@media (max-width: 480px) {
    .modal-content {
        width: 90%;
    }
}
.close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    background-color: #ff0000;
    padding: 0 0.5rem;
    cursor: pointer;
    text-shadow: none;
    opacity: unset;
}
.close:hover,
.close:focus {
    background-color: #e60000;
    text-decoration: none;
}
@media (max-width: 768px) {
    .close {
        font-size: 24px;
        right: 10px;
    }
}
@media (max-width: 480px) {
    .close {
        font-size: 20px;
        right: 10px;
        top: 10px;
    }
}
input[type=text], select {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
}
input[type=submit] {
    width: 100%;
    background-color: #4CAF50;
    color: white;
    padding: 14px 20px;
    margin: 10px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}
input[type=submit]:hover {
    background-color: #45a049;
}
.email_input {
    margin-top: 0.5rem;
}
#myBtn {
    text-decoration: none;
    cursor: pointer;
}
@media (max-width: 768px) {
    .modal-content {
        width: 80%;
        padding: 5%;
    }
    .close {
        font-size: 24px;
        right: 10px;
    }
}
@media (max-width: 480px) {
    .modal-content {
        width: 90%;
    }
    input[type=text], input[type=submit] {
        font-size: 14px;
    }
}
