/*Gallery*/

.gallery {
    display: flex;
    justify-content: space-evenly;
    flex-direction: row;
    flex-wrap: wrap;
}

/*Thumbnail*/

.thumbnail {
    border-radius: .4em;
    cursor: pointer;
    border: #1b5666 solid 2px;
    max-width: 200px;
    max-height: 200px;
    display: inline-block;
    margin: 1em;
}

.thumbnail:hover {
    border: orange solid 2px;
}

/*Lightbox*/

.lightbox-design {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    background-color: rgba(26,86,102,95%);
    height: 100%;
    width: 100%;
    overflow: scroll;
}

/*Picture*/

.lightbox-picture {
    margin: auto;
    display: block;
    width: 70%;
    max-width: 1000px;
    max-height: 800px;
    margin-top: 10em;
    border: white solid .5em;

}

@media only screen and (max-width: 400px) {
    .lightbox-picture {
        width: 100%;
    }
}

/*Buttons*/

#close-button {
    position: absolute;
    top: 1em;
    right: 1em;
    color: lightgoldenrodyellow;
    font-size: 3em;
    font-weight: bold;
}

#close-button:focus,
#close-button:hover {
    color: orange;
    cursor: pointer;
}

