/* CSS Document */

.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 */
    background-color: rgba(0, 0, 0, 0.7); /* Black w/ opacity */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #ffffff;
    margin: auto;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: fadeIn 0.5s ease-in-out;
}

.modal-content h2 {
    color: #333;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.modal-content p {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
}

.modal-content a {
    color: #007bff;
    text-decoration: underline;
    font-size: 14px;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #333;
    font-size: 20px;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #000;
}

a.button-primary {
    display: inline-block;
    background-color: #ff7f50;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

a.button-primary:hover {
    background-color: #e56740;
}

.extra-info {
    margin-top: 20px;
}

.extra-info a {
    font-size: 14px;
    color: #007bff;
    text-decoration: underline;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
