.simple-lightbox {
    position: fixed;
    inset: 0;

    display: flex;
    align-items: flex-start;
    justify-content: center;

    visibility: hidden;
    pointer-events: none;
    
}

/* Blurred background overlay */
.simple-lightbox::before {
    content: "";
    position: fixed;
    inset: 0;

    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);

    opacity: 0;
    transition: opacity 0.55s ease;

    cursor: default;
}

.simple-lightbox.active,
.simple-lightbox.closing {
    visibility: visible;
    pointer-events: auto;
}

.simple-lightbox.active::before {
    opacity: 1;
}

.simple-lightbox.closing::before {
    opacity: 0;
}

.simple-lightbox-content {
    position: relative;
    z-index: 1;

    width: 90%;
    max-width: 1500px;
    height: 85vh;
    max-height: 800px;
    margin-top: 40px;


    background-image: url("../images/adoption.png") !important; 
background-size: cover !important;	
background-repeat: no-repeat !important;
background-position: bottom right !important;    
    

    
    border-radius: 16px;
    overflow: hidden;

    opacity: 0;
    transform: translateY(-60px);
    transition: opacity 0.55s ease, transform 0.55s ease;

    box-shadow: 0px 0px 60px rgba(0, 0, 0, 1);
}

.simple-lightbox.active .simple-lightbox-content {
    opacity: 1;
    transform: translateY(0);
}

.simple-lightbox.closing .simple-lightbox-content {
    opacity: 0;
    transform: translateY(-60px);
}

.simple-lightbox iframe,
.simple-lightbox-image,
.simple-lightbox-inline {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;

    opacity: 0;
    transition: opacity 0.25s ease;
}

.simple-lightbox iframe.loaded,
.simple-lightbox-image.loaded,
.simple-lightbox-inline.loaded {
    opacity: 1;
}

.simple-lightbox iframe {
  /*  background: #fff; */
}

.simple-lightbox-image {
    object-fit: contain;
    background: #111;
}

.simple-lightbox-inline {
    box-sizing: border-box;
    overflow: hidden;
    padding: 20px;

}

.simple-lightbox-content.image-mode {
    background: #111;
}

.simple-lightbox-loader {
    position: absolute;
    inset: 0;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;
    color: #333;

    font-family: Arial, sans-serif;
    font-size: 16px;

    opacity: 1;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.simple-lightbox-content.image-mode .simple-lightbox-loader {
    background: #111;
}

.simple-lightbox-loader.hidden {
    opacity: 0;
}

.simple-lightbox-spinner {
    width: 34px;
    height: 34px;
    border: 4px solid #ddd;
    border-top-color: #333;
    border-radius: 50%;
    animation: simpleLightboxSpin 0.8s linear infinite;
}

.simple-lightbox-content.image-mode .simple-lightbox-spinner {
    border-color: #444;
    border-top-color: #fff;
}

@keyframes simpleLightboxSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.simple-lightbox-close {
    position: absolute;
    top: 10px;
    right: 14px;
    z-index: 3;

    background: rgba(120,0,120,0.7) !important;
    color: #fff;
    border: 0;
    border-radius: 50%;

    width: 34px;
    height: 34px;

    font-size: 32px;
    line-height: 30px;
    cursor: pointer;
    transition: .2s ease-in-out;
}

.simple-lightbox-close:hover {
background: rgba(190,0,190,0.7) !important;
}



@media (max-width: 700px) {
    .simple-lightbox {
        padding: 30px 10px;
    }

    .simple-lightbox-content {
        width: 95%;
        height: 90vh;
    }

    .simple-lightbox-inline {
        padding: 25px;
    }
}