/*-----------------------------------Overylays-----------------------------------*/

/*Metro 2035 Project Div Overlay*/

.g1 {
	position: relative;
	height: 270px;
	width: 480px;
	
}


.overlay_project_1 {
	position: absolute;
	top: 0%;
	bottom: 50%;
	left: 0%;
	right: 50%;
	height: 100%;
	width: 480px;
	opacity: 0;
	transition: .5s ease;
	background-color: black;
}

.g1:hover .overlay_project_1 {
	opacity: 1;
}

.g1-text {
	color: white;
	font-size: 20px;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	text-align: center;
}

/*Website Project Div Overlay*/

.g2 {
	position: relative;
	height: 270px;
	width: 480px;
	
}


.overlay_project_2 {
	position: absolute;
	top: 0%;
	bottom: 50%;
	left: 0%;
	right: 50%;
	height: 100%;
	width: 480px;
	opacity: 0;
	transition: .5s ease;
	background-color: black;
}

.g2:hover .overlay_project_2 {
	opacity: 1;
}

.g2-text {
	color: white;
	font-size: 20px;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	text-align: center;
}

/*Design Museum Project Div Overlay*/

.g3 {
	position: relative;
	height: 270px;
	width: 480px;
	
}


.overlay_project_3 {
	position: absolute;
	top: 0%;
	bottom: 50%;
	left: 0%;
	right: 50%;
	height: 100%;
	width: 480px;
	opacity: 0;
	transition: .5s ease;
	background-color: black;
}

.g3:hover .overlay_project_3 {
	opacity: 1;
}

.g3-text {
	color: white;
	font-size: 20px;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	text-align: center;
}

/*Intel Project Div Overlay*/

.g4 {
	position: relative;
	height: 270px;
	width: 480px;
	
}


.overlay_project_4 {
	position: absolute;
	top: 0%;
	bottom: 50%;
	left: 0%;
	right: 50%;
	height: 100%;
	width: 480px;
	opacity: 0;
	transition: .5s ease;
	background-color: black;
}

.g4:hover .overlay_project_4 {
	opacity: 1;
}

.g4-text {
	color: white;
	font-size: 20px;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	text-align: center;
}

/*Moving Pictures Project Div Overlay*/

.g5 {
	position: relative;
	height: 270px;
	width: 480px;
	
}


.overlay_project_5 {
	position: absolute;
	top: 0%;
	bottom: 50%;
	left: 0%;
	right: 50%;
	height: 100%;
	width: 480px;
	opacity: 0;
	transition: .5s ease;
	background-color: black;
}

.g5:hover .overlay_project_5 {
	opacity: 1;
}

.g5-text {
	color: white;
	font-size: 20px;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	text-align: center;
}

/*Surveillance Project Div Overlay*/

#g6-contain {
	clear: both;
}

.g6 {
	position: relative;
	height: 270px;
	width: 480px;
	
}


.overlay_project_6 {
	position: absolute;
	top: 0%;
	bottom: 50%;
	left: 0%;
	right: 50%;
	height: 100%;
	width: 480px;
	opacity: 0;
	transition: .5s ease;
	background-color: black;
}


.g6:hover .overlay_project_6 {
	opacity: 1;
	visibility: visible;
	
}

.g6-text {
	color: white;
	font-size: 20px;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	text-align: center;

}

/*Game Development Project Div Overlay*/

.g8 {
	position: relative;
	height: 270px;
	width: 480px;
	
}


.overlay_project_8 {
	position: absolute;
	top: 0%;
	bottom: 50%;
	left: 0%;
	right: 50%;
	height: 100%;
	width: 480px;
	opacity: 0;
	transition: .5s ease;
	background-color: black;
}

.g8:hover .overlay_project_8 {
	opacity: 1;
}

.g8-text {
	color: white;
	font-size: 20px;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	text-align: center;
}

/*Unannounced Project Div Overlay*/

.g9 {
	position: relative;
	height: 270px;
	width: 480px;
	
}


.overlay_project_9 {
	position: absolute;
	top: 0%;
	bottom: 50%;
	left: 0%;
	right: 50%;
	height: 100%;
	width: 480px;
	opacity: 0;
	transition: .5s ease;
	background-color: black;
}

.g9:hover .overlay_project_9 {
	opacity: 1;
}

.g9-text {
	color: white;
	font-size: 20px;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	text-align: center;
}

/*Unannounced Project Div Overlay*/

.p1 {
	position: relative;
	height: 270px;
	width: 480px;
	
}


.overlay_project_p1 {
	position: absolute;
	top: 0%;
	bottom: 50%;
	left: 0%;
	right: 50%;
	height: 100%;
	width: 480px;
	opacity: 0;
	transition: .5s ease;
	background-color: black;
}

.p1:hover .overlay_project_p1 {
	opacity: 1;
}

.p1-text {
	color: white;
	font-size: 20px;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	text-align: center;
}

/*Chichester LifeProject Div Overlay*/

.p2 {
	position: relative;
	height: 270px;
	width: 480px;
	
}


.overlay_project_p2 {
	position: absolute;
	top: 0%;
	bottom: 50%;
	left: 0%;
	right: 50%;
	height: 100%;
	width: 480px;
	opacity: 0;
	transition: .5s ease;
	background-color: black;
}

.p2:hover .overlay_project_p2 {
	opacity: 1;
}

.p2-text {
	color: white;
	font-size: 20px;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	text-align: center;
}

/*Unannounced Project Div Overlay*/

.p3 {
	position: relative;
	height: 270px;
	width: 480px;
	
}


.overlay_project_p3 {
	position: absolute;
	top: 0%;
	bottom: 50%;
	left: 0%;
	right: 50%;
	height: 100%;
	width: 480px;
	opacity: 0;
	transition: .5s ease;
	background-color: black;
}

.p3:hover .overlay_project_p3 {
	opacity: 1;
}

.p3-text {
	color: white;
	font-size: 20px;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	text-align: center;
}

/*Unannounced Project Div Overlay*/

.p4 {
	position: relative;
	height: 270px;
	width: 480px;
	
}


.overlay_project_p4 {
	position: absolute;
	top: 0%;
	bottom: 50%;
	left: 0%;
	right: 50%;
	height: 100%;
	width: 480px;
	opacity: 0;
	transition: .5s ease;
	background-color: black;
}

.p4:hover .overlay_project_p4 {
	opacity: 1;
}

.p4-text {
	color: white;
	font-size: 20px;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	text-align: center;
}
/*Introduction Project Div Overlay*/

.g7 {
	postion: relative;
	height: auto;
	width: 0%;
	
}

.overlay_project_7 {
	/*position: fixed;*/
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	height: 270px;
	/*width: 480px;*/
	opacity: 0;
	transition: .5s ease;
	background-color: black;
}


.g7:hover .overlay_project_7 {
	opacity: 1;
	visibility: visible;
	
}

.g7-text {
	color: white;
	font-size: 20px;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	text-align: center;

}

/*Assignment 1 - 4*/

.m1 {
	position: relative;
	height: 270px;
	width: 480px;
}


.overlay_project_m1 {
	position: absolute;
	top: 0%;
	bottom: 50%;
	left: 0%;
	right: 50%;
	height: 100%;
	width: 480px;
	opacity: 0;
	transition: .5s ease;
	background-color: black;
}

.m1:hover .overlay_project_m1 {
opacity: 1;
}

.m1-text {
	color: white;
	font-size: 20px;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	text-align: center;
}

/*Masters Part One*/

.m2 {
	position: relative;
	height: 270px;
	width: 480px;

}


.overlay_project_m2 {
	position: absolute;
	top: 0%;
	bottom: 50%;
	left: 0%;
	right: 50%;
	height: 100%;
	width: 480px;
	opacity: 0;
	transition: .5s ease;
	background-color: black;
}

.m2:hover .overlay_project_m2 {
	opacity: 1;
}

.m2-text {
	color: white;
	font-size: 20px;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	text-align: center;
}

/*Masters Part Two*/

.m3 {
	position: relative;
	height: 270px;
	width: 480px;

}


.overlay_project_m3 {
	position: absolute;
	top: 0%;
	bottom: 50%;
	left: 0%;
	right: 50%;
	height: 100%;
	width: 480px;
	opacity: 0;
	transition: .5s ease;
	background-color: black;
}

.m3:hover .overlay_project_m3 {
	opacity: 1;
}

.m3-text {
	color: white;
	font-size: 20px;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	text-align: center;
}
