@font-face {
    font-family: 'Avenir Next Heavy';
    src: url('../fonts/AvenirNext-HeavyItalic-10.ttf') format('truetype');
}

:root {
    --main-blue: #233c7d;
    --light-grey: #e1e1e1;
    --dark-grey: #282828;
}

body {
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
    max-width: 100vw;
}

strong , b {
    font-family: 'Roboto', sans-serif;
}

header {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    scroll-behavior: smooth;
}
@media screen and (max-width: 2560px) {
    header {
        height: initial;
        width: initial;
        position: relative;
        overflow: hidden;
    }
}

.video_header {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video_header::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #00000080;
}

.video_header video {
    object-fit: cover;
    object-position: center;
    height: 100vh;
    width: 100vw;
}

section.footer {
    background-color: var(--main-blue);
    background-image: linear-gradient(45deg, #000, #000 , #000, var(--main-blue));
    color: var(--light-grey);
}

section.footer a {
    color: #fff;
}

section.footer .icon {
    height: 30px;
    width: auto;
} 

section.copyright {
    background-color: #000;
    color: var(--light-grey);
    font-size: 0.65em;
	letter-spacing: 1.5px;
}

section.copyright a {
    color: #fff;
}

section.copyright a:hover {
    color: var(--light-grey);
}

*:focus {
    box-shadow: none!important;
}

* {
    outline: none!important;
}

.navbar_side {
    display: none;
    z-index: 10;
}

.img_scroll {
    cursor: pointer;
    position: absolute;
    left: 50%;
    width: 75px;
    bottom: 15px;
    transform: translateX(-50%);
}

::-webkit-scrollbar {
	width: 5px
}
::-webkit-scrollbar-track {
	background: #fff
}
::-webkit-scrollbar-thumb {
	background: #000
}
::-webkit-scrollbar-thumb:hover {
	background: var(--main-blue)
}

@media (min-width: 992px) {
    .dotted-border-right {
        border-right: solid 1px var(--light-grey);
    }
    .navbar_side {
        display: block;
        position: fixed;
        left: 0;
        top: 0; 
        background-color: var(--dark-grey);
        height: 100vh;
        width: 100px;
    }

    .navbar_side .navbar_toggle {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        width: 50px;
    }
}

.drive-in-header {
    position: relative;
    width: 100%;
    height: 100%;
}

.drive-in-video {
    position: absolute;
    top: 212px;
    left: 505px;
    width: 907px;
    height: 418px;
    background: radial-gradient(#555, #444, #333, #222, #111, #000);
}

.drive-in-video-switch {
    position: absolute;
    left: 26.2%;
    width: 48%;
    height: 45%;
    top: 7%;
    overflow: hidden;
}

@media all and (max-width: 480px) { 
    .drive-in-video-switch {
        left: 0;
        width: 100%;
        height: 100%;
        top: 0;        
    }
}

/*.drive-in-video-switch.concerti {
    left: 505px;
    width: 915px;
}*/

.drive-in-video-switch:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: radial-gradient(#555, #444, #333, #222, #111, #000);
}

.drive-in-video-switch.turnOn:before {
    animation: turnOn 2s;
}

.drive-in-video-switch.itsOn:before {
    animation: hide 1.5s;
    transform: scale(2);
}

.drive-in-contents img {
    object-fit: cover;
    opacity: 0;
    transition: 1.5s all ease;
}

.drive-in-video-switch.itsOn .drive-in-contents img, .drive-in-video-switch.complete .drive-in-contents img {
    opacity: 1;
} 

.drive-in-video-switch.complete:before {
    opacity: 0;
}

section.buttons {
    position: relative;
}

.drive-in-buttons-container {
    position: absolute;
    bottom: 100%;
    left: 100px;
    width: calc(100% - 100px);
}

.drive-in-button {
    width: 100%;
    height: 100%;
}

.button-col {
    background: #333a;
}

@media all and (max-width: 1024px) {
    .button-col {
        background: #333;
        border-bottom: 1px solid #999;
    }
}

.navbar_side .fab {
    color: #fff;
    font-size: 2.5em;
}

@keyframes turnOn {
    0% {
        transform: scale(1);        
    }
    100% {
        transform: scale(2);
    }
}

@keyframes hide {
    0% {
        opacity: 1;        
    }
    100% {
        opacity: 0;
    }
}


/*WIP : Responsive*/
@media all and (max-width: 2560px) {
    .drive-in-video {
        top: 212px;
        left: 505px;
        width: 907px;
        height: 418px;
    }
}
@media all and (min-width: 481px) and (max-width: 1366px) {
    .drive-in-video,    
    .drive-in-video-switch.concerti {
        left: 26.2%;
        width: 48%;
        top: 9%;
        height: 43%;
    }
}
.vh-100 {
    height: 100vh;
}

.blue-bg {
    background: linear-gradient(to bottom left, #0b0c5b, #010103)
}

.blue-bg-eventi {
    position: relative;
    background: linear-gradient(to bottom left, #25408f, #000);
}

.app-section {
    height: 200px;
    background: linear-gradient(to bottom left, #692157, #ba3f3f)
}

.ciak {
    background: url(../../img/cinema/ciak.jpg);    
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.yellow-bg {
    background-color: #fcc314;
}

.yellow-bg p {
    color: #fff;
    font-size: 1.2em;
}

.main-text {
    font-family: 'Avenir Next Heavy', sans-serif;
    font-size: 3em;
    text-transform: uppercase;
    color: #fff;
    font-weight: bold;
}

.main-text.eventi {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    text-transform: initial;
}

.event-paragraph {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    color: #fff;
    font-size: 1.5em;
}

.yellow-text {
    color: #fcc314;
}

.pink-bg {
    background: linear-gradient(to bottom left, #872d70 , #f05153);
}

.simple-button {
    border: 2px solid #fff;
    background: transparent;
    text-transform: uppercase;
    font-size: 1.3em;
    color: #fff;
    padding: 6px 32px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.5s ease;
}

.simple-button:hover {
    border: 2px solid #ddd;
    background: #fff;
    color: #000;
}

.vote {
    height: 100px;
    width: 100px;
    border: 5px solid;
    position: relative;
    border-radius: 50%;
    color: #fff;
    font-size: 2em;
    transition: .5s all ease;
    cursor: pointer;
}

.vote > .value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.vote-0 {
    border-color: #fff;
}

.vote-25 {
    border-color: #fcc314;
}

.vote-50 {
    border-color: #25489c;
}

.vote-75 {
    border-color: #f05252;
}

.vote-100 {
    border-color: #8c2f6f;
}

.progress {
    background-color: #666;
}

.vote-0.voted, .vote-0 > .progress-bar {
    background-color: #fff;
    color: #000;
}

.vote-25.voted, .vote-25 > .progress-bar {
    background-color: #fcc314;
}

.vote-50.voted, .vote-50 > .progress-bar {
    background-color: #25489c;
}

.vote-75.voted, .vote-75 > .progress-bar {
    background-color: #f05252;
}

.vote-100.voted, .vote-100 > .progress-bar {
    background-color: #8c2f6f;
}

.voted:after {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    width: 50px;
    height: 50px;
    position: absolute;
    background-color: green;
    color: white;
    border-radius: 50%;
    font-weight: 900;
    top: -15px;
    right: -15px;
}

.progress-bar {
    position: relative;
}

.progress-bar .result {
    position: absolute;
    right: 0;
    top: 50%;
    font-size: 1em;
    z-index: 2;
    transform: translate(-50%, -50%);
}

.bg-purple {
    background: linear-gradient(to bottom left,#5868b166, #140c1966);
    position: relative;
}

h3 {
    color: #fff;
    text-transform: uppercase;
    font-size: 1.8em;
    letter-spacing: 2px;
}

.heavier {
    font-size: 1.6em !important;
}

label {
    color: #fff;
    cursor: pointer;
}

video, .img-form-background  {
    position: absolute;
    top: 50%;
    left: 50%;
    min-height: 100%;
    min-width: 100%;
    overflow: hidden;
    transform: translate(-50%, -50%);
}

.borders-left:before {
    content: '';
    width: 150px;
    height: 150px;
    border-top: 5px solid #fff;
    border-left: 5px solid #fff;
    background-color: transparent;
    position: absolute;
    top: 15px;
    left: 15px;
}

.borders-left:after {
    content: '';
    width: 150px;
    height: 150px;
    border-bottom: 5px solid #fff;
    border-left: 5px solid #fff;
    background-color: transparent;
    position: absolute;
    bottom: 15px;
    left: 15px;
}

.borders-right:before {
    content: '';
    width: 150px;
    height: 150px;
    border-top: 5px solid #fff;
    border-right: 5px solid #fff;
    background-color: transparent;
    position: absolute;
    top: 15px;
    right: 15px;
}

.borders-right:after {
    content: '';
    width: 150px;
    height: 150px;
    border-bottom: 5px solid #fff;
    border-right: 5px solid #fff;
    background-color: transparent;
    position: absolute;
    bottom: 15px;
    right: 15px;
}


@media all and (max-width: 1024px) {
    .drive-in-buttons-container {
        position: relative;
        left: 0;
        width: 100%;
    }
}

.box {
    height: 100%;
    width: 100%;
    background: radial-gradient(#aaa, #999, #777, #555, #333, #111);
}

.box::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 5px;
    background: #000;
}

.box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 100%;
    background: #000;
}

.circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    border: 5px solid #fff;
    border-radius: 50%;
    z-index: 1;
}

.circle.circle2 {
    width: 450px;
    height: 450px;
}

.niddle {
    position: absolute;
    top: calc(50% - 2px);
    left: 50%;
    height: 4px;
    width: 1200px;
    background: #000;
    animation: animate 0.8s linear infinite;
    transform-origin: left;
}

@keyframes animate {
    0% {
        transform: rotate(-90deg);
    }
    100% {
        transform: rotate(270deg);
    }
}

.number {
    position: absolute;
    width: 100%;
    height: 100%;
}

.number div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #000;
    font-size: 15em;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: animateNum 2.4s linear;
}

.number div:nth-child(1) {
    animation-delay: 0s;
}

.number div:nth-child(2) {
    animation-delay: 0.8s;
}

.number div:nth-child(3) {
    animation-delay: 1.6s;
}

@keyframes animateNum {
    0%,30% {
        opacity: 1;
    }
    30.01%,100% {
        opacity: 0;
    }
}

@media all and (max-width: 480px) {
    .circle {
        width: 65px;
        height: 65px;
    }

    .circle.circle2 {
        width: 80px;
        height: 80px;
    }

    .number div {
        font-size: 3em;
    }
}

@media all and (max-width: 768px) {
    .circle {
        width: 145px;
        height: 145px;
    }

    .circle.circle2 {
        width: 160px;
        height: 160px;
    }

    .number div {
        font-size: 6em;
    }
}

@media all and (max-width: 1024px) {
    .circle {
        width: 180px;
        height: 180px;
    }

    .circle.circle2 {
        width: 200px;
        height: 200px;
    }

    .number div {
        font-size: 8em;
    }
}

@media all and (max-width: 1366px) {
    .circle {
        width: 220px;
        height: 220px;
    }

    .circle.circle2 {
        width: 240px;
        height: 240px;
    }

    .number div {
        font-size: 10em;
    }
}

.event-header {
    position: relative;
}

.eventi-caption {
    position: absolute;
    top: 25%;
    width: 100%;
    left: 0;
    transform: translateY(-50%);
    background: #333a;
    font-size: 5em;
    color: #fff;
    text-align: center;
    padding: 0.5em 0;
}

.eventi-caption > img {
    max-height: 200px;
}

.eventi-header > img {
    object-fit: cover;
}

.eventi-header iframe {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
}

.btn-eventi {
    background: #ffc300;
    color: #fff;
    text-transform: uppercase;
    width: 100%;
    font-size: 2em;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    border-radius: 0;
    white-space: normal;
    height: 3em;
    word-break: break-word;
    position: relative;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.btn-eventi > .btn-text {
    position: absolute;
    width: 100%;
    text-align: center;
    top: 50%;
    left: 0;
    padding: 0 1em;
    transform: translateY(-50%);
}

.btn-eventi:hover, .btn-eventi:focus, .btn-eventi:active, .btn-eventi:visited {
    color: #fff !important;
}

.event-section:nth-child(odd) {
    background:#fff;
}

.event-section:nth-child(even) {
    background: linear-gradient(to left, #e1e4e9, #fff);
}
/* 
.event-section {
    min-height: 100vh;
} */

.main-text.black {
    color: #000;
}

.event-section-undertitle {
    font-size: 1.5em;
}

.mini-section-title {
    background-color: #822f6d;
    color: #fff;
    text-transform: uppercase;
    width: 100%;
    padding: 20px 10px;
    font-size: 1.3em;
    text-align: center;
}

.white {
    color: #fff !important;
}

.img-form-background-eventi {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.section-paragraph {
    font-size: 1.2em;
    /* text-align: justify; */
}

.greca {
    width: 250px;
    height: 45px;
    margin-bottom: 20px;
}

.relative {
    position: relative;
}

.position-greca:after {
    content: '';
    background: url("../../img/eventi/grecaP.png");    
    position: absolute;
    width: 45px;
    height: 250px;
    top: .5rem;
    background-size: cover;
    background-repeat: no-repeat;
    right: -65px;
}

.purple {
    color: #822f6d;
}

.videoFrame {
    cursor: pointer;
}

@media all and (max-width: 480px) {
    .eventi-header iframe {
        width: 100%;
        height: 300px;
    }
}

@media all and (max-width: 768px) {
    .eventi-header iframe {
        width: 100%;
        height: 450px;
    }

    .eventi-caption {
        position: absolute;
        top: 0;
        width: 100%;
        transform: none;
        left: 0;
        background: #333a;
        color: #fff;
        text-align: center;
        padding: 0.5em 0;
    }
}