@media (max-width: 1199px) {
    html, body, pre, code, kbd, samp, input, button, select, option, textarea {
        font-family: var(--font-theme-1);
        font-weight: var(--font-medium);
        font-style: normal;
        font-size: 17px;
        color: var(--color-black);
    }
}
@media (max-width: 1024px) {
    
    .banner-container figcaption p{
        margin: 0 0 2vw 0;
    }
    .btn-close {
        position: absolute;
        right: 3vw;
        top: 3vw;
    }
    .all-story {
        position: fixed;
        top: 60px;
        border-radius: 0;
        z-index: 100;
    }
    .timeline-story-list {
        padding: 4vw 8vw;
        padding-bottom: 80px;
    }
    .timeline-story-list .timeline {
        margin-bottom: 2vw;
        padding-bottom: 2vw;
    }
    .timeline-story-list figcaption h2 {
        margin: 0 0 1vw 0;
    }
    .app-wrapper {
        height: calc(100vh - 60px);
        align-items: normal;
        position: relative;
    }
    .app-wrapper .container {
        display: flex;
        justify-content: flex-start;
        width: 75%;
        margin: 0 auto;
        align-items: stretch;
        flex-direction: column;
    }
    .banner-container {
        display: none;
    }
    .banner-container.is-left {
        display: block;
    }
    .is-start .banner-container.is-left{
        opacity: 0;
        pointer-events: none;
    }
    .banner-container.is-left {
        position: absolute;
        display: block;
        width: 104%;
        background-color: rgb(0 0 0 / 81%);
        top: 0;
        height: 92%;
        padding: 8%;
        backdrop-filter: blur(10px);
        z-index: 100;
        pointer-events: none;
        transition: 0.2s ease-in;
        left: -2%;
        aspect-ratio: 1 / 1;
    }
    .banner-container.is-left figure {
        height: 100%;
        text-align: center;
        padding: 0;
    }
    .banner-container.is-left img {
        height: auto;
        width: 100%;
        max-width: initial;
    }
    .banner-container.is-left figcaption {
        color: rgb(228 228 228);
        padding: 2vw 0vw 0 0vw;
        width: 80%;
        max-width: 100%;
        margin: 0 auto;
        font-weight: var(--font-medium);
        font-size: 100%;
    }
    .story-container {
        height: 20vh;
        width: 100%;
        position: relative;
        bottom: 0;
        left: 0;
        border-radius: 1rem;
        z-index: 2;
    }
    .app-wrapper .container .container-left {
        width: 100%;
        padding: 40px 0px 90px 0;
    }
    .app-wrapper .container .container-right {
        width: 100%;
    }
    .dice {
        top: -5vw;
        width: 10vw;
    }
    :root {
        --dice-size: 5vw;
        --dot-size: calc(var(--dice-size) / 5.6);
        --half-dice: calc(var(--dice-size) / 2);
    }
    .sides {
        border-radius: 0.3rem;
    }
    .timeline-story figcaption {
        padding: 4vw 17vw 0 4vw;
    }
    .gameinfo {
        bottom: 1vw;
        left: 4vw;
        width: 70%;
        font-size: 75%;
    }
    .btn-all {
        top: -6vw;
        right: 1vw;
        font-size: 90%;
        padding: 1vw 2vw;
        border-radius: 3vw;
    }
    .grid-item {
        font-size: 75%;
    }
    .timeline-story figcaption h2 {
        margin: 0 0 1vw 0;
        font-size: 180%
    }
    .timeline-story figcaption p {
        font-size: 85%;
        padding-left: 0.2vw;
    }
}
@media (max-width: 768px) {
    .app-wrapper .container {
        width: 74%;
    }
}
@media (max-width: 767px) {
    .banner-container.is-left {
        padding: 4%;
        left: -2%;
    }
    .banner-container.is-left figcaption {
        color: rgb(228 228 228);
        padding: 2vw 0vw 0 0vw;
        width: 94%;
        max-width: 100%;
        font-size: 85%;
    }
    .player-token {
        border: 2px dashed #ff3231;
    }
    .player-token::before {
        border: 2px solid #fff;
    }
    .all-story {
        position: fixed;
        top: 50px;
        border-radius: 0;
        z-index: 100;
    }
    .timeline-story-list {
        padding: 6vw 6vw;
        padding-bottom: 80px;
    }
    .btn-close {
        width: 20px;
        height: 20px;
        right: 2vw;
        top: 2vw;
    }
    .timeline-story-list .timeline {
        margin-bottom: 6vw;
        padding-bottom: 6vw;
    }
    .timeline-story-list figcaption h2 {
        margin: 0 0 1vw 0;
        font-size: 130%;
    }
    .timeline-story-list figcaption p {
        font-size: 70%;
    }
    .app-wrapper .container {
        width: 94%;
    }
    .app-wrapper .container .container-left {
        width: 100%;
        padding: 10px 0px 50px 0;
    }
    .grid-container {
        border-radius: 12px;
        border: 2px solid var(--color-white);
    }
    .app-wrapper .container {
        justify-content: flex-start;
    }
    .grid-item {
        font-size: 60%;
    }
    .timeline-story figcaption h2 {
        margin: 0 0 1vw 0;
        font-size: 130%;
    }
    .timeline-story figcaption p {
        font-size: 70%;
        padding-left: 0.2vw;
    }
    .timeline-story figcaption {
        padding: 3vw;
    }
    .dice {
        top: -7vw;
        width: 14vw;
    }
    :root {
        --dice-size: 7vw;
        --dot-size: calc(var(--dice-size) / 5.6);
        --half-dice: calc(var(--dice-size) / 2);
    }
    .story-container {
        border-radius: 12px;
    }
    .timeline-story {
        border-radius: 12px;
    }
    .btn-all {
        top: -9vw;
        right: 1vw;
        font-size: 80%;
        padding: 1.5vw 2.5vw;
        border-radius: 4vw;
    }
    .gameinfo {
        bottom: 1vw;
        left: 4vw;
        width: 100%;
        font-size: 60%;
    }
}
@media (max-width: 480px) {}
@media (max-width: 767px) {
    .container.header-container {
        height: 50px;
    }
    .logo-header {
        width: 100px;
        display: block;
    }
    .header-right .social-nav ul li a {
        width: 26px;
        height: 26px;
        border-radius: 2px;
    }
    .header-nav {
        position: absolute;
        top: 38px;
        z-index: 5;
        width: 100vw;
        background: #fff;
        right: -10%;
    }
    .header-right .header-nav ul {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 15px;
    }
    .header-right .header-nav ul li {
        margin: 0;
    }
    .header-right .header-nav ul li a {
        display: inline-block;
        background: #fff;
        color: #000;
        border-radius: 0;
        padding: 0px 0px;
        font-size: 90%;
        height: 26px;
        line-height: 26px;
    }
    .header-right .header-nav ul li a:hover {
        background-color: #fff;
        color: #339edd;
    }
    .header-right .header-nav ul li a.is-active {
        background-color: #fff;
        color: #339edd;
    }
}