/* Modal Styles */
/* Modal overlay */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay with transparency */
}

/* Modal content */
.modal-content {
    background-color: rgba(194, 169, 161, 0.9); /* Slightly transparent background */
    background-size: cover;
    margin: 10% auto;
    padding: 20px;
    border-radius: 15px; /* Rounded corners */
    border: 1px solid #888;
    width: 60%;
    height: 50%;
    overflow-y: auto;
    color: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3); /* Optional shadow for depth */
}


.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

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

/* Styles for the mobile popup modal */
.mobile-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 2000; /* Adjust z-index to avoid overlap */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.mobile-modal-content {
    background-color: rgba(160, 115, 136, 0.8); /* Slightly transparent background */
    margin: 20% auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 400px;
    text-align: center;
}

.mobile-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

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