@font-face {
    font-family: 'iconfont';
    src: url('iconfont9fc19fc19fc1.html?t=1650096579539') format('truetype');
}

.iconfont {
    font-family: "iconfont" !important;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-touch-callout: none;
}

html,
body {
    margin: 0;
    padding: 0;

    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.wrapper {
    display: flex;
    justify-content: center;
    /* align-items: center; */
    /* width: 435px;
	height: 729px; */
    height: 90vh;
    width: 100vw;
    background-image:url(../Slices/gameconsole.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    /* padding-top: 110px; */
    position: relative;
}

.app {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top:15%;
}

.wrapper canvas {
    /* border: 2px solid #eee; */
    /* background-color: rgba(0, 0, 0, 0.8); */
}

.board {
    display: flex;
    flex: 1;
    font-size: 1rem;
    /* background-color: #000; */
    /* background-color: rgba(0, 0, 0, 0.8); */
    /* border: 2px solid #eee; */
    border-bottom: 0;
    color: #eee;
    /* display: flex; */
    align-items: center;
}

.items {
    flex: 1;
    font-size: 1rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: end;
    text-align: center;
}
.board .items:nth-child(3){
    width:35px;
}


.items span {
    margin: 0.2rem;
    font-weight: bold;
    font-family: SupernormaleEigSmaBold;
    font-size: 10px;
}

.items span:nth-child(1){
    color: #ffffff;
}

.items span:nth-child(2){
    color: #ffde00;
}


.iconitem {
    display: flex;
    width: 2.5rem;
    height: 100%;
    font-size: 1.5rem;
    cursor: pointer;
    align-items: center;
}
.iconitem img{
    width: 26px;
    height: 26px;
}
a {
    text-decoration: none;
    color: #fff;
}

.gameover {
    display: none;
    position: absolute;
    top: 2%;
    font-size: 4rem;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.45);
    height: 100%;
    width: 110%;
    /* display: flex; */
    justify-content: center;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
    font-family: SupernormaleEigSmaBold;

}
.over-con{
    display: flex;
    justify-content: center;
}
.over-img{
    max-width: 60%;
}

.gameover .sub-main {
    margin: 0;
    position: relative;
    z-index: 999;
    width: 95%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.gameover .sub-main input::placeholder{
    color: #fff;
}
.gameover .sub-main input {
    text-align: center;
    color: #fff;
    background-color: transparent;
    font-family: SupernormaleEigSmaBold;
    width: 80%;
    height: 50px;
    border: 3px solid #df6d27;
    outline: none;
}
.gameover .sub-main .sub-btn{
    font-size:18px;
    width: 243px;
	height: 51.5px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url(../Slices/button.webp) no-repeat;
    background-size: 100% 100%;
    margin-top: 30px;
    position: relative;
    z-index: 9999;
}

.gameover div {
    margin: 1rem;
}
.replay-btn{
    display: none;
}

.finalscore {
    font-size: 1.5rem;
}
#finalscore{
    color: #ffde00;
}

.settings {
    display: none;
    position: absolute;
    /* background-color: rgba(0, 0, 0, 0.5); */
    height: 100%;
    width: 100%;
}

.window {
    /* background-color: rgba(32, 32, 32, 0.9); */
    /* border: 2px solid #ddd; */
    background: url(../Slices/Pop-ups.webp) no-repeat;
    background-size: 100% 100%;
    color: #ddd;
    width: 75%;
    height: 30%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    padding: 5% 0;
}

.settile {
    font-size: 1.5rem;
    font-family: SupernormaleEigSmaBold;
    color: #fff;
}

.setitems {
    width: 80%;
}

.setitem {
    height: 3rem;
    line-height: 3rem;
    width: 100%;
    display: flex;
    font-size: 12px;
    font-family: SupernormaleEigSmaBold;
    color: #fff;
    justify-content: space-between;
    align-items: center;
    /* border-bottom: 1px solid #333; */
}

.setitem2{
    border: none;
}

.setitem label{
    display: flex;
    align-items: center;
}
/* 
.setitem:nth-child(1) {
    border-top: 1px solid #333;
} */

.setbtns {
    width: 80%;
    display: flex;
    justify-content: space-between;
}

.setbtn {
    font-size: 2rem;
    cursor: pointer;
}
.setbtn img{
    height: 26px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 3rem;
    height: 1.5rem;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: grey;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 1.5rem;
    width: 1.5rem;
    left: 0;
    bottom: 0;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #2196F3;
}

input:checked+.slider:before {
    -webkit-transform: translateX(1.5rem);
    -ms-transform: translateX(1.5rem);
    transform: translateX(1.5rem);
}

/* Rounded sliders */
.slider.round {
    border-radius: 1.5rem;
}

.slider.round:before {
    border-radius: 50%;
}


.about-block1-bg .game-block {
    display: flex;
    margin: 0 auto;
    max-width: 1000px;

}

.game-block .ranking {
    width: 409px;
    margin-right: 51px; 
    padding-top: 60px;
}
.game-block .ranking .rank-main .rank-item {
    width: 334px;
    display: flex;
    justify-content: space-between;
}

.game-block .ranking .rank-main .rank-item div:nth-child(1) {
    width: 60px;
    text-align: center;
}

.game-block .ranking .rank-main .rank-item div:not(:last-child) {
    color: #ffffff;
    text-align: center;
    font-family: verdana;
    font-size: 12px;
    margin-bottom: 23px;
}

.game-block .ranking .rank-tit {
    font-family: SupernormaleEigSmaBold;
    font-size: 24px;
    font-weight: bold;
    font-stretch: normal;
    color: #ffffff;
}

.game-block .ranking .rank-txt{
    font-family: verdana;
    font-size: 15px;
    height: 38px;
    line-height: 25px;
    margin-bottom: 32px;
}

.game-block .ranking .rank-txt1{
    margin-top: 35px;
}

.game-block .ranking .rank-txt2{
    margin-bottom: 54px;
}

.game-block .ranking .rank-main{
    width: 409px;
	height: 585px;
	background:url(../Slices/ranking.webp) no-repeat;
    background-size: 100% 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    
}

.game-block .ranking .rank-main .rank-main-tit{
    font-size: 24px;
    font-family: SupernormaleEigSmaBold;
    padding-top: 31px;
    padding-bottom: 36px;
}



.game-block .ranking .rank-main .rank-list .rank-list-first-item{
    display: flex;
    width: 334px;
    justify-content: space-between;
    font-family: verdana;
    color: #a0a3a8;
    font-weight: bold;
    font-size: 15px;
}

.game-block .ranking .rank-main .rank-list .rank-list-bottom{
    width: 347px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-block .ranking .rank-main .rank-list .rank-list-bottom div:nth-child(1){
    color: #a0a3a8;
    font-family: verdana;
	font-size: 15px;
    font-weight: bold;
}

.game-block .ranking .rank-main .rank-list .rank-list-bottom div:nth-child(2){
    color: #fff;
    font-family: SupernormaleEigSmaBold;
	font-size: 24px;
    font-weight: bold;
}

.game-block .ranking .rank-main .rank-list .rank-list-main{
    height: 353px;
    margin: 26px 0;
    overflow-y:auto;

}

.game-block .ranking .rank-main .rank-list .rank-list-main::-webkit-scrollbar{
    display: none;
}