* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
@font-face {
    font-family: GenRyuMin-B;
    src: url("./GenRyuMin-B.ttc");
}
body {
    overflow: hidden;
    background-color: black;
}

img {
    width: 100%;
}

.groupBtn {
    width: 100%;
    cursor: pointer;
}

.groupBtn .font {
    opacity: 1;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}

.groupBtn .back {
    opacity: 0;
    position: absolute;
    top: 0;
    width: 100%;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}

.groupBtn:hover .font {
    opacity: 0;
}

.groupBtn:hover .back {
    opacity: 1;
}

.container {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-image: url("../img/bg.png");
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.flag {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 40%;
}

.logo {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 30%;
}

.storytitle {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 80%;
}

.bg2 {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-image: url("../img/bg_2.png");
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    opacity: 1;
}

.topline {
    position: absolute;
    top: -0.2%;
    width: 100%;
}

.footer {
    position: fixed;
    width: 20%;
    min-width: 300px;
    bottom: -0.5%;
}

.footer-pos1 {
    left: 0%;
}

.footer-pos1 .name {
    position: absolute;
    top: 50%;
    left: 2%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 30%;
}

.footer-pos2 {
    right: 0%;
}

.footer-pos2 #footerbg {
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    pointer-events: none;
}

.footer-pos2 .next {
    position: absolute;
    top: 10%;
    width: 25%;
    right: 2%;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.footer-pos2 .previous {
    position: absolute;
    top: 10%;
    width: 25%;
    left: 8%;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.footer-pos2 .slider-area {
    position: absolute;
    top: 50%;
    left: 52%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 30%;
}

.footer-pos2 .slider-area #slider {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 80%;
    height: 3px;
    border-radius: 5px;
    outline: none;
    background-color: #c69c6d;
    -webkit-appearance: none;
}

#slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: white;
    -webkit-filter: drop-shadow(0px 0px 5px black);
    filter: drop-shadow(0px 0px 5px black);
    cursor: pointer;
}

.comic {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.comic .page {
    width: 80vh;
    margin: auto;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.comic .page .cover {
    position: absolute;
    top: 0;
    width: 100%;
    height: 95%;
}

.tip {
    position: fixed;
    width: 13%;
    min-width: 200px;
    right: 0;
    top: 5%;
}

.startBtn {
    width: 25vh;
    position: absolute;
    z-index: 20;
    bottom: 20%;
    left: 55%;
}

.anim {
    -webkit-animation: startBtnAmi2 2s linear infinite;
    animation: startBtnAmi2 2s linear infinite;
}

.anim2 {
    -webkit-animation: startBtnAmi 2s linear infinite;
    animation: startBtnAmi 2s linear infinite;
}

@-webkit-keyframes startBtnAmi {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes startBtnAmi {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@-webkit-keyframes startBtnAmi2 {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes startBtnAmi2 {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.desktop {
    display: block;
}

.mobile {
    display: none;
}

.prologue-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 95%;
}
.prologue-container .page1 .prologue-nextBtn {
    width: 25vh;
    position: absolute;
    z-index: 20;
    bottom: 20%;
    left: 42%;
    transform: translate(-50%, -50%);
}
.font {
    display: inline-block;
    font-size: 1.1vmax;
    line-height: 47px;
    letter-spacing: 5px;
    font-family: "Noto Serif TC", serif;
    color: black;
    position: absolute;
}
    #firstAudio,#secondAudio{
        opacity: 1;
        pointer-events: auto;
        position: absolute;
        display: block;
        width: 300px;
        height: 30px;
    }

.mobile-br{
    display: inline;
    padding: 0px 0px;
    margin-top: 0px;
}
.font div {
    overflow: hidden; /* Ensures the content is not revealed until the animation */
    white-space: nowrap; /* Keeps the content on a single line */
}

.font-anim-1 {
    top: 15%;
}
.font-anim-2 {
    top: 45%;
    left: 10%;
}

.pic-1 {
    position: absolute;
    width: 32%;
    top: 25%;
    right: 0%;
    transform: translate(-50%, -50%);    
}
.pic-2 {
    position: absolute;
    width: 22%;
    top: 49%;
    right: -17%;
    transform: translate(-50%, -50%);
}
.pic-3 {
    position: absolute;
    width: 37%;
    bottom: 20%;
    right: -7%;
    transform: translate(-50%, 50%);
}
.pic-1 img{
    box-shadow: 3px 6px 8px rgba(58, 40, 0, 0.7);
    
}
.pic-2 img{
    box-shadow: 3px 6px 8px rgba(58, 40, 0, 0.7);
}
.pic-3 img{
    box-shadow: 3px 6px 8px rgba(58, 40, 0, 0.7);
}
/* The typing effect */
@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}
.page1 {
    width: 85%;
    height: 100%;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.page2 {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 95%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.center {
    position: absolute;
    top: 40%;
    left: 40%;
    transform: translate(-50%, -50%);
}

.tips {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 23%;
}
.unlock {
    position: absolute;
    width: 8%;
    top: 0;
    right: 0;
}
.jump {
    position: fixed;
    z-index: 5;
    top: 40%;
    right: 0;
    width: 3%;
    cursor: pointer;
    pointer-events: none;
}
#firstAudio,#secondAudio{
    opacity: 0;
    pointer-events: none;
    position: absolute;
    width: 300px;
    height: 30px;
}

@media only screen and (max-width: 768px) {
    .comic {
        width: 80%;
        height: 95%;
        top: 48%;
        left: 50%;
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    .font {
        font-size: 15px;
        line-height: 30px;
        letter-spacing: 2px;
    }
    .font-anim-1 {
        top: 5%;
    }
    .font-anim-2 {
        top: 30%;
        left: 0%;
    }  
    .comic .page {
        width: 100%;
    }
    .prologue-container {
        top: 52%;
        width: 100%;
        height: 90%;
        overflow-x: hidden;
    }
    .page1 {
        max-height: 750px;
        width: 90%;
    }
    .prologue-container .page1 .prologue-nextBtn {
        bottom: 17%;
    }
    .pic-1 {
        position: absolute;
        width: 35%;
        top: 16%;
        right: -15%;
    }
    .pic-2 {
        position: absolute;
        width: 34%;
        top: 70%;
        right: -15%;
        transform: translate(-50%, -50%);
    }
    .pic-3 {
        position: absolute;
        width: 55%;
        bottom: 30%;
        left: 27%;
        transform: translate(-50%, 50%);
    }
    .mobile-br{
        display: inline;
        padding: 0px 0px;
        margin-top: 0px;
    }
}

@media only screen and (max-width: 600px) {
    .comic {
        width: 100%;
        height: 98%;
        overflow-x: hidden;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        position: relative;
        top: 1%;
        left: 50%;
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
    }
    .comic .page {
        width: 100%;
    }
    .topline {
        width: 100%;
        z-index: 20;
    }
    .topline .name {
        position: absolute;
        top: -15%;
        right: 1%;
        width: 20%;
    }
    .footer {
        display: none;
    }
    .flag {
        width: 70%;
    }
    .logo {
        width: 60%;
    }
    .desktop {
        display: none;
    }
    .mobile {
        display: block;
    }
    .bottomline {
        position: fixed;
        z-index: 20;
        bottom: -1%;
    }
    .jump {
        top: 8%;
        width: 7%;
    }
    .prologue-container {
        top: 51%;
        width: 95%;
        height: 95%;
        overflow-x: hidden;
    }
    .page1 {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100%;
        top: initial;
        left: initial;
        transform: none;
        padding: 0 0 10% 0;
    }
    .mobile-br{
        display: block;
        padding: 0px 0px;
        margin-top: 15px;
    }
    .font {
        font-size: 14px;
        line-height: 28px;
        letter-spacing: 0.1px;
        text-align: justify;
        position: relative;
        margin: 0px 10px;
    }
    .font div {
        width: 100%;
        padding: 0 0 0 0px;
        white-space: normal;
    }
    #font1-5{
        display: inline-block;
    }
    .font-anim-1 :nth-child(1) {
        animation: none;
    }
    .font-anim-1 :nth-child(2) {
        animation: none;
    }
    .font-anim-1 :nth-child(3) {
        animation: none;
    }
    .font-anim-1 :nth-child(4) {
        animation: none;
    }
    .font-anim-2 :nth-child(1) {
        animation: none;
    }
    .font-anim-2 :nth-child(2) {
        animation: none;
    }
    .font-anim-2 :nth-child(3) {
        animation: none;
    }
    .font-anim-2 :nth-child(4) {
        animation: none;
    }
    .font-anim-3 {
        width: 250px;
    }
    .unlock {
        top: 1%;
        right: -4%;
        width: 25%;
    }
    .tips {
        width: 70%;
    }
    .font-anim-3 :nth-child(1) {
        animation: none;
    }
    .font-anim-3 :nth-child(2) {
        animation: none;
    }
    .font-anim-3 :nth-child(3) {
        animation: none;
    }
    .font-anim-1 {
        top: inherit;
        left: inherit;
    }
    .font-anim-2 {
        top: inherit;
        left: inherit;
    }
    .pic-1 {
        position: relative;
        width: 100%;
        right: inherit;
        top: initial;
        transform: none;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0px auto 15px;
    }
    .pic-2 {
        position: relative;
        width: 95%;
        right: inherit;
        top: initial;
        transform: none;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0px auto 15px;
    }
    .pic-3 {
        position: relative;
        width: 87%;
        left: inherit;
        top: initial;
        bottom: initial;
        transform: none;
    }
    .pic-1 img{
        box-shadow: 3px 6px 8px rgba(58, 40, 0, 0.7);
        width: 95%;
    }
    .pic-2 img{
        box-shadow: 3px 6px 8px rgba(58, 40, 0, 0.7);
    }
    .pic-3 img{
        box-shadow: 3px 6px 8px rgba(58, 40, 0, 0.7);
    }
    .startBtn {
        bottom: 7%;
    }
    .prologue-container .page1 .prologue-nextBtn {
        width: 25vh;
        position: relative;
        z-index: 20;
        bottom: inherit;
        left: 50%;
        transform: translate(-50%);
    }
    .groupBtn .back {
        opacity: 0;
        position: absolute;
        top: 0;
        left: 10px;
        width: calc(100% - 20px);
        -webkit-transition: 0.5s;
        transition: 0.5s;
    }
    #firstAudio{
        opacity: 1;
        pointer-events: auto;
        position: relative;
        display: block;
        width: 300px;
        height: 30px;
    }
    #secondAudio{
        opacity: 1;
        pointer-events: auto;
        position: absolute;
        top: 3%;
        left: 0;
        display: block;
        width: 250px;
        height: 30px;
        pointer-events: none;
    }

}
/*# sourceMappingURL=style.css.map */
