/* Style for the modal container */
#myModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Dark background with transparency */
    align-items: center;
    justify-content: center;
    opacity: 0; /* Start with 0 opacity */
    transition: opacity 0.5s ease-in-out; /* Fade-in/out transition */
}

.modal-content {
    position: relative;
    padding: 40px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
}

/* Style for the close button */
.close {
    color: #aaaaaa;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease-in-out;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
}
