/* Overlay Stuff */
.overlay {
	height: 100%;
	width: 0%; /* Initially */
	position: fixed;
	z-index: 1;
	top: 0;
	left: 0;
	background-color: rgb(0, 0, 0);
	background-color: rgba(0, 0, 0, 0.9);
	overflow-x: hidden;
	transition: 0.5s;
	display: flex;
	justify-content: center;
	align-items: center;
}

.overlay-content {
	text-align: center;
	font-size: 20px;
	color: whitesmoke;
	font-family: 'Lora', serif;
	width: 900px;
	padding: 10px;
}

.overlay a {
	padding: 8px;
	text-decoration: none;
	font-size: 36px;
	color: whitesmoke;
	display: block;
	transition: 0.3s;
}

.overlay a:hover,
.overlay a:focus {
	color: #818181;
}

.overlay .closebtn {
	position: absolute;
	top: 20px;
	right: 45px;
	font-size: 60px;
	order: 1;
}

.overlay-content h1 {
	font-family: 'Fjalla One', sans-serif;
	font-size: 50px;
	margin-bottom: 60px;
}

p#moreInfo {
	position: absolute;
	z-index: 99;
	font-size: 45px;
	cursor: pointer;
	color: whitesmoke;
	left: 13px;
}

div.overlay-content p {
	margin-bottom: 20px;
}

ul.links {
	font-family: 'Fjalla One', sans-serif;
	margin: 60px 0;
}

h1#name {
	margin-bottom: 0px;
}

.introduction {
	font-size: .9em;
	font-style: italic;
	margin-bottom: 0px;
	color: #757575;
	position: relative;
	display: inline-block;
}

div.breaks {
	font-size: 3em;
	line-height: 0em;
	margin-top: 60px;
}

/* Media Query Stuff */
/* ----------- iPhone 6, 6S, 7 and 8 ----------- */

/* Portrait and Landscape */
@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (-webkit-min-device-pixel-ratio: 2) {
	a.closebtn {
		display: none;
	}
	.overlay-content {
		position: absolute;
		top: 25px;
		max-width: 98%;
	}
	p#moreInfo {
		font-size: 30px;
	}
}

/* Portrait */
@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) {
	a.closebtn {
		display: none;
	}
	.overlay-content {
		position: absolute;
		top: 25px;
		max-width: 98%;
	}
	p#moreInfo {
		font-size: 30px;
	}
}

/* Landscape */
@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) {
	a.closebtn {
		display: none;
	}
	.overlay-content {
		position: absolute;
		top: 25px;
		max-width: 98%;
	}
	p#moreInfo {
		font-size: 30px;
	}
}

/* ----------- iPhone 6+, 7+ and 8+ ----------- */

/* Portrait and Landscape */
@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (-webkit-min-device-pixel-ratio: 3) {
	a.closebtn {
		display: none;
	}
	.overlay-content {
		position: absolute;
		top: 25px;
		max-width: 98%;
	}
	p#moreInfo {
		font-size: 30px;
	}
}

/* Portrait */
@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: portrait) {
	a.closebtn {
		display: none;
	}
	.overlay-content {
		position: absolute;
		top: 25px;
		max-width: 98%;
	}
	p#moreInfo {
		font-size: 30px;
	}
}

/* Landscape */
@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: landscape) {
	a.closebtn {
		display: none;
	}
	.overlay-content {
		position: absolute;
		top: 25px;
		max-width: 98%;
	}
	p#moreInfo {
		font-size: 30px;
	}
}

/* ----------- iPhone X ----------- */

/* Portrait and Landscape */
@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 3) {
	a.closebtn {
		display: none;
	}
	.overlay-content {
		position: absolute;
		top: 25px;
		max-width: 98%;
	}
	p#moreInfo {
		font-size: 30px;
	}
}

/* Portrait */
@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: portrait) {
	a.closebtn {
		display: none;
	}
	.overlay-content {
		position: absolute;
		top: 25px;
		max-width: 98%;
	}
	p#moreInfo {
		font-size: 30px;
	}
}

/* Landscape */
@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: landscape) {
	a.closebtn {
		display: none;
	}
	.overlay-content {
		position: absolute;
		top: 25px;
		max-width: 98%;
	}
	p#moreInfo {
		font-size: 30px;
	}
}
