@font-face {
    font-family: 'Mono'; /*a name to be used later*/
    src: url('GeneralGrotesqueMonoTest-Heavy.otf'); /*URL to font*/
}

*{ 
    font-family: Mono;
}

#resetButton{
    position: fixed;
    top: 0;
    left: 0;z-index: 20;

}

body{
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

#loader{
    width: 100vw;
    height: 100vh;
    background-color: black;
    margin: 0;
    padding: 0;
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.marchio{
    width: 25%;
    height: auto; 
    margin-top: -150px; 
    margin-bottom: 50px;
}

.spinner, .spinner:before, .spinner:after {
    border-radius: 50%;
    width: 2.5em;
    height: 2.5em;
    animation-fill-mode: both;
    animation: bblFadInOut 1.8s infinite ease-in-out;
  }
  .spinner {
    color: white;
    font-size: 7px;
    position: relative;
    text-indent: -9999em;
    transform: translateZ(0);
    animation-delay: -0.16s;
  }
  .spinner:before,
  .spinner:after {
    content: '';
    position: absolute;
    top: 0;
  }
  .spinner:before {
    left: -3.5em;
    animation-delay: -0.32s;
  }
  .spinner:after {
    left: 3.5em;
  }
  
  @keyframes bblFadInOut {
    0%, 80%, 100% { box-shadow: 0 2.5em 0 -1.3em }
    40% { box-shadow: 0 2.5em 0 0 }
  }

#welcome{
    width: 100vw;
    position: absolute;
    top: -75px;
    z-index: -100;
    display: block;
}
      
.bg{
    position: fixed;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    z-index: 5;
}


@keyframes slide {
    0% {
      transform:translateX(-200%);
    }

    50%{
        transform: translateX(-350%);
    }

    100%{
        transform: translateX(0px);
    }
  }

  @keyframes slide2 {
    0% {
      transform:translateX(200%);
    }

    50%{
        transform: translateX(350%);
    }

    100%{
        transform: translateX(0px);
    }
  }

#welcomeBar{
    background-color: #000;
    width: 100vw;
    height: 150px;
    position: fixed;
    bottom: 0px;
    display: block;
    z-index: -20;
}

.marchio2{
    position: relative;
    width: 300px;
    height: auto;
    z-index: 20;
}

.marchio2intro{
    position: fixed;
    right: 100px;
    bottom: 50px;
    width: 150px;
    height: auto;
}

.timer{
    position: relative;
    height: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 0;
    margin-top: -100px;
}

.box{
    width: 100%;
    height: auto;
    border-radius: 30px;
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 3%;
    padding-bottom: 4%;
}

#timer{
    color: white;
    position: relative;
    font-size: 400px;
    text-align: center;
    display: inline;
    margin: -2px 0;
}

.intro{
    font-size: 50px !important;
    position: fixed !important;
    left: 100px !important;
    bottom: 50px !important;

}

.timerBlink{
    animation: blink 0.9s infinite;
}

@keyframes blink {
    0% {
        -webkit-text-fill-color: white
    }

    100%{
        -webkit-text-fill-color: red
    }
  }

#bgVideo{
    width: 130vw;
    height: 130vh;
    z-index: -10;
    position: fixed;
    opacity: 0.6;
    display: none;
}

@media only screen and (max-width: 1800px){

    #timer{
        font-size: 350px;
    }  
}

@media only screen and (max-width: 1600px){

    #timer{
        font-size: 300px;
    }  
}

@media only screen and (max-width: 1400px){

    #timer{
        font-size: 250px;
    }  
}

@media only screen and (max-width: 1100px){

    .marchio2{
        width: 150px;
    }

    #timer{
        font-size: 200px;
    }

    .marchio{
        width: 45%;
    }
    
}

@media only screen and (max-width: 900px){
    #timer{
        font-size: 150px;
    }
}

@media only screen and (max-width: 650px){
    #timer{
        font-size: 100px;
    }
    .marchio2{
        width: 200px;
    }

    .blu{
        right: -95%;
    }

    .verde{
        right: -70%;
    }

    .marchio2intro{
        bottom: 100px;
        left: 50%;
        transform: translateX(-50%);
    }

    .intro{
        bottom: 200px!important;
        left: 50%!important;
        transform: translateX(-50%)!important;
    }
}

@media only screen and (max-width: 450px){
    #timer{
        font-size: 60px;
    }

    .marchio2{
        width: 200px;
        margin-top: 50px;
    }

}