:root {
    --white: #fff;
    --SoftPink: #f6adbf;
    --Lava: #d71921;
    --black: #181818;
}

/* =================================== */
/* ============ web-font ============= */
/* =================================== */
@font-face {
    font-family: 'Buldak2';
    src: url('../font/Buldak2.woff2') format('woff2'),
        url('../font/Buldak2.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Myriad Pro';
    src: url('../font/MyriadPro-Regular.woff2') format('woff2'),
        url('../font/MyriadPro-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../font/OpenSans-Regular.woff2') format('woff2'),
        url('../font/OpenSans-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}



/* ===================================== */
/* ============ comman css ============= */
/* ===================================== */
.bg-softpink{
    background: #f6adbf;
}
:focus-visible{
    box-shadow: none;
    outline: none;
}
.font-family-Buldak2{
    font-family: 'Buldak2';
    font-weight: normal;
    font-style: normal;
}
.font-family-MyriadPro{
    font-family: 'Myriad Pro';
    font-weight: normal;
    font-style: normal;
}
.font-family-OpenSans{
    font-family: 'Open Sans';
    font-weight: normal;
    font-style: normal;
}
/* Window scrolling design */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.1);
}
.container-wrap{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 768px;
    max-width: 768px;
    padding: 25px 80px 50px 80px;
    margin: 0 auto;
    position: relative;
}
.position{
    position: absolute;
    z-index: 0;
    background-repeat: no-repeat;
    animation: float 3s infinite linear;
}
.left{
    width: 300px;
    height: 604px;
    left: -30px;
    top: 104px;
    background-position: center;
    background-size: 90%;
    z-index: -1;
}
.right{
    width: 208px;
    height: 354px;
    right: -1px;
    bottom: -105px;
    background-position: center;
    background-size: 80%;
    z-index: -1;
}
@keyframes float {
    from {
      transform: rotate(0deg) translate3d(5px, 0, 0) rotate(0deg);
    }
    to {
      transform: rotate(360deg) translate3d(5px, 0, 0) rotate(-360deg);
    }
}
.brand-logo img{
    z-index: -3;
    position: relative;
    width: 458px;
}
.first-page .btn-primary{
    border-radius: 9px;
}
.btn-primary{
    display:inline-block;
    text-decoration: none;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}
.buldak_btn{
    padding: 11px 10px 8px 12px;
    background-color: var(--Lava);
    color: var(--white);
    width: 110px;
    margin: 0 auto;
    font-size: 20px;
    border: none;
    line-height: 26px;
    outline: none;
    box-shadow: none;
}
.buldak_btn:hover{
    color: var(--Lava);
    z-index: 2;
}
.buldak_btn.submit-btn{
    background-color: var(--white);
    color: #f6adbf;
    padding: 25px 12px 20px 12px;
    font-size: 42px;
}
.buldak_btn.submit-btn:after{
    background: var(--Lava);
}
.buldak_btn.submit-btn:hover{
    color: var(--white);
}
.buldak_btn.add-another{
    background-color: var(--Lava);
}
.buldak_btn.remove-btn{
    background: red;
    padding: 7px 12px 6px 12px !important;
}
.buldak_btn.add-another,
.buldak_btn.remove-btn{
    font-size: 15px;
    padding: 7px 16px 6px 16px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 22px;
}
.buldak_btn.add-another span,
.buldak_btn.remove-btn span{
    display: inline-block;
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-size: 17px;
    background-position: 1px 1px;
}
.buldak_btn.remove-btn span{
    background-image: url(../images/remove-icon.svg);
    background-size: 18px;
    background-position: 0px 0px;
}
.buldak_btn.remove-btn:hover span{
    background-position: 1px -20.5px;
}
.buldak_btn.add-another:hover span{
    background-position: 1px -18.5px;
}
.buldak_btn:after{
    position:absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    content: '';
    background: var(--white);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.25s ease-out;
}
.buldak_btn:hover::after{
    transform: scaleX(1);
    transform-origin: left;
    z-index: -1;
}
.title{
    font-size: 50px;
}
.sub-title{
    font-size: 38px;
}

.first-page .columns-gap{
    gap: 40px;
}
.buldak_registration .form-info input{
    border: 2px solid #fff;
    background-color: var(--SoftPink);
    padding: 10px 20px;
    text-align: center;
    font-family: 'Buldak2';
    font-weight: normal;
    font-style: normal;
    font-size: 25px;
    border-radius: 16px;
    color: #df363d;
}
.buldak_registration .form-info input.parsley-error{
    background-color: var(--white);
    border: 2px solid var(--Lava);
}
.buldak_registration .form-info input.parsley-error::placeholder{
    color: #f6adbf;
}
.buldak_registration .form-info input.parsley-success{
    background-color: var(--white);
    border: 2px solid var(--Lava);
}
.buldak_registration{
    z-index: 100;
    margin-top: 20px;
}
.buldak_registration .form-info input::placeholder{
    color: var(--black);
}
.buldak_registration .form-info input:focus,
.buldak_registration .form-info input:active{
    box-shadow: none !important;
    outline: none !important;
}
.second-page .buldak_registration{
    gap: 35px;
}
.link{
    position: relative;
    display: inline-block;
    padding: 1px 5px;
    color: var(--Lava);
    font-size: 18px;
    text-decoration: none;
    transition: all .3s cubic-bezier(.2, 0, 0, 1);
    z-index: 1;
    font-family: 'Buldak2';
    font-weight: normal;
    font-style: normal;
}
.link:hover{
    color: #fff!important;
}
.link:after{
    content: '';
    display: block;
    height: 1px;
    position: absolute;
    bottom: 0;
    right: 1.25rem;
    left: 0;
    background-color: var(--Lava);
    transition: all .3s cubic-bezier(.2, 0, 0, 1);
    transform-origin: bottom center;
    z-index: -1;
    width: 100%;
    border-radius: 4px;
}
.link:hover:after{
    right: 0;
    left: 0;
    height: 100%;
}
.buldak_registration ul{
    margin: 0;
    padding: 0;
}
.buldak_registration ul.parsley-errors-list .parsley-required,
.buldak_registration ul.parsley-errors-list .parsley-type,
.buldak_registration ul .parsley-custom-error-message,
.buldak_registration #phone-error,
.buldak_registration #dob-error{
    margin: 10px 0 0px;
    list-style-type: none;
    font-size: 17px;
    line-height: 0.9em;
    color: var(--black) !important;
    display: inline-block;
    width: 100%;
    text-align: center;
    font-family: 'Buldak2';
    font-weight: normal;
    font-style: normal;
}
.QR-Code {
    width: 100%;
    height: 400px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
}
.QR-Code img{
    width: 90%;
    border-radius: 4px;
}
.QR-Code h5{
    margin: 0;
    font-size: 51px;
    rotate: -40deg;
    position: relative;
    top: -11px;
    left: -18px;
    text-transform: uppercase;
}
.second-page .right {
    bottom: -35px;
    right: -80px;
}


/* Check box */
.checkbox-animate.top-check-box label input:checked ~ .input-check{
    background-color: #f7acbf;
    border: 3px solid var(--white);
}
.checkbox-animate a.link-privacy:hover:hover{
    text-decoration: underline !important;
}
.checkbox-animate label,
.checkbox-animate a.link-privacy {
    position: relative;
    cursor: pointer;
    color: var(--black);
    font-size: 16px;
    display: inline-flex;
    align-items: start;
    gap: 8px;
    text-align: left;
    line-height: 20px;
    font-family: 'Buldak2';
    font-weight: normal;
    font-style: normal;
}
.checkbox-animate label input {
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
}

.input-check {
    display: inline-block;
    min-width: 30px;
    min-height: 30px;
    border: 3px solid var(--white);
    background-color: transparent;
    position: relative;
    top: -3px;
    transition: 0.4s;
    border-radius: 5px;
}

.input-check::before {
    content: '';
    display: inline-block;
    width: 15px;
    height: 7px;
    border-bottom: 3px solid var(--white);
    border-left: 3px solid var(--white);
    transform: scale(0) rotate(-45deg);
    position: absolute;
    top: 8px;
    left: 6px;
    transition: 0.4s;
}

.checkbox-animate label input:checked ~ .input-check {
    background-color: var(--Lava);
    border-color: var(--Lava);
    animation-name: input-animate;
    animation-duration: 0.7s;
}

.checkbox-animate label input:checked ~ .input-check::before {
    transform: scale(1) rotate(-45deg);
    animation-name: input-check;
    animation-duration: 0.2s;
    animation-delay: 0.3s;
}
.text-info-parent{
    position: relative;
    cursor: pointer;
    color: var(--black);
    font-size: 18px;
    text-align: center;
    line-height: 26px;
    font-family: 'Buldak2';
    font-weight: normal;
    font-style: normal;
}


.first-page,
.second-page,
.third-page{
    display: none;
}
.first-page.active,
.second-page.active,
.third-page.active{
    display: block;
}



/* ======================================================= */
/* ================== Responsive design ================== */
/* ======================================================= */
@media only screen  and (max-width : 767.98px) {
    .container-wrap{
        width: 100%;
        max-width: 100%;
        padding: 50px 35px 50px 35px;
        overflow-x: hidden;
        overflow-y: inherit;
        height: 100vh;
    }
    .brand-logo img {
        width: 370px;
    }
    .left{
        left: -30px;
        top: 124px;
    }
    .right{
        right: -30px;
        bottom: -295px;
    }
    .buldak_registration .form-info input{
        font-size: 23px;
    }
    .title {
        font-size: 70px;
    }
    .buldak_btn{
        width: 160px;
        font-size: 28px;
        padding: 20px 10px 15px 12px;
    }
    .first-page .columns-gap{
        gap: 60px;
    }
    .sub-title {
        font-size: 19px;
        text-align: center;
    }
    .second-page .right {
        bottom: -50px;
        right: -30px;
    }
    .second-page .buldak_registration{
        gap: 35px;
    }
    .buldak_btn.submit-btn{
        font-size: 36px;
        padding: 23px 12px 20px 12px;
    }
    .QR-Code {
        height: auto;
        border-radius: 21px;
        margin-top: 20px;
        z-index: 100;
    }
    .QR-Code h5{
        font-size: 30px;
        top: -4px;
        left: -9px;
        rotate: -47deg;
    }
    .second-page-no .form-info input,
    .buldak_registration .form-info input{
        font-size: 16px;
        border-radius: 13px;
        padding: 12px 20px;
        border: 2px solid #fff;
    }
    .second-page .container-wrap{
        height: inherit;
    }
}

@media only screen  and (max-width : 575.98px) {
    .brand-logo img {
        width: 370px;
    }
    .left{
        left: -42px;
        top: 121px;
        width: 230px;
        height: 474px;
    }
    .right{
        right: -50px;
        bottom: 5px;
    }
    .title {
        font-size: 50px;
    }
    .buldak_btn{
        width: 105px;
        font-size: 22px;
        padding: 14px 12px 12px 12px;
    }
    .checkbox-animate label{
        font-size: 15px;
    }
    .sub-title.age-title{
        font-size: 25px;
    }
    .buldak_btn.submit-btn {
        font-size: 30px;
        padding: 20px 12px 18px 12px;
    }
    .brand-logo{
        z-index: 1000;
        position: relative;
    }
    .checkbox-animate label,
    .checkbox-animate a.link-privacy{
        font-size: 14px;
    }
}

@media only screen  and (max-width : 420px) {
    .left {
        left: -82px;
    }
    .first-page .columns-gap {
        gap: 40px;
    }
    .second-page .right {
        bottom: 70px;
        right: -60px;
    }
}

@media only screen  and (max-width : 365px) {
    .container-wrap{
        padding: 80px 30px 50px 30px;
    }
    .first-page .columns-gap{
        gap: 60px;
    }
    .brand-logo img {
        width: 320px;
    }
    .left{
        left: -60px;
        top: 167px;
    }
    .right{
        right: -40px;
        bottom: 0;
        background-size: 70%;
        width: 156px;
        height: 230px;
    }
}

