::selection {
	background: transparent;
	text-shadow: 0px 0px 100px rgba(255,255,255,0.5);
}

html, body {
	height: 100%;
}

body {
	background: #1e1e1e;
}

#wrap {
	position: relative;
	top: 50%;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
}

body, h1, h2 {
	margin: 0;
	padding: 0;
}

h1 {
	opacity: 1;
	font-family: 'Alegreya Sans';
	font-weight: 800;
	font-size: 72px;
	text-transform: uppercase;
	text-align: center;
    color: #1e1e1e;
    text-shadow:
        -1px -1px rgba(182,154,92,0.7),
        1px -1px rgba(182,154,92,0.7),
        -1px 1px rgba(182,154,92,0.7),
        1px 1px rgba(182,154,92,0.7);

	position: relative;
    width: 650px;
    height: 85px;
    margin: 0 auto;
}

h1::after {
    content: "Justinas Pošiūnas";
    color: rgba(182,154,92,0.2);
    font-size: 72px;
    position: absolute;
    text-shadow: none;
    left: 13px;
    top: 7px;
    line-height: 82px;
}

h2 {
	color: #4e4e4e;
	font-family: 'Alegreya Sans';
	font-size: 32px;
	letter-spacing: 10pt;
	text-transform: uppercase;
	text-align: center;
}

a {
	text-decoration: none;
	color: none;
}

i {
	transition: 0.3s ease all;
	-webkit-transition: 0.3s ease all;
	color: rgba(255, 255, 255, 0.5);
	margin: 0 15px;
}

i:hover {
	color: rgba(255, 255, 255, 0.8);
	transform: scale(1.2);
	-webkit-transform: scale(1.2);
}

.social-networks {
	text-align: center;
	margin-top: 50px;
}

.workplace {
	text-align: center;
	margin-top: 20px;
}

.logo {
	transition: 0.3s ease all;
	background-image: url('logo.svg');
	background-size: 100%;
	width: 4em;
	height: 4em;
	display: inline-block;
	opacity: 0.5;
}

.logo:hover {
	opacity: 1;
}

.hidden {
	display: none;
}

@media (max-width: 445px) {
	.social-networks .fa-4x {
		font-size: 3em;
		margin: 0 10px;
	}
}

@media (max-width: 640px) {
	h1 {
		font-size: 68px;
        width: auto;
        height: auto;
	}

    h1::after {
        font-size: 68px;
        left: 10px;
        top: 3px;
    }

	h2 {
		letter-spacing: 6pt;
	}
}
