@import url('https://fonts.googleapis.com/css2?family=Hachi+Maru+Pop&display=swap');

html,body{
    height: 100%;
    margin: 0;
}

.rules{
    position: relative;

}

.rules img:hover{
    cursor: pointer;
}


.rules_win{
    padding: 0 15px 0 15px;
    border: 5px solid #ae7a52;
    border-radius: 25px;
    height: 180px;
    width: 350px;
    background: #ffcfaf;
    font-size: 16px;
    font-weight: 900;
    display: none;
    align-items: center;
    justify-content: center;
    text-align: left;
    position: absolute;
    top: 70px;
    right: 20px;
}

.win_gif img{
    margin-left: 15px;
    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{
    font-size: 24px;
    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;
    margin-bottom: 35px;
    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{
    width: 70vw;
    height: 20vw;
    position: fixed;
    z-index: 15;
    display: none;
    align-items: center;
    justify-content: center;
    color: #ae7a52;
    text-shadow: 3px 3px white;
    font-size: 58px;
    font-weight: 900;
    font-family: 'Hachi Maru Pop', sans-serif;
    text-align: center;
    background: #00000050;
    cursor: pointer;
    border: none;
    border-radius: 15px;
}

.page{
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: repeat url("../pictures/bg4.png");
}

.againPar{
    position: absolute;
    bottom: 1.4rem;
    z-index: 10;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.again{
    height: 10vw;
    width: 25vw;
    background: #f4a460;
    color: saddlebrown;
    font-size: 5vw;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid saddlebrown;
    border-radius: 17px;
    /*opacity: 0.95;*/
}

.again:hover{
    opacity: 80%;
    cursor: pointer;
}

.panel{
    position: absolute;
    z-index: 5;
    width: 70vw;
    height: 20vw;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4a46079;
    /*margin-bottom: 15px;*/
    border: none;
    border-radius: 15px;
}

.cell{
    height: 10vw;
    width: 10vw;
    display: flex;
    align-items: center;
    justify-content: center;
    /*border: none;*/
    /*border-radius: 23px;*/

}
.white{
    background: #ffcfaf;
}

.black{
    background: #8b4512;
}

[data-type='black'], [data-type='white'], [data-type='none']{
    height: 80%;
    width: 80%;
    border-radius: 50%;
    background-size: cover;
    /*opacity: 80%;*/
}

[data-type='black']{
    background: linear-gradient(to right bottom, black, dimgray);
    cursor: pointer;
    border: 2px solid #2b2b2b;
}
[data-type='white']{
    background: linear-gradient(to right bottom, white, grey);
    cursor: pointer;
    border: 2px solid #9d9d9d;
}
[data-type='none']{
    background: none;
}