@font-face {
	font-family: 'Replica';
	src: url('font/Replica-Bold.eot');
	src: url('font/Replica-Bold.eot?#iefix') format('embedded-opentype'),
		url('font/Replica-Bold.woff') format('woff'),
		url('font/Replica-Bold.ttf') format('truetype'),
		url('font/Replica-Bold.svg#Replica-Bold') format('svg');
	font-weight: bold;
	font-style: normal;
}
@font-face {
	font-family: 'Replica';
	src: url('font/Replica-Italic.eot');
	src: url('font/Replica-Italic.eot?#iefix') format('embedded-opentype'),
		url('font/Replica-Italic.woff') format('woff'),
		url('font/Replica-Italic.ttf') format('truetype'),
		url('font/Replica-Italic.svg#Replica-Italic') format('svg');
	font-weight: normal;
	font-style: italic;
}

@font-face {
	font-family: 'Replica';
	src: url('font/Replica-Regular.eot');
	src: url('font/Replica-Regular.eot?#iefix') format('embedded-opentype'),
		url('font/Replica-Regular.woff') format('woff'),
		url('font/Replica-Regular.ttf') format('truetype'),
		url('font/Replica-Regular.svg#Replica-Regular') format('svg');
	font-weight: normal;
	font-style: normal;
}
body, html {height:100%;}
body {font-family: 'Replica', sans-serif; font-weight: bold; color:#fff; padding: 0; margin: 0; text-rendering: optimizeLegibility;}

html {scroll-behavior: smooth;}

.main-banner {
	position: relative;
}
.main-banner .inner {
	padding: 0;
}
.main-banner .btn {
	position: absolute;
	bottom: 40px;
	left: 0;
	width: 100%;
	color: #fff;
	font-size: 15px;
	text-align: center;
	animation: appear 1.5s ease-in-out 14s;
	animation-fill-mode: forwards;
	color: #fff;
	font-weight: bold;
	z-index: 10;
	opacity: 0;
	font-size: 0;
	height: 18px;
	text-align: center;
	text-indent: -9999px;
	
}
.main-banner .btn:before {
	content: '';
	display:block;
	width:100%;
	height: 18px;
	background: url(../arrow-down.svg) no-repeat center center; 
    background-size:contain;
    animation: updown 1.5s infinite;
}
.animation {
	position: relative;
	width: 100%;
	height: auto;
	display: block;
	z-index: 1;
	max-height: 100vh;
}
.spigoli {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10;
}
.spigoli span:first-child {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 30px;
}
.spigoli span:first-child:before {
	position: absolute;
	top: 0;
	left: 0;
	content: '';
	display: inline-block;
	border-top: 20px solid white;
	border-left: 20px solid white;
	border-right: 20px solid transparent;
	border-bottom: 20px solid transparent;
}
.spigoli span:first-child:after {
	position: absolute;
	top: 0;
	right: 0;
	content: '';
	display: inline-block;
	border-top: 20px solid white;
	border-right: 20px solid white;
	border-left: 20px solid transparent;
	border-bottom: 20px solid transparent;
}
.spigoli span:last-child {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 30px;
}
.spigoli span:last-child:before {
	position: absolute;
	bottom: 0;
	left: 0;
	content: '';
	display: inline-block;
	border-bottom: 20px solid white;
	border-left: 20px solid white;
	border-right: 20px solid transparent;
	border-top: 20px solid transparent;
}
.spigoli span:last-child:after {
	position: absolute;
	bottom: 0;
	right: 0;
	content: '';
	display: inline-block;
	border-bottom: 20px solid white;
	border-right: 20px solid white;
	border-left: 20px solid transparent;
	border-top: 20px solid transparent;
}
.frase {
	position: absolute;
	top: 50%;
	left: 0%;
	align-items: center;
	font-size: 4.7vw;
	line-height: 1em;
	color: #fff;
	width: 100%;
	padding-right: 20px;
	padding-left: 20px;
	text-align: center;
	margin: 0;
	box-sizing: border-box;
	z-index:5;
	opacity: 0;
	transition: ease-in-out;
	transform: translateY(-50%) scale(0);
}
.frase span {
	font-size: 6vw;
}
.frase.slide1 {
	font-size: 6vw;
	animation: scale 2.5s ease-in-out 0.5s;
}
.frase.slide2 {
	font-size: 6vw;
	animation: scale 3.5s ease-in-out 3.7s;
}
.frase.slide3 {
	font-size: 7.7vw;
	line-height: 1.3em;
	animation: scale 3.5s ease-in-out 8.5s;
}
.frase.slide4 {
	opacity: 1;
	font-size: 8.7vw;
	animation: scale2 3.5s ease-in-out 13s;
	animation-fill-mode: forwards;
}
.main-banner .inner {overflow: hidden;}
.inner {
	position: relative;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	padding-left: 20px;
	padding-right: 20px;
	box-sizing: border-box;
}
#messaggio .inner {
	padding: 40px 80px;
}
#messaggio {
	color: #000;
	font-size: 20px;
	opacity: 0;
	text-align: center;
	animation: appear 0.8s ease-in-out 15s;
	animation-fill-mode: forwards;
}
#messaggio ul {
	max-width: 50%;
	text-align: left;
	font-size: 18px;
	font-style: italic;
	margin: 40px auto;
	line-height: 1.4em;
	padding: 0;
}
#messaggio i {
	font-size: 14px;
	margin:0 auto 40px auto;
}
#messaggio .logo-container {
	display: block;
	background: black;
	color: white;
	text-align: center;
	font-size: 12px;
	padding:40px 40px 30px 40px;
}
#messaggio .logo-container .logo {
	display:block;
	width: 100%;
	height: 30px;
	margin-bottom: 15px;
	background: url(../logo.svg) no-repeat center center; 
    background-size:contain;
}
.hide-mobile {
	display: block;
}
.hide-desktop {
	display: block;
}
@keyframes updown { 
    0% { 
        transform: translateY(0%);  
    }
    50% { 
        transform: translateY(20px);
    }
    100% { 
        transform: translateY(0px);
    }
}
@keyframes scale {
    0% { 
        opacity:0;
        transform: translateY(-50%) scale(0); 
    }
    25% { 
        opacity:1;
        transform: translateY(-50%) scale(1);
    }
    50% { 
        opacity:1;
        transform: translateY(-50%) scale(1);
    }
    75% { 
        opacity:1;
        transform: translateY(-50%) scale(1);
    }
    100% { 
        opacity:0;
        transform: translateY(-50%) scale(0); 
    }
}
@keyframes appear {
    from { 
        opacity:0; 
    }
    to { 
        opacity:1;
    }
}
@keyframes scale2 {
    0% {
        transform: translateY(-50%) scale(0); 
    }
    25% {
        transform: translateY(-50%) scale(1);
    }
    50% {
        transform: translateY(-50%) scale(1);
    }
    75% {
        transform: translateY(-50%) scale(1);
    }
    100% {
        transform: translateY(-50%) scale(1);
    }
}

@media only screen and (max-width:900px) {
	.hide-mobile {
		display: none;
	}
}
@media only screen and (min-width:901px) {
	.hide-desktop {
		display: none;
	}
}
@media only screen and (min-width:1601px) {
	.frase {
		font-size: 80px;
		line-height: 100px;
	}
}
@media only screen and (max-width:700px) {
	#messaggio .inner {
		padding: 40px;
	}
	.frase.slide1 {
		font-size: 7vw;
	}
	.frase.slide2 {
		font-size: 7vw;
	}
	.frase.slide3 {
		font-size: 8.7vw;
	}
	.frase.slide4 {
		font-size: 9.7vw;
	}
	#messaggio ul {
		max-width: 70%;
	}
}