.lightbox {
    /* -------------------------------------------------- */
    /* ---- lightbox definition */
    /* -------------------------------------------------- */
    position: fixed;
    z-index: 999;
    height: 0;
    width: 0;
    text-align: center;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;

}

.lightbox img {
    
    max-width: 100%;
    max-height: auto;
    
    opacity: 0;
    background: lightgray;
    padding: 2em;
    border-radius: 6px;
}

.lightbox:target {
    outline: none;
    width: 100%;
    height: 100%;
    opacity: 1;
}

.lightbox:target img {
    border: solid 1px white;
    opacity: 1;
    transition: opacity 0.6s;
    border-radius: 6px;
    width: 75%;
    height: auto;
}

.inner_lightbox {
    width: 60%;
    height: auto;
    display: inline-block;
    position: relative;
    margin-top: 5%;

}

.btn-close {
    z-index: 10;
    position: absolute;
    right: -20px;
    top: -10px;
    color: var(--Commodore_yellow);
    background-color: var(--Commodore_blue);
    border: solid 2px var(--Commodore_green);
    padding: 0.5em 1em;
    border-radius: 6px;
    font-size: 16px;
    font-family: Arial;
    text-decoration: none;
}

.btn-close:hover {
    background-color: #5d594f;
}
