html, body {
	margin: 0;
	padding: 0;
	overflow-x: hidden;
}

*{box-sizing: border-box;-webkit-transition: all 300ms ease-in-out;transition: all 300ms ease-in-out;}

/*scrollbar*/

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
    background-color: #F5F5F5;
}
::-webkit-scrollbar {
    width: 3px;
    background-color: #F5F5F5;
}
::-webkit-scrollbar-thumb {
    background-color: #000000;
}
::-webkit-scrollbar-thumb:hover {
    border-left: 0px solid #f5f5f5;
    background-color: #D95C5C;
}

::-webkit-scrollbar:hover, ::-webkit-scrollbar-track:hover  {
	width: 8px;
}

/*end scrollbar*/

/*Black Selection*/
::selection {
  background: #2f2f2f;
  color: #ebebeb; /* WebKit/Blink Browsers */
}
::-moz-selection {
  background: #2f2f2f;
  color: #ebebeb; /* Gecko Browsers */
}
/*end Black Selection*/

/*
h1 {
	font-weight: 500;
}

h2 {
	font-weight: 400;
}

h3 {
	font-weight: 300;
}
*/

.button a{
	padding: 2px 5px;
	background: #898989;
	font-weight: 300;
	text-decoration: none;
	color: #ffffff;
	text-align: center;
}

.button a:hover {
	background: #ededed;
	color: #898989;
}

.button {
	position: relative;
	overflow: visible;
	display: inline-block;
}

.buttonblock {
	position: absolute;
	width: 2px;
	height: 2px;
	background: #d7d7d7;
}

.button:hover .buttonblock {
	background: black;
	width: 41px;
}

#topleft {
	top: -3px;
	left: -1px;
}

#topright {
	top: -3px;
	right: -1px;
}
#bottomleft {
	bottom: -3px;
	left: -1px;
}
#bottomright {
	bottom: -3px;
	right: -1px;
}

#wrapper {
	margin: 0 auto;
	max-width: 1320px;
	padding: 0 60px;
}

#backtotop {
	position: fixed;
	z-index: 1;
	bottom: 15px;
	right: 10px;
	text-align: center;
	opacity: 0.3;
}

#backtotop a {
	padding: 5px;
	background: #252525;
	font-size: 40px;
	text-decoration: none;
	color: #EBEBEB;
}

#backtotop:hover {
	opacity: 1;
}

header {
	position: relative;
	z-index: 2;
	background: #555555;
	height: 100vh;
	display: flex!important; 
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

#headercontent {
	width: 298px;
	height: 124px;
}

#headercontent a{
	color: #ffffff;
	font-weight: 300;
	font-size: 75px;
	line-height: 62px;
}

#enternow {
	margin-top: 5px;
	margin-left: 250px;
}

#about {
	color: #2f2f2f;
	background: #ebebeb;
	min-height: 528px;
	height: auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-left: 600rem solid #ebebeb;
  	border-right: 600rem solid #ebebeb;
  	margin: 0 -600rem;
}

#about img{
	border-radius: 100%;
}

#abouttext {
	min-height: 192px;
	width: 699px;
	margin-left: 20px;
}

#skills {
	background: #555555;
	border-left: 600rem solid #555555;
  	border-right: 600rem solid #555555;
  	margin: 0 -600rem;
}

.skillgraph {	
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: #EBEBEB;
}

.skillgraph p {
	min-width: 130px;
	padding-right: 5px;
}

.chart {
	overflow: hidden;
	position: relative;
	display: flex;
	height: 14px;
	width: 708px;
	background-color: #252525;
}

.chart a{
	position: relative;
	color: #252525;
	left: -30px;
	bottom: 1px;
}

.fillchart {
	opacity: 0;
	height: 14px;
	background-color: #EBEBEB;
}

.fillchart.activated {
	animation-name: chart;
    animation-duration: 4s;
    animation-timing-function: ease-in-out;
    opacity: 1;
}

.dottedline {
	height: 4px;
	background: url("../img/dots.png");
	background-repeat: repeat-x;
}

@keyframes chart {
    0%   
    	{
    		width: 0%;
    		opacity: 1;
    	}
    100% 
    	{
    		opacity: 1;
    	}
}

#portfolio {
	padding-top: 20px;
	min-height: 200px;
	background: #ebebeb;
	border-left: 600rem solid #ebebeb;
  	border-right: 600rem solid #ebebeb;
  	margin: 0 -600rem;
}

#galleryselect {
	padding: 0;
	width: 100%;
	margin: 0;
	text-align: center;
}

#galleryselect ul {

}

#galleryselect li {
	display: inline;

}

#galleryselect a {
	padding: 5px;
	font-weight: 300;
	color: #2f2f2f;
	text-decoration: none;
}

#galleryselect a:hover {
	font-weight: 500;
	text-decoration: underline;
}

#gallery {
	display: flex;
  	justify-content: space-around;
  	flex-wrap: wrap;
}

.galleryitem {
	position: relative;
	margin: 4%;
	background: green;
	height: 190px;
	width: 190px;
	border-radius: 100%;
	overflow: hidden;
}

.galleryhover {
	border-radius: 100%;
	width: 100%;
	height: 100%;
	text-align: center;
	color: #ebebeb;
	opacity: 0;
	z-index: 20;
	position: absolute;
	background: #252525;
	cursor: pointer;
}

.galleryhover img {
	margin-top: 40px;
}

.galleryhover p {
	font-weight: 400;
}

.galleryhover a {
	font-weight: 300;
}

.galleryitem:hover .galleryhover {
	opacity: 1;
}

#contact {
	min-height: 400px;
	padding-top: 20px;
	background: #555555;
	border-left: 600rem solid #555555;
  	border-right: 600rem solid #555555;
  	margin: 0 -600rem;
}

form {
	margin: 0 auto;
	max-width: 300px;
}

#submit {

}

input[type='text'], input[type='email'], textarea[name='message'] { 
	font-size: inherit; font-family: inherit; 
}

form input, form textarea {
	font-weight: 300;
	color: #2f2f2f;
    background-color: #ebebeb;
    border-style: none;
    margin-top: 3px;
    margin-bottom: 3px;
    padding: 8px;
    max-width: 302px;
}

#copyright a, #copyright{
	text-decoration: none;
	color: #ebebeb;
}

footer p{
	margin: 0;
	background: #555555;
	text-align: center;
}

/*Media Queries*/

@media screen and (max-width: 480px) {
	#backtotop {
		display: none;
	}	

	#about {
		flex-direction: column;
	}

	#abouttext {
		width: 100%;
		margin-bottom: 20px;
	}

	#about img{
		border-radius: 100%;
		margin-top: 20px;
	}

	#galleryselect li {
		display: block;
		margin: 5px 0;
	}

	#galleryselect a {
		display: block;
		font-size: 30px;
		border-color: #2f2f2f;
		border-width: 2px;
		border-style: solid;

	}

	#galleryselect a:hover {
		font-weight: 500;
		text-decoration: none;
		background: #2f2f2f;
		color: #ebebeb;
	}
}