@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;700&display=swap");
.advent__landing {
  font-family: Montserrat;
  box-sizing: border-box;
  min-height: 100vh;
  min-height: calc(100vh - var(--promoComplementaryAvailableHeight, 0px));
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-repeat: no-repeat;
  background-position: top center;
  background-size: contain;
  background-image: var(--avvento-landing-background-mobile);
  padding-top: 30%;
  padding-bottom: 5%;
  background-color: #172741;
}
@media screen and (min-width: 1000px) {
  .advent__landing {
    padding-top: 26vh;
    padding-bottom: 1%;
    background-size: cover;
    background-image: var(--avvento-landing-background-desktop);
  }
}
@media screen and (min-width: 1366px) {
  .advent__landing {
    padding-top: 25vh;
    padding-bottom: 1%;
  }
}
@media screen and (min-width: 1920px) {
  .advent__landing {
    padding-top: 25vh;
    padding-bottom: 1%;
  }
}
.advent__title {
  display: flex;
  justify-content: center;
  margin-bottom: 5%;
}
@media screen and (min-width: 1000px) {
  .advent__title {
    margin-bottom: 0;
  }
}
@media screen and (min-width: 1366px) {
  .advent__title {
    margin-bottom: 1%;
  }
}
@media screen and (min-width: 1920px) {
  .advent__title {
    margin-bottom: 0;
  }
}
.advent__title .advent__title__img {
  width: 70%;
  height: auto;
}
.advent__title .advent__title__img--desktop {
  display: none;
}
@media screen and (min-width: 1000px) {
  .advent__title .advent__title__img {
    width: 40%;
  }
  .advent__title .advent__title__img--mobile {
    display: none;
  }
  .advent__title .advent__title__img--desktop {
    display: block;
  }
}
@media screen and (min-width: 1366px) {
  .advent__title .advent__title__img {
    width: 36%;
  }
}
@media screen and (min-width: 1920px) {
  .advent__title .advent__title__img {
    width: 70%;
  }
}
.advent__content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 16px;
  max-width: 70%;
  margin: 0 auto;
}
.advent__content > * {
  min-width: 0;
  min-height: 0;
}
@media screen and (min-width: 1000px) {
  .advent__content {
    max-width: 70%;
    grid-template-columns: repeat(6, 1fr);
  }
}
@media screen and (min-width: 1366px) {
  .advent__content {
    max-width: 56%;
  }
}
@media screen and (min-width: 1920px) {
  .advent__content {
    max-width: 60%;
  }
}
.advent__window__img {
  -webkit-tap-highlight-color: transparent;
  display: block;
  min-width: 0;
  width: 100%;
  height: auto;
}
.advent__window__img--future {
  cursor: not-allowed;
}
.advent__window__img--present {
  cursor: pointer;
  -webkit-animation: pulse-animation 1.5s ease-in-out infinite both;
  animation: pulse-animation 1.5s ease-in-out infinite both;
}
.advent__window__img--past {
  cursor: pointer;
  filter: brightness(0.3) grayscale(1);
}
.advent__termsAndConditions__button {
  -webkit-tap-highlight-color: transparent;
  margin-top: 12px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
}

.externalModal {
  font-family: Montserrat;
  position: fixed;
  width: 100vw;
  height: 100vh;
  z-index: 99999999999;
  overflow: auto;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media screen and (min-width: 1000px) {
  .externalModal {
    top: 0;
    bottom: unset;
    left: 0;
  }
}
.externalModal__backdrop {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}
.externalModal__content {
  --max-height: 90%;
  z-index: 2;
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: min(468px, 100% - 20px);
  height: max-content;
  max-height: var(--max-height);
}
@media screen and (min-width: 1000px) {
  .externalModal__content {
    --max-height: 90%;
    width: 468px;
    max-width: 468px;
  }
}
@media screen and (min-width: 1366px) {
  .externalModal__content {
    width: 576px;
    max-width: 576px;
  }
}
@media screen and (min-width: 1920px) {
  .externalModal__content {
    width: 768px;
    max-width: 768px;
  }
}
.externalModal__header {
  position: relative;
  flex: 0 0 auto;
}
.externalModal__header__img {
  display: block;
  width: 100%;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}
.externalModal__header__img--past {
  filter: grayscale(0.5) brightness(0.4);
}
.externalModal__header__closeButton {
  background: #e61a4e;
  position: absolute;
  border-radius: 999px;
  top: 10px;
  right: 10px;
  cursor: pointer;
}
.externalModal__header__closeButton__icon {
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.externalModal__header__closeButton__icon::after {
  padding: 6px;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: #fff;
  -webkit-mask-origin: content-box;
  mask-origin: content-box;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='16' width='12' viewBox='0 0 384 512'%3E%3Cpath d='M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='16' width='12' viewBox='0 0 384 512'%3E%3Cpath d='M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z'/%3E%3C/svg%3E");
}
.externalModal__body {
  --padding: 16px 16px 24px 16px;
  flex: 1 1 auto;
  overflow: auto;
  min-height: 0;
  padding: var(--padding);
  border-radius: 0 0 12px 12px;
  background: #fff;
  display: flex;
  flex-direction: column;
}
@media screen and (min-width: 1000px) {
  .externalModal__body {
    --padding: 24px;
  }
}
.externalModal__body__content {
  --spacing: 6px;
  min-height: 0;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.externalModal__body__content > *:not(:last-child) {
  margin-bottom: var(--spacing);
}
.externalModal__body__content__top {
  display: grid;
  grid-gap: var(--spacing);
  grid-template-areas: "externalModal__body__title externalModal__body__controls";
  flex: 0 0 auto;
}
.externalModal__body__content__top > * {
  min-width: 0;
  min-height: 0;
}
.externalModal__body__title {
  grid-area: externalModal__body__title;
}
.externalModal__body__text {
  flex: 1 1 auto;
  overflow: auto;
  min-height: 0;
}
.externalModal__body__controls {
  grid-area: externalModal__body__controls;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 12px;
}
.externalModal__body__control {
  width: max-content;
  min-width: 8ch;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: bold;
}
.externalModal__spacer {
  flex: 0 0 auto;
  margin: 12px 0 !important;
}
.externalModal__spacer::after {
  content: "";
  display: block;
  width: 100%;
  background-color: #ccc;
  height: 1px;
}
.externalModal h1,
.externalModal h2,
.externalModal h3,
.externalModal h4,
.externalModal h5,
.externalModal h6 {
  margin: 0 0 6px 0;
}
.externalModal p {
  margin: 0;
}
.externalModal ul {
  padding-left: 1.5em;
}
.externalModal table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}
.externalModal table td,
.externalModal table th {
  border: 1px solid #000;
  padding: 8px;
}

/* animazioni */
@-webkit-keyframes pulse-animation {
  from {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transform-origin: center center;
    transform-origin: center center;
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
  10% {
    -webkit-transform: scale(0.91);
    transform: scale(0.91);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
  17% {
    -webkit-transform: scale(0.98);
    transform: scale(0.98);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
  33% {
    -webkit-transform: scale(0.87);
    transform: scale(0.87);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
  45% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
}
@keyframes pulse-animation {
  from {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transform-origin: center center;
    transform-origin: center center;
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
  10% {
    -webkit-transform: scale(0.91);
    transform: scale(0.91);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
  17% {
    -webkit-transform: scale(0.98);
    transform: scale(0.98);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
  33% {
    -webkit-transform: scale(0.87);
    transform: scale(0.87);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
  45% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
}
/* animazioni */
advent__landing {
  background-attachment: fixed;
  background-size: cover;
}

.advent__content {
  max-width: calc(100% - 60px);
}

.advent__landing {
  background-attachment: fixed !important;
  background-size: cover !important;
}

.advent__landing * {
  z-index: 1;
}

.skin-blur {
  content: "";
  display: block;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  background-image: var(--avvento-landing-background-mobile);
}

@media screen and (min-width: 1000px) {
  .skin-blur {
    padding-top: 26vh;
    padding-bottom: 1%;
    background-size: cover;
    background-image: var(--avvento-landing-background-desktop);
  }
}
