body {
	font-family: Helvetica, Arial, sans-serif;
	line-height: 1.3;
	max-width: 30rem;
	margin: 0 auto;
	padding: 0.5rem 1.5rem;
}

.avatar {
	border-radius: 100%;
	height: 5rem;
	width: 5rem;
	margin-left: 1rem;
}

header {
	display: flex;
	margin: 2rem 0 1.5rem;
}

header div {
	flex: 1;
}

header h1 {
	font-weight: bold;
	font-size: 2rem;
	margin: 0;
	margin: 0 0 0.25rem 0;
}

header p {
	margin: 0;
}

header::after {
	content: '';
	display: block;
	clear: both;
}

li {
	font-size: 1.5rem;
	margin-bottom: 0.75rem;
}

li svg,
li .icon {
	display: inline-block;
	width: 1em;
	height: 1em;
	vertical-align: -0.15em;
	margin-right: 0.5rem;
	fill: currentColor;
}

a,
a:visited {
	/* remove link decorations */
	text-decoration: none;
}

ul {
	/* remove list bullets, padding */
	list-style: none;
	padding: 0;
}

/* link underline animation */
a span {
	position: relative;
}
a span:after {
	content: '';
	height: 3px;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0%;
	transition: 0.3s;
	background: currentColor;
}

a:hover span:after {
	width: 100%;
}

@media screen and (min-width: 600px) {
	html {
		font-size: 125%;
	}

	header {
		flex-flow: row-reverse;
		align-items: center;
	}

	.avatar {
		margin-left: 0;
		margin-right: 1rem;
	}

	li {
		padding-left: 3rem;
	}

	li svg,
	li .icon {
		margin-right: 1rem;
	}
}

.six-four {
	position: relative;
	overflow: hidden;
	text-align: center;
	font-weight: bold;
	perspective: 2rem;
}

.six-four-wrap {
	transform-style: preserve-3d;
	transform: translate3d(0, -0.1em, -0.4em) rotate3d(0, 1, 0, 0);
	transition: 0.4s transform;
}

a:hover .six-four-wrap {
	transform: translate3d(0, -0.1em, -0.4em) rotate3d(0, 1, 0, 90deg);
}

.six {
	position: absolute;
	top: 0;
	left: 0.1em;
	width: 0.8em;
	height: 1em;
	transform: translate3d(0, 0, 0.4em);
	backface-visibility: hidden;
}

.four {
	position: absolute;
	top: 0;
	left: 0.1em;
	width: 0.8em;
	height: 1em;
	transform: translate3d(-0.4em, 0, 0) rotate3d(0, 1, 0, -90deg);
	backface-visibility: hidden;
}

#telegram li:nth-child(8) a svg:nth-child(2) {
	display:none;
}

#telegram li:nth-child(8) a:hover svg:nth-child(2) {
	display:inline-block;
}

#telegram li:nth-child(8) a:hover svg:nth-child(1) {
	display:none;
}