* {
  padding: 0;
  margin: 0;
  font-family: "Playfair Display", serif;
}

html,
body {
    height: 100vh;
    overflow: hidden !important;
}

#background {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
}

#press {
  position: absolute;
  top: 150px;
  width: 100%;
  left: 0;
  text-align: center;
}

#press h1 {
  font-size: 80px;
  color: #ff5e00;
  width: 1400px;
  margin: auto;
  letter-spacing: 4px;
}

.maschera {
  position: relative;
  margin: auto;
  width: 1000px;
  height: 2000px;
  overflow-x: hidden;
  overflow-y: hidden;
  padding: 50px;
  background-size: cover;
  position: absolute;
  top: 51%;
  left: 28%;
  transform: translate(-50%, -50%);
}

#vincitori {
    margin-left: 1107px;
    z-index: 9999;
    position: absolute;
    font-size: 32px;
    width: 880px;
    top: 0px;
    padding: 35px 0px;
    background-color: rgba(0, 0, 0, 0.315);
}

#blocco-attesa {
    position: absolute;
    top: 39%;
    left: 12%;
}

@media (min-width: 1250px) and (max-width: 1800px) {
  html,
  body {
    overflow: hidden !important;
  }
  .maschera {
    margin-top: 140px;
  }

  .list li {
    padding: 45px 0px !important;
    width: 450px !important;
  }

  .list li img {
    width: 360px !important;
    height: 360px !important;
  }
}

@media (min-width: 850px) and (max-width: 1249px) {
  .list li {
    padding: 45px 0px !important;
    width: 450px !important;
  }

  .list li img {
    width: 350px !important;
    height: 350px !important;
  }
}

#bg-maschera {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  position: absolute;
  z-index: 6;
}

.contenitore {
  overflow: hidden;
  position: relative;
  top: 0px;
  height: 100000px;
}

/*li {
  list-style: none;
  display: inline-block;
  float: left;
}

.list {
  position: relative;
  margin-left: 0;
  display: inline-block;
}

.list li {
  padding: 60px 0px;
  width: 550px;
}
*/

.list li img {
  width: 440px;
  /* height: 400px; */
}

#esito {
  display: none;
  font-size: 30px;
  text-align: center;
  padding-top: 20px;
}

@-webkit-keyframes scroll-horizontal {
  0% {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
  }

  50% {
    -webkit-transform: translateX(-40%);
    transform: translateX(-40%);
  }

  100% {
    -webkit-transform: translateX(-80%);
    transform: translateX(-80%);
  }
}

@-moz-keyframes scroll-horizontal {
  0% {
    -moz-transform: translateX(0%);
    transform: translateX(0%);
  }

  50% {
    -moz-transform: translateX(-40%);
    transform: translateX(-40%);
  }

  100% {
    -moz-transform: translateX(-80%);
    transform: translateX(-80%);
  }
}

@keyframes scroll-horizontal {
  0% {
    transform: translateX(0%);
  }

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

  100% {
    transform: translateX(-80%);
  }
}

.scroll-horizontal {
  -webkit-animation-name: scroll-horizontal;
  animation-name: scroll-horizontal;
  animation-timing-function: linear;
}

.ultra-slower {
  animation-duration: 600s;
}

#premio-box {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
}

#premio-box > div {
  position: fixed;
  max-width: 100%;
  max-height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#premio-box img {
  max-width: 600px;
  width: 100%;
}

@-webkit-keyframes scroll-vertical {
  0% {
    -webkit-transform: translateY(0%);
    transform: translateY(0%);
  }


  100% {
    -webkit-transform: translateY(-80%);
    transform: translateY(-80%);
  }
}

@-moz-keyframes scroll-vertical {
  0% {
    -moz-transform: translateY(0%);
    transform: translateY(0%);
  }


  100% {
    -moz-transform: translateY(-80%);
    transform: translateY(-80%);
  }
}

@keyframes scroll-vertical {
  0% {
    transform: translateY(0%);
  }

  100% {
    transform: translateY(-80%);
  }
}

.scroll-vertical {
  -webkit-animation-name: scroll-vertical;
  animation-name: scroll-vertical;
  animation-timing-function: linear;
}
