

* {
    box-sizing: border-box;
    margin: 0;
    border: 0;
    padding: 0;
}

body {
	background-color: #2c2c2c;
	color: #efefef;
	font-family: defaultFont;
}

a:active, a:link, a:visited, a:hover {
	color: #efefef;
	font-family: defaultFont;
}

h1 {
	font-family: regularFont;
	font-size: 1em;
}

.social-media-icon {
	width: 25px;
	height: 25px;
	display: inline;
	box-shadow: none;
}

.profile-info > * {
	padding: 30px;
}

.profile-info::after {
  content: "";
  clear: both;
  display: table;
}

.profile-picture {
	max-width: 40%;
	float: left;
}

.profile-text {
	max-width: 60%;
	float: right;
}

.entry-content {
	max-width: 1300px;
}

.hh-gallery-flex-container {
	margin: 0px;
	display: flex;
	flex-wrap: wrap;
}

.hh-gallery-flex-container > * {
	display: block;
	flex-grow: 1;
	margin: 30px;
}

.hh-gallery-flex-container > * > img {
	height: 320px;
	object-fit: contain;
	max-width: 100%;
	min-width: 100%;
	vertical-align: bottom;
	cursor: pointer;
	display: block;
	border-radius: 3px;
	user-select: none;
}

.hh-gallery-flex-container > div:hover {
	 opacity: 0.8;
}


/* The Modal (background) */
.hh-modal-bg {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 99; /* Sit on top */
	left: 0;
	top: 0;
	width: 100vw;
	height: 100vh;
	overflow: hidden; /* Enable scroll if needed */
	background-color: rgb(255, 255, 255); /* Fallback color */
	background-color: rgba(20,20,20,0.97); /* Black w/ opacity */
    
	color: rgba(222, 222, 222, 0.9);
	text-shadow: 0 0 6px rgba(60, 60, 60, 0.9);
	
	user-select: none;
}

.hh-modal-bg > div {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
}

.hh-modal-bg > div > div {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;	
	width: 100%;
  	height: 100%;
  	padding: 70px;
}

.hh-modal-bg > div > div > div {
	position: relative;
	background-color: #2c2c2c;
	border-radius: 4px;
	padding: 3px;
}

.hh-modal-navigate {
	top: 0;
	position: absolute;
	width: 30%;
	height: 100%;
	font-size: 2em;
	transition: color 0.3s;	
	color: rgba(255, 255, 255, 0);
	text-shadow: 0 0 6px rgba(60, 60, 60, 0);	
	display: flex;
	align-items: center;
	cursor: pointer;
	z-index: 100;
}

.hh-modal-navigate:hover {
	color: rgba(255, 255, 255, 0.7);
	text-shadow: 0 0 6px rgba(60, 60, 60, 0.9);
}

.hh-modal-navigate > p {
	user-select: none;
}

#hh-gallery-close {
	position: fixed;
	display: flex;
	align-items: center;
	justify-content: center;
	top: 30px;
	right: 30px;
	width: 0;
	height: 0;
	font-size: 2em;
	font-family: sans-serif;
	transition: color 0.3s;
}

#hh-gallery-close p {
	margin: 0;
	user-select: none;
}

#hh-gallery-prev {
	left: 20px;
	justify-content: flex-start;
}

#hh-gallery-next {
	right: 20px;
	justify-content: flex-end;
}

.hh-modal-bg > * > * > * > img {
	display: block;
	position: relative;
   max-width: 85vw;
   max-height: 85vh;
   border-radius: 4px;
   user-select: none;
}


* {
	box-sizing: border-box;
	padding: 0;
	margin: 0;
	border: 0;
}

header {
	position: fixed;
	width: 100%;
	height: 60px;
	background-color: #1a1a1a;
	border-bottom: 1px solid #3d3d3d;
	color: #efefef;
	font-family: defaultFont;
	z-index: 1;
}



header > div {
	bottom: 10px;
	position: absolute;
}

div#title {
	left: 10px;
	font-family: regularFont;
	font-size: 22px;
	letter-spacing: 2px;
}

div#menu {	
	right: 0;
}

ul#mainmenu {
	list-style-type: none;
	display: inline-block;
}

ul#mainmenu li {
	display: inline-block;
	width: 120px;
	float: left;
	text-align: center;
	border: 0;
	border-style: none;
}

ul#mainmenu button {
	background-color: inherit;
	border: none;
	color: #efefef;
	font-family: defaultFont;
	width: 100%;
	height: 100%;
}

footer {
	position: fixed;
	width: 100%;
	height: 30px;
	background-color: #1a1a1a;
	bottom: 0px;
	border-top: 1px solid #3d3d3d;
}

main {
	position: relative;
	width: 80%;
	margin: auto;
	top: 60px;
	padding-bottom: 30px;
}

figure {
	margin: 0;
	padding: 10px;
	display : inline-block;
}

img {
	max-width: 100%;
	display : block;
   box-shadow: 0px 0px 5px 3px #222222;
}

@font-face {
    font-family: defaultFont;
    src: url(../font/OpenSans-Light.ttf);
}

@font-face {
    font-family: regularFont;
    src: url(../font/OpenSans-Bold.ttf);
}

@media screen and (max-width:479px) {
	
	main {
		width: 98%;
		top: 100px;
	}
	
	header {
		height: 60px;
	}
	
	figure {
		padding: 10px;
	}
	
	div#title {
		font-size: 18px;	
	}
	
	div#menu {
		width: 100%;
		height: auto;
		overflow: hidden;
		top: 60px;
		bottom: auto;
		background-color: rgba(26, 26, 26, 0.9);
		transition: height 1s;
	}
	
	header::after {
		content: "";
		clear: both;
		display: table;
	}
	
	ul#mainmenu {
		width: 100%;
	}
	
	ul#mainmenu li {
		width: 100%;
		margin-left: 10px;
	}
	
	header button {
		text-align: left;		
		font-size: 16px;
		height: auto;
	}
	
	.hh-gallery-flex-container > * {
		margin: 10px;	
	}
	
	.hh-modal-bg > * > * > * > img {
		max-width: 98vw;
   	max-height: 80vh;
	}
	
	.hh-modal-navigate {
		font-size: 1em;
		width: 40%;
		color: rgba(255, 255, 255, 0.7);
		text-shadow: 0 0 6px rgba(60, 60, 60, 0.9);
	}

	.hh-modal-navigate:hover {
		color: rgba(255, 255, 255, 0.7);
		text-shadow: 0 0 6px rgba(60, 60, 60, 0.9);
	}
	
	.hh-modal-navigate > p {
		background-color: rgba(20, 20, 20, 0.3);
	}
	
	#hh-gallery-prev {
		left: 7px;
	}

	#hh-gallery-next {
		right: 7px;
	}
	
	.profile-info > * {
		padding: 10px;
	}

	.profile-picture {
		max-width: 100%;
	}

	.profile-text {
		max-width: 100%;
	}
}


@media screen and (min-width:480px) and (max-width:799px) {
	
	ul#mainmenu li {
		width: 70px;	
	}
	
	ul#mainmenu button {
		width: 60px;
	}
	
	.hh-modal-bg > * > * > * > img {
		max-width: 85vw;
   	max-height: 95vh;
	}
	
	.hh-modal-navigate {
		font-size: 1em;
		width: 40%;
		color: rgba(255, 255, 255, 0.7);
		text-shadow: 0 0 6px rgba(60, 60, 60, 0.9);
	}

	.hh-modal-navigate:hover {
		color: rgba(255, 255, 255, 0.7);
		text-shadow: 0 0 6px rgba(60, 60, 60, 0.9);
	}
	
	.hh-modal-navigate > p {
		background-color: rgba(20, 20, 20, 0.3);
	}
	
	#hh-gallery-prev {
		left: 7px;
	}

	#hh-gallery-next {
		right: 7px;
	}
	
	header {
		height: 30px;
	}
	
	main {
		top: 34px;
	}
	
	header > div {
		bottom: 2px;
	}
}

@media screen and (min-width:800px) and (max-width:1024px) {
	
	ul#mainmenu li {
		width: 90px;	
	}
	
	ul#mainmenu button {
		width: 80px;	
	}
}