@import url(https://fonts.googleapis.com/css2?family=Mulish:wght@400;700&display=swap);

/* font-family: 'Mulish', sans-serif; */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    width: 100%;
    height: 100%;
}

body {
    overflow-x: hidden;
    font-family: "Mulish", sans-serif;
    font-size: 16px;
    line-height: 1.39;
    color: #333;
    background: #fff;
    z-index: 0;
    overflow: hidden;
}

h2,
h1 {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    padding-bottom: 12px;
    text-shadow: 0px 2px 3px rgba(22, 76, 127, 0.3);
    background: linear-gradient(180deg, #fff 40.74%, #abe6f8 81.48%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p {
    font-size: 18px;
    text-align: center;
    font-weight: 400;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.6), 0 2px 0 rgba(0, 0, 0, 0.6),
        -1px 0 0 rgba(0, 0, 0, 0.6), 1px 0 0 rgba(0, 0, 0, 0.6);
}

.main {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.hot-christmas {
    margin: 20px auto 0;
    max-width: 450px;
    width: 100%;
    height: auto;
}

@media (max-height: 700px) and (orientation: landscape) {
    h2,
    h1 {
        font-size: 34px;
    }

    .hot-christmas {
        margin: 10px auto 0;
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    h2,
    h1 {
        font-size: 28px;
    }

    p {
        font-size: 17px;
    }

    .hot-christmas {
        margin: 10px auto 0;
        max-width: 250px;
    }
}

/* progress */
.progress {
    display: block;
    position: absolute;
    bottom: 55px;
    z-index: -1;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 573px;
    height: 159px;
}

.progress .bar {
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: 0;
    background: url(../images/progress-0.png) no-repeat center/contain;
    transition: opacity 0.3s linear;
}

.progress .bar.active {
    opacity: 1;
}

.progress .bar:nth-child(1) {
    background-image: url(../images/progress-0.png);
}

.progress .bar:nth-child(2) {
    background-image: url(../images/progress-1.png);
}

.progress .bar:nth-child(3) {
    background-image: url(../images/progress-2.png);
}

.progress .bar:nth-child(4) {
    background-image: url(../images/progress-3.png);
}

.progress .bar:nth-child(5) {
    background-image: url(../images/progress-4.png);
}

@media (max-height: 700px) and (orientation: landscape) {
    .progress {
        bottom: 44px;
        width: 546px;
        height: 149px;
    }
}

@media (max-width: 768px) {
    .progress {
        width: 343px;
        height: 95px;
        bottom: 24px;
    }
}

/* videobgbox */
.videobgbox {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}

.video {
    height: 100%;
    width: 100%;
    position: absolute;
    left: 50%;
    top: calc(50% - 1px);
    transform: translate(-50%, -50%);
    transition-duration: 0ms;
    -o-object-fit: cover;
    object-fit: cover;
    z-index: 1;
}

.video.mob {
    display: none;
}

.videobgbox::before {
    content: "";
    display: block;
    background: #0006;
    z-index: 2;
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}

@media (max-width: 608px) and (orientation: portrait) {
    .video.web {
        display: none;
    }

    .video.mob {
        display: block;
    }
}

/* btnbox */
.btnbox {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.btn,
.btnbox {
    align-items: center;
}

.btn {
    width: 100%;
    max-width: 207px;
    line-height: 1;
    padding: 14px;
    position: relative;
    display: inline-block;
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 0;
    height: 86px;
    background: url(../images/btn.png) no-repeat center/contain;
    margin: 0 auto;
    text-transform: uppercase;
}

.btn span {
    text-shadow: 0px 2px 3px rgba(22, 76, 127, 0.3);
    background: linear-gradient(180deg, #fff 40.74%, #abe6f8 81.48%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn--primary {
    background-image: url(../images/btn-2.png);
}

.btn--xl {
    max-width: 252px;
    background-image: url(../images/btn-xl.png);
}

.btnbox .btn {
    margin: 0 12px;
}

@media (max-height: 700px) and (orientation: landscape) {
    .btn {
        max-width: 142px;
        padding: 6px;
        font-size: 20px;
        height: 59px;
    }

    .btn--xl {
        max-width: 172px;
    }
}

@media (max-width: 768px) {
    .btn {
        max-width: 142px;
        padding: 6px;
        font-size: 20px;
        height: 59px;
    }

    .btn--xl {
        max-width: 172px;
    }

    .btnbox {
        margin: 0 -10px;
    }

    .btnbox .btn {
        margin: 0 6px;
    }
}

/* step */
.step,
.stepbox {
    width: 100%;
    height: 100%;
    position: relative;
}

.stepbox {
    flex-grow: 1;
    z-index: 5;
}

.step {
    max-width: 722px;
    display: none;
    color: #fff;
    margin: 0 auto;
    padding: 20px 10px 72px;
    flex-direction: column;
    justify-content: center;
}

.step.current {
    display: flex;
}

.step__inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: auto;
    background-color: rgba(0, 0, 0, 0.5);
    background-image: url(../images/decor.png);
    background-repeat: no-repeat;
    background-position: top 10px left 8px;
    background-size: 151px;
    position: relative;
    border-radius: 40px;
    padding: 45px 40px 60px;
}

.step__inner::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 30px;
    padding: 15px;
    background: repeating-linear-gradient(
        -25deg,
        #fff,
        #fff 70px,
        #245819 70px,
        #245819 140px,
        #fff 140px,
        #fff 210px,
        #a8201e 210px,
        #a8201e 280px
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.step__body {
    padding-bottom: 25px;
}

@media (max-height: 840px) and (orientation: landscape) {
    .step {
        padding-bottom: 60px;
    }

    .step__body {
        padding-bottom: 20px;
    }
}

@media (max-height: 700px) and (orientation: landscape) {
    .step__inner {
        padding: 44px 40px 53px;
    }
}

@media (max-width: 768px) {
    .step {
        padding-bottom: 37px;
    }

    .step__inner {
        background-position: top 8px left 9px;
        background-size: 93px;
        padding: 40px 15px;
    }

    .step__inner::before {
        border-radius: 30px;
        padding: 10px;
        background: repeating-linear-gradient(
            -25deg,
            #fff,
            #fff 35px,
            #245819 35px,
            #245819 70px,
            #fff 70px,
            #fff 105px,
            #a8201e 105px,
            #a8201e 135px
        );
    }

    .step__body {
        padding-bottom: 20px;
    }
}

/* footer */
.footer {
    background-image: url(../images/footer-bg.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto 100%;
    position: relative;
    min-height: 145px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 378px;
    padding: 0 0 6px;
    margin: 0 auto;
}

.footer-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 0;
    margin: auto;
    position: relative;
    z-index: 2;
}

.footer-nav .icon {
    display: block;
    width: 50px;
    height: 50px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto;
    margin: 0 9px;
}

.icon-home {
    background-image: url(../images/icon-home.svg);
}

.icon-search {
    background-image: url(../images/icon-search.svg);
}

.icon-plus {
    background-image: url(../images/icon-plus.svg);
}

.icon-like {
    background-image: url(../images/icon-like.svg);
}

.icon-user {
    background-image: url(../images/icon-user.svg);
}

@media (max-height: 700px) and (orientation: landscape) {
    .footer {
        min-height: 140px;
    }

    .footer-nav .icon {
        margin: 0 8px;
    }
}

@media (max-width: 768px) {
    .footer {
        min-height: 84px;
    }

    .footer-nav .icon {
        width: 34px;
        height: 34px;
        margin: 0 8px;
        transform: scale(0.6);
    }
}
