@media (min-width: 576px) {
	#articledisplaytable {
		width: 90%;
	}
	
	.mainbodyparagraphdiv {
		font-size: 32px;
		width: 100%;
	}
	
	.gamethumbnailimg {
		width: 240px;
		height: 180px;
	}
	
	.gamethumbnaildiv {
		margin: 10px 10px 30px 10px;
		display: inline-block;	
	}
	
	#closegallerybutton {
		position: fixed;
		top: 7%;
		right: 7%;
		width: 64px;
		height: 64px;
	}

	#leftarrowbutton {
		position: fixed;
		top: 50%;
		left: 5%;
		width: 64px;
		height: 64px;
	}

	#rightarrowbutton {
		position: fixed;
		top: 50%;
		right: 5%;
		width: 64px;
		height: 64px;
	}

	#downloadbutton {
		position: fixed;
		bottom: 8%;
		right: 7%;
		width: 64px;
		height: 64px;
	}

	#articletypes {
		width: 95%;
		overflow: auto;
	}
}

@media (min-width: 992px) {
	#articledisplaytable {
		width: 100%;
		overflow: auto;
	}
	.mainbodyparagraphdiv {
		position: relative;
		left: 10%;
		font-size: 20px;
		width: 80%;
	}
	
	.gamethumbnailimg {
		width: 400px;
		height: 300px;
	}
	
	.gamethumbnaildiv {
		margin: 10px 10px 30px 10px;
		display: inline-block;	
	}
	
	#closegallerybutton {
		position: fixed;
		top: 7%;
		right: 7%;
		width: 24px;
		height: 24px;
	}

	#leftarrowbutton {
		position: fixed;
		top: 50%;
		left: 5%;
		width: 24px;
		height: 24px;
	}

	#rightarrowbutton {
		position: fixed;
		top: 50%;
		right: 5%;
		width: 24px;
		height: 24px;
	}

	#downloadbutton {
		position: fixed;
		bottom: 8%;
		right: 7%;
		width: 24px;
		height: 24px;
	}

	#articletypes {
		width: 100%;
		overflow: auto;
	}
}

#maingallerydiv {
	width: 90%;
	height: 90%;
	top: 5%;
	left: 5%;
	position: fixed;
	display: none;
	border-radius: 10px;
	box-shadow: 5px 5px 10px 5px gray;
	background-color: rgba(255,255,224,0.9);
	background-color: rgba(0,0,0,0.9);
	overflow: auto;
	z-Index: 10;
}

#gallerycaptionspan {
	position: fixed;
	bottom: 10px;
	left: 0%;
	width: 100%;
	text-align: center;
	color: white;
}
	
div.gallerypreview {
	display: inline-block;
	border: 2px solid #af1818;
	border-radius: 15px;
	text-align: center;
	max-width: 75%;
	fit: min-content;
	padding: 10px 15px 10px 15px;
	position: relative;
	left: 50%;
	transform: translate(-50%);
}

.gallerypreviewimage {
	margin: 5px;
	border: solid black 2px;
	cursor: pointer;
}

.gallerypreviewimage:hover {
	box-shadow: 4px 4px 8px red;
}

#gallerycaptionspan {
	position: fixed;
	top: 1%;
	left: 50%;
	transform: translate(-50%,0);
	width: max-content;
	height: max-content;
	max-width: 80%;
	text-align: center;
	color: white;
	border-radius: 10px;
	box-shadow: 3px 3px 5px 3px gray;
	background-color: rgba(0,0,0,0.9);
	padding: 3px 10px 3px 10px;
}
