#calendar {
    background: linear-gradient(90deg,rgba(7, 57, 85, 1) 0%, rgba(21, 113, 153, 1) 50%, rgba(7, 57, 85, 1) 100%);
}

#snowballs {
    display: flex;
    flex-direction: column;
    align-items: center;
    
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.snowballs-img-1,
.snowballs-img-2,
.snowballs-img-3 {
    position: absolute;
    height: 149%;
    width: 100%;
    
    overflow: hidden;
    background-image: url('/img/promociones/calendario_de_regalos/backgroundnieve-small.webp');
    background-repeat: repeat;
    animation: scroll-vertical-1 25s linear infinite;
    background-position-x: center;
    zoom: 3;
    
    mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
}

.snowballs-img-2 {
    transform: rotate(180deg);
    animation: scroll-vertical-2 30s linear infinite;
    zoom: 2;
}

.snowballs-img-3 {
    transform: rotate(90deg);
    animation: scroll-vertical-3 75s linear infinite;
    zoom: 1.75;
}

@keyframes scroll-vertical-1 {
    from {
        background-position-y: 0px;
        /*background-position-x: 0px;*/
    }
    to {
        background-position-y: 233px;
        /*background-position-x: 350px;*/
    }
}

@keyframes scroll-vertical-2 {
    from {
        background-position-y: 0px;
    }
    to {
        background-position-y: -233px;
    }
}

@keyframes scroll-vertical-3 {
    from {
        background-position-x: 0px;
    }
    to {
        background-position-x: 350px;
    }
}

#calendar-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

#calendar-content h1 {
    width: 160px;
    margin-top: 35px;
    margin-bottom: 25px;
    color: #ffffff;
    font-family: var(--berlin-regular);
    text-shadow: 1px 2px 0px #000000;
    font-size: 35px;
    text-transform: none;
    font-weight: normal;
    line-height: 28px;
}

#calendar-content h3 {
    color: #ffffff;
    font-family: var(--berlin-demibold);
}

#calendar-content h4 {
    font-size: 18px;
}

.ball-disabled {
    position: relative;
    filter: opacity(30%);
}

.button-disabled {
    pointer-events: none;
    filter: opacity(30%);
}

.ball-disabled-locked {
    content: "";
    position: absolute;
    z-index: 5;
    top: 28%;
    left: 40%;
    opacity: 0.7;
    
    width: 41px;
    height: 54px;
    background-image: url('/img/promociones/calendario_de_regalos/candado.webp');
    background-size: contain;
    background-repeat: no-repeat;
}

.big-ball-c {
    padding-top: 23px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.big-ball-img {
    filter: drop-shadow(0px 10px 10px #00000080);
}

.clickable-img {
    cursor: pointer;
}

.big-ball-date {
    margin-bottom: 30px;
}

.fade-out {
  animation: fadeOut 0.5s forwards;
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.fade-in {
  opacity: 0;
  animation: fadeIn 0.5s forwards;
  filter: drop-shadow(0px 0px 15px #ffffff80);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.swiper {
  width: 70vw;
}

.swiper-wrapper {
  display: flex;
}

.swiper-slide {
  width: 360px;
}

.pagination-buttons-c {
    position: absolute;
    top: 250px;
    left: 50.25%;
    transform: translate(-50%, -50%);
    z-index: 5;
}

.swiper-button-prev {
  background-image: url("/img/promociones/calendario_de_regalos/arrow-prev.svg");
  background-repeat: no-repeat;
  background-size: cover;
  left: -165px;
}

.swiper-button-next {
  background-image: url("/img/promociones/calendario_de_regalos/arrow-next.svg");
  background-repeat: no-repeat;
  background-size: cover;
  right: -165px;
}

.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  height: 40px;
  width: 40px;
  background-color: var(--secondary-color);
  border-radius: 50px;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    display: none;
}


.discover-prize-button {
    width: 178px;
    padding: 9px;
    background: var(--secondary-color) 0% 0% no-repeat padding-box;
    box-shadow: 0px 0px 15px var(--secondary-color);
    border-radius: 32px;
    
    text-align: center;
    line-height: 20px;
    font-family: var(--berlin-demibold);
    font-size: 14px;
    color: var(--dark-main-color);
}

.discover-prize-button:hover {
    cursor: pointer;
}

#premio {
    font-size: 24px;
}

.how-to-c {
    margin: 30px 0px;
    text-align: center;
}

.steps-c {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    gap: 22px;
    margin-top: 45px;
}

.how-to-step {
    width: 310px;
    height: 118px;
    padding: 10px;
    position: relative;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    
    color: #ffffff;
    background-color: var(--dark-main-color);
    border-radius: 5px;
    text-align: center;
}

.how-to-step p {
    width: 160px;
    margin: 0;
    margin-top: 5px;
    
    font-size: 14px;
    line-height: normal;
}

.how-to-step h4 {
    width: 140px;
    margin-top: 5px;
}

#oh-im-so-special h4 {
    width: 190px;
}

.how-to-step::before {
    content: "";
    position: absolute;
    top: -23px;
    
    background-image: url('/img/promociones/calendario_de_regalos/lazo-sin-hilo.webp');
    background-size: contain;
    background-repeat: no-repeat;
    width: 46px;
    height: 44px;
}

.step1::before {
    left: 0;
    transform: rotate(346deg);
}

.step3::before {
    right: 0;
    transform: rotate(10deg);
}

.terms-and-conditions-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 910px;
    padding: 0 10px;
    box-sizing: border-box;
}

.term-and-condition-item {
    display: flex;
    flex-direction: column;
    transition: 0.5s all;
    gap: 15px;
}

.term-and-condition-item > .title {
    position: relative;
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
    border-radius: 5px;
    background-color: #08405E;
    color: #ffffff;
    box-shadow: 0px 3px 6px #00000080;
    font-family: var(--berlin-demibold);
    font-size: 16px;
    cursor: pointer;
}

.term-and-condition-item > .title::before {
    content: ' ';
    position: absolute;
    right: 30px;
    top: calc(50% - 9px);
    width: 10px;
    height: 18px;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(/img/layout/icons/SIGUIENTE.svg);
    transform: rotate(90deg);
    transition: 0.5s all;
}

.text-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    padding: 0 15px;
    transition: 0.5s all;
}

.text-container .container {
    display: flex;
    flex-direction: column;
    justify-content: start;
    width: 100%;
    color: #ffffff;
}

.container .title {
    font-size: 14px;
    font-family: var(--berlin-demibold);
    margin: 0;
    padding: 0;
}

.container .text {
    font-size: 14px;
    font-family: var(--roboto-regular);
}



.general-conditions-link {
    margin: 25px 0px;
    color: var(--dark-main-color);
    font-family: var(--berlin-regular);
    font-size: 16px;
    text-align: center;
}

@media (min-width: 480px) {
    .swiper-button-prev {
      left: -175px;
    }
    
    .swiper-button-next {
      right: -175px;
    }
    
    .snowballs-img-1, .snowballs-img-2 {
        height: 130%;
    }

    .how-to-step {
        width: 196px;
    }
    
    .how-to-step p {
        margin-top: 8px;
    }
    
    .ball-disabled-locked {
        left: 45%;
    }
}

@media (min-width: 632px) { 
    .snowballs-img-1, .snowballs-img-2 {
        height: 111%;
    }
}

@media (min-width: 768px) {
    .big-ball-img {
        width: 243px;
    }
    
    .ball-disabled-locked {
        left: 39%;
    }
    
    .swiper {
        width: 100vw;
    }
    
    .snowballs-img-1, .snowballs-img-2 {
        height: 106%;
    }
}

@media (min-width: 1024px) {
    .big-ball-img {
        width: 243px;
        height: 267px;
    }
    
    .ball-disabled-locked {
        left: 42%;
    }
    
    .swiper {
        width: 1024px;
        
        -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
      );
      
      mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
      );
      
      padding: 20px;
    }
    
    .pagination-buttons-c {
        top: 300px;
        left: 51%;
    }
    
    .swiper-button-prev {
        left: -210px;
    }
    
    .swiper-button-next {
        right: -200px;
    }
    
    .snowballs-img-1, .snowballs-img-2 {
        height: 122%;
    }
}

@media (min-width: 1860px) {
    /*.pagination-buttons-c {*/
    /*    top: 35%;*/
    /*}*/
    
    .snowballs-img-1, .snowballs-img-2 {
        height: 98%;
    }
}