
body {
  margin: 0;
  background-color: black;
    color: white;
    text-align: center;
}
header{
    background-color: black;
}
#grid {
    margin-left: 2%;
    display: inline-table;
    
}
.gridItem{
    width: 23.5vw;
    margin: 0px;
    display: inline-flex;
    height: 20vw;
}
.gridItem img {
    width: 23.5vw;
    height: 20vw;
    object-fit: cover;
    
}

.gridItem img:active {
    width: 80%;
    height: 80%;
    background-color: black;
    object-fit:contain;
    top: 0;
    left: 0;
    bottom: 0;
    padding: 10%;
    padding-top: 5%;
    position: fixed;
}

@media screen and (max-width: 900px){
    .gridItem{
        width: 31vw;
        height: 20vw;
    }
    .gridItem img {
        width: 31vw;
        height: 20vw;
    }
    
}
@media screen and (max-width: 720px){
    .gridItem{
        width: 46.5vw;
        height: 30vw;
    }
    .gridItem img {
        width: 46.5vw;
        height: 30vw;
    }
}

@media screen and (max-width: 650px){
    .gridItem{
        width: 92vw;
        height: 50vw;
    }
    .gridItem img {
        width: 90vw;
        height: 50vw;
    }
    .gridItem img:hover{
        width: 90vw;
        height: 90vh;
        background-color: black;
        object-fit:cover;
        position: sticky;
    }
    
}