*{
	box-sizing: border-box;
}

body {
	background-image: url(images/checker.webp);
	padding: 150px 80px 80px;
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
	position: relative;
}

#pirateship {
	width: 250px;
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 10;
}

#wrapper {
	display: grid;
	grid-auto-rows: minmax(0px, auto);
	grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0, 175px)) minmax(
			0px,
			1fr
		);
		background-color: black;
}

#movie-images img{
	max-width: 48%;
	width: 100%;
}

header {
	background-color: #efefef;
	grid-row: 1/2;
	grid-column: 2/8;
	padding: 15px;
	transform: rotate(-5deg) scale(1.05);
}

h1 {
	color: deeppink;
	font-size: 4em;
	margin: 0;
}

header h2 {
	text-align: right;
	font-size: 2em;
	margin: 0;
}
nav {
	background-color: #aaa;
	grid-row: 2/3;
	grid-column: 2/8;
	margin-top: 50px;
	display: flex;
	justify-content: space-evenly;
	background-color: deeppink;
}
nav a {
	display: block;
	padding: 15px;
	text-decoration: none;
	color: white;
	text-align:center;
	
}

nav a:hover{
	color: turquoise;
}

main {
	background-color: white;
	grid-row: 3/4;
	grid-column: 2/8;
}

section {
	grid-row: 4/5;
	grid-column: 2/8;
	padding: 50px;
}

footer {
	height: 100px;
	background-color: turquoise;
	grid-row: 5/6;
	grid-column: 2/8;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

footer a {
	color: black;
	font-style: italic;
}
