html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

.clear{
	clear: both;
}

body{
	font-family: 'Helvetica Neue','Segoe UI','Ubuntu';
}

#wrapper{
	height: 100vh;
	padding: 38px;
	box-sizing:border-box;
}

.social-buttons.top-left{
	float: left;
}

.social-buttons.top-right{
	float: right;
}

.social-buttons.top-left a{
	margin-right: 20px;
}

.social-buttons.top-right a{
	margin-left: 20px;
}

.social-buttons a{
	display: block;
	float: left;
	width: 36px;
	height: 36px;
	border-radius: 50px;
	padding: 9px;
	box-sizing:border-box;
}

.social-buttons a img{
	width: 100%;
    height: 100%;
}

.social-buttons a.fb{
	background:#365eab url('../imgs/facebook.svg') no-repeat center center;
	background-size: 20px;
}

.social-buttons a.linkedin{
	background:#1985bc url('../imgs/linkedin.svg') no-repeat center center;
	background-size: 20px;
}

.social-buttons a.dribble{
	background:#ec4a89 url('../imgs/dribbble.svg') no-repeat center center;
	background-size: 20px;
}

.social-buttons a.twitter{
	background:#1da1f2 url('../imgs/twitter.svg') no-repeat center center;
	background-size: 20px;
}

.social-buttons a.contact{
	background:#1b262b url('../imgs/contact.svg') no-repeat center center;
	background-size: 20px;
}

.social-buttons a.avatar{
	background:#FFF url('../imgs/avatar.png') no-repeat center center;
	background-size: 100% 100%;
}

.copy{
	color: #bcbfc6;
	position: absolute;
	bottom:38px;
	left: 38px;
	font-size: 14px;
	font-style: normal;
	font-variant: normal;
}

.middle-content{
	position:absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	height: 220px;
	text-align: center;
}

.middle-content .social-buttons{
	display: inline-block;
	float: none;
}

.middle-content .social-buttons a{
	width: 108px;
	height: 108px;
	border-radius: 200px;
	margin-right: 40px;
	transition: all .2s linear;
}

.middle-content .social-buttons a:last-child{
	margin-right: 0;
}

.middle-content .social-buttons a.fb,
.middle-content .social-buttons a.twitter,
.middle-content .social-buttons a.dribble,
.middle-content .social-buttons a.linkedin,
.middle-content .social-buttons a.contact{ 
	background-size: 50px;
}

.middle-content h2{
	font-family: 'HelveticaNeue-Thin','Segoe UI','Ubuntu';
	color: #1b262b;
	font-size: 40px;
	margin: 25px 0 15px;
}

.middle-content .desc{
	font-size: 15px;
	color: #bcbfc6;
}

.middle-content .desc strong{
	font-weight: bold;
}

.switcher{
	position: absolute;
	right: 36px;
	bottom: 26px;
	-webkit-touch-callout: none; /* iOS Safari */
  	-webkit-user-select: none;   /* Chrome/Safari/Opera */
  	-khtml-user-select: none;    /* Konqueror */
  	-moz-user-select: none;      /* Firefox */
  	-ms-user-select: none;       /* IE/Edge */
  	user-select: none;           /* non-prefixed version, currently
                                  not supported by any browser */
}

.switcher .desc{
	display: inline-block;
	font-weight: bold;
	font-size: 14px;
	color: #1b262b;
	width: 150px;
	text-align: right;
	margin-right: 10px;
}

.toggle {
    -webkit-border-radius: 36px;
    border-radius: 36px;
    position: relative;
    background: #dddfe2;
    height: 36px;
    vertical-align: middle;
    width: 64px;
    display: inline-block;
}

.toggle:before {
    width: 100%;
    height: 100%;
    -webkit-border-radius: 36px;
    border-radius: 36px;
    position: absolute;
    top: 0;
    left: 0;
    background: #a0ce6f;
    content: '';
    -webkit-transition: all 300ms cubic-bezier(0.165, 0.84, 0.44, 1);
    -moz-transition: all 300ms cubic-bezier(0.165, 0.84, 0.44, 1);
    -o-transition: all 300ms cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: all 300ms cubic-bezier(0.165, 0.84, 0.44, 1);
    -moz-transform: scale(0);
    -webkit-transform: scale(0);
    -o-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
}

.toggle.toggled:before {
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    -o-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.toggle .inner {
    width: 26px;
    border-radius: 100%;
    height: 26px;
    position: absolute;
    background: white;
    top: 5px;
    left: 6px;
    z-index: 1;
    cursor: pointer;
    -webkit-transition: all 300ms cubic-bezier(0.165, 0.84, 0.44, 1);
    -moz-transition: all 300ms cubic-bezier(0.165, 0.84, 0.44, 1);
    -o-transition: all 300ms cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: all 300ms cubic-bezier(0.165, 0.84, 0.44, 1);
}

.toggle.toggled .inner {
    left: 100%;
    margin-left: -32px;
}

.social-buttons.top-left a{
	transition: all .2s linear;
}

.social-buttons.top-left a.avatar{
	transform:scale(0) rotate(180deg);
	opacity: 0;
	position: absolute;
}

#wrapper.social-mode .social-buttons.top-left a[data-mode="face"]{
	transform:scale(0) rotate(180deg);
	opacity: 0;
}

.middle-content .social-buttons a[data-mode="social"]{
	transform:scale(0) rotate(180deg);
	opacity: 0;
}

.middle-content .social-buttons a[data-mode="face"]{
	position: absolute;
    left: 0;
    right: 0;
    margin: auto;
}

#wrapper.social-mode .social-buttons a[data-mode="social"]{
	transform:scale(1) rotate(0deg);
	opacity: 1;
}

#wrapper.social-mode .middle-content .social-buttons a[data-mode="face"]{
	transform:scale(1) rotate(180deg);
	opacity: 0;
}
