@font-face {
  font-family: avvento2024;
  src: url("/external_cms/MYLOTTERIESPLAY/img/promo/calendario/calendario-avvento-25/avvento-25/avvento-2024-font.otf");
}

.container-xmas {
  z-index: 0;
  overflow: hidden;
  border-radius: 25px;
  position: relative;
}

.bg-neve-desk {
  width: 100%;
  height: auto;
  overflow: hidden;
}

.bg-neve-mobile {
  display: none;
}

.scopri-image {
  cursor: pointer;
  border-radius: 15px;
  width: 172px;
  height: auto;
}

.title-calendar {
  margin-bottom: 20px;
  line-height: 40px;
  text-align: center;
  color: #ffffff;
  font-size: 40px !important;
  padding-top: 24px;
  font-family: avvento2024 !important;
}

.spacer-grid {
  height: 125px;
}

.tickets-grid {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  grid-template-columns: auto auto auto;
  column-gap: 30px;
  row-gap: 12px;
  justify-content: center;
  padding-bottom: 20px;
  width: 80%;
}

/* ultima card nella colonna centrale */
.jolly {
  grid-column: 2;
}

.xmas-wide {
  grid-column: span 3;
}

.ticket {
  border-radius: 15px;
  width: 175px;
  height: auto;
}

.ticket-close {
  border-radius: 15px;
  width: 175px;
  height: auto;
}

.ticket-link {
  z-index: 5;
}

@media screen and (max-width: 1300px) {
  .tickets-grid {
    transform: translate(-50%, -45%);
  }
}

@media screen and (max-width: 1200px) {
  .tickets-grid {
    transform: translate(-50%, -40%);
  }
}

@media screen and (max-width: 1023px) {
  .tickets-grid {
    transform: translate(-50%, -50%);
  }
}

@media screen and (max-width: 950px) {
  .tickets-grid {
    transform: translate(-50%, -45%);
  }
}

@media screen and (max-width: 850px) {
  .tickets-grid {
    transform: translate(-50%, -40%);
  }
}

@media screen and (max-width: 750px) {
  .container-xmas {
    margin: 0 -15px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .bg-neve-desk {
    display: none;
  }

  .bg-neve-mobile {
    display: inline-block;
    width: 80%;
    height: auto;
    overflow: hidden;
  }

  .tickets-grid {
    grid-template-columns: auto auto;
    justify-items: center;
    gap: 10px;
    transform: translate(-50%, -45%);
    padding: 0 20px;
  }

  .tickets-grid a {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .ticket {
    width: 100%;
  }

  .tickets-grid a .ticket {
    width: 100%;
  }

  /* ultima card al centro delle 2 colonne */
  .jolly {
    grid-column: 1 / span 2;
    justify-self: center;
    width: 50%;
  }
}

@media screen and (max-width: 550px) {
  .tickets-grid {
    transform: translate(-50%, -50%);
  }
}

@media screen and (max-width: 450px) {
  .container-xmas {
    margin: 0;
  }
}

@media screen and (max-width: 375px) {
  .tickets-grid {
    grid-template-columns: 1fr 1fr;
    justify-items: center;
  }

  .jolly {
    justify-self: center;
  }
}

.snow {
  z-index: -1;
  position: absolute;
  top: -600px;
  left: 0;
  bottom: 200px;
  right: 0;
  background-image: radial-gradient(4px 4px at 556px 13px,
      white 50%,
      rgba(0, 0, 0, 0)),
    radial-gradient(5px 5px at 384px 461px,
      rgba(255, 255, 255, 0.7) 50%,
      rgba(0, 0, 0, 0)),
    radial-gradient(6px 6px at 323px 348px,
      rgba(255, 255, 255, 0.6) 50%,
      rgba(0, 0, 0, 0)),
    radial-gradient(4px 4px at 357px 522px,
      rgba(255, 255, 255, 0.8) 50%,
      rgba(0, 0, 0, 0)),
    radial-gradient(3px 3px at 571px 141px,
      rgba(255, 255, 255, 0.6) 50%,
      rgba(0, 0, 0, 0)),
    radial-gradient(3px 3px at 61px 458px,
      rgba(255, 255, 255, 0.9) 50%,
      rgba(0, 0, 0, 0)),
    radial-gradient(3px 3px at 396px 54px,
      rgba(255, 255, 255, 0.9) 50%,
      rgba(0, 0, 0, 0)),
    radial-gradient(6px 6px at 72px 409px,
      rgba(255, 255, 255, 0.8) 50%,
      rgba(0, 0, 0, 0)),
    radial-gradient(6px 6px at 220px 527px, white 50%, rgba(0, 0, 0, 0)),
    radial-gradient(4px 4px at 45px 567px, white 50%, rgba(0, 0, 0, 0)),
    radial-gradient(4px 4px at 327px 122px,
      rgba(255, 255, 255, 0.8) 50%,
      rgba(0, 0, 0, 0)),
    radial-gradient(3px 3px at 231px 509px,
      rgba(255, 255, 255, 0.8) 50%,
      rgba(0, 0, 0, 0)),
    radial-gradient(4px 4px at 305px 360px,
      rgba(255, 255, 255, 0.8) 50%,
      rgba(0, 0, 0, 0)),
    radial-gradient(4px 4px at 39px 325px,
      rgba(255, 255, 255, 0.9) 50%,
      rgba(0, 0, 0, 0)),
    radial-gradient(6px 6px at 110px 496px,
      rgba(255, 255, 255, 0.8) 50%,
      rgba(0, 0, 0, 0)),
    radial-gradient(4px 4px at 454px 59px,
      rgba(255, 255, 255, 0.8) 50%,
      rgba(0, 0, 0, 0)),
    radial-gradient(3px 3px at 60px 489px,
      rgba(255, 255, 255, 0.6) 50%,
      rgba(0, 0, 0, 0)),
    radial-gradient(6px 6px at 146px 553px,
      rgba(255, 255, 255, 0.9) 50%,
      rgba(0, 0, 0, 0)),
    radial-gradient(6px 6px at 20px 129px,
      rgba(255, 255, 255, 0.8) 50%,
      rgba(0, 0, 0, 0)),
    radial-gradient(5px 5px at 298px 342px,
      rgba(255, 255, 255, 0.7) 50%,
      rgba(0, 0, 0, 0)),
    radial-gradient(6px 6px at 99px 469px,
      rgba(255, 255, 255, 0.8) 50%,
      rgba(0, 0, 0, 0)),
    radial-gradient(4px 4px at 255px 266px,
      rgba(255, 255, 255, 0.8) 50%,
      rgba(0, 0, 0, 0)),
    radial-gradient(5px 5px at 345px 512px,
      rgba(255, 255, 255, 0.8) 50%,
      rgba(0, 0, 0, 0)),
    radial-gradient(4px 4px at 128px 185px,
      rgba(255, 255, 255, 0.9) 50%,
      rgba(0, 0, 0, 0)),
    radial-gradient(6px 6px at 302px 199px, white 50%, rgba(0, 0, 0, 0)),
    radial-gradient(3px 3px at 86px 370px, white 50%, rgba(0, 0, 0, 0)),
    radial-gradient(5px 5px at 246px 393px, white 50%, rgba(0, 0, 0, 0)),
    radial-gradient(3px 3px at 395px 247px,
      rgba(255, 255, 255, 0.9) 50%,
      rgba(0, 0, 0, 0)),
    radial-gradient(4px 4px at 107px 145px, white 50%, rgba(0, 0, 0, 0));
  background-size: 600px 600px;
  animation: snow 23s linear infinite;
  content: "";
}

@keyframes snow {
  to {
    transform: translateY(600px);
  }
}

.current-day-card {
  position: relative;
}