@charset 'utf-8';
* { box-sizing: border-box; }
:root {
    --main-bg-color: #FBF5EA;
    --character-bg-color: #D5CBA9;
    --footer-bg-color: #463730;
    --font-white: #FBF5EA;
    --font-black: #463730;
    --font-gold: #CBBD8D;
    --link-hover:#EDE5D2;
}
body {
    font-family: 'SUIT', sans-serif;
    margin:0;
    padding:0;
    background-color:var(--main-bg-color);
    color:var(--font-black);
}
body.nonscroll {
    overflow-y:hidden;
}
a {
    transition:filter 200ms ease;
}
a:hover {
    opacity:0.9;
    cursor: pointer;
}
section {
    max-width:100vw;
    width:100%;
    overflow:hidden;
    position:relative;
}
.flex {
    display:flex;
}
.container {
    width:100%;
    max-width:71.25em;
    margin:0 auto;
    position:relative;
}
#pre-register-shortcut {
    position:fixed;
    right:1em;
    bottom:1em;
    z-index: 99;
}
#pre-register-shortcut picture * {
    width: 12em;
    height: 12em;
}

#landing {
    height: 100vh;
    max-height: 100vh;
    background-image:url('./img/bg/bg_landing.png');
    background-size:100% 100%;
    background-position: center center;
}
    #landing::after {
        width:100vw;
        height:100vh;
        position:absolute;
        top:0;
        left:0;
        content: ' ';
        background-image:url('./img/landingshine.png');
        background-position: right top;
        background-repeat: no-repeat;
        background-size: 50vh;

    }

    #landing .container {
        height:100%;
        align-items: center;
        justify-content:flex-end;
    }

    #landing .character {
        position:absolute;
        left:0;
        animation: landing_serin 3s;
    }
    
    #landing .character img {
        max-height:100vh;
        width:auto;
        height:auto;
        transform:translateX(-15%);
    }

    #landing .info{
        z-index: 1;
        display:flex;
        width:40em;
        max-width:80%;
        height:100%;
        flex-grow:0;
        flex-shrink:0;
        align-self:center;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        animation: landing_info 4s;
    }
        #landing .info .logo {
            margin:0.5em 0;
        }
        #landing .info .logo picture * {
            width: 40em;
            height: auto;
        }
        #landing .info .catchphrase {
            letter-spacing: 1em;
        }
        #landing .info .release {
            text-align: center;
            font-size:1.5em; 
            letter-spacing: 0.5em;;
        }
        #landing .info .release > div {
            margin: 0.25em;
        }

        
    #landing .download {
        margin-top:2em;
        margin-left:-4em;
        margin-right:-4em;
    }

    #landing .external-links {
        position:absolute;
        right: 1em;
        top: 1em;
        z-index: 1;
        display:flex;
    }
        #landing .external-links > a {
            min-width:2.25em;
            height:2.25em;
            margin-left:1em;
            display: flex;
            padding-left:1em;
            padding-right:1em;
            align-items: center;
            justify-content: center;
            background: #FFFCEB;
            box-shadow: 0px 0.25em 1em rgba(70, 55, 48, 0.25);
            border-radius: 0.5em;
            color:var(--font-black);
            text-decoration: none;
        }
        #landing .external-links > a img {
            height:1.5em;
            filter: invert(22%) sepia(6%) saturate(1583%) hue-rotate(334deg) brightness(96%) contrast(95%);
        }

/* #pv {
} */
#pre-register {
    height: 100% auto;
    min-height: 100vh;
    max-height: max-content;
    background-image: url('./img/bg/bg_preorder.jpg');
    display: inline-block;
    background-size:cover;
    position: relative;
    overflow: hidden;
    animation:repeatBackground 20s infinite linear;
}
#pre-register .container {
    padding-top: 3em;
    display: flex;
    align-items: center;
    margin-bottom:3rem;
    height: 100%;
    min-height: 100vh;
    left:0;
    right:0;
}

#pre-register .container .detail {
    justify-content: center;
}
#pre-register .foreground {
    right:0;
    width:50vw;
    height:100%;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
}
#pre-register .foreground .center {
    text-align: center;
    position: absolute;
    height: 100%;
    display:flex;
    align-items: center;
    justify-content: center;
}

#pre-register .foreground .center picture * {
    width:20em;
}
#pre-register .foreground .serin {
    bottom: 0;
    position: absolute;
    height: 100%;
    width:100%;
    display:flex;
    justify-content: center;
}

#pre-register .foreground .serin picture * {
    transform:translateY(0.2em) translateX(50%);
    height:100%;
    position: absolute;
    right:50%;
}

#pre-register .items {
    height: 13em;
    margin-bottom: 2em;
    position: relative;
}

#pre-register .items .decoration {
    width:100%;
    height:100%;
    position: absolute;
}

#pre-register .items  picture * {
    height:100%;
}



#pre-register .background {
    background-image:url('./img/preorder/preorder_pattern_b.png');
    background-size:16em;
    right: 0;
    left: 0;
    bottom: 0;
    top: 0;
}
#pre-register .background .top-rail {
    background-image:url('./img/preorder/preorder_pattern_a.png');
    background-repeat: repeat-x;
    background-position: left top;
    background-size:3em;
    height:6em;
    position: absolute;
    top:0px;
    left:0px;
    right:0px;
}
#pre-register .description {
    margin-bottom: 2em;
}
#pre-register .form {
    background: #FBF5EA;
    box-shadow: 0px 0.25em 1em rgba(70, 55, 48, 0.25);
    border-radius: 1em;
    display:flex;
    align-items: center;
    width:min-content;
    padding:0.5em;
    padding-right:4em;
    padding-bottom:0.4em;
}
#pre-register .restrictions {
    margin-top: 2.5em;
    margin-bottom: 2.5em;
}
#pre-register .restrictions ul {
    margin:0;
    padding:0;
    list-style: none;
}
#pre-register .restrictions ul li {
    margin-top:0.5em;
    margin-bottom:0.5em;
}
#pre-register .restrictions ul li .name {
    font-weight: bold;
    margin-right: 1em;
}
#pre-register .asset-copyright {
    font-size:0.65rem;
}
.download-link {
    margin: 0 0.5em ;
}
.download-link img {
    height: 4em;
}
.head .english {
    height: 4.188em;
}
.head .english picture * {
    height: 4.188em;
    max-height: 4.188em;
    width: auto;
}
.head .english.short {
    height: 4.188em;
}
.head .english.short picture * {
    height: 3.313em;
    max-height: 3.313em;
    width: auto;
}
.head .korean {
    font-size:2.25em;
    font-weight:bold;
    margin-top: -1.125em;
}
.head {
    margin-bottom: 1em;
}
.description {
    font-weight:med;
}

#story {
    height: 38em;
}
    #story .container {
        display:flex;
        align-items: center;
        height:100%;
    }
    #story .container .head {
        margin-bottom: 2em;
    }
    #story .container .detail {
        font-size: 1.2em;
        width:50%;
        font-weight:400;
        margin-bottom:3em;
        line-height: 2em;
    }
    #story .foreground {
        position:absolute;
        background-image:url('img/bg/bg_story.png');
        background-size:cover;
        background-position: center center;
        height:60%;
        right:0;
        width:45%;
    }

#character {
    height: 100vh;
    max-height: 100vh;
    max-width: 100vw;
    background-color: var(--character-bg-color);
}

    #character .head {
        width:100%;
        position:absolute;
        top:0;
        padding-top: 3.25em;
        text-align: center;
    }
    
#character .characters {
    display:flex;
    align-items: center;
    justify-content: center;
    padding-top: 5em;
    padding-bottom: 5em;
    width:100vw;
    height: 100%;
    margin:0 auto;
    overflow-x:auto;
}

#character .characters ul {
    display:block;
    margin:0 auto;
    padding:0px;
    min-width: 100vw;
    width:max-content;
    list-style: none;
    text-align: center;
    white-space: nowrap;
    height:100%;
    position:relative;
}

#character .characters li:first-child {
    margin-left:4em;
}
#character .characters li:last-child {
    margin-right:4em;
}
#character .characters li {
    display:inline-flex;
    align-items: center;
    height:100%;
}
#character .characters a {
    display:block;
    position: relative;
    height:100%;
    max-height: calc(100vh - 16em);
}
#character .background {
    background-image:url('img/bg/bg_character.jpg');
    background-size:cover;
    background-position:center center;
    position:absolute;
    z-index: 0;
    height:35vh;
    width:100%;
    top:50%;
    transform:translateY(-50%);
}

#character .characters a picture * {
    height:100%;
}


#system {
    height: 100vh;
    max-height: 100vh;
}
    #system .container {
        display:flex;
        align-items: center;
        height:100%;
    }
    #system .container .head {
        margin-bottom: 2em;
    }
    #system .container .detail {
        font-size: 1.2em;
        width:40%;
        font-weight:400;
        margin-bottom:3em;
        line-height: 2em;
        display:flex;
        flex-direction: column;
    }
    
    #system .container .detail .description {
        margin-bottom:4em;
    }
    #system .container .detail .more {
        padding:1em 3em;
        border-radius: 2em;
        font-weight:bold;
        align-self: flex-end;
        text-align: center;
        color:var(--font-white);
        background-color:var(--font-gold);
    }
    
    #system .container .foreground {
        display: flex;
        text-align: right;
        position: absolute;
        right: -5%;
        height: 100%;
        max-width:60%;
        align-items: center;
        justify-content: center;
      }
      #system .container .foreground picture  {
        width:100%;
      }
      
    #system .container .foreground picture * {
        max-width:100%;
        width:50vw;
    }
    
footer {
    background-color:var(--footer-bg-color);
}

footer .container {
    text-align: center;
    padding-top:6em;
}
footer .container .logo {
    margin-bottom:3.5em;
}
footer .container .logo picture * {
    height: 8.75em;
}
footer .container .download {
    margin-bottom:2rem;
}
footer .container .asset-copyright {
    color:var(--font-white);
    margin-bottom:4em;
    font-size: 0.65rem;
}
footer .company-links {
    border-top: var(--font-white) 1px solid;
    width:80%;
    margin:0 auto;
    display:flex;
    align-items: center;
    padding-top:2em;
    padding-bottom:4em;
    justify-content: space-between;
    color: var(--font-white);
}
footer .socials {
    display: flex;
}
footer .socials img {
    filter: invert(91%) sepia(11%) saturate(513%) hue-rotate(324deg) brightness(108%) contrast(97%);
}
footer .socials > * {
    margin-right:1em;
}
footer .company-links a {
    display:block;
    color: var(--font-white);
    text-decoration: none;
}
footer .company-links .socials {
    justify-self: flex-start;
}
footer .company-links .company-logo {
    justify-self: flex-end;
}
footer .company-links .company-logo img {
    height: 2.8em;
}


.modal {
    background-image:url('img/bg/bg_modal.jpg');
    background-size:auto 100%;
    background-attachment: fixed;
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    z-index: 99;
    overflow-y:auto;
    width:100vw;
    max-width:100vw;
    max-height:100vh;
    height:100vh;
    display:flex;
    visibility: hidden;
    transition: transform 300ms ease;
    transform: translateY(100vh);
}

.modal.active {
    visibility: visible;
    transform: translateY(0);
}
.modal .nav {
    z-index: 1;
    display:flex;
    position:fixed;
    max-width:100vw;
    list-style-type: none;
    margin:0;
    top:0;
    height:9em;
    padding:0;
    justify-content: center;
    left:50%;
    transform: translateX(-50%);
    
}
.modal .nav li {
    padding-top:2em;
    margin:0 0.5em;
}

.modal .nav li.active a {
    color:var(--font-gold);
    font-weight:700;
}
.modal .nav li a picture img {
    border:0em solid var(--font-gold);
    border-radius: 5em;
    transition: border 150ms ease;
}
.modal .nav li.active a picture img {
    border:0.2em solid var(--font-gold);
}
.modal .nav a {
    text-align:center;
    white-space: nowrap;
}
.modal .nav a .thumbnail * {
    width:5em;
}
.modal .close {
    position:fixed;
    right: 1em;
    top: 1em;
    z-index: 99;
}
.modal .pages {
    height:100%;
}
.modal .pages .page {
    width:100%;
    height:100%;
    display:none;
}
.modal .pages .page.active {
    display:flex;
}
.modal .pages .page .info h1 {
    font-weight: 700;
    font-size:2em;
    margin-bottom:0.5em;
}
.modal .pages .page .info .description {
    line-height: 2em;
}

#character-modal .pages .page {
    align-items: center;
}
#character-modal .pages .page .image {
    order:1;
    width:50%;
    text-align: center;
    bottom:0;
    top:0;
    z-index: -1;
}

#character-modal .pages .page .image picture * {
    height:100vh;
    transform: translateY(1vh) ;
}
#character-modal .pages .page .image {
    opacity:0;
}
#character-modal .pages .page.active .image {
    opacity:1;
}
#character-modal .pages .page .info {
    order:2;
    left:50%;
}

#character-modal .pages .page .info .voice .name {
    font-weight: 700;
    margin-top:0;
    margin-bottom:1em;
}

#character-modal .pages .page .info .voice .name b {
    color:var(--font-gold);
}


#character-modal .pages .page .info .hashtag {
    margin-bottom: 2em;
}
#character-modal .pages .page .info .hashtag span {
    color:var(--font-white);
    background-color:var(--font-gold);
    padding: 0.25em 0.5em;
    font-size:0.9em;
}

#character-modal .pages .page .info .preview {
    display: inline-flex;
    border-top: 1px solid var(--font-gold);
    border-bottom: 1px solid var(--font-gold);
    font-size: 0.8em;
    font-weight: bold;
    list-style: none;
    padding:1em 0em;
    margin:0;
    display:flex;
    align-items: center;
}

#character-modal .pages .page .info .preview li{
    margin-right:2em;
}
#character-modal .pages .page .info .preview a img{
    height:2.5em;
}

#system-modal .pages .page .info {
    justify-content: center;
    display:flex;
    flex-direction: column;
    padding-bottom:6em;
}

#system-modal .pages .page .image picture * {
    height:75vh;
}

#system-modal .pages .page .image {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 20em;
}
@media screen and (max-width: 1199.98px) {
    body {
        font-size:16px;
    }
    .container {
        padding:0 2em;
    }
    
}
@media screen and (max-width: 991.98px) { 
    body {
        font-size:14px;
    }
    .container {
        padding:0 1em;
    }
    .download-link img {
        height: 4rem;
    }
    
    #landing .character img {
        transform:translateX(-25%);
    }
    #character-modal .pages .page .image picture * {
        transform:translateX(-20%); 
    }
    #system-modal .pages .page .info {
        width:45%;
    }
    
    #system {
        height:auto;
        min-height: 100vh;
        max-height: none;
        padding-top:3em;
        padding-bottom:3em;
    }
    #system .container {
        flex-direction: column;
    }
    #system .container .detail {
        order:2;
        width:100%;
        margin-top:3em;
    }
    #system .container .foreground {
        position:relative;
        max-width: none;
        right:auto;
        height:auto;
        order:1;
    }
    #system .container .foreground picture * {
        width:100vw;
        max-width: none;
    }
}

@media screen and (max-width: 767.98px) { 
    body {
        font-size:12px;
    }
    #landing .container {
        flex-direction: column;
    }
    #pre-register {
        max-width: none;
    }
    .modal .nav {
        transform: none;
        left: 0;
        width: 100vw;
        height: auto;
        padding-bottom: 1em;
    }
    
    .modal .nav::before {
        position:absolute;
        width:100%;
        height:100%;
        opacity: 0;
        display:block;
        content: ' ';
        transition: opacity ease 150ms 0ms;
        z-index: -1;
        background: rgb(246,246,246);
        background: -moz-linear-gradient(0deg, rgba(246,246,246,0) 0%, rgba(246,246,246,1) 33%, rgba(246,246,246,1) 100%);
        background: -webkit-linear-gradient(0deg, rgba(246,246,246,0) 0%, rgba(246,246,246,1) 33%, rgba(246,246,246,1) 100%);
        background: linear-gradient(0deg, rgba(246,246,246,0) 0%, rgba(246,246,246,1) 33%, rgba(246,246,246,1) 100%);
    }
    .modal .nav.scroll::before {
        opacity:1 ;
    }
    #pre-register .background {
        display: flex;
        flex-direction: column;
        position: relative;
    }
    #pre-register .background .top-rail {
        position:relative;
    }
    #pre-register .foreground {
        position: relative;
        width: 100%;
        right: auto;
        flex-shrink: 0;
    }
    #pre-register .foreground .center {
        display:none;
    }
    
    #pre-register .foreground .serin {
        position: relative;
        bottom: auto;
        width: 100%;
    }
    #pre-register .foreground .serin picture * {
        width: 30em;
        height:auto;
        position:relative;
        margin-top:-10vw;
    }
    #pre-register .container .detail {
        justify-content: initial;
        align-items: center;
        width: 100%;
    }
    
    #pre-register .container {
        text-align: center;
        margin-top: -26em;
    }
    #pre-register .form {
        padding-right: 0.5em;
        display: inline-flex;
    }
    #landing .character {
        left:0;
        width:100%;
        height:100%;
    }
    #landing .info {
        padding-top:20vh;
    }
    #landing .character img {
        position:absolute;
        left:50%;
        transform:translateX(-50%);
    }
    #landing .info .release {
        color:var(--font-white);
    }
    #landing .info .catchphrase {
        letter-spacing: 0.5em;
        font-weight:bold;
        text-shadow: var(--font-white) 0px 0px 0.5em,var(--font-white) 0px 0px 0.5em,var(--font-white) 0px 0px 0.5em,var(--font-white) 0px 0px 0.5em;
      }
    #pre-register .items {
        height: 13rem;
    }
    #story {
        height:100vh;
        min-height:30em;
    }
    #story .container {
        flex-direction: column;
    
    }
    #story .container .foreground {
        display: block;
        position: relative;
        width:100vw;
        height:30vh;
        min-height:16em;
    }

    #story .container .detail {
        text-align: center;
        width:100%;
        padding-top:4em;
        margin-bottom:6em;
        display:flex;
        flex-direction: column;
        justify-content: center;
        flex-grow:1
    }

    #story .container .detail .description {
        word-break:keep-all
    }
    #story .container .detail .description br.mb {
        display:none;
    }
    footer .company-links {
        border-top: rgba(251, 245, 234, 0.5) 1px solid;
        width:80%;
        margin:0 auto;
        display:flex;
        align-items: center;
        padding-top:2em;
        padding-bottom:4em;
        justify-content: space-between;
        color: var(--font-white);
        font-size: 1rem;
    }
    
    footer .company-links .company-logo img {
        height: 2rem;
    }
    
    .modal .close img {
        height:3em;

    }
    #character-modal > .container::before {
        content: ' ';
        display:block;
        width:100%;
        height:calc(100vh + 10em);
        position:absolute;
        z-index: -1;
        background-image:url('./img/bg/bg_character.jpg');
        background-size:cover;
        background-position: center center;
        background-attachment:fixed;
        transition: opacity ease 500ms;
        opacity:0;
    }
    #character-modal.scroll > .container::before {
        opacity:1;
    }
    #character-modal .nav {
        transition: opacity ease 500ms, transform ease 300ms;
    }
    #character-modal.scroll .pages .page .info {
        opacity: 0;
        transform:translateY(500px) translateX(-50%);
    }   
    #character-modal.scroll .nav {
        opacity: 0;
        transform:translateY(-500px);
    }
    #character-modal .pages .page {
        flex-direction: column;
    }
    #character-modal > .container {
        padding: 0;
    }
    #character-modal > .container .container {
        max-height: calc(100vh + 10em);
        overflow: hidden;
    }
    #character-modal .pages .page .image picture * {
        transform:translateX(2%);
        height:calc(100vh + 8em);
    }
    #character-modal .pages .page .image {
        align-items: center;
        justify-content: center;
        width:auto;
        overflow:hidden;
        height:calc(100vh + 8em);
        padding-top:3em;
        margin-top:2em;
        
    }
    
    /* #character-modal .pages .page .info {
        background-color: #fafafa;
        width: 100%;
        border-radius: 2em 2em 0em 0em;
        text-align: center;
        padding-bottom: 2em;
    } */
    #character-modal .pages .page .info {
        background-color: #FAFAFA;
    width: 85vw;
    text-align: center;
    padding-bottom: 1em;
    position: absolute;
    bottom: 0px;
    transition: opacity ease 500ms, transform ease 300ms;
    margin-bottom: 12em;
    border-radius: 2em;
    right: 0;
    transform: translateX(-50%) ;
    }
      #character-modal .pages .page .info .preview {
        display: inline-flex;
        border-top: 1px solid var(--font-gold);
        border-bottom: 1px solid var(--font-gold);
        font-size: 0.8em;
        font-weight: bold;
        list-style: none;
        padding:1em 0em;
        margin:0;
        align-items: center;
        justify-content: center;
    }
    
    #character-modal .pages .page .info .preview li{
        margin: 0 1em;
    }
    #character-modal .pages .page .info .preview li img {
        height:2rem;
    }
    #character .characters li:first-child {
        margin-left:1em;
    }


    #system-modal {
        overflow-y:auto;
    }
    #system-modal .nav li {
        padding-top:1em;
    }
    #system-modal .pages .page {
        flex-direction: column;
        margin-top: 6em;
        margin-bottom: 6em;
        align-items: center;
        justify-content: center;
        height: auto;
        min-height: calc(100% - 12em);
    }
    #system-modal .pages .page .info {
        order:2;
        flex-grow:0;
        justify-content: flex-start;
        text-align: center;
        padding-bottom:0;
        flex-shrink: 0;
        width:100%;
    }
    #system-modal .pages .page .image {
        width: 100%;
        order:1;
        justify-content: center;
        height:min-content;
        flex-grow:0;
        flex-shrink: 0;
    }
    #system-modal .pages .page .image picture * {
        height: auto;
        width: 55vw;
    }

    footer {
        padding-bottom: 8em;
    }
    #pre-register {
        animation:repeatBackground 60s infinite linear;
    }
}

@media screen and (max-width: 575.98px) { 
    body {
        font-size:12px;
    }
    #landing .info .logo picture * {
        width:30em;
    }
}

@media screen and (min-width: 1400px) {
    body {
        font-size:18px;
    }
}
@media screen and (min-width: 1600px) {
    body {
        font-size:20px;
    }
}
@media screen and (min-width: 1800px) {
    body {
        font-size:22px;
    }
}
@media screen and (min-width: 2000px) {
    body {
        font-size:24px;
    }
}
@media screen and (min-width: 2600px) {
    body {
        font-size:26px;
    }
}

@keyframes landing_serin {
    from { opacity:0; }
    to { opacity: 1; }
}
@keyframes landing_info {
    0% { opacity: 0; }
    25% { opacity: 0; }
    100% { opacity: 1; }
}
@keyframes repeatBackground {
    0% {
      background-position: 0% 0%;
    }
    50% {
      background-position: 100% 0%;
    }
    100% {
      background-position: 0% 0%;
    }
}