body {
    background-image: url(../images/bg_desktop.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: initial;
    width: 100%;
    height: 100vh;
    font-size: 16px;
    overflow: hidden;
    font-family: 'Microsoft JhengHei';
}
.main_logo {
    width: 100%;
    height: 27%;
    position: absolute;
    top: 3%;
    left: 0;
}

.main_logo img {
    max-width: 100%;
    height: 100%;
}

.main_logo:after {
    content: '';
    background-image: url(../images/decoration2.png);
    width: 114px;
    height: 77px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom;
    position: absolute;
    bottom: 20%;
    left: 50%;
}

.sub_logo {
    background-image: url(../images/logo_small_desktop.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 216px;
    height: 36px;
    position: absolute;
    top: 10%;
    right: 3%;
}

img.decoration1 {
    position: absolute;
    top: 32%;
    left: 4%;
}

img.decoration2 {
    position: absolute;
    left: 50%;
    top: 22%;
    width: 8%;
}

img.decoration3 {
    position: absolute;
    left: 35%;
    bottom: 7%;
}

.image {
    width: 30%;
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 75%;
}

.main_content {
    position: absolute;
    right: 3%;
    width: 63%;
    top: 31%;
}
.tab.desktopUsed {
    text-align: right;
    position: absolute;
    top: 22%;
    right: 3%;
}
.tab.desktopUsed img {
    margin-left: 30px;
}
.tab a{
    display: inline-block;
}
ul{
    width:100%;
}
ul li {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
ul.template li:nth-child(1) {
    background-image: url(../images/template_pic1.jpg);
}

ul.template li:nth-child(2) {
    background-image: url(../images/template_pic2.jpg);
}

ul.template li:nth-child(3) {
    background-image: url(../images/template_pic3.jpg);
}
ul.template li:nth-child(4) {
    background-image: url(../images/template_pic4.jpg);
}

ul.custom li:nth-child(1) {
    background-image: url(../images/custom_pic1.jpg);
}

ul.custom li:nth-child(2) {
    background-image: url(../images/custom_pic2.jpg);
}

ul.custom li:nth-child(3) {
    background-image: url(../images/custom_pic3.jpg);
}
ul.custom li:nth-child(4) {
    background-image: url(../images/custom_pic4.jpg);
}



.template button {
    font-size: 24px;
    font-weight: bold;
    z-index: 9;
    cursor: pointer;
    height: 120px;
    width: 120px;
    border-radius: 120px;
    outline: none;
}

.accordion_mobile li {
    width: 100% !important;
}

.template button {
    border: none;
    background: #ffffffa6;
    color: #df5275;
}

.template li button:hover,
.template li.active button:hover,
.template li.active button.active {
    background: #df5275;
    color: #fff;
    border: 2px solid #df5275;
}

.template button {
    border: 2px solid #fff;
    background: none;
    color: #fff;
    font-family: 'Microsoft JhengHei';
    z-index: 999;
}

.template li.active button {
    border: none;
    background: rgba(255,255,255,0.6);
    color: #df5275;
}

.template a {
    z-index: 9;
}


/*page2*/

.sticker>div {
    display: flex;
    justify-content: center;
    width: 100%;
}

.sticker .img_preview {
    width: 47%;
}

.sticker .action {
    width: 50%;
    margin-left: 3%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-direction: column;
}

.sticker .action.flexCenter {
    align-items: center;
    justify-content: center;
}

.sticker .action>div {
    display: flex;
    justify-content: space-between;
    flex-direction: inherit;
    align-items: flex-start;
    width: 100%;
}

h1 {
    font-size: 48px;
    font-weight: bold;
    color: #EB6063;
    margin-bottom: 2rem;
}

.btn_group {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btn_group a {
    float: left;
    max-width: 153px;
    width: 30%;
}

.btn_group a img {
    width: 100%;
}

a.btn_goBack img {
    width: 80%;
    float: right;
}
.input_enter {
    position: relative;
    width: 100%;
    margin-bottom: 2rem;
}
.input_enter input{
    width: 100%;
    min-height: 24px;
    border: 0;
    padding: 20px;
    font-size: 18px;
    box-sizing: border-box;
    border-radius: 0;
    font-family: 'Microsoft JhengHei';
    height: 66px;

}
.input_enter button {
    position: absolute;
    right: -2px;
    top: 0;
    padding: 20px;
    float: right;
    text-align: center;
    background: #df5275;
    color: #fff;
    font-size: 18px;
    border: none;
    font-family: 'Microsoft JhengHei';
    height: 66px;
    overflow: hidden;
}

/*straight_screen*/
.view_straight_screen {
    position: fixed;
    display: none;
    align-items: center;
    justify-content: center;
    background: #000000e3;
    color: #fff;
    z-index: 99;
    width: 100%;
    height: 100%;
    top: 0;
    font-size: 24px;
}

/*load*/
.load {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
}
.lazyloader {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    -webkit-animation: loader-rotation .8s infinite linear;
    animation: loader-rotation .8s infinite linear;
    border-left: 5px solid rgba(78, 26, 77, 0.35);
    border-right: 5px solid rgba(78, 26, 77, 0.35);
    border-bottom: 5px solid rgba(78, 26, 77, 0.35);
    border-top: 5px solid rgb(78, 26, 77);
    border-radius: 100%;
}

@-webkit-keyframes loader-rotation {
  0% {
    -webkit-transform: rotate(0deg); }
  100% {
    -webkit-transform: rotate(360deg); } }

@keyframes loader-rotation {
  0% {
    transform: rotate(0deg); }
  100% {
    transform: rotate(360deg); } }

@media screen and (max-width: 1366px) {
    h1 {
        font-size: 2.5rem;
    }
    .main_content {
        top: 35%;
    }
}

@media screen and (max-width: 1280px) {
    .main_content {
        top: 37%;
    }
    .main_logo:after {
        bottom: 0;
    }
    .tab.desktopUsed {
        top: 24%;
    }
}

@media screen and (max-width: 1024px) {
    body {
        background-position: center;
    }
    .sub_logo {
        top: 26%;
    }
    h1 {
        font-size: 2rem;
    }
    .main_content {
        width: 94%;
        top: 42%;
    }
    .image {
        width: 30%;
        height: auto;
    }
    img.decoration1 {
        top: 30%;
        left: 14%;
        width: 18%;
    }
    img.decoration3 {
        left: 42%;
        bottom: 17%;
    }
    .main_logo:after {
        background-image: none;
    }
    .main_content.sticker {
        height: 90%;
    }
    .template button {
        font-size: 18px;
        height: 100px;
        width: 100px;
        border-radius: 100px;
    }
    a.btn_goBack img {
        width: 60%;
    }
    .tab.desktopUsed {
        top: 34%;
    }
}

@media screen and (min-width: 480px) {
    .mobileUsed {
        display: none !important;
    }
}
@media screen and (max-width: 480px) {
    .desktopUsed {
        display: none !important;
    }
    body {
        background-image: url(../images/bg_mobile.jpg);
        height: 100%;
        overflow: initial;
    }
    .sub_logo {
        width: 30%;
        height: 36px;
        top: 1%;
        left: 68%;
        margin: 0;
        position: relative;
        margin-top: -15px;
        margin-bottom: 15px;
    }
    .main_logo {
        width: 90%;
        position: relative;
        height: auto;
        margin-top: 5%;
    }
    .main_logo img {
        height: auto;
    }
    .main_content {
        display: block;
        width: 95%;
        height: auto;
        position: relative;
        top: 10%;
        margin: 0 auto;
        right: 0;
        margin-bottom: 30px;
    }
    .template div,
    .template div.active {
        width: 100%;
    }
    .main_content {
        height: auto;
        display: block;
        width: 95%;
        margin: 0 auto;
        position: relative;
        top: 3%;
        margin-bottom: 30px;
    }
    .main_content.sticker {
        height: auto;
    }
    .sticker>div {
        display: block;
        justify-content: center;
        width: 100%;
    }
    .sticker .img_preview,
    .sticker .action {
        width: 100%;
        margin-left: 0;
    }
    .btn_group {
        margin: 30px 0 60px 0;
    }
    a.btn_goBack {
        width: 100%;
        text-align: center;
    }
    a.btn_goBack img {
        width: 25%;
        float: none;
    }
    h1.white {
        color: #fff;
        margin-bottom: 30px;
        text-align: center;
        font-size: 30px;
    }
    a.btn_seeMore {
        margin-top: 30px;
    }
    .tab.mobileUsed {
        margin-bottom: 2rem;
        text-align: center;
    }
    .tab.mobileUsed a {
        margin-left: 15px;
        width: 40%;
    }
    .tab.mobileUsed img {
        width: 100%;
    }  
}
@media screen and (max-width: 320px) {

    .input_enter input,.input_enter button{
        font-size: 16px;
    }
}