/*animation*/
@keyframes bounceInLeft {
    from,
    60%,
    75%,
    90%,
    to {
      -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
      animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }
  
    0% {
      opacity: 0;
      -webkit-transform: translate3d(-3000px, 0, 0) scaleX(3);
      transform: translate3d(-3000px, 0, 0) scaleX(3);
    }
    
    20% {
        opacity: 0;
    }

    60% {
      -webkit-transform: translate3d(25px, 0, 0) scaleX(1);
      transform: translate3d(25px, 0, 0) scaleX(1);
    }
  
    75% {
      -webkit-transform: translate3d(-10px, 0, 0) scaleX(0.98);
      transform: translate3d(-10px, 0, 0) scaleX(0.98);
    }
  
    90% {
      -webkit-transform: translate3d(5px, 0, 0) scaleX(0.995);
      transform: translate3d(5px, 0, 0) scaleX(0.995);
    }
  
    to {
      opacity: 1;
      -webkit-transform: translate3d(0, 0, 0);
      transform: translate3d(0, 0, 0);
    }
  }

/*total*/
* {
    font-family: 'Noto Sans KR', sans-serif;
    letter-spacing: -0.06em;
}
p {
    margin: 0;
    padding: 0;
}
h1 {
    margin: 0;
    padding: 0;
}

.count {
    font-size: 14px;
    display: block;
    text-align: center;
    width: fit-content;
    margin: 0 auto;
    transform: translate(26vw, -50px);
}

.count p {
    color: #4b535e;
}

.logo {
    margin-bottom: 35px;
    opacity: 0;
    transform: translateY(20px);
    transition-duration: .6s;
    transition-delay: .2s;
}

.logo.active {
    opacity: 1;
    transform: translateY(0px);
}

.logo img {
    margin: 0 auto 0px;
    display: block;
}

.text {
    text-align: center;
    color: #ffffff;
    margin-bottom: 15px;
}

.text h1 {
    font-size: 41px;
    font-weight: 400;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(20px);
    transition-duration: .6s;
    transition-delay: .4s;
}

.text.active h1 {
    opacity: 1;
    transform: translateY(0px);
}

.text p {
    font-size: 21px;
    font-weight: 200;
    opacity: 0;
    transform: translateY(20px);
    transition-duration: .6s;
    transition-delay: .6s;
}

.text.active p {
    opacity: 1;
    transform: translateY(0px);
}

.text p span {
    display: block;
}

.box {
    padding: 50px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.box img {
    padding: 0 20px;
    width: 290px;
    animation-duration: .9s;
    opacity: 0;
}


.box img:nth-child(1) {
    animation-delay: .8s;
    transition-delay: 1.7s;
}

.box img:nth-child(2) {
    animation-delay: .7s;
    transition-delay: 1.6s;
}
.box img:nth-child(3) {
    animation-delay: .6s;
    transition-delay: 1.5s;
}

.box img.active {
    animation-name: bounceInLeft;
    opacity: 1;
}

.purchase {
    opacity: 0;
    transition-duration: .6s;
    transition-delay: 1.2s;
}

.purchase.active {
    opacity: 1;
    margin-top: -17px;
}

.purchase img {
    display: block;
    margin: 0 auto;
    width: 222px;

}


/* 스마트폰*/
@media (max-width: 767px) {

    .logo {
        margin-bottom: 30px;
    }

    .logo img:first-child {
        width: 75px;
    }

    .logo img:last-child {
        width: 170px;
    }

    .box {
        padding: 30px 0;
        flex-direction: column;
    }

    .box img {
        padding: 2vw 0px;
        width: 100%;
    }

    .text {
        margin-bottom: 10px;
    }

    .text h1 {
        font-size: 32px;
        margin-bottom: 15px;
        line-height: 120%;
    }

    .text h1 span {
        display: block;
    }
    
    .text p {
        font-size: 17px;
    }

    .text p span:first-child {
        display: inline;
    }

    .purchase img {
        width: 200px;
    }

    .box img:nth-child(2) {
        animation-delay: .1s;
        transition-delay: 1s;
    }
    .box img:nth-child(3) {
        animation-delay: .1s;
        transition-delay: 1s;
    }
    .purchase {
        transition-delay: .2s;
    }
}

/* 태블릿 세로*/
@media (min-width: 768px) and (max-width: 991px) {

    .logo {
        margin-bottom: 30px;
    }

    .box {
        padding: 40px 0;
        flex-direction: column;
    }

    .box img {
        padding: 15px 0px;
        width: 620px;
    }

    .text {
        margin-bottom: 0px;
    }

    .text h1 {
        font-size: 48px;
        margin-bottom: 15px;
    }
    
    .text p {
        font-size: 23px;
    }

    .purchase img {
        width: 310px;
    }

    .box img:nth-child(2) {
        animation-delay: .1s;
        transition-delay: 1s;
    }
    .box img:nth-child(3) {
        animation-delay: .1s;
        transition-delay: 1s;
    }
    .purchase {
        transition-delay: .2s;
    }
}

/* 태블릿 가로*/
@media (min-width: 992px) and (max-width: 1199px) {

    .logo {
        margin-bottom: 30px;
    }

    .box {
        padding: 40px 0;
    }

    .box img {
        padding: 0 13px;
        width: 310px;
    }

    .text h1 {
        font-size: 53px;
        margin-bottom: 13px;
    }
    
    .text p {
        font-size: 24px;
    }

    .purchase img {
        width: 310px;
    }
}




