/* Modal styles */
.video-modal {
    display: none;
    position: fixed;
    z-index: 9999; /* Ensure the modal appears in front of other elements */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dimmed background */
}

.video-modal-content {
    position: relative;
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Adjust width */
    max-width: 560px; /* Max width of the video player */
}

.video-modal iframe {
    width: 100%;
    height: 315px;
}

/* Close button styles - round, bold, and red */
.close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px; /* Size of the circle */
    height: 40px; /* Size of the circle */
    background-color: red; /* Solid red background */
    color: white; /* White text */
    font-size: 48px; /* Size of the "X" */
    font-weight: bold; /* Make it bolder */
    border-radius: 50%; /* Make the button circular */
    text-align: center;
    line-height: 40px; /* Vertically center the "X" */
    cursor: pointer;
    z-index: 10000; /* Ensure the close button is above the modal content */
    border: none; /* Remove default border */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* Optional: Add a shadow for better visibility */
}

/* Hover effect for close button */
.close:hover,
.close:focus {
    background-color: darkred;  /* Darker red when hovered */
    color: white; /* Keep the text white */
}

