/* Header */

.header {
	background: url(./logo.png) no-repeat 25px 20px;
	color: #fff;
	font-size: 0;
	height: 140px;
	margin: 0 auto;
	max-width: 1080px;
}

/* Gallery */

.gallery {
	display: grid;
	grid-gap: 15px;
	list-style: none;
	padding: 0 15px;
}

.image {
	width: 100%;
	height: 100%;
}

/* Footer */

.footer {
	margin-bottom: 10px;
	padding: 70px 0 0 0;
}

.copyright {
	text-align: center;
	color: #000;
	font-family: Verdana, Helvetica, Arial;
	font-size: 12px;
}


/* Media Queries */

@media (max-width: 480.98px) {
	.header {
		background-color: #fff;
		background-position: center 20px;
		height: 140px;
		position: sticky;
		top: 0;
	}

	.gallery {
		grid-template-columns: repeat(1, 1fr);
	}
}

@media (max-width: 768.98px) and (min-width: 481px) {
	.gallery {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 991.98px) and (min-width: 768px) {
	.gallery {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 992px) {
	.header {
		height: 160px;
	}

	.frame {
		background: #000;
	}

	.image {
		transition: .5s opacity;
	}

	.image:hover {
		opacity: .5;
	}
}

@media (max-width: 1199.98px) and (min-width: 992px) {
	.gallery {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (min-width: 1200px) {
	.gallery {
		grid-template-columns: repeat(5, 1fr);
	}
}
