* {
	/*font-weight: normal;*/
	font-family: Arial, Helvetica, sans-serif;
}

a {
	text-decoration: inherit;
	font-weight: inherit;
	color: inherit;
}

html {
	margin: 0 !important;
	padding: 0 !important;
}

body {
	background-image: url("../images/background.png");
	color: #333;
	overflow-y:scroll;
	margin: 0 !important;
	padding: 0 !important;
}

#top {
	position: absolute;
	top: 0px;
}

.clear {
	clear:both;
}

#container {
	margin-top: 10px;
	margin-left: auto;
	margin-right: auto;
	max-width: 800px;
}

.main-div {
	background-color: #DDD;
	border-radius: 15px;
	margin-bottom: 20px;
	margin-top: 20px;
	box-shadow: 0px 0px 8px 5px rgba(0, 0, 0, .5);
	padding: 15px;
	/*transition: all .2s ease-in-out;*/
}

.main-div ul {
	padding-left: 20px;
	margin-bottom:0px;
	margin-top: 5px;
}

header {
	height: 130px;
}

header.main-div {
	margin-top:0px;
	padding-top:3px;
}

header #header-text {
	float: left;
	width: 330px;
	text-align:right;
	margin-top: 25px
}

header #header-text h1 {
	margin-top: 5px;
	margin-bottom: 10px;
	font-weight: bold;
	font-size: 2.5em;
}

header #header-text h1 img {
	height: 45px;
	vertical-align:bottom;
}

header #header-text h2 {
	font-size: 1.5em;
	margin-top: 5px;
	margin-bottom: 5px;
	font-weight: normal;
}

header #header-text a:hover {
	color: black;
	transition: .2s;
}

header #header-text h1 span {
	font-size: 0.5em;
	font-weight: bold;
	vertical-align: middle
}

header #header-image {
	float: left;
}

header #header-image img {
	height: 110px;
	border: 5px solid #fff;
	box-shadow: 3px 3px 3px #777;
	margin-top: 10px;
	margin-right: 15px;
	margin-left: 15px;
}

header #contact {
	margin-top: 30px;
	margin-bottom: 20px;
	float: left;
}

header #contact div{
	/*float: left;
	width: 33.3%;
	text-align: center;*/
	margin: 5px;
}

header #contact span {
	font-size: 0.7em;
	vertical-align: middle;
}

header #contact i {
	margin-bottom: 5px;
	opacity: 0.8;
	width: 26px;
	text-align: center;
}

header #contact div:hover i {
	opacity: 1;
	transition: opacity .2s;
}

header #contact a, #contact a:hover {
	color: #001887;
}

header #contact a:hover {
	color: #0026db;
	transition: .2s;
}

nav {
	height: 80px;
	padding: 8px;
	position: sticky;
    top: -10px;
    z-index: 2000;
}

nav div{
	float: left;
	width: 25%;
	text-align: center;
	padding-top: 2px;
	padding-bottom: 2px;
}

nav div.active {
	color: white;
	background-color: #333;
	border-radius: 15px;
}

nav div span{
	font-weight: bold;
	display: block;
	font-size: 1.3em;
}

nav i {
	display: block;
	margin-bottom: 5px;
	opacity: 0.8;
}

nav a:hover  i {
	opacity: 1;
	transition: opacity .2s;
}

nav a:hover span {
	color: #000;
	transition: .2s;
}

nav div.active span {
	color: #DDD;
}

nav a:hover div.active  span {
	color: white;
}

#nav-collapse {
	display: none;
}

#toggle {
	display: none;
}

#content-wrapper {

}

.content-left {
	float:left;
	width:49%;
}

.content-left > div:first-child {
	margin-top:0px;
}

.content-left > div:last-child {
	margin-bottom:0px;
}

.content-right {
	float:right;
	width:49%;
}

.content-right > div:first-child {
	margin-top:0px;
}

.content-right > div:last-child {
	margin-bottom:0px;
}

#content-wrapper a {
	color: #001887;
}

#content-wrapper a:hover {
	color: #0026db;
}

div.icon {
	vertical-align:top;
	display: inline-block;
	width: 170px;
	opacity: 0.8;
	margin-top: 10px;
}

div.icon a {
	color: #333 !important;
}

div.icon img {
	margin-left: auto;
	margin-right: auto;
	display: block;
}

div.icon i {
	text-align:center;
	display: block;
}

div.icon .description {
	margin-top: 5px;
	display: block;
	visibility: hidden;
	opacity: 0;
	transition: opacity .2s, visibility .2s;
}	

div.icon .description p, div.icon .description h1 {
	text-align: center;
	margin: 0px;
}	

div.icon .description p {
	font-size: 0.8em;
}

div.icon .description h1 {
	font-weight: bold;
	font-size: 1em;
}
	
div.icon:hover {
	opacity: 1;
	transition: opacity .2s;
}

div.icon:hover .description {
  visibility: visible;
  opacity: 1;
  transition: opacity .2s;
}

#projects .project {
  /*position: relative;
  margin-bottom: 1px;*/
  /*width: 100%;*/
  /*color: #fff;*/
  /*overflow: hidden;*/
}
#projects input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}
#projects label {
  position: relative;
  display: block;
  /*padding: 0 0 0 1em;*/
  /*background: #16a085;
  font-weight: bold;
  line-height: 3;*/
  cursor: pointer;
  /*background: #2980b9;*/
}

#projects label h1 {
	font-size: 1.5em;
	margin: 0px;
}

#projects label h2 {
	font-size: 1.1em;
	margin: 0px;
	margin-top:5px;
	font-weight: normal;
}

#projects label .text {
	display: block;
	font-weight:bold;
	font-size: 1.5em;
	margin-bottom:5px;
	width:95%;
}
#projects label .subtitle {
	float: left;
	font-size: 1.2em;
}

#projects label .img {
	width: 190px; 
	min-height: 50px;
	float: left;
	margin-right: 5px;
}

#projects label .img img {
	max-width: 100%
}

#projects .project-content {
  max-height: 0;
  overflow: hidden;
  /*background: #3498db;*/
  transition: max-height .5s;
}
#projects input:checked ~ .project-content {
  max-height: 40em;
}
#projects label::after {
  position: absolute;
  right: 0;
  top: 0;
  display: block;
  /*width: 3em;
  height: 3em;
  line-height: 3;
  text-align: center;*/
  transition: all .35s;
  font-weight: bold;
  font-size: 2em;
}
#projects input[type=checkbox] + label::after {
  content: "+";
}
#projects input[type=checkbox]:checked + label::after {
  transform: rotate(45deg);
}
#projects .project-content .images {
  text-align: center;
}
#projects .project-content img {
  margin-left: 5px;
  margin-right: 5px;
}

.hobby {
	font-size: 0.9em;
}

.hobby h1 {
	margin: 0;
	text-align: center;
	font-size: 1.4em;
}

.hobby h2 {
	margin-bottom: 0;
	font-weight: bold;
	font-size: 1.1em;
}

.skills {
	font-size: 0.9em;
}

.skills h1 {
	margin: 0;
	text-align: center;
	font-size: 1.4em;
}

#go-top {
    position: fixed; 
    bottom: 20px; 
    right: 20px; 
    z-index: 99; 
    border: none; 
    outline: none; 
    color: #333; 
    cursor: pointer;
    padding: 15px; 
    border-radius: 10px;
	background: #ddd;
	width: 13px;
}

footer {
	color: #AAA;
	text-align: center;
	margin-top: 30px;
	clear: both;
	margin-bottom: 15px;
}

footer a {
	color: white;
}

footer a:hover {
	text-decoration: underline;
}


@media (max-width:800px) {
	#nav-collapse {
		padding: 5px;
		background-color: #DDD;
		border-radius: 0 0 0 5px;
		/*box-shadow: 0px 0px 8px 5px rgba(0, 0, 0, .5);*/
		display: block;
		position: fixed;
		top: 0;
		right: 0;
		z-index: 1000;
	}
	
	nav {
		display: none;
		width: 85%;
		padding: 5px !important;
	}
	
	.main-div {
		padding: 10px;
	}
	
	nav i {
		font-size: 2em !important;
	}
	
	nav div{
		width: 25%;
	}
	
	nav div span {
		font-size: 0.9em;
	}
	
	#toggle:checked ~ nav {
		display:block;
		position:fixed;
		top:0;
		right:40px;
		margin-top: 0px;
	}
	
	header {
		border-radius: 0 0 0 0 !important;
		margin-top: -10px !important;
		height: 100px;
		padding-left: 0px !important;
		padding-right: 0px !important;
	}
	
	header #header-text {
		margin-top: 2px;
		width: 28%
	}
	
	header #header-image {
		margin-top: 10px;
		width: 20%;
		margin-left: 5px;
	}
	
	header #header-image img {
		border-width: 1px;
		height: 80px;
		margin: 0px;
	}
	
	header #contact {
		margin: 0px;
		margin-top: 5px;
		font-size: 0.75em;
		width: 50%
	}
	
	header #header-text h1 {
		font-size: 1.2em;
	}
	header #header-text h2 {
		font-size: 1.0em;
	}
	header #header-text h1 img {
		height: 30px;
	}
	
	#projects label .img {
	width: 120px; 
	}
	
	div.icon .description {
		visibility: visible;
		opacity: 1;
	}
	.content-left {
		width: 100%
	}
	.content-right {
		width: 100%
	}
	
	.content-left > div:first-child {
		margin-top:auto;
	}

	.content-left > div:last-child {
		margin-bottom:20px;
	}

	.content-right > div:first-child {
		margin-top:auto;
	}

	.content-right > div:last-child {
		margin-bottom:auto;
	}
	
	footer {
		margin-top: 15px;
	}

}