#contatti-mobile { display:none}

#contatti-mobile a {
    text-transform: lowercase;
    clear: both;
    float: none;
    display: block;
	margin-bottom:10px;
	color:#333;
}
#contatti { margin-top:-32px; width:auto; margin-left:-1px;}

#contatti .barretta { margin-left: 6px;}

/*.message--instructions span.phone, 
.message--instructions span.email { color: #68c3c0; }
.message--instructions span.phone { margin-right:5px; }

.message--instructions .phone span:before,
.message--instructions .email span:before {
    height: 100%;
    width: 20px;
    background: url(../img/mobilephone.png) no-repeat;
    content: '';
    display: block;
    background-size: contain;
    float: left;
    left: 50%;
    position: absolute;
}

.message--instructions .email span:before {
    background: url(../img/paperplane.png) no-repeat;
    float: right;
    left: auto;
    right: 50%;
    position: absolute;
    margin-left: 0;
    background-size: contain;
	height:10px
}
*/
#noviia_logo{
	z-index:9999;
	position:relative;
	display:block;
	}
.game-holder {
	position: absolute;
	width: 100%;
	height: 100%;
	background: -webkit-linear-gradient(#e4e0ba, #f7d9aa);
	background: linear-gradient(#111, #f7d9aa);
}

.world {
	position: absolute;
	overflow: hidden;
	width: 100%;
	height: 100%;
}

.header {
	position: absolute;
	top: 8vh;
	left: 0;
	width: 100%;
	text-align: center;
/*	pointer-events: none;*/
}
#instructions img{ vertical-align:middle; height:25px;}
.header h1 {
	font-family: 'Playfair Display';
	font-size: 4.5em;
	line-height: 1;
	margin: 0;
	letter-spacing: -0.025em;
	color: #d1b790;
}

.header h1 span {
	font-size: 0.2em;
	font-style: italic;
	display: block;
	margin: 0 0 -1.5em -7em;
	letter-spacing: 0px;
}

.header h2 {
	font-size: 0.585em;
	margin: 0.25em 0;
	white-space: nowrap;
	text-indent: 1em;
	letter-spacing: 1em;
	text-transform: uppercase;
	color: #d6483b;
}

.score {
	width: 100%;
	margin: 2em 0 0;
	text-align: center;
	white-space: nowrap;
}

.score__content {
	position: relative;
	display: inline-block;
	padding: 0 1em;
	vertical-align: top;
}

.score__content:nth-child(2) {
	border-right: 1px solid #d1b790;
	border-left: 1px solid #d1b790;
}

.score__label {
	font-size: 9px;
	position: relative;
	margin: 0 0 0.5em 0;
	text-align: center;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: #d1b790;
}

.score__value {
	font-family: 'Playfair Display';
	font-weight: bold;
	color: #d1b790;
}

.score__value--level {
	font-size: 26px;
}

.score__value--dist {
	font-size: 30px;
}

.level-circle {
	position: absolute;
	left: 50%;
	width: 46px;
	margin: -37px 0 0 -23px;
	-webkit-transform: rotate(-90deg);
	transform: rotate(-90deg);
}

.score__value--energy {
	position: relative;
	width: 60px;
	height: 8px;
	margin-top: 20px;
	border-radius: 3px;
	background-color: #d1b790;
}

.energy-bar {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: 2px;
	background-color: #f25346;
	-webkit-animation-name: none;
	animation-name: none;
	-webkit-animation-duration: 150ms;
	animation-duration: 150ms;
	-webkit-animation-iteration-count: infinite;
	animation-iteration-count: infinite;
}

.message {
	font-weight: bold;
	position: absolute;
	left: 0;
	width: 100%;
	text-align: center;
	text-transform: uppercase;
	/*pointer-events: none;*/
}

.message--replay {
	font-size: 1.25vw;
	bottom: 40vh;
	display: none;
	text-indent: 0.5em;
	letter-spacing: 0.5em;
	color: #d1b790;
}

.message--instructions {
	font-family: 'Playfair Display';
	font-size: 0.85em;
	bottom: 8vh;
	letter-spacing: 0.2em;
	color: #68c3c0;
}

.message--instructions span {
	/*display: block;*/
	color: #d6483b;
	white-space: nowrap;
}

@-webkit-keyframes blinking {
	0% { opacity: 1; }
	50% { opacity: 0; }
	100% { opacity: 1; }
}

@keyframes blinking {
	0% { opacity: 1; }
	50% { opacity: 0; }
	100% { opacity: 1; }
}

@media screen and (max-width: 40em) {
	.header {
		font-size: 0.75em;
		top: 6.5em;
	}
	.header h2 {
		letter-spacing: 0.65em;
	}
	
	#contatti a.phone, #contatti a.email {
		clear:both; text-align:center !important; width:auto !important; 
	}
	#contatti a.phone span, #contatti a.email span {
		clear:both; text-align:center !important; padding:10px 0; width:auto !important;
	}
	#contatti a.phone:before span, #contatti a.emai:beforel span {
		width:200px !important;
	}
	.barretta{ display:none;}
	#contatti{ display:none;}
	#contatti-mobile { display:block}
}


/*effettini*/

#contatti,
#contatti-container  {
	/*position: relative;*/
	z-index: 1;
}

#contatti a.phone { text-align:right;}
#contatti a.email { text-align:left;}
#contatti a.phone,
#contatti a.email {
	overflow: hidden;
	margin: 0;
	width:200px;
}

#contatti a.phone span,
#contatti a.email span {
	display: block;
	padding: 10px 20px 10px 0;
	background: none;
	-webkit-transition: -webkit-transform 0.3s;
	-moz-transition: -moz-transform 0.3s;
	transition: transform 0.3s;
	color: #68c3c0 !important;
}

#contatti a.phone span{
	padding: 10px 0px 10px 20px;
	text-transform:none;
}


#contatti a.phone::before,
#contatti a.email::before {
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	/*padding: 10px 20px;*/
	width: 100%;
	height: 100%;
	background: none;
	display:none;
	color: #0f7c67;
	content: attr(data-hover);
	-webkit-transition: -webkit-transform 0.3s;
	-moz-transition: -moz-transform 0.3s;
	transition: transform 0.3s;
	-webkit-transform: translateX(-25%);
}

#contatti a.email:hover span,
#contatti a.email:focus span {
	-webkit-transform: translateX(100%);
	-moz-transform: translateX(100%);
	transform: translateX(100%);
	background:#d6483b;
}
#contatti a.phone:hover span,
#contatti a.phone:focus span{
	-webkit-transform: translateX(-100%);
	-moz-transform: translateX(-100%);
	transform: translateX(-100%);
	background:#d6483b;
}

#contatti a.phone:hover::before,
#contatti a.phone:focus::before,
#contatti a.email:hover::before,
#contatti a.email:focus::before {
	-webkit-transform: translateX(0%);
	-moz-transform: translateX(0%);
	transform: translateX(0%);
	display:block;
}
	
.phone,
.email { 
	position: relative;
	display: inline-block;
	margin: 15px 25px;
	outline: none;
	color: #fff;
	text-decoration: none;
	letter-spacing: 1px;
	font-weight: 400;
	text-shadow: 0 0 1px rgba(255,255,255,0.3);
	font-size: 1.35em;

	}
.phone:hover:before,
.email :hover:before {
    -webkit-transform: translateX(0%);
    -moz-transform: translateX(0%);
    transform: translateX(0%);
	
}
.phone:before, 
.email:before {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    padding: 10px 20px;
    width: 100%;
    height: 100%;
    background: #fff;
    color: #0f7c67;
    content: attr(data-hover);
    -webkit-transition: -webkit-transform 0.3s;
    -moz-transition: -moz-transform 0.3s;
    transition: transform 0.3s;
    -webkit-transform: translateX(-25%);
	text-transform:lowercase;
	padding:10px 0;
}
