/* Base styles for .logo-lightbox */
.logo-lightbox {
    /* display: none; */
    /* Hidden by default */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    /* Semi-transparent black background */
    backdrop-filter: blur(3px);
    /* Blur effect for modern browsers */
    -webkit-backdrop-filter: blur(3px);
    /* Blur effect for older WebKit browsers */
}

/* Lightbox content */
.logo-lightbox-content {
    position: relative;
    background-color: #fff;
    margin: 5% auto;
    /* 5% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.logo-lightbox-content h1 {
    font-size: 3em;
}

/* Adjust width for different screen sizes */
@media (max-width: 1200px) {
    .logo-lightbox-content {
        width: 75%;
    }
}

@media (max-width: 768px) {
    .logo-lightbox-content {
        width: 100%;
    }

    .logo-lightbox-content h1 {
        font-size: 2em;
    }
}

/* Blur background when lightbox is active */
.blur-background {
    filter: blur(5px);
}

/* Apply blur effect to all elements except lightbox */
.blur-background>*:not(#lightbox) {
    pointer-events: none;
}

.logo-lightbox-content p {
    text-align: justify !important;
    padding: 10px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.logo-lightbox-content h1,
h2,
h3,
h4,
h5,
h6 {
    padding: 20px;
    word-break: break-word;
    overflow-wrap: break-word;
}