@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

body { padding:2em 2em; letter-spacing: .5px; overflow-x:hidden; }
body, body * { font-family: 'Lato', sans-serif; }

.background { position: fixed; top:0; left: 0; width: 100%; height: 100%; background: #f4f4f4 url('../img/bg.jpg'); background-size: cover; filter: grayscale(.5); opacity: .5 }

.logo-holder { position: relative; padding-bottom: 1em; }
.logo { display: inline-block; max-height: 12em; max-width: 50vw }

.cards { position: relative; filter: drop-shadow(.5em .5em 1em rgba(0,0,0,0.3)); }
/*.grid-padding-x { margin: 0 -2rem; overflow:hidden; }
.grid-padding-x .cell { padding: 0 2rem; }*/

.card { position: relative; border: 0; background:transparent; color:#fff;  overflow: initial; padding: 2em 0 0 0 ; }
.card .card-section { position: relative; text-transform: uppercase; overflow: hidden; padding: 0 1em; }
.card h1 { display: block; position: absolute; top: .5em; left: 0; font-size: 1.85em; font-weight: 600; color:#fff; z-index:10; text-transform: uppercase; padding: .25em 1.25em; overflow: hidden; letter-spacing: 1px;  }
.card .card-section ul { font-size: .9em; font-weight: 400; padding: 3em 2em 1em 2em; }
.card .card-section ul li { padding: .5em 1em 1em 3.5em; line-height: 1.25; margin: 0; border-bottom: 1px solid rgba(255,255,255,.1); height: 6.5em; }
.card .card-section ul li:last-of-type { border: 0 }
.card .card-section ul li strong { font-size: 1.2em; display:inline-block; width: 3.5rem; margin-left: -3.5rem; }

.card .card-section:before { content:''; position: absolute; top: -5%; left: 5%; width: 90%; height: 110%; transform: rotate(2deg); box-shadow: 0 0 0 .25em #2e2e2e; background: #2e2e2e; }
.card h1:before { content:''; position: absolute; top: -5%; left: 5%; width: 90%; height: 110%; transform: rotate(2deg); box-shadow: 0 0 0 .25em #8b8b8b; background: #8b8b8b; z-index:-1; }

.bottom-message { position: fixed; bottom:0; left: 0; width: 100%; height: 11em; background:#fff; border-top: .5em solid #701E3E; overflow: hidden; }
/*.bottom-message:before { content:''; position: absolute; top: 0; left: 0; width: 12em; height: 100%; background: #fff url('../img/simbolo.png') center center no-repeat; background-size: auto 70%; z-index: 10; box-shadow: 0 0 2rem rgba(0,0,0,0.1); }*/

.ticker-wrap {
    position: fixed;
    bottom: 0;
    width: 100%;
    overflow: hidden;
    height: 12em;
    padding-left: 100%; 
}

.ticker {
    display: inline-block;
    height: 12em;
    line-height: 9em;
	margin-top: 2em;
    white-space: nowrap;
    padding-right: 100%; 
}

.ticker__item {
    display: inline-block;
    padding: 0 2em;
    font-size: 5em;
    color: #2D2E2D;
	letter-spacing: .125em;
	border-right: .075em solid #eee;
	font-weight: 300;
}

.ticker__item strong {
 	font-weight: 400;
}

.ticker {
    animation-name: ticker;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-duration: 20s;
}
@keyframes ticker {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
                transform: translate3d(0, 0, 0);

    }
    90% {
        -webkit-transform: translate3d(-100%, 0, 0);
                transform: translate3d(-100%, 0, 0);
    }
    100% {
        -webkit-transform: translate3d(-100%, 0, 0);
                transform: translate3d(-100%, 0, 0);
    }
}


.card .card-section {
    animation-name: fadeRight;
    animation-iteration-count: infinite;
    animation-timing-function: ease-out;
    animation-duration: 20s;
	opacity: 0;
}
.cards .grid-x .cell:nth-child(1) .card-section {
	animation-delay: .5s;
}
.cards .grid-x .cell:nth-child(2) .card-section {
	animation-delay: 1s;
}
.cards .grid-x .cell:nth-child(3) .card-section {
	animation-delay: 1.5s;
}
.cards .grid-x .cell:nth-child(4) .card-section {
	animation-delay: 2s;
}
.cards .grid-x .cell:nth-child(5) .card-section {
	animation-delay: 2.5s;
}
@keyframes fadeRight {
    0% {
        -webkit-transform: translate3d(100%, 0, 0);
                transform: translate3d(100%, 0, 0);
		opacity: 0;
    }
    10% {
        -webkit-transform: translate3d(0, 0, 0);
                transform: translate3d(0, 0, 0);
		opacity: 1;
    }
    98% {
        -webkit-transform: translate3d(0, 0, 0);
                transform: translate3d(0, 0, 0);
		opacity: 1;
    }
    100% {
        -webkit-transform: translate3d(100%, 0, 0);
                transform: translate3d(100%, 0, 0);
		opacity: 0;
    }
}


.card h1 {
    animation-name: fadeleft;
    animation-iteration-count: infinite;
    animation-timing-function: ease-out;
    animation-duration: 20s;
	opacity: 0;
}
.cards .grid-x .cell:nth-child(1) .card h1 {
	animation-delay: .5s;
}
.cards .grid-x .cell:nth-child(2) .card h1 {
	animation-delay: 1s;
}
.cards .grid-x .cell:nth-child(3) .card h1 {
	animation-delay: 1.5s;
}
.cards .grid-x .cell:nth-child(4) .card h1 {
	animation-delay: 2s;
}
.cards .grid-x .cell:nth-child(5) .card h1 {
	animation-delay: 2.5s;
}
@keyframes fadeleft {
    0% {
        -webkit-transform: translate3d(-100%, 0, 0);
                transform: translate3d(-100%, 0, 0);
		opacity: 0;
    }
    5% {
        -webkit-transform: translate3d(-50%, 0, 0);
                transform: translate3d(-50%, 0, 0);
		opacity: 0;
    }
    10% {
        -webkit-transform: translate3d(0, 0, 0);
                transform: translate3d(0, 0, 0);
		opacity: 1;
    }
    98% {
        -webkit-transform: translate3d(0, 0, 0);
                transform: translate3d(0, 0, 0);
		opacity: 1;
    }
    100% {
        -webkit-transform: translate3d(-100%, 0, 0);
                transform: translate3d(-100%, 0, 0);
		opacity: 0;
    }
}

@media screen and (max-width: 192.9375em) { 
	html, body { font-size: 1.5vh; }
}

@media screen and (orientation:portrait) {
  html, body { font-size: 1.35vw; }
   html { width: 100vw; height: 100vh; }
   body { position: fixed; top: 0; left: 0; transform: rotate(90deg) translate(-37em, -50%); transform-origin: left; width: 100vh; height: 100vw;}
}