@charset "utf-8";
*,[class^="box"]{font-family:NAMU,sans-serif;user-select:none}
textarea,input{cursor:pointer;user-select:auto}
textarea:focus,input:focus{cursor:text}
a,a img,button,select,optgroup,option{cursor:pointer}
.btn,[class^="btn-"]{position:relative}
/* body */
.mainBody {
    max-width: 470px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 70px 15px 60px;
    color: #e3e3f9;
    background-color: #02121c;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
}
.btn {
    width: 100%;
    background-color: #b52e2e;
    color: #a7c5fb;
    user-select: none;
}
img {
    user-select: none;
}
.iconUser:before{font-size:35px;}
.footerNav .icon:before{font-size:20px}

/* preloader */
.preloader{display:flex;align-items:center;justify-content:center;flex-direction:column;position:fixed;top:0;left:0;width:100%;height:100%;background:#0e0e0e;z-index:99;}
.preloaderBox {
    width: 50vw;
    height: 30px;
    margin-top: 15px;
    border: 1px solid #00ced1;
    background-color: #fefefe;
    border-radius: 15px;
    overflow: hidden;
    padding: 1px;
}
.preloaderProgress {
    height: 100%;
    width: 0;
    margin-left: 0;
    margin-right: auto;
    transition: width .5s;
    background-color: darkturquoise;
    border-radius: 13px;
    max-width: 100%;
}
.preloaderHour{font-size:15px}

/* header */
.pageBox{border:1px solid #a7c5fb;border-radius:5px;padding:15px 0;margin-bottom:15px;}
.userInfo{margin-bottom:15px;}
.userInfoBox{padding:0;margin:0;width:calc(100% - 189px);}
.userInfoImageLeft{padding:0 15px;margin:0;width:18%}
.userInfoImageCenter{margin:0;padding-right:15px;width:64%}
.userInfoImageRight{padding:0 15px;margin:0;width:18%;text-align:right}
.userInfoName{margin:0 0 5px 0;font-size:16px;color:#fbe6c9}
.userInfoPost{margin:0;font-size:11px;}
.userInfoImg{width:36px;}
.userStorage{padding:15px;}
.userPostAmount{font-size:11px}

/* footer */
.footerPage {
    position: fixed;
    bottom: 0;
    left: auto;
    width: calc(100% - 30px);
    max-width: 440px;
    margin: auto;
    padding: 0;
    z-index: 9;
}

.modal {
    display: none;
    position: fixed;
    top: 20vh;
    left: 50vw;
    width: 80vw;
    min-height: 50px;
    background-color: #02121c;
    margin-left: -40vw;
    border: 1px solid #a7c5fb;
    border-radius: 10px;
    z-index: 2;
    overflow: hidden;
}
.modalClose {
    position: absolute;
    top: 5px;
    right: 5px;
    border: 1px solid #fefefe;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    cursor: pointer;
}
.modalClose:before {
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    background-color: #fefefe;
    transform: rotate(45deg);
    position: absolute;
}
.modalClose:after {
    content: '';
    display: block;
    width: 2px;
    height: 20px;
    background-color: #fefefe;
    transform: rotate(45deg);
    position: absolute;
}
.modalInfo {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    padding-right: 50px;
}

.yellow{color:#fbe6c9}
.green{color:#00ff90}
.userPostAmount span {
    color: #fefefe;
    font-size: 12px;
}

html{--tg-theme-header-bg-color:#020002 !important;}

/* icons */
.icon-user:before{content:'\f2c0'}
.icon-friends:before{content:'\f0c0'}
.icon-earn:before{content:'\f274'}
.icon-storage:before{content:'\f19c'}
.icon-rating:before{content:'\f080'}
.icon-copy:before{content:'\f24d'}
.icon-info:before{content:'\f05a';}
.icon-on:before{content:'\f204'}
.icon-off:before{content:'\f205'}
.icon-arr-right:before{content:'\f061'}
.icon-ok-earn:before{content:'\f046'}
.icon-settings:before{content:'\f085'}
.icon-hour-1:before{content:'\f251'}
.icon-hour-2:before{content:'\f252'}
.icon-hour-3:before{content:'\f253'}

.orientation{display:none;}
@media (orientation: landscape) {
    .orientation {
        display: flex;
        position: fixed;
        width: 100vw;
        height: 100vh;
        top: 0;
        left: 0;
        align-items: center;
        justify-content: center;
        background-color: var(--tg-theme-bg-color);
        z-index: 1000;
    }
    .orientation:before {
        content: 'Приложение работает только в портретной ориентации, пожалуйста, переверните устройство';
        text-align: center;
    }
}

/*@font-face{font-family:'FA';src:local('FontAwesome'),local('FontAwesome-Webfont'),url(/public/fonts/fontawesome-webfont.ttf) format('truetype')}*/
@font-face{font-family:'NAMU';src:local('NAMU 1850'),local('NAMU-1850'),url(/public/fonts/NAMU-1850.woff) format('woff')}
