/* The overlay that covers the entire screen */
.popup-overlay {
    display: flex; /* Hidden by default; will be displayed by JavaScript */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
    z-index: 1000; /* High z-index to ensure it sits on top of other content */
    justify-content: center;
    align-items: center;
}

/* The popup box */
.popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: auto;
    max-width: 400px; /* Adjust the width as needed */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* The close button */
.popup-close-button {
    position: absolute;
    top: -15px; /* Adjust as needed */
    right: -15px; /* Adjust as needed */
    cursor: pointer;
    font-size: 24px; /* Adjust the size of the 'X' */
    line-height: 30px; /* Centers the 'X' in the circle */
    width: 30px;
    height: 30px;
    background-color: orange; /* The button background color */
    color: black; /* The 'X' color */
    border-radius: 50%; /* Makes it circular */
    text-align: center;
    box-shadow: 0 0 5px #333; /* Optional: adds shadow for depth */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* The message inside the popup */
.message {
    margin-bottom: 20px; /* Spacing between the message and the button */
}

/* The button to subscribe */
.button {
    display: inline-block;
    background-color: #f29100; /* The button color */
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

/* Hover effect for the button */
.button:hover {
    background-color: #d88100; /* Darken the button color on hover */
}
