.container {
    margin: 1% 3% 1% 3%; 
    display: grid;
    grid-gap: 1.5vh 4%;
    grid-template-areas: 
    'header'
    'nav'
    'details'
    'album'
    'footer';
}

.header {
    grid-area: header;   
}

.nav-area {
    grid-area: nav;
}

.links-area {
    grid-area: links;
}

.details {
    grid-area: details;
    background-color: var(--olive-green);
}

.album-area  {
    grid-area:album;
}

.footer {  
    grid-area: footer;
}


.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

h2, p {
    padding: 1% 3% 0 3%;
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.lightbox {
    display:none;
    position: fixed;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    left:0;
    top:0;
    background-color:black;
    z-index: 99;
    height:100%;
    width:100%;
}

.lbContent {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-content: space-around;
    width: 95vw;
}

#close {
    display: flex;
    flex-direction: column;
    width: 90%;
    justify-content: flex-end;
    transition: position 0.5s;
}

.close,.prev,.next {
    text-align: right;
    display: block;
    border: none;
    text-decoration: none;
    background-color: black;
    color:white;
    transition-duration: 0.5s;
    padding: 10px 10px;
    font-size: 30px;
}

.close:hover, .prev:hover, .next:hover {
    cursor : pointer ;
}

.slide {
    display: none;
    flex-direction: column;
    align-items: center;
    color: white;
}

.slide > img {
    height: 40vw;
    width: auto;
    image-orientation: from-image;
}

.item {
    border-radius: 15px;
    margin: 1%;
    height: 150px;
    width: 22%;
    background-color: black;
    object-fit: scale-down;
    image-orientation: from-image;
}

.item:hover {
    opacity: 50%;
    transition: opacity 1s;
}

@media only screen and (max-width: 950px)
{
    .container {
        margin: 1% 2%;
    }

    .slide > img {
        height: 40vw;
        width: auto;
    }
}

@media only screen and (max-width: 600px)
{
    .slide > img {
        height: auto;
        width: 65vw;
    }

    .container {
        margin: 1% 0% 1% 0%; 
    }

    #close{
        width: 100%;
    }

    .item{
        width: 45%;
    }

    .lbContent {
        width: 100vw;
    }

}

@media only screen and (min-width:2000px) {
    .container {
        margin: 1% 19%;
    }
}