body {
    margin: 0;
    background-color: black;
    font-size: 14px;
}

img {
    user-select: none;
    -webkit-user-drag: none;
}

a {
    user-select: none;
    -webkit-user-drag: none;
    text-decoration: none;
}

p {
    margin: 0;
}

*::selection {
    background-color: transparent;
}

* {
    -webkit-user-select: none;
    -moz-user-select: -moz-none;
    /*IE10*/
    -ms-user-select: none;
    user-select: none;

    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}


/*Fonts*/
@font-face {
    font-family: 'SweiNutSansCJKtc-Regular';
    src: url('../../web-src/font/SweiNutSansCJKtc-Regular.ttf');
}

@font-face {
    font-family: 'SweiNutSansCJKtc-Bold';
    src: url('../../web-src/font/SweiNutSansCJKtc-Bold.ttf');
}

@font-face {
    font-family: 'Syne-Bold';
    src: url('../../web-src/font/Syne-Bold.ttf');
}

@font-face {
    font-family: 'Syne-ExtraBold';
    src: url('../../web-src/font/Syne-ExtraBold.ttf');
}

@font-face {
    font-family: 'Syne-Medium';
    src: url('../../web-src/font/Syne-Medium.ttf');
}

@font-face {
    font-family: 'Syne-Regular';
    src: url('../../web-src/font/Syne-Regular.ttf');
}

@font-face {
    font-family: 'Syne-SemiBold';
    src: url('../../web-src/font/Syne-SemiBold.ttf');
}



#container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.layer-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.layer-content {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}



.page {
    visibility: hidden;
}

.page.open {
    visibility: visible;
    animation: page-open 1s forwards;
}

.page.close {
    visibility: visible;
    pointer-events: none;
    animation: page-close 1s forwards;
}

@keyframes page-open {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes page-close {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}



.cool-button {
    position: absolute;
    padding: 0.4em 0.9em;
    border-width: 2px;
    border-style: solid;
    border-color: #FFFFFF;
    border-radius: 20em;
    color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0);
    font-family: 'Syne-Bold', 'SweiNutSansCJKtc-Bold';
    font-size: 1.8em;
    letter-spacing: 2px;
    transform: translate(-50%, -50%);
}

.cool-button:active {
    background-color: rgba(255, 255, 255, 0.4);
    box-shadow:
        0 0 40px 20px rgba(255, 255, 255, 0.4);
}

.cool-ans {
    padding: 0.8em 1em;
    border-width: 2px;
    border-style: solid;
    border-color: #FFFFFF;
    border-radius: 100px;
    color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0);
    font-family: 'Syne-Regular', 'SweiNutSansCJKtc-Bold';
    font-size: 1em;
    letter-spacing: 1px;
    line-height: 1;
    text-align: center;
    transition: all 0.5s ease, visibility 0s;
}

.cool-ans.selected {
    scale: 1.2;
    background-color: rgba(255, 255, 255, 0.4);
    box-shadow:
        0 0 20px 10px rgba(255, 255, 255, 0.4);
}

.scroll {
    position: absolute;
    bottom: 10%;
    left: 50%;
    width: 10%;
    height: auto;
    aspect-ratio: 1/1;
    transform: translateX(-50%);
}

.scroll.hide {
    visibility: hidden;
}

.page-container {
    position: absolute;
    display: flex;
    bottom: 5%;
    left: 50%;
    width: 25%;
    height: 2%;
    justify-content: center;
    align-items: center;
    transform: translateX(-50%);
}

.page-container svg {
    margin: 0px 8px;
}

.page-activate {
    position: relative;
    width: auto;
    height: 100%;
    aspect-ratio: 1/1;
}

.page-inactivate {
    position: relative;
    width: auto;
    height: 50%;
    aspect-ratio: 1/1;
}


#p0-title {
    width: 100%;
    height: auto;
}

#p0-star {
    position: absolute;
    width: 40%;
    height: auto;
    aspect-ratio: 1/1;
    top: 25%;
    right: 4%;
}

#p0-subtitle {
    position: absolute;
    top: 20%;
    left: 4%;
    font-family: 'SweiNutSansCJKtc-Bold';
    font-size: 5vw;
    line-height: 1.25;
    color: #FFFFFF;
}

#p0-decoL {
    position: absolute;
    width: 76%;
    height: auto;
    aspect-ratio: 1/1;
    bottom: 15%;
    left: 4%;
}

#p0-decoR {
    position: absolute;
    width: 76%;
    height: auto;
    aspect-ratio: 1/1;
    bottom: 15%;
    right: 4%;
}

#p0-bgdeco1 {
    position: absolute;
    bottom: 0%;
    left: 50%;
    width: 50%;
    height: auto;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background-color: #2AAAE5;
    box-shadow:
        0 0 30vh 40vh #2AAAE5;
    transform: translate(-50%, 50%);
    z-index: 1;
}

#p0-bgdeco2 {
    position: absolute;
    top: 0%;
    right: 0%;
    width: 50%;
    height: auto;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background-color: #6D1E22;
    box-shadow:
        0 0 30vw 40vw #6D1E22;
    transform: translate(50%, -50%);
    z-index: 0;
}

#p0-start {
    position: absolute;
    bottom: 8%;
    left: 50%;
}



#p1-bgdeco {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 50%;
    height: auto;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background-color: #1F333B;
    box-shadow:
        0 0 50vw 75vw #1F333B;
    transform: translate(-50%, -50%);
}

#p1-logo {
    position: absolute;
    top: 12%;
    left: 50%;
    width: 20%;
    height: auto;
    aspect-ratio: 1/1;
    transform: translateX(-50%);
}

#p1-content {
    position: absolute;
    top: 41%;
    left: 50%;
    width: 80%;
    height: auto;
    font-family: 'Syne-Regular', 'SweiNutSansCJKtc-Regular';
    font-size: 1em;
    text-align: center;
    line-height: 1.4;
    letter-spacing: 1px;
    color: #FFFFFF;
    transform: translate(-50%, -50%);
}

#p1-arrow {
    position: absolute;
    bottom: 25%;
    left: 50%;
    width: 20%;
    height: auto;
    aspect-ratio: 1/1;
    transform: translateX(-50%);
}

#p1-scroll {
    position: absolute;
    bottom: 18%;
    left: 50%;
    font-family: 'Syne-Regular';
    font-size: 1.2em;
    letter-spacing: 1px;
    text-align: center;
    color: #FFFFFF;
    transform: translateX(-50%);
}

#lang-container {
    position: absolute;
    display: flex;
    bottom: 7%;
    left: 50%;
    width: 80%;
    height: auto;
    justify-content: center;
    transform: translateX(-50%);
}

#lang-container p {
    position: relative;
    margin: 0px 5px;
    font-family: 'Syne-Regular';
    font-size: 1em;
    letter-spacing: 1px;
    text-align: center;
    color: #FFFFFF;
}

.pointer {
    animation: pointer-loop 1.5s infinite;
}

@keyframes pointer-loop {
    0% {
        transform: translateY(-30px);
        animation-timing-function: ease-out;
    }

    50% {
        transform: translateY(30px);
        animation-timing-function: ease-in;
    }

    100% {
        transform: translateY(-30px);
    }

}



#p2-bgdeco1 {
    position: absolute;
    top: 75%;
    left: -50%;
    border-radius: 50%;
    background-color: #2AAAE5;
    box-shadow:
        0 0 50vh 50vh #2AAAE5;
    transform: translate(-50%, -50%);
    z-index: 1;
}

#p2-bgdeco2 {
    position: absolute;
    top: 0%;
    left: 100%;
    width: 50%;
    height: auto;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background-color: #AF2425;
    box-shadow:
        0 0 30vw 40vw #AF2425,
        0 0 30vw 80vw #6D1E22;
    transform: translate(-50%, -50%);
    z-index: 0;
}

#p2-title {
    position: absolute;
    width: 85%;
    top: 9%;
    left: 50%;
    font-family: 'Syne-Bold';
    font-size: 2em;
    text-align: center;
    line-height: 0.8;
    color: #FFFFFF;
    transform: translateX(-50%);
}

#p2-subtitle {
    position: absolute;
    width: 85%;
    top: 18%;
    left: 50%;
    font-family: 'Syne-Bold', 'SweiNutSansCJKtc-Regular';
    font-size: 1em;
    text-align: center;
    letter-spacing: 1px;
    color: #FFFFFF;
    transform: translateX(-50%);
}


#p3-upperdeco {
    position: absolute;
    display: flex;
    top: 0;
    left: 0;
    width: 100%;
}

.p3-upperstars {
    position: relative;
    width: 25%;
    height: auto;
}

#p3-bgdeco {
    position: absolute;
    top: 100%;
    left: 0%;
    width: 50%;
    height: auto;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background-color: #25627D;
    box-shadow:
        0 0 50vw 60vw #25627D;
    transform: translate(-100%, -50%);
    z-index: 0;
}

#p3-bgdeco2 {
    position: absolute;
    top: 0%;
    left: 100%;
    border-radius: 50%;
    box-shadow:
        0 0 80vw 40vw #6D1E22;
    transform: translate(-50%, -50%);
    z-index: 0;
}

#p3-title {
    position: absolute;
    width: 85%;
    top: 20%;
    left: 50%;
    font-family: 'Syne-Bold', 'SweiNutSansCJKtc-Regular';
    font-size: 1em;
    text-align: center;
    letter-spacing: 1px;
    line-height: 1.4;
    color: #FFFFFF;
    transform: translate(-50%, -50%);
}



#p4-bgdeco {
    position: absolute;
    top: 0%;
    left: 0%;
    aspect-ratio: 1/1;
    border-radius: 50%;
    box-shadow:
        0 0 80vw 40vw #2989AA;
    transform: translate(-50%, -50%);
}

#p4-title {
    position: absolute;
    width: 95%;
    height: auto;
    top: 15%;
    left: 50%;
    font-family: 'Syne-Bold', 'SweiNutSansCJKtc-Regular';
    font-size: 1em;
    text-align: center;
    letter-spacing: 1px;
    line-height: 1.4;
    color: #FFFFFF;
    transform: translate(-50%, -50%);
}

#p5-bgdeco {
    position: absolute;
    top: 0%;
    left: 0%;
    aspect-ratio: 1/1;
    border-radius: 50%;
    box-shadow:
        0 0 50vw 40vw #AF2425;
    transform: translate(-50%, -50%);
}

#p5-bgdeco2 {
    position: absolute;
    top: 100%;
    left: 0%;
    aspect-ratio: 1/1;
    border-radius: 50%;
    box-shadow:
        0 0 60vw 60vw #2AAAE5;
    transform: translate(-50%, -50%);
}

.p5-stars{
    position: absolute;
    width: 15%;
    height: auto;
    aspect-ratio: 1/1;
    transform: translate(-50%, -50%);
}

#p5-star0{
    top: 35%;
    left: 10%;
}

#p5-star1{
    top: 31%;
    left: 68%;
}

#p5-star2{
    top: 33%;
    left: 88%;
}

#p5-star3{
    top: 53%;
    left: 13%;
}

#p5-star4{
    top: 58%;
    left: 90%;
}

#p5-star5{
    top: 77%;
    left: 12%;
}

#p5-star6{
    top: 73%;
    left: 88%;
}

#p5-title {
    position: absolute;
    width: 95%;
    height: auto;
    top: 17%;
    left: 50%;
    font-family: 'Syne-Bold', 'SweiNutSansCJKtc-Regular';
    font-size: 1em;
    text-align: center;
    letter-spacing: 1px;
    line-height: 1.2;
    color: #FFFFFF;
    transform: translate(-50%, -50%);
}

#p6-bgdeco {
    position: absolute;
    top: 85%;
    left: -50%;
    border-radius: 50%;
    box-shadow:
        0 0 60vw 100vw #27C2FF;
    transform: translate(-50%, -50%);
}

#p6-bgdeco2 {
    position: absolute;
    top: 110%;
    left: 160%;
    border-radius: 50%;
    box-shadow:
        0 0 70vw 110vw #E53841;
    transform: translate(-50%, -50%);
}

#p6-goddy {
    position: absolute;
    width: 50%;
    height: auto;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#p6-title {
    position: absolute;
    top: 60%;
    left: 50%;
    width: 80%;
    font-family: 'Syne-ExtraBold';
    font-size: 1.5em;
    text-align: center;
    letter-spacing: 1px;
    line-height: 1.4;
    color: #FFFFFF;
    transform: translate(-50%, -50%);
}



.q0-ans {
    position: absolute;
    transform: translate(var(--translate));
    transform-origin: 0% 0%;
    --translate: -50%, -50%;
}

.q0-ans.selected {
    animation: q0-select 0.3s forwards;
}

.q0-ans.unselected {
    animation: q0-unselect 0.3s forwards;
}

@keyframes q0-select {
    from {
        transform: scale(1) translate(var(--translate));
    }

    to {
        transform: scale(1.2) translate(var(--translate));
    }
}

@keyframes q0-unselect {
    from {
        transform: scale(1.2) translate(var(--translate));
    }

    to {
        transform: scale(1) translate(var(--translate));
    }
}

#q0-0 {
    width: 25%;
    height: auto;
    top: 47%;
    left: 52%;
}

#q0-1 {
    width: 20%;
    height: auto;
    top: 69%;
    left: 60%;
}

#q0-2 {
    width: 23%;
    height: auto;
    top: 55%;
    left: 74%;
}

#q0-3 {
    width: 30%;
    height: auto;
    top: 37%;
    left: 67%;
}

#q0-4 {
    width: 22%;
    height: auto;
    top: 42%;
    left: 25%;
}

#q0-5 {
    width: 35%;
    height: auto;
    top: 62%;
    left: 31%;
}

#q1-container {
    position: absolute;
    display: flex;
    width: 85%;
    top: 28%;
    left: 50%;
    flex-direction: column;
    align-items: center;
    transform: translateX(-50%);
}

#q1-container .cool-ans {
    position: relative;
    margin: 5px 0px;
}

#q2-container {
    position: absolute;
    display: flex;
    width: 100%;
    height: 62%;
    top: 20%;
    left: 0px;
    flex-direction: column;
}

.q2-ans {
    position: relative;
    width: 100%;
    height: 16.67%;
}

.q2-ans.selected {
    animation: q2select 0.3s forwards;
}

.q2-ans.unselected {
    animation: q2unselect 0.3s forwards;
}

#q2-0 {
    background: linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(94, 4, 255, 0) 50%, rgba(94, 4, 255, 1) 100%);
    background-size: 100% 100%;
    background-position: 0% 0%;
}

#q2-1 {
    background: linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(138, 255, 132, 0) 50%, rgba(138, 255, 132, 1) 100%);
    background-size: 100% 100%;
    background-position: 0% 0%;
}

#q2-2 {
    background: linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(255, 86, 197, 0) 50%, rgba(255, 86, 197, 1) 100%);
    background-size: 100% 100%;
    background-position: 0% 0%;
}

#q2-3 {
    background: linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(200, 0, 36, 0) 50%, rgba(200, 0, 36, 1) 100%);
    background-size: 100% 100%;
    background-position: 0% 0%;
}

#q2-4 {
    background: linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(157, 194, 197, 0) 50%, rgba(157, 194, 197, 1) 100%);
    background-size: 100% 100%;
    background-position: 0% 0%;
}

#q2-5 {
    background: linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(255, 229, 40, 0) 50%, rgba(255, 229, 40, 1) 100%);
    background-size: 100% 100%;
    background-position: 0% 0%;
}

@keyframes q2select {
    0% {
        background-size: 100% 100%;
        background-position: 0% 0%;
    }

    100% {
        background-size: 100% 200%;
        background-position: 0% 100%;
    }
}

@keyframes q2unselect {
    0% {
        background-size: 100% 200%;
        background-position: 0% 100%;
    }

    100% {
        background-size: 100% 100%;
        background-position: 0% 0%;
    }
}

.q3-ans {
    position: absolute;
}

#container3D {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    border: 0;
    overflow: hidden;
}



@media(min-width: 768px) and (max-width: 1366px) {
    body {
        font-size: 24px;
    }

    #p0-decoL {
        width: 50%;
        bottom: 17%;
    }

    #p0-decoR {
        width: 50%;
        bottom: 17%;
    }

    #p0-star {
        width: auto;
        height: 12%;
        top: 32%;
    }

    #p0-subtitle {
        top: 24%;
    }


    #p1-logo {
        width: 15%;
    }

    #p1-arrow {
        width: 15%;
        bottom: 30%;
    }

    #q0-1 {
        top: 73%;
    }

    #q0-2 {
        top: 57%;
        left: 76%;
    }

    #q0-3 {
        top: 35%;
        left: 70%;
    }

    #q0-4 {
        top: 40%;
        left: 23%;
    }

    #q0-5 {
        top: 67%;
        left: 28%;
    }



    #p3-title {
        top: 22%;
    }
}