@import url('https://fonts.googleapis.com/css2?family=Hachi+Maru+Pop&display=swap');


html,body{
    margin: 0;
    height: 100%;
}

.rules{
    position: relative;

}

.rules img:hover{
    cursor: pointer;
}


.rules_win{
    padding: 0 15px 0 15px;
    border: 5px solid #ae7a52;
    border-radius: 25px;
    height: 250px;
    width: 350px;
    background: #ffcfaf;
    font-size: 16px;
    font-weight: 900;
    display: none;
    align-items: center;
    justify-content: center;
    text-align: left;
    position: absolute;
    top: 80px;
    right: 20px;
}

.win_gif img{
    height: 200px;
    width: 200px;
}

.left{
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie{
    margin-right: 15px;
    margin-left: 15px;
}

.again_top:hover, .home:hover{
    cursor: pointer;
    opacity: .7;
}

.text_p{
    color: #ae7a52;
    font-family: 'Hachi Maru Pop', sans-serif;
    font-weight: 900;
    margin-right: 55px;
}

.top_line{
    padding-top: 3px;
    padding-left: 35px;
    padding-right: 35px;
    height: 65px;
    width: 100%;
    background: #ffcfaf;
    border: 3px #ae7a52 solid;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 24px;
    color: #ae7a52;
    font-family: 'Hachi Maru Pop', sans-serif;
    font-weight: 900;
    position: absolute;
    top: 0;
    left: 0;
    /*z-index: 25;*/
}


/*.text{*/
/*    position: absolute;*/
/*    !*background: blueviolet;*!*/
/*    !*z-index: 50;*!*/
/*    height: 100%;*/
/*    width: 100%;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    flex-direction: column;*/

/*}*/
.switch{
    /*position: absolute;*/
    z-index: 1;
    /*top: 50px;*/
    /*right: 800px;*/
    height: 101px;
    width: 200px;
    background: center / contain no-repeat url("../pictures/switcher33.png");
    cursor: pointer;
    opacity: 80%;
    margin-left: 35px;
    /*z-index: 10;*/
}
.message{
    position: fixed;
    /*top: 500px;*/
    /*left: 1010px;*/
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 450px;
    width: 900px;
    z-index: 15;
    background: #00000050;
    cursor: pointer;
    border: 1px solid grey ;
    border-radius: 15px;
}
.score div, .moves{
    color: white;
    font-size: 36px;
    /*z-index: 45;*/
}
.top{
    /*width: 100%;*/
    padding-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 65px;
    /*position: fixed;*/
    /*top: 70px;*/
    /*left: 1000px;*/
}
.score{
    display: flex;
    flex-direction: column;
    justify-content: left;
    position: fixed;
    right: 10px;
    bottom: 10px;
}
.again{
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 56px;
    border: 2px solid white;
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
}
.winMessage{
    color: #ae7a52;
    text-shadow: 3px 3px white;
    font-size: 58px;
    font-weight: 900;
    font-family: 'Hachi Maru Pop', sans-serif;
}
.page{
    position: relative;
    /*top: 0;*/
    /*left: 0;*/
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex-wrap: wrap;
    font-family: sans-serif;
    background: repeat url("../pictures/bg4.png");
}

.parentBox{
    /*position: absolute;*/
    z-index: 1;
    border: 1px solid #deb887 ;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 450px;
    width: 900px;

}
.parentBox::before{
    opacity: 60%;
}
.box div{
    margin-bottom: 5px;

}

/*.stick{*/
/*    height: 400px;*/
/*    width: 30px;*/
/*    border: none;*/
/*    border-radius: 5px;*/
/*    background: burlywood;*/
/*}*/
.box{
    height: 350px;
    width: 240px;
    border: none;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: end;
    flex-direction: column;
    background: #deb88799;
    cursor: pointer;
    /*padding-bottom: 15px;*/
}

[data-ring-type='1']{
    height: 40px;
    width: 60px;
    background: #eeffaa;
    border: 5px solid #deff56;
    border-radius: 45px;
}

[data-ring-type='2']{
    height: 35px;
    width: 100px;
    background: #aaffce;
    border: 7px solid #56ff9b;
    border-radius: 80px;
}

[data-ring-type='3']{
    height: 40px;
    width: 140px;
    background: #aaceff;
    border: 7px solid #569bff;
    border-radius: 90px;
}

[data-ring-type='4']{
    height: 45px;
    width: 185px;
    background: #eeaaff;
    border: 7px solid #de56ff;
    border-radius: 90px;
}

[data-ring-type='5']{
    height: 50px;
    width: 225px;
    background: #ffaaaa;
    border: 7px solid #ff5656;
    border-radius: 90px;
}

/*[data-ring-type='0']{*/
/*    !*display: none;*!*/
/*    display: none;*/
/*}*/
[data-ring-type='11']{
    height: 55px;
    width: 70px;
    background: #eeffaa;
    border: 7px solid #deff56;
    border-radius: 90px;
}

[data-ring-type='12']{
    height: 75px;
    width: 140px;
    background: #aaffce;
    border: 7px solid #56ff9b;
    border-radius: 90px;
}

[data-ring-type='13']{
    height: 85px;
    width: 225px;
    background: #aaceff;
    border: 7px solid #569bff;
    border-radius: 90px;
}

[data-jump='0'] .box1 div:first-child {margin-bottom: 25px}
[data-jump='1'] .box2 div:first-child {margin-bottom: 25px}
[data-jump='2'] .box3 div:first-child {margin-bottom: 25px}

[data-mode='3']{
    background: center / contain no-repeat url("../pictures/switcher33.png")
}

[data-mode='5']{
    background: center / contain no-repeat url("../pictures/switcher53.png")
}