body {
    background: #e7fff4;
}

html,
body,
canvas {
    margin: 0;
    border: 0;
    padding: 0;
    display: block;
    overflow: hidden;
    height: 100%;
    line-height: normal;
    touch-action: none;
}

#view,
#ui {
    position: absolute;
    width: 100%;
    height: 100%;
    /*z-index: 1;*/
    /*width: 100%;
    height: 100%;

    top: 50%;
    left: 50%;
    -moz-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    */
}

@font-face {
    font-family: "Lilita";
    src: url("./assets/fonts/lilita.ttf") format("truetype");
  }

  .noselect {
    -webkit-touch-callout: none; /* iOS Safari */
      -webkit-user-select: none; /* Safari */
       -khtml-user-select: none; /* Konqueror HTML */
         -moz-user-select: none; /* Old versions of Firefox */
          -ms-user-select: none; /* Internet Explorer/Edge */
              user-select: none; /* Non-prefixed version, currently
                                    supported by Chrome, Edge, Opera and Firefox */
  }

#expaBar{
    margin: 10px 10%;
    justify-content: center;
    height: 30px;
}

.centerMoney{
    display: flex;
    justify-content: space-around;
    font-size: 25px;
    color: #ffc60a;
}

.coinsShop
{
    margin-top: 10px;
}

#fullExpBar{
    width: 50%;
    height: 30px;
    top: -30px;
    background-color: #dad53f;
}

#emptyExpBar{
    width:100%;
    height: 30px;
    background-color:#59570d; 
}


.lvlInfoText
{
    text-align: center;
    font-size: 20px;
    color: aliceblue;
    margin: 10px;
}


#view {
    z-index: 1;
}

#ui {
    z-index: 2;
}

.fadein {
    animation: fadein 2s;
}

.fadeout {
    animation: fadeout 2s;
}

#ui {
    z-index: 4;
    /*pointer-events: none;*/
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background-color: #008f91d4;
}
#ui.hide {
    display: none;
}

body,
button,
input {
    font-family: 'Lilita', sans-serif;
}

input,textarea {
    width:100%;
    display:block }

.uibox {
    /*background: #422;*/
    max-width: 550px;
    margin: 0px auto 0 auto;
    padding: 0px 10px 30px 10px;
    order: 2;
    width: 100%;
    min-width: 350px;
}

.uibox .logo {
    text-align: center;
    height: 100%;
    position: relative;
    overflow: hidden;
    margin-bottom: -5px;
}

.logo img {
    width: 340px;
}

.logo.end img {
    width: 260px;
}

@keyframes pulse {
    0% {
     transform: scale(1, 1);
    }

    50% {
     transform: scale(1.1, 1.1);
    }

    100% {
    transform: scale(1, 1);
    }
}

.newIconShop
{
    animation: pulse 1s linear infinite;
}

#newIconInShop
{
    position: absolute;
    top: 170px;
    margin-top: -30px;
}

#newIconMenuShop
{
    position: relative;
    top: -105px;
    left: 83px;
    margin: 0px;
}

.shopBtn
{
    max-height: 115px;
}

/*
.resultbox {
    position: relative;
}
*/

.resultsimg {
    width: 50%;
    margin: auto;
}

.resultsimg img {
    width: 100%;
}

.progress {
    
    transition: 1s ease;
    transition-delay: 0.1s;
    transition-property: width;
  }

  .imgIconProgress
  {
    position: relative;
    width: 45px;
    left: -45px;
    top: -80px;
  }

  .imgIconFinal
  {
    position: relative;
    width: 45px;
    left: 45px;
    top: -70px;
    float: right;
  }

  #left_side {
    order: 1;
}

#right_side {
    order: 3;
}

#left_side,
#right_side {
    width: 260px;
}

.results {
    display: flex;
    justify-content: center;
    font-size: 18px;
    text-shadow: 0px 0px 2px #000000;
    white-space: nowrap;
    color: #fff;
    margin-top: 10px;
    letter-spacing: 1px;
    /*position: absolute;
    top: 50%;
    left: 50%;
    -moz-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
*/
}

.popUpBack{
    background-color: #403f3b;
    max-width: 600px;
    width: 600px;
    justify-content: center;
    display: flex;
}

.popUp .skin{
    justify-content: center !important;
    width: inherit;
    max-width: 300px;
}

.popUp .yellow {
    width: -moz-available;          /* WebKit-based browsers will ignore this. */
    width: -webkit-fill-available;  /* Mozilla-based browsers will ignore this. */
    width: fill-available;
}

.namePopUp{
    text-align: center;
    font-size: 23px;
    margin-bottom: 0px;
    padding-bottom: 0px;
    color: #eaec4b;
    margin-top: 20px;
}

#resultsPopUp
{
    position: absolute;
    display: none;
    justify-content: center;
    
    width: 100%;
    top: 140px;
   
    height: fit-content;
    border-radius: 10px;
}

.results .left {
    text-align: right;
    margin-right: 10px;
}

.newScore {
    color: #8fa;
}

.nav {
    margin: 10px 10%;
    display: flex;
    justify-content: center;
}

.uibox .play {
    margin: 0 12%;
    display: flex;
    justify-content: center;
}

.uibox .tips {
    height: 40px;
    display: flex;
}

.uibox .tip {
    color: white;
    text-align: center;
    font-size: 19px;
    animation: fadein 2s;
    padding: 10px 10%;
    align-self: flex-end;
    width: 100%;
}

@keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeout {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

#nick {
    background: #ffffff;
    padding: 0px;
    font-size: 25px;
    text-indent: 10px;
    color: #762d0b;
    outline: none;
    flex: 1 1 auto;
    margin-bottom: 0px;
    width: 94%;
    border: 5px solid;
    border-color: #ffaf12;
    border-radius: 50px;
}

#nick::placeholder {
    color: #a1a18d;
    opacity: 1; /* Firefox */
}

#play {
    flex: 0 0 130px;
    width: 100%;
    margin: 0px;
    margin-top: 5px;
}

#again,
#menu {
    flex: 1 1 auto;
}

#inputWrap
{
    width: 100%;
}

.lowerPlayLine
{
    margin-right: 5px;
    overflow: hidden;
}

button {
    border: 6px solid;
    border-radius: 60px;
    font-size: 35px;
    letter-spacing: 1px;
    padding: 0px 15px;
    margin: 10px;
    cursor: pointer;
    box-sizing: border-box;
}

button:active {
    border-bottom: none;
    border-top: 6px solid;
}

button:focus {
    outline: none;
}

button.yellow {
    background: #ff9e00;
    border-color: #ffffff;
    color: #ffffff;

}

button.green {
    background: #11bd00;;
    border-color: #ffffff;
    color: #ffffff;
}

button.buy {
    background: #eaec4b;
    border-color: #a1a130;
    color: #6e7100;
  }

button.unavail {
    background: #bebebb;
    border-color: #36361d;
    color: #262717;
  }
  

button.orange {
    background: #ffffff;
    border-color: #ffb640;
    color: #000000;
}

button.disabled {
    background: #ebebeb;
    border-bottom: 6px solid #9c9c9c;
    color: #9c9c9c;
    cursor: default;
}

button.yellow:hover,
button.yellow:focus {
    background: #ffc60a;
}

button.green:hover,
button.green:focus {
    background: #66f975;
}

button.disabled:hover,
button.disabled:focus {
    background: #ebebeb;
}

button.disabled:active {
    border-top: none;
    border-bottom: 6px solid;
}

.uibox p.notsupported {
    color: rgb(177, 55, 55);
    font-size: 18px;
    text-align: center;
    padding: 0 10%;
}



@media screen and (max-width: 500px) {
    .uibox .play {
        margin: 0 5%;
    }

    .nav {
        margin: 10px 0;
        flex-wrap: wrap;
    }

   
    .resultsimg {
        width: 75%;
    }
}

@media screen and (max-width: 400px) {
    #nick
    {
        width:92%;
    }
}

/* About ------------------------------- */

#about {
    display: none;
    z-index: 7;
    position: absolute;
    box-sizing: border-box;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 90%;
    overflow-y: auto;
    padding: 10px;
    border-radius: 10px;
    background-color: rgb(0, 0, 0);
    border: 3px solid white;
}

#about h1{
    color: #ffffff;
    font-size: 23px;
    margin: 5px;
}
#about h2{
    color: #ffffff;
    font-size: 21px;
    margin: 5px;
}

#about p{
    color: #ffffff;
    font-size: 16px;
    margin: 5px;
}

#about a{
    color: #ffbc95;
    font-size: 19px;
}

#about ul{
    color: #ffffff;
    font-size: 16px;
    margin: 5px;
}

.modal_box {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    height: 100%;
    padding: 32px;
}

.modal_scroll {
    flex-grow: 1;
    overflow-y: auto;
}

@media screen and (max-width: 550px) {
    #about {
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        transform: none;
        padding: 0;
        border-radius: 0px;
    }

    .logo img{
        width: 230px;
    }

    .logo.end img {
        width: 200px;
    }

    .modal_box {
        padding: 16px;
    }
}

/* ------------------------------- */

.hide {
    display: none;
}
.show {
    display: block;
}

#paperio-site_multisize {
    position: absolute;
    text-align: center;
    top: 310px;
    width: 100%;
    z-index: 3;
}

#bottom {
    position: absolute;
    text-align: center;
    bottom: 0px;
    right: 0px;
    color: #202020;
    z-index: 5;
    background-color: white;
    padding: 4px;
    border-top-left-radius: 8px;
}

/*@media screen and (max-width: 700px) {*/
/*@media (min-height: 800px) {
    #bottom {
        display: none;
    }
}
*/

@media screen and (max-width: 800px) {
    #ui {
        flex-wrap: wrap-reverse;
        justify-content: center;
        align-items: flex-end;
    }

    .uibox {
        order: 3;
    }

    #left_side {
        order: 1;
    }

    #right_side {
        order: 2;
    }
}

@media screen and (max-width: 500px) {
    .uibox form.play {
        /*margin: 0;*/
        flex-wrap: wrap;
    }

    .nav {
        margin: 10px 0;
        flex-wrap: wrap;
    }

    .resultsimg {
        width: 75%;
    }

    #left_side,
    #right_side {
        display: none;
    }
}


.leaderboard {
    padding: 10px;
    margin: 0 0 10px 0;
    color: white;
}

.leaderboard h3 {
    color: #f4a836;
    font-size: 20px;
    text-align: center;
    padding: 0;
    margin: 0 0 10px 0;
    /*line-height: 26px;
    margin: 0;
    padding: 0;*/
}

.leaderboard ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.leaderboard li {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.leaderboard li .lb_item_left {
    display: flex;
    align-items: center;
}

.leaderboard li .lb_item_left img {
    /*height: 16px;*/
}

.leaderboard li .title {
    color: gray;
    padding: 0 10px 0 5px;
}

.leaderboard li .player {
    color: white;
}

.leaderboard li .top {
    padding: 0;
    min-width: 20px;
    width: 20px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    border-radius: 3px;

    border-bottom: 3px solid #8e8a8a;
    background: #aaaaaa;

    margin: 2px 5px 0 0;
    font-size: 10px;
    color: black;
}

.leaderboard li .top1 {
    border-bottom: 3px solid #cfb85d;
    background: #edd77b;
}

.leaderboard li .top2 {
    border-bottom: 3px solid #9bb2cd;
    background: #c3d1e1;
}

.leaderboard li .top3 {
    border-bottom: 3px solid #9d7667;
    background: #bf9481;
}

.leaderboard li .extra {
    padding: 0 4px;
    width: auto;
}

.leaderboard li .empty {
    padding: 0;
    min-width: 20px;
    width: 20px;
    height: 18px;
    line-height: 18px;
    margin: 2px 5px 0 0;
}

.leaderboard li.extra_margin {
    margin-top: 18px;
}


#bottom a,
a:visited {
    color: #202020;
    text-decoration: none;
}

#rotateOverlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgb(255, 255, 255);
    z-index: 10;
    display: none;
    flex-wrap: wrap;
    align-content: space-around;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

#overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: #000;
    z-index: 9;
    display: none;
}

#lng {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 4;
    background: #fff;
    list-style-type: none;
    margin: 0;
    border: 0;
    padding: 4px 6px 4px 0;
    border-top-right-radius: 8px;
    display: inline;
}

#lng li {
    display: inline;
    padding: 4px 4px;
    background: #fff;
    cursor: pointer;
}

#lng li.active {
    background: #88f;
}

.noPadding {
    padding: 0 5px;
}

button img {
    display: block;
    margin-top: 1px;
    margin-left: auto;
    margin-right: auto;
}

.skins-container {
    display: flex;
    flex-direction: row;
    /*flex-wrap: nowrap;*/
    flex: 1;
    align-items: center;
    justify-content: center;
    user-select: none;
    height: 250px;
}

#skins
{
    margin: 0px;
}

#leaderboard
{
	position: absolute; 
	top: 20px;
	right: 0px;
	width: 230px;
	text-align: center;
	background-color: #fff;
	border-top-left-radius: 5px;  
    border-bottom-left-radius: 5px;  
    z-index: 999;
}

.leaderboardHeading {
    color: #000000;
    background-color: #959595;
    border-top-left-radius: 5px;
}

#scoreBoard {
    color: #404040;
    width: 100%;
    font-size: 16px;
}


.skin-descr
{
    margin: 0px;
    background-color: azure;
    width: 100%;
    margin-top: 16px;
    height: fit-content;
    min-height: 30px;
    max-height: 70px;
    text-align: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    font-size: 14px;
}

.partSkinInfo
{
    width: 50%;
    font-size: 13px;
}

.skin-nav{
    margin-top: 5px;
}

.detailsSkinInfo
{
    display: flex;
    flex: auto;
}

.imgIconSkin
{
    height: 35px;
}

.skin {
    border-radius: 150px;
    margin: 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    padding: 10px;
    background: #ffb640;
    width: 100%;
    user-select: none;
    max-width: 200px;
    height: 200px;
}

#nick{
    font-size: 22px;
    line-height: 1.9;
    padding-left: 5px;
 }

@media (max-width: 420px),
 (max-height: 740px) and (max-width: 600px),
 (max-height: 320px)
  {
    #logo
    {
        height: 95px;
    }

    .logo img {
        width: 220px;
    }

    .uibox .logo {
        margin-bottom: 0px;
    }

    button {
         font-size: 22px;
     }

     .nav button{
        width: 100%;
        margin-left: 0px;
     }

     #menu{
        margin-left: 20px;
        margin-right: 20px;
        margin-bottom: 0px;
     }

     .skins-container{
        margin-left: 5px;
        margin-right: 5px;
     }

     .skin-nav button{
        margin-left: 20px;
        margin-right: 20px;
     }

     #play{
         font-size: 35px;
     }
     #nick{
        font-size: 22px;
        line-height: 2.3;
        padding-left: 5px;
     }
     .results{
         font-size: 14px;
     }

     .centerMoney{
        font-size: 19px;
    }

     .uibox .tips{
        height: 35px;
    }
     .uibox .tip {
        font-size: 14px;
     }

     .skin-nav button 
     {
        font-size: 18px;
     }

     .lvlInfoText
     {
         font-size: 13px;
     }

     button #menu
     {
        margin-bottom: 1px;
     }

     #expaBar
     {
        margin-bottom: 0px;
        transform: scale(0.7);
     }

     #progressSkillTypeIcon{
        width: 25px;
        height: 25px;
     }

    .lvlInfoText{
        margin-top: 0px;
    }

    .nav{
        margin-bottom: 0px;
    }

    .uibox .play{
        margin-bottom: 0px;
    }
 }

#progressSkillTypeIcon{
    position: relative;
    margin: 0px;
    margin-bottom: -10px;
}

.skinIcon{
  height: 35px;
  position: relative;
  bottom: 10px;
  left: 10px;
  margin: 0px !important;
}

.skin-view {
    border-radius: 150px;
    background: #ffffff;
    flex-grow: 1;
    min-height: 160px;
}

.skin-view img {
    display: block;
    margin-top: 25px;
    margin-left: auto;
    margin-right: auto;
}

.skin-view h3 {
    margin: 0;
    text-align: center;
}

.partSkinInfo{
    text-align: center;
}

.partSkinInfo.good{
    background-color: #7fed4c;
}

.partSkinInfo.bad{
    background-color: #e74545;
}

#gddisplayad{
    height: 280px;
    width: 336px;
}


#adsBanner{
    margin-top: 20px;
    height: 280px;
    display: none;
    align-content: center;
    align-self: center;
    align-items: center;
    flex-direction: column-reverse;
    position: absolute;
    width: 100%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    z-index: 100;
    overflow: auto;
}


#adsBannerSm{
    background-color:#4b0000;
  
    margin-top: 30px;
    display: flex;
    align-content: center;
    align-self: center;
    align-items: center;
    flex-direction: column-reverse;
    position: absolute;
    width: 100%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    z-index: 100;
    overflow: auto;
}

#rightbanner {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 220px;
    height: 200px;
    z-index: 3;
    padding-top: 12px;
    padding-right: 12px;
    text-align: right;
    display: none;
}

#leftSideUI{
    position: absolute;
    left: 0px;
    top: 0px;
    padding: 10px;
    z-index: 6;
}

.feedback {
    top: 0;
    right: 0;
    padding-right: 10px;
    z-index: 2;
    color: #ff9b22;
    cursor: pointer;
}

.feedback:visited {
    color: #ff9b22;
}



#socialBtns
{
    margin-bottom: 5px;
}

#socialBtns img{
    width: 97.7px;
}

a.shareBtn {
    background-color: #b92c13;
    display: inline-block;
    cursor: pointer;
    color: #000;
    font-size: 21px;
    padding: 6px 18px;
    text-decoration: none;
    margin-bottom: 10px;
    border: 3px solid;
    border-radius: 12px;
}

.shareBtn:hover {
    background-color: rgb(241, 80, 80);
}

#shareInvite {
    z-index: 4;
    position: fixed;
    box-sizing: border-box;
    left: 12px;
    top: 24px;
    width: 280px;
    padding-top: 5px;
    background-color: #fff;
    color: #000;
    left: 10px;
    top: 10px;
    padding-bottom: 6px;
    border-radius: 10px;
}

#shareInvite p
{
    margin: 5px;
}

.shareInvite-text {
    text-align: center
}

.inviteTitle {
    font-weight: 700;
    font-size: 22px;
    display: block;
    padding: 4px 4px 6px
}

#shareLinkInput {
    width: 265px;
    height: 30px;
    font-size: 15px;
}

#shareInvite a {
    color: #000;
    background-color: #dadada;
    border-color: #a29e9e;
    display: block;
    padding: 2px;
    text-decoration: none;
    margin: 10px 10px 6px
}

#shareInvite button {
    font-size: 24px;
    background-color: #f7f169;
    border-color: #c38c36;
}

#shareInvite .medCloseBtn
{
    font-size: 20px;
}

.switchLeadBtn
{
    font-size: 15px;
    background-color: #dadada;
    border-color: #a29e9e;
    text-align: center;
    width: 100%;
    margin: 0px;
}

#aipBranding {
    display: none !important;
}

@keyframes kf_slider {
  from {
    opacity: 0;
    pointer-events: none;
  }
  to {
    opacity: 1;
    pointer-events: auto;
  }
}
.slider-1 {
  animation: kf_slider 2s 0s both;
}
.slider-2 {
  animation: kf_slider 2s 1s both;
}
.slider-3 {
  animation: kf_slider 2s 2s both;
}
.slider-4 {
  animation: kf_slider 2s 3s both;
}
.slider-5 {
  animation: kf_slider 2s 4s both;
}
.slider-6 {
    animation: kf_slider 2s 5s both;
  }


  #mimcopyright, #mimcopyrightwide, #mimcopyrighteng, #mimcopyrightwideeng {
    bottom: 0px;
    width: 100%;
    text-align: center;
    height: 62px;
    padding: 0; 
    margin: 0;
    position: absolute;
    z-index: 100;
  }
  
  
  @media screen and (max-width: 1366px) and (min-width: 600px) {
    .logo img {
      width: 220px;
    }

    .logo.end img {
        width: 200px;
    }
  }
