@import 'styles/reset.css';
@import 'styles/oc.css';
@import 'styles/var.css';

* {
	box-sizing: border-box;
}

::-webkit-scrollbar {
	width: 4px;
	height: 4px;
	background-color: var(--oc-gray-0);
}

::-webkit-scrollbar-thumb {
	border-radius: 4px;
	background-color: var(--oc-gray-8);
}

body {
	display: flex;
	flex-direction: column;
	width: 100vw;
	height: 100vh;
	padding: 12.5% 0 0 12.5%;
	font-family: 'Ubuntu', sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: var(--oc-gray-8);
	overflow: hidden;
}

.loaded .picture,
.loaded .nickname,
.loaded .name,
.loaded .copy {
	opacity: 1;
	transform: translate(0, 0);
}

.profile {
	display: flex;
	align-items: center;
	margin: 40px 0 20px 0;
}

.picture {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: url('../assets/images/55906303_372246966837927_9090854407322648161_n.jpg') center / cover no-repeat;
	opacity: 0;
	transition: all .25s ease-in-out;
	transform: translate(0, -20px);
	filter: drop-shadow(0 15px 15px var(--oc-gray-3));
}

.about {
	margin: 0 0 0 40px;
}

.nickname {
	margin: 0 0 5px 0;
	font-size: 24px;
	font-weight: 700;
	opacity: 0;
	transition: all .25s ease-in-out;
	transform: translate(-10px, 0);
	transition-delay: .2s;
}

.name {
	font-size: 16px;
	font-weight: 500;
	color: var(--oc-gray-6);
	opacity: 0;
	transition: all .25s ease-in-out;
	transform: translate(-10px, 0);
	transition-delay: .4s;
}

.links {
	display: flex;
	align-items: center;
	margin: 0 0 0 120px;
}

.link {
	display: inline-block;
	position: relative;
	width: 30px;
	height: 30px;
	margin-right: 20px;
	opacity: 0;
	transition: all .25s ease-in-out;
	transform: translate(0, 20px);
}

.link.show {
	opacity: 1;
	transform: translate(0, 0);
}

.link svg {
	position: relative;
	width: 20px;
	height: 20px;
	top: 50%;
	left: 50%;
	transition: all .25s ease-in-out;
	transform: translate(-50%, -50%);
	fill: var(--oc-gray-6);
}

.link:hover svg {
	fill: var(--oc-gray-8);
	transform: translate(-50%, calc(-50% - 5px));
	filter: drop-shadow(0 15px 15px var(--oc-gray-4));
}

.-pt {
	margin-right: 45px;
}

.-pt:after {
	content: '';
	position: absolute;
	display: inline-block;
	top: 50%;
	right: -20px;
	width: 2px;
	height: 10px;
	background: var(--oc-gray-3);
	border-radius: 2px;
	transform: translate(0, -50%);
	pointer-events: none;
}

.-vk svg {
	width: 23px;
	height: 23px;
}

.-sc svg,
.-yt svg {
	width: 22px;
	height: 22px;
}

.-pt svg,
.-ig svg {
	width: 18px;
	height: 18px;
}

.copy {
	margin: 80px 0 0 125px;
	color: var(--oc-gray-3);
	opacity: 0;
	transform: translate(0, 10px);
	transition-duration: .4s;
	transition-delay: .8s;
}

@media (max-width: 767px) {

	body {
		padding: 80px 40px;
	}

	.profile {
		margin: 0 0 30px 0;
	}

	.picture {
		width: 40px;
		height: 40px;
	}

	.about {
		margin: 0 0 0 20px;
	}

	.nickname {
		font-size: 16px;
	}

	.name {
		font-size: 14px;
	}

	.links {
		margin: 0 0 0 4px;
		flex-wrap: wrap;
	}

	.link {
		margin-bottom: 15px;
	}

	.copy {
		margin: 20px 0 0 12px;
	}
}
