@import url('https://fonts.googleapis.com/css2?family=Georama&display=swap');

:root{
    --color-mattBlue:#2782bb;
    --color-orange:#ee7f26;
    --color-lightGrey:#c0c0c0;
}


*{
    box-sizing:border-box;
    margin:0;
}

body{
    background-color:var(--color-mattBlue) ;
    font-family: 'Georama', sans-serif;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    min-height:100vh;
    margin:0;
}

h1{
    font-size:45px;
    color:#fff;
}

canvas{
    background-color:var(--color-lightGrey);
    display:block;
    border-radius:5px;

}

.btn{
    cursor:pointer;
    border:0;
    padding:10px 20px;
    background:#000;
    color:#fff;
    border-radius:5px;
}

.btn:focus{
    outline:0;

}

.btn:hover{
    background:#222;
}

.btn:active{
    transform:scale(0.98);
}

.rules-btn{
    position:absolute;
    top:30px;
    left:30px;
}

.rules{
    position:absolute;
    top:0;
    left:0;
    background:#333;
    color:#fff;
    min-height:110vh;
    width:400px;
    text-align: justify;
    padding:2rem;
    line-height:1.5;
    transform:translateX(-400px);
    transition:all 0.5s ease-in-out;
}


.rules>button{
    margin:1rem 0;
}

.show{
    transform:translateX(0);

}







