*{
	margin: 0; 
	padding: 0;
}

body {
	background-color: black;
}

.container {
	width: 100%;
	height: 100%;
}

.trans {
	transition: all 1s ease;
	-moz-transition: all 1s ease;
	-ms-transition: all 1s ease;
	-o-transition: all 1s ease;
	-webkit-transition: all 1s ease;
}

.lightbox {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-color: rgba(0,0,0,0.9);
	opacity: 0;
	pointer-events: none;
}

@media only screen and (orientation:portrait){
	.lightbox img {
		border: 5px solid white;
		position: absolute;
		top:0;
		bottom: 0;
		left: 0;
		right: 0;
		margin: auto;
		width: 98%;
	}

}

@media only screen and (orientation:landscape){
	.lightbox img {
		border: 5px solid white;
		position: absolute;
		top:0;
		bottom: 0;
		left: 0;
		right: 0;
		margin: auto;
		height: 80%;
	}
}

.lightbox:target {
	outline: none;
	pointer-events: auto;
	opacity: 1;
}

.lightbox:target img {
	
}

.grid-item a img:hover {
  opacity: 0.8;
}

.grid-container {
	margin: auto;
	margin-top: 15vh;
    margin-bottom: 15vh;
	display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    width: 900px;
    grid-gap: 1.5rem;
}

.grid-item {
	position: relative;
    padding-bottom: 100%;
}

.grid-item img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	position: absolute;
}