@import url('https://fonts.googleapis.com/css2?family=EB+Garamond&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mochiy+Pop+One&display=swap');
@font-face{
    font-family: font1;
    src: url("/assets/font/NamTeng\ 2022.ttf");
}
@font-face{
    font-family: font2;
    src: url("/assets/font/001-KoZ-Unicode.ttf");
}
:root{
    --color: #333;
    --background: #fff;
}
::placeholder{
    color: var(--color);
}
body{
    background: var(--background);
    margin: 0;
    padding: 0;
    font-family: 'EB Garamond', serif;
    scroll-behavior: smooth;
}
::-webkit-scrollbar{
    display: none;
}
nav{
    width: 100%;
    display: flex;
    height: 63px;
    justify-content: space-around;
    align-items: center;
    background: rgba(255, 255, 255, 0.082);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.279);
}
nav .left{
    display: flex;
    align-items: center;
}
nav .left i{
    font-size: 23px;
    color: var(--color);
    margin: 5px;
    cursor: pointer;
    display: none;
    transform: scale(1);
    transition: 0.3s;
    outline: none;
}
nav .left i:active{
    transform: scale(0.91);
}
nav .left a{
    display: flex;
    align-items: center;
    margin: 5px;
    text-decoration: none;
    user-select: none;
}
nav .left a img{
    width: 88px;
    height: 42px;
    margin-right: 5px;
    object-fit: contain;
    object-position: center;
    display: none;
}
nav .left a h1{
    font-size: 29px;
    color: royalblue;
}
nav .right{
    display: flex;
    align-items: center;
}
nav .right a{
    margin: 5px 9px;
    font-size: 23px;
    color: var(--color);
    transition: 0.5s;
}
nav .right a:hover{
    transform: translateY(5px);
}
.container{
    width: 100%;
    display: flex;
    height: calc(100vh-69px);
}
.container .left{
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 259px;
    background: transparent;
    height: calc(100vh - 69px);
}
.container .left h3{
    font-size: 23px;
    margin: 5px;
    color: var(--color);
    margin-bottom: 9px;
}
.container .left .div{
    display: flex;
    align-items: center;
    text-decoration: none;
    width: 89%;
    background: transparent;
    margin: 5px 3px;
    border-radius: 5px;
    padding: 7px 9px;
    justify-content: space-between;
    cursor: pointer;
    font-size: 17px;
    color: var(--color);
    transition: 0.5s;
    border: 2px solid var(--color);
    user-select: none;
}
.container .left .div:hover{
    transform: translateX(8px);
}
.container .left .div p{
    margin: 5px;
    font-weight: bold;
}
.container .left .by{
    width: 96%;
    bottom: 0;
    right: 0;
    text-align: right;
    margin: 3px;
    color: var(--color);
    font-size: 15px;
    font-weight: normal;
    letter-spacing: 1px;
}
.container .right{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: scroll;
    min-height: calc(100vh- 69px);
    height: calc(100vh- 69px);
}
.container .right h1{
    background: linear-gradient(195deg,rgb(65, 206, 225),blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 5vw;
    margin: 0;
    margin-top: 19px;
    display: flex;
    align-items: center;
    font-family: font1;
}
.container .right h1 i{
    font-size: 29px;
    margin: 0 24px;
    font-weight: bold;
}
.container .right p{
    margin: 3px;
    width: 91%;
    text-align: center;
    font-size: 24px;
    color: var(--color);
    margin-bottom: 9px;
}
.in{
    width: 100%;
    display: flex;
    margin: 9px 0;
    justify-content: space-evenly;
}
.paper{
    overflow: hidden;
    margin-right: 4px;
    background: var(--background);
    border: 2px solid rgba(150, 150, 150, 0.285);
    border-radius: 9px;
    width: 500px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 482px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin: 0 9px;
}
.paper:hover .btn{
    right: 0;
}
.paper .nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 5px 0;
    background: rgba(150, 150, 150, 0.285);
}
.paper .nav h1{
    margin: 0;
    width: max-content;
    font-size: 23px;
    margin-left: 11px;
    user-select: none;
}
.paper .nav h1 i{
    margin: 3px 9px;
    font-size: 15px;
}
.paper .nav .change{
    margin-right: 10px;
    font-size: 19px;
    cursor: pointer;
    color: var(--color);
    transform: scale(1);
    transition: 0.5s;
}
.paper .nav .change:active{
    transform: scale(0.89);
}
.navbtn{
    display: flex;
    align-items: center;
}
.navbtn button{
    cursor: pointer;
    padding: 8px 15px;
    color: var(--background);
    background: royalblue;
    outline: none;
    border: none;
    margin: 0 5px;
    border-radius: 5px;
    transform: scale(1);
    transition: 0.5s;
    margin-right: 11px;
}
.navbtn button:active{
    transform: scale(0.89);
}
.paper textarea{
    width: 89%;
    font-size: 19px;
    height: 100%;
    resize: none;
    color: var(--color);
    margin-top: 8px;
    letter-spacing: 1px;
    background: transparent;
    border: none;
    outline: none;
    font-family: font1;
}
.btn{
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    right: -99px;
    transition: 0.5s;
    top: 50%;
    padding: 0 9px;
    transform: translate(0,-50%);
}
.btn button{
    margin: 5px;
    width: 36px;
    height: 36px;
    background: royalblue;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
    border: none;
    outline: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 17px;
    border-radius: 5px;
    transform: scale(1);
    text-align: center;
}
.btn button:hover{
    background: rgb(34, 75, 198);
}
.btn button:active{
    transform: scale(0.89);
}
.play{
    display: none;
}
.preview{
    width: 500px;
    background: var(--background);
    border-radius: 7px;
    position: relative;
    margin-left: 4px;
    overflow: hidden;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 9px;
    border: 2px solid rgba(150, 150, 150, 0.285);
}
.preview:hover .btn{
    right: 0;
}
.preview .nav{
    display: flex;
    width: 100%;
    align-items: center;
    background: rgba(150, 150, 150, 0.285);
    justify-content: space-between;
    padding: 5px 0;
}
.dots{
    display: flex;
    align-items: center;
    margin-left: 9px;
}
.dots .dot{
    width: 21px;
    height: 21px;
    border-radius: 50%;
    margin: 2px 4px;
}
.dots .back{
    color: var(--color);
    font-weight: bold;
    margin-right: 2px;
    background: transparent;
    padding: 7px;
    font-size: 19px;
    transition: 0.5s;
    border-radius: 50%;
    cursor: pointer;
}
.dots .back:hover{
    background: #a9a9a958;
}
.dots .dot:nth-child(2){
    background: rgb(240, 240, 13);
}
.dots .dot:nth-child(3){
    background: rgb(45, 237, 122);
}
.dots .dot:nth-child(4){
    background: rgb(215, 13, 13);
}
.preview .nav h3{
    margin: 9px 15px;
    font-size: 20px;
    color: royalblue;
}
.preview #pretext{
    width: 91%;
    font-size: 19px;
    color: var(--color);
    margin-top: 9px;
    letter-spacing: 1px;
    text-align: left;
    height: 82%;
    resize: none;
    outline: none;
    background: transparent;
    border: none;
}
.hea{
    width: 91%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    background: url("/assets/img/tai.png") no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 5px;
    margin: 5px;
    display: none;
}
.hea p{
    color: #fff;
    background: rgba(0, 0, 0, 0.374);
    padding: 5px 9px;
    border-radius: 5px;
    font-size: 15px;
    cursor: pointer;
    user-select: none;
    margin: 5px;
    outline: none;
    transition: 0.3s;
    transform: scale(1);
}
.hea p:active{
    transform: scale(0.88);
}
.hea h1{
    font-size: 23px;
    color: royalblue;
    margin: 5px;
    width: 96%;
    text-align: left;
    margin-top: 32px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 4px;
}
.pop{
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.207);
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    display: none;
}
.toast{
    position: fixed;
    left: 0;
    bottom: -123px;
    background: var(--color);
    color: var(--background);
    margin: 9px;
    font-size: 18px;
    padding: 9px 15px;
    border-radius: 4px;
    transition: 0.5s;
}
.preview .back{
    display: none;
}
.linkdiv{
    background: var(--background);
    width: 91%;
    padding: 14px;
    max-width: 459px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.linkdiv h1{
    margin: 0;
    margin-top: 15px;
    color: var(--color);
    font-size: 36px;
}
.linkdiv p{
    margin: 0;
    font-size: 19px;
    color: var(--color);
}
.linkdiv img{
    width: 159px;
    height: 159px;
    border: 4px solid #dedede57;
    margin-top: 12px;
    margin-bottom: 15px;
    user-select: none;
    object-fit: contain;
    object-position: center;
}
.linkinp{
    width: 89%;
    display: flex;
    margin-top: 19px;
    align-items: center;
}
.linkinp input{
    width: 100%;
    font-size: 18px;
    background: #dadada42;
    color: var(--color);
    padding: 9px;
    margin-right: 3px;
    outline: none;
    border: 1px solid #eee;
    border-radius: 2px;
}
.linkinp i{
    cursor: pointer;
    padding: 12px;
    border-radius: 5px;
    transition: 0.5s;
    color: var(--color);
    transform: scale(1);
}
.linkinp i:hover{
    color: var(--background);
    background: var(--color);
}
.linkinp i:active{
    transform: scale(0.89);
}
.viaqr{
    display: flex;
    align-items: center;
    margin-top: 15px;
    margin-bottom: 9px;
    padding: 10px 19px;
    cursor: pointer;
    color: royalblue;
    background: #b4b4b442;
    text-decoration: none;
    border-radius: 5px;
    user-select: none;
}
.viaqr i{
    font-size: 19px;
    margin-right: 3px;
}
.viaqr p{
    margin: 5px;
    font-weight: bold;
}
.closepop{
    cursor: pointer;
    color: var(--background);
    font-size: 29px;
    transform: translateY(63px);
    background: var(--color);
    border-radius: 50%;
}

@media(max-width:855px){
    .menu{
        position: fixed;
        top: 0;
        left: -369px;
        background: #fff;
        border-right: 2px solid rgb(161, 161, 161);
        height: 100vh;
        margin-top: 65px;
        z-index: 1;
        transition: 0.5s;
        backdrop-filter: blur(7px);
        -webkit-backdrop-filter: blur(7px);
    }
    nav .left i{
        display: block;
    }
    .hea{
        display: flex;
    }
}
@media(max-width:666px){
    .run{
        display: none;
    }
    .play{
        display: block;
    }
    .paper{
        min-width: 99%;
        border-bottom: 1px solid dimgray;
    }
    .preview{
        display: none;
        min-height: 400px;
        min-width: 99%;
    }
    .preview .back{
        display: block;
    }
    .btn{
        position: relative;
        bottom: 0;
        flex-direction: row;
        top: 0;
        right: 0;
        height: max-content;
        width: 100%;
        padding: 7px 0;
        background: var(--background);
        justify-content:center;
        transform: none;
    }
}
@media(max-width:599px){
    nav{
        justify-content: space-between;
    }
    nav .left{
        margin: 0px 7px;
    }
    nav .left a img{
        display: block;
    }
    nav .left a h1{
        display: none;
    }
    nav .right a{
        font-size: 19px;
    }
    .container .right h1{
        font-size: 9vw;
    }
    .paper .nav h1{
        font-size: 19px;
    }
    .container .right p{
        font-size: 15px;
    }
    .down{
        display: none;
    }
    .ani{
        width: 99px;
        height: 99px;
    }
    .container .left .by{
        font-size: 14px;
    }
    .btn{
        border-top: 1px solid rgba(105, 105, 105, 0.214);
    }
}