/* FONTS */

@font-face {
    font-family: 'Rubik-light';
    src: url('../fonts/Rubik-Light.woff2') format('woff2'),
        url('../fonts/Rubik-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'Rubik-black';
    src: url('../fonts/Rubik-Black.woff2') format('woff2'),
        url('../fonts/Rubik-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rubik';
    src: url('../fonts/Rubik-Regular.woff2') format('woff2'),
        url('../fonts/Rubik-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rubik-medium';
    src: url('../fonts/Rubik-Medium.woff2') format('woff2'),
        url('../fonts/Rubik-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'Rubik-semibold';
    src: url('../fonts/Rubik-SemiBoldItalic.woff2') format('woff2'),
        url('../fonts/Rubik-SemiBoldItalic.woff') format('woff');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Rubik-bold';
    src: url('../fonts/Rubik-Bold.woff2') format('woff2'),
        url('../fonts/Rubik-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'Rubik-extrabold';
    src: url('./fonts/Rubik-ExtraBold.woff2') format('woff2'),
        url('./fonts/Rubik-ExtraBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}





body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Rubik';
}

b {
    font-family: 'Rubik-medium';
}


/* HEADER */

header {
    height: 10vh;
    width: 100vw;
    position: fixed;
    z-index: 100;
}

header .logo {
    width: 280px;
    margin-top: 3vh;
    margin-left: -280px;
    opacity: 0;
    position: absolute;

}

header .logo-small {
    width: 118px;
    margin-top: 3vh;
    margin-left: -100px;
    opacity: 0;
    position: absolute;

}

section {
    height: 100vh;
    width: 100vw;
}

section.main {
    background-color: #fff;
    background-image: url('/assets/images/header.jpg');
    background-position: center center;
    background-size: cover;
    position: relative;
}

section.main .app {
    position: absolute;
    height: 200px;
    bottom: 0;
    /*background-color: #fff;*/
    z-index: 1000;
    width: 100%;
    text-align: center;
    display: table;
}

section.main .app .loghi-table {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}


section.main .app .logo-store {
    width: 150px;

}

section.main #loghi {
    position: absolute;
    bottom: 0;
    height: 120px;
    background-color: transparent;
    z-index: 100;
    width: 100vw;
    display: none;
}

section.main #loghi img {
    height: 120px;
}

/* PRESENTAZIONE */

section.presentazione {
    background-color: #fff;
    height: auto;
}

section.presentazione .testo {
    font-family: 'Rubik-light';
    font-size: 1.2em;
    padding: 8rem;
    color: #000;
}

section.presentazione .testo .intestazione-testo {
    font-family: 'Rubik-light';
    margin-bottom: 2rem;
    color: #00b0da;
    font-size: 2.2em;
}

section.presentazione .intestazione-box {
    margin-bottom: 80px;
}

/* GALLERY POST */

section.gallery-post {
    background-color: #00b0da;
    height: auto;
    padding-top: 80px;
    padding-bottom: 80px;
}

section.gallery-post .intestazione-testo-gallery {
    font-family: 'Rubik-light';
    padding: 0 3rem 3rem;
    color: #fff;
    font-size: 3em;
    text-align: center;
}

section.gallery-post .intestazione-testo-gallery b {
    font-family: 'Rubik-medium';
    color: #fff;
}

.slide-gallery {
    padding: 4px;
    outline: none;
    overflow: hidden;
    border-radius: 12px;
    background-color: #00b0da;
}

.slide-gallery img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    display: block;
    border-radius: 12px;
}


section.presentazione .intestazione-box .pre {
    background-image: url('../images/test.jpg');
    height: 100%;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    margin-top: 40px;
    margin-bottom: 40px;
    min-height: 400px;
}




/* VIDEO */

section.video {
    background-color: #000;
    height: auto;
}

section.video .video {
    min-height: 70vh;
    position: relative;
}

section.video .bg {
    background-image: url('../images/video.jpg');
    background-size: cover;
    background-position: center center;
}

section.video .video-testo {
    color: #fff;
    font-family: 'Rubik';
    padding: 4%;
}

section.video .video-testo .titolo {
    color: #fff;
    font-family: 'Rubik-light';
    font-size: 2.4em;
    padding: 4%;
}

section.video .video-testo .testo {
    color: #fff;
    font-family: 'Rubik-light';
    font-size: 1.1em;
    padding: 4%;
}

section.video .video-testo a.youtube {
    color: #fff;
    background-color: red;
    margin-right: 4%;
    padding: 6px 8px;
    text-decoration: none;
    font-family: 'Rubik-light';
    border-radius: 5px;
}

section.video .pulsante {
	position: absolute;
	text-align: center;
	color: #fff;
	background-color: #00b0da;
	height: 38px;
	width: 80px;
	border-radius: 50px;
	top: calc(50% - 40px);
	left: calc(50% - 40px);
	font-size: 1.4em;
	transition: all .6s;
	-webkit-transition: all .6s;
	cursor: pointer;
	display: table;
	line-height: 70px;
	z-index: 1000;
}

section.video .pulsante:hover {
    background-color: #00b0da80
}

.pulsante a {
    color: #fff;
}

section.video .video .pulsante .play {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

section.video .video .pulsante:hover {
    background-color: rgb(9, 176, 198);
}


footer {
    margin-top: 10vh;
    min-height: 20vh;
    font-family: 'Rubik-light'
}

section.mappa {
    height: auto;
}

section.mappa #map {
    height: 100%;
    min-height: 600px;
    width: 90%;
    border: 1px solid #00b0da;
    margin: auto;
}

section.mappa .intestazione-testo {
    font-family: 'Rubik-light';
    margin: 2rem 2rem;
    color: #003875;
    font-size: 2em;
}


.marker {
    background-size: contain !important;
    background-position: center center;
    background-repeat: no-repeat;
}


.slide {
    padding: 60px;
}

.slide .titolo {
    color: #fff;
    font-size: 1.6em;
    margin-bottom: 30px;
    font-family: 'Rubik-medium';
    position: relative;
    padding-left: 30px;
    min-height: 60px;
}

.slide .titolo::before {
    position: absolute;
    width: 25px;
    height: 40px;
    background-color: #fff;
    left: 0;
    content: attr(data-content);
    color: #00b0da;
    font-size: .54em;
    line-height: 40px;
    padding-left: 4px;
}

.slide .testo {
    color: #fff;
    font-size: 1em;
    position: relative;
    font-family: 'Rubik-light';
}

.slide .testo::before {
    content: '';
    height: 2px;
    width: 100%;
    border-bottom: 2px #fff dotted;
    position: absolute;
    top: -20px;
}


section.slider {
    background-color: #00b0da;
    padding-top: 80px;
    height: auto
}

section.slider .intestazione-testo {
    font-family: 'Rubik-light';
    padding: 3rem 10rem;
    color: #fff;
    font-size: 3em;
}

section.slider .intestazione-testo b {
    font-family: 'Rubik-medium';
}


.slick-prev {
    position: absolute;
    bottom: 40%;
    left: 0;
    z-index: 1000;
    border: none;
    background-color: transparent;
    height: 60px;
    width: 60px;
    font-size: 1.5em;
    box-shadow: none;
    font-size: 0;
    background-image: url('../svg/prev.svg');
    background-repeat: no-repeat;
}

.slick-next {
    position: absolute;
    bottom: 40%;
    right: 0;
    z-index: 1000;
    border: none;
    background-color: transparent;
    height: 60px;
    width: 60px;
    font-size: 1.5em;
    box-shadow: none;
    font-size: 0;
    background-image: url('../svg/next.svg');
    background-repeat: no-repeat;

}


section.partecipa {
    background-color: #00b0da;
    padding-top: 80px;
    padding-bottom: 80px;
    height: auto;
    color: #fff;
    padding-right: 30px;
    padding-left: 30px;
}

.card-incontro .data {
    background-color: #fff;
    display: inline-block;
    color: #000;
    padding: 6px 4px;
    margin-bottom: 10px;
    font-size: .8em
}

.card-incontro .ora {
    background-color: #fff;
    display: inline-block;
    color: #000;
    padding: 6px 4px;
    margin-bottom: 10px;
    font-size: .8em
}

.card-incontro .luogo {
    background-color: #fff;
    display: inline-block;
    color: #000;
    padding: 6px 4px;
    margin-bottom: 10px;
    font-size: .8em
}

.card-incontro .titolo {
    color: #fff;
    font-size: 1.6em;
    line-height: 1.2em;
    margin-bottom: 10px;
    margin-top: 10px;
    font-weight: bold;
}

.card-incontro .descrizione {
    margin-bottom: 20px;
}

.card-incontro .pulsante {
    display: inline-block;
    border: 1px solid #fff;
    border-radius: 5px;
    padding: 4px 6px;
    margin-bottom: 40px;
    background-color: transparent;
    color: #fff;
    text-transform: uppercase;
    transition: all .6s;
}

.card-incontro .pulsante:hover {
    background-color: #fff;
    color: #00b0da;
}


.pulsante {
    display: inline-block;
    border: 1px solid #00b0da;
    color: #00b0da;
    border-radius: 5px;
    padding: 4px 10px;
    background-color: transparent;
    text-transform: uppercase;
    transition: all .6s;
    font-size: 1.1em;
    margin-right: 10px;
}

.pulsante:hover {
    background-color: #00b0da;
    color: #fff;
}

.modal-title {
    color: #00b0da;
    font-weight: 600;
}


.descrizione-modal {
    font-family: 'Rubik';
    font-size: .9em;
}

form {
    font-family: 'Rubik';
    font-size: .8em;
}

form a {
    color: #00b0da;
}

.form-control {
    font-size: 1.1em;
}

.form-control::placeholder {
    color: #bdc5cc;
}


footer img {
    width: 200px;
}

.conferma-partecipazione {
    height: 100vh;
    width: 100vw;
    background-color: #00b0da;
    color: #fff;
    display: table;
    font-family: 'Rubik';
}



.conferma-partecipazione-text {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    width: 100vw;
    color: #fff;
    font-family: 'Rubik'
}

footer img.big {
    width: 350px;
}


section.app {
    background-color: #00b0da;
    margin-top: 40px;
    height: 600px;

}

section.app .testo-app {
    background-color: #00b0da;
    margin-top: 20%;
    color: #fff;
    font-family: 'Rubik-light';
    font-size: 3.2em;
}

section.app .testo-app b {
    font-family: 'Rubik-medium';
}

section.app .pulsanti-app img {
    width: 180px;
    margin-top: 50px;
}

section.app .bg-app {
    min-height: 600px;
    background-image: url('../images/app.png');
    background-position: left bottom;
    background-size: contain;
    background-repeat: no-repeat;
}



section.contest {
    background-color: #00b0da;
    margin-top: 40px;
    height: 600px;
    background-image: url('../images/bg-contest.png');
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;

}

section.contest .testo-contest {
    margin-top: 10%;
    color: #fff;
    font-family: 'Rubik-light';
    font-size: 3.2em;
}

section.contest .testo-contest b {
    font-family: 'Rubik-medium';
}

section.contest .pulsanti-contest img {
    width: 180px;
    margin-top: 50px;
}

section.contest .bg-contest {
    min-height: 600px;
    background-image: url('../images/contest.png');
    background-position: left bottom;
    background-size: contain;
    background-repeat: no-repeat;
}



.contenuto-popup .intestazione {
    margin-bottom: 8px;
}

.contenuto-popup .titolo {
    font-size: 1.5em;
    color: #00b0da;
    font-family: 'Rubik-light';
    margin-bottom: 20px;
}

.contenuto-popup hr {
    border-bottom: 1px dotted #0000007b;
    width: 100%;
    margin-bottom: 20px;
    color: transparent;
}

.contenuto-popup .testo {
    font-size: 1em;
    color: #000;
    font-family: 'Rubik-light';
    line-height: 30px;
}

.contenuto-popup .testo a {
    color: #003875;
    text-decoration: none;


}

#background-video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 2;
    position: center center;
}


.overlay {
    position: fixed;
    background-color: #00b0da;
    height: 100vh;
    width: 100vw;
    display: table-cell;
    z-index: 10000;
    transition: all .6s;
}

.overlay .logo {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    height: 100vh;
    width: 100vw;
}

.overlay .logo img {
    width: 200px;
}

.nascondi {
    transform: translateY(-100vh);
}

.visualizza {
    transform: translateY(100vh);
}




/*animazione scroll*/

.contenitore-chevron {
    position: absolute;
    width: 24px;
    height: 24px;
    bottom: 100px;
    z-index: 100;
    left: calc(50% - 12px);

}


.chevron {
    position: absolute;
    width: 28px;
    height: 2px;
    opacity: 0;
    transform: scale3d(0.5, 0.5, 0.5);
    animation: move 3s ease-out infinite;
}

.chevron:first-child {
    animation: move 3s ease-out 1s infinite;
}

.chevron:nth-child(2) {
    animation: move 3s ease-out 2s infinite;
}

.chevron:before,
.chevron:after {
    content: ' ';
    position: absolute;
    top: 0;
    height: 100%;
    width: 51%;
    background: #fff;
}

.chevron:before {
    left: 0;
    transform: skew(0deg, 30deg);
}

.chevron:after {
    right: 0;
    width: 50%;
    transform: skew(0deg, -30deg);
}

@keyframes move {
    25% {
        opacity: 1;

    }

    33% {
        opacity: 1;
        transform: translateY(30px);
    }

    67% {
        opacity: 1;
        transform: translateY(40px);
    }

    100% {
        opacity: 0;
        transform: translateY(55px) scale3d(0.5, 0.5, 0.5);
    }
}

.text {
    display: block;
    margin-top: 75px;
    margin-left: -14px;
    font-family: "Helvetica Neue", "Helvetica", Arial, sans-serif;
    font-size: 10px;
    color: #fff;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: .25;
    animation: pulse 2s linear alternate infinite;
}

@keyframes pulse {
    to {
        opacity: 1;
    }
}




/* testo medio */

.testo-medio {
    font-size: .5em;
}



.video-link a {
    color:#fff;
    text-decoration:none;
    transition: all .6s;
}

.video-link a:hover {
    opacity:.6
}

