@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: 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: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;*/
}

.againPar{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 3rem;
}

.text{
    position: fixed;
    /*bottom: 27%;*/
    /*left: 38%;*/
    height: 480px;
    width: 480px;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #ae7a52;
    text-shadow: 3px 3px white;
    font-size: 58px;
    font-weight: 900;
    font-family: 'Hachi Maru Pop', sans-serif;
    background: #00000050;
    cursor: pointer;
}

:root {
    --box-color: #ffcfaf;
    --border-color: #ae7a52;
    --none-color: transparent;
}

[data-state='none']{
    background-color: var(--none-color);
    color: var(--none-color);
}
[data-state='some']{
    background-color: var(--box-color);
    color: var(--border-color);
    cursor: pointer;
}

.page{
    height: 100%;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    /*align-items: center;*/
    /*justify-content: center;*/
    background: repeat url("../pictures/bg4.png");
    /*background-size: cover;*/
}

.panel{
    width: 100%;
    display: flex;
    /*align-items: center;*/
    justify-content: center;
}
.boxParent{
    height: 480px;
    width: 480px;
    border: var(--border-color) 15px solid;
    border-radius: 25px;
    display: flex;
    flex-flow: row wrap;
    user-select: none
}
.boxParent div{
    display: flex;
    flex-direction: column;
}

.bigBox div{
    display: flex;
    flex-direction: row;
}

.box{
    height: 160px;
    width: 160px;
    border: var(--border-color) 5px solid;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;

}
