body{
    background-color: grey;
}
main{
    display: flex;
    justify-content: space-evenly;
max-width: 90%;
}
img{
    width: 500px;
    border: 5px double black;
}
button{
    border:none;
    margin:5px;
    font-size:1.5em;
    padding:5px;
}
.img-container{
width: 50%;
display: flex;
margin: auto;
gap: 5px;
}
img{
    max-width:100%;
    height: auto;
}

.lightbox{
    display: none;
    background-color: black;
    width:100%;
    position: fixed;
    top:0;
    left:0;
    z-index:100;
    padding:2em;
    text-decoration: none;
    bottom: 0;
    right: 0;
}
.lightbox:target{
    display: block;
}
.lightbox image{
    max-height:80vh;
    box-shadow: 0 0 3 #000;
}
figcaption{
    color:white;
    font-size: 1.5em       ;
    text-align: center;
}
.lightbox span{
display: block;
width:100%;
height:100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}