* {
	margin: 0;
	padding: 0;
}

a {
	text-decoration: none;
}

body {
	font-family: "Raleway", Arial, Helvetica, sans-serif;
	font-size: 1.1rem;
	line-height: 1.7em;
	overflow-x: hidden;
	width: 100%;
}

header {
	position: absolute;
	z-index: 15;
	width: 100%;
}
header nav {
	margin: 1em 1.5em;
	text-align: center;
	word-spacing: 2em;
	z-index: 15;
}
header a {
	color: #BEE1D8;
	padding-bottom: 2px;
	font-weight: 500;
	border-bottom: 1px solid #1E84AE;
}
header a:hover {
	color: #D4E1DE;
	border-bottom: 2px solid #29B6F0;
}

._title {
	text-align: center;
	text-transform: uppercase;
	padding-bottom: 1em;
	margin-bottom: 1em;
	font-size: 1.1em;
	font-weight: 600;
	border-bottom: 1px solid #8ec1d6;
}

/* BANER */

#baner { 
	position: relative;
}
.baner__background {
	z-index: 1;
	width: 100vw;
	overflow: hidden;
}
.baner__background canvas {
	position: absolute;
	left: 0;
	top: 0;
	z-index: -1;
}
.baner__background img {
	position: absolute;
	left: 0;
	top: 0;
	width: 100vw;
	height: auto;
	z-index: -2;
}
.baner__info {
	padding: 13% 0;
	text-align: center;
	z-index: 15;
}
.baner__name {
	position: relative;
	font-size: 3em;
	font-weight: 100;
	color: #fff;
	line-height: 1em;
	margin: 0 0 0.5em 0;
	padding: 0;
}
.baner__text {
	font-size: 1.5em;
	color: rgba(255, 255, 255, 0.75);
	margin-bottom: 1.75em;
}

.baner__avatar {
	position: absolute;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
}
.baner__avatar img {
	width: 180px;
	background: white;
	padding: 5px;
	border-radius: 50%;
}

/* ABOUT */

#about {
	z-index: 15;
	padding: 9em 5em;
	color: #4A525C;
	background: #FFFFFF;	
}

.about__text {
	text-align: justify;
	text-indent: 1.5em;
}

/* SKILLS */


#skills {
	color: #212C3A;
	background: #8cc9f0;
	padding: 7em 5em;
	background-image: url('images/earphones-791309_1280_blur.jpg');
	background-size: cover;
	background-position: bottom;
	background-attachment: fixed;
	background-repeat: no-repeat;
}

.skills__blocks {
	display: grid;
	grid-gap: 15px 15px;
	grid-template-columns: repeat(3, minmax(280px, auto));
	grid-template-rows: 350px;
}

.skills__block {
	min-width: 70%;
	border: 1px solid #8ec1d6;
	background-color: rgba(245,255,255,0.9);
	border-radius: 10px;
	padding: 1.3em;
}
.skills__block li {
	font-size: 0.9em;
	list-style-type: circle;
	margin-left: 23px;
	line-height: 29px;
	color: #464F5C;
}

/* PROJECTS */

#projects {
	color: #4A525C;
	background: #FFFFFF;
	padding: 5em;
}

.projects__quote {
	text-align: center;
}

.projects__blocks {
	padding: 1.5em 0;
	display: grid;
	grid-gap: 1em;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	grid-auto-rows: minmax(26vh, auto);
}
.projects__blocks__project {
	justify-self: center;
	border: 1px solid #8ec1d6;
	background-color: rgba(245,255,255,0.9);
	padding: 0.5em 1em 1em;
	border-radius: 5px;
}
.projects__blocks__project__screen {
    position: relative;
	height: 250px;
}
.projects__blocks__project__screen img {
	width: 70%;
	margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	border-radius: inherit;
}
.projects__blocks__project__text {
	line-height: 1.5em;
	text-indent: 1.5em;
	text-align: justify;
}

/* SOCIAL */

#social {
	color: #4A525C;
	background: #C5DBE9;
	padding: 6em 5em;
}
.social__list {
	text-align: center;
}
.social__list li {
	display: inline-block;
	width: 5em;
	height: 5em;
	margin: 1em;
	border-radius: 50%;
	border: 1px solid gray;
	position: relative;
}
.social__list li a {
	margin: 0;
	padding: 5px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	color: gray;
}

.social__list li.linkedin:hover {
	border-color: #006097;
}
.social__list li.linkedin:hover a {
	color: #006097;
}
.social__list li.github:hover {
	border-color: black;
}
.social__list li.github:hover a {
	color: black;
}

.social__list li.stackoverflow:hover {
	border-color: #B29C8B;
}
.social__list li.stackoverflow:hover a {
	color: #F48024;
}

.social__list li.fb:hover {
	border-color: #3b5998;
}
.social__list li.fb:hover a {
	color: #3b5998;
}

.social__list li.twitter:hover {
	border-color: #1da1f2;
}
.social__list li.twitter:hover a {
	color: #1da1f2;
}



.email {
	padding: 1em;
	text-align: center;
}
.email a {
	color: #4A525C;
}
.email a:hover {
	color: #3B2666;
}

.copyright {
	display: block;
	padding-top: 15px;
	font-size: 0.85em;
}


@media only screen and (max-width: 1000px) {
	#about {
		padding: 6.5em 4em 4em;
	}
	#skills {
		padding: 4em;
	}
	#projects {
		padding: 4em;
	}
	#social {
		padding: 2em;
	}

    .skills__blocks {
		grid-template-columns: minmax(340px, auto);
		grid-template-rows: repeat(3, 330px);
	}
}

@media only screen and (max-width: 500px) {
	.baner__info {
    	padding: 25% 0;
    }
	#about {
		padding: 6.5em 1em 2em;
	}
	#skills {
		padding: 1em;
	}
	#projects {
		padding: 1em;
	}
	#social {
		padding: 1em 0;
	}
}

@media only screen and (max-width: 320px) {
	header nav {
    	margin: 1em;
	    word-spacing: 1em;	
    }
	.skills__blocks {
		grid-template-columns: minmax(240px, auto);
		grid-template-rows: repeat(3, 330px);
	}
	.projects__blocks {
		padding: 1.5em 0;
		display: grid;
		grid-gap: 1em;
		grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	}
}